@gkd-kit/inspect 0.0.1737722733437 → 0.0.1739258661249
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/dist/assets/{ActionCard.vue_vue_type_script_setup_true_lang-CObnTTkk.js → ActionCard.vue_vue_type_script_setup_true_lang-Cb1oGv9I.js} +2 -2
- package/dist/assets/{ActionCard.vue_vue_type_script_setup_true_lang-CObnTTkk.js.map → ActionCard.vue_vue_type_script_setup_true_lang-Cb1oGv9I.js.map} +1 -1
- package/dist/assets/{DevicePage-BuhMsBat.js → DevicePage-0s4wAm3d.js} +2 -2
- package/dist/assets/{DevicePage-BuhMsBat.js.map → DevicePage-0s4wAm3d.js.map} +1 -1
- package/dist/assets/{HomePage-tTq-J-Qw.js → HomePage-CNgH4IrM.js} +2 -2
- package/dist/assets/{HomePage-tTq-J-Qw.js.map → HomePage-CNgH4IrM.js.map} +1 -1
- package/dist/assets/{ImportPage-C826Ylcc.js → ImportPage-DIipahMd.js} +2 -2
- package/dist/assets/{ImportPage-C826Ylcc.js.map → ImportPage-DIipahMd.js.map} +1 -1
- package/dist/assets/{Input-zzFFygV-.js → Input-DyudALVN.js} +2 -2
- package/dist/assets/{Input-zzFFygV-.js.map → Input-DyudALVN.js.map} +1 -1
- package/dist/assets/{SelectorPage-BfpXwxXu.js → SelectorPage-DzZq7dn6.js} +2 -2
- package/dist/assets/{SelectorPage-BfpXwxXu.js.map → SelectorPage-DzZq7dn6.js.map} +1 -1
- package/dist/assets/{SnapshotPage-D8ggxw1W.js → SnapshotPage-Dy9W95Uc.js} +26 -26
- package/dist/assets/SnapshotPage-Dy9W95Uc.js.map +1 -0
- package/dist/assets/{TrackGraph-Dzg6umnG.js → TrackGraph-Cc_tR2Oe.js} +2 -2
- package/dist/assets/{TrackGraph-Dzg6umnG.js.map → TrackGraph-Cc_tR2Oe.js.map} +1 -1
- package/dist/assets/{_404Page-eImxk49J.js → _404Page-Cc_9HJUm.js} +2 -2
- package/dist/assets/{_404Page-eImxk49J.js.map → _404Page-Cc_9HJUm.js.map} +1 -1
- package/dist/assets/chunk-CxmSjE9K.js +3 -0
- package/dist/assets/{chunk-CVEonGec.js.map → chunk-CxmSjE9K.js.map} +1 -1
- package/dist/assets/{dayjs.min-ljH3fvyS.js → dayjs.min-DwGsz-E5.js} +3 -3
- package/dist/assets/{dayjs.min-ljH3fvyS.js.map → dayjs.min-DwGsz-E5.js.map} +1 -1
- package/dist/assets/{error-D3V93fcD.js → error-OCN7WE0s.js} +2 -2
- package/dist/assets/{error-D3V93fcD.js.map → error-OCN7WE0s.js.map} +1 -1
- package/dist/assets/{import-SDkYqU1v.js → import-OUy78hy0.js} +2 -2
- package/dist/assets/{import-SDkYqU1v.js.map → import-OUy78hy0.js.map} +1 -1
- package/dist/assets/{index-b4d77I7P.js → index-D1V8mYv0.js} +8 -8
- package/dist/assets/{index-b4d77I7P.js.map → index-D1V8mYv0.js.map} +1 -1
- package/dist/assets/index-D6S-2pvO.css +1 -0
- package/dist/assets/{jszip.min-Bxzsk99W.js → jszip.min-BPAU15Mi.js} +2 -2
- package/dist/assets/{jszip.min-Bxzsk99W.js.map → jszip.min-BPAU15Mi.js.map} +1 -1
- package/dist/assets/{snapshot-DvLDZN26.js → snapshot-C0IunVAi.js} +2 -2
- package/dist/assets/{snapshot-DvLDZN26.js.map → snapshot-C0IunVAi.js.map} +1 -1
- package/dist/assets/{table-CRSAw6Gx.js → table-Dh0inicv.js} +2 -2
- package/dist/assets/{table-CRSAw6Gx.js.map → table-Dh0inicv.js.map} +1 -1
- package/dist/index.html +3 -3
- package/package.json +1 -1
- package/dist/assets/SnapshotPage-D8ggxw1W.js.map +0 -1
- package/dist/assets/chunk-CVEonGec.js +0 -3
- package/dist/assets/index-DfrQxctn.css +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["https://registry.npmmirror.com/@gkd-kit/inspect/0.0.
|
|
2
|
-
import{h as
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["https://registry.npmmirror.com/@gkd-kit/inspect/0.0.1739258661249/files/dist/assets/TrackGraph-Cc_tR2Oe.js","https://registry.npmmirror.com/@gkd-kit/inspect/0.0.1739258661249/files/dist/assets/index-D1V8mYv0.js","https://registry.npmmirror.com/@gkd-kit/inspect/0.0.1739258661249/files/dist/assets/index-D6S-2pvO.css","https://registry.npmmirror.com/@gkd-kit/inspect/0.0.1739258661249/files/dist/assets/dayjs.min-DwGsz-E5.js","https://registry.npmmirror.com/@gkd-kit/inspect/0.0.1739258661249/files/dist/assets/Input-DyudALVN.js"])))=>i.map(i=>d[i]);
|
|
2
|
+
import{h as Nt,v as D,a as nt,g as Bn,e as tt,f as at,b as Ot,j as Da,Z as c1,$ as zl,a0 as f1,a1 as Fa,d as Bl,a2 as Bs,u as gi,r as _e,m as G,l as ba,q as Dl,a3 as Fl,y as Se,a4 as h1,t as Ct,a5 as ef,a6 as nf,a7 as rf,a8 as d1,a9 as je,aa as yi,ab as v1,ac as ec,ad as af,ae as p1,af as er,ag as _1,ah as m1,ai as g1,c as y1,aj as w1,ak as b1,al as k1,n as $s,Y as x1,am as Es,N as C1,x as S1,an as $1,B as Ao,ao as E1,p as of,i as I1,D as Nn,F as Rr,ap as Is,o as pa,aq as nc,ar as rc,as as Ui,at as To,au as q1,A as Tt,H as lt,av as be,L as T,K as L,J as P,I as me,R as gt,M as $,P as ar,S as Be,T as ii,aw as N1,_ as A1,C as Kl,ax as go,ay as T1,az as yo,aA as Ur,aB as sf,aC as P1,aD as lf,aE as uf,z as cf,aF as ff,aG as ic,aH as M1,aI as wi,aJ as xa,X as Ka,aK as Dn,Q as zt,aL as R1,aM as wo,aN as L1,aO as O1,aP as j1,aQ as z1,O as B1,aR as Mr,aS as qs,aT as ac,W as D1,aU as oc,aV as Ns,G as F1,aW as sc}from"./index-D1V8mYv0.js";import{h as Hi,C as K1,e as U1,c as lc,d as H1,V as W1,f as uc,i as cc,N as Yi,g as zn,u as V1,l as Q1,j as G1,k as J1,m as Ul,n as Y1,a as hf,o as Ca,p as Wi,q as fc,r as df,s as Z1,t as X1,_ as tv,v as hc,w as dc}from"./dayjs.min-DwGsz-E5.js";import{e as ev,f as nv,g as rv,_ as iv}from"./ActionCard.vue_vue_type_script_setup_true_lang-Cb1oGv9I.js";import{a as av,b as ov,g as sv}from"./snapshot-C0IunVAi.js";import{l as vf,e as lv,a as vc}from"./error-OCN7WE0s.js";import{_ as pf}from"./Input-DyudALVN.js";import"./chunk-CxmSjE9K.js";function _f(t){return typeof t=="string"?`s-${t}`:`n-${t}`}const uv=Nt({name:"ChevronLeft",render(){return D("svg",{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},D("path",{d:"M10.3536 3.14645C10.5488 3.34171 10.5488 3.65829 10.3536 3.85355L6.20711 8L10.3536 12.1464C10.5488 12.3417 10.5488 12.6583 10.3536 12.8536C10.1583 13.0488 9.84171 13.0488 9.64645 12.8536L5.14645 8.35355C4.95118 8.15829 4.95118 7.84171 5.14645 7.64645L9.64645 3.14645C9.84171 2.95118 10.1583 2.95118 10.3536 3.14645Z",fill:"currentColor"}))}}),cv=Nt({name:"Switcher",render(){return D("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32"},D("path",{d:"M12 8l10 8l-10 8z"}))}}),Qt="0!important",mf="-1px!important";function Di(t){return at(`${t}-type`,[tt("& +",[nt("button",{},[at(`${t}-type`,[Ot("border",{borderLeftWidth:Qt}),Ot("state-border",{left:mf})])])])])}function Fi(t){return at(`${t}-type`,[tt("& +",[nt("button",[at(`${t}-type`,[Ot("border",{borderTopWidth:Qt}),Ot("state-border",{top:mf})])])])])}const fv=nt("button-group",`
|
|
3
3
|
flex-wrap: nowrap;
|
|
4
4
|
display: inline-flex;
|
|
5
5
|
position: relative;
|
|
@@ -30,7 +30,7 @@ import{h as Tt,v as D,a as nt,g as Bn,e as tt,f as at,b as Ot,j as Da,Z as u1,$
|
|
|
30
30
|
`),tt("&:not(:first-child):not(:last-child)",`
|
|
31
31
|
margin: ${Qt};
|
|
32
32
|
border-radius: ${Qt};
|
|
33
|
-
`),Fi("default"),at("ghost",[Fi("primary"),Fi("info"),Fi("success"),Fi("warning"),Fi("error")])])])]),hv={size:{type:String,default:void 0},vertical:Boolean},dv=
|
|
33
|
+
`),Fi("default"),at("ghost",[Fi("primary"),Fi("info"),Fi("success"),Fi("warning"),Fi("error")])])])]),hv={size:{type:String,default:void 0},vertical:Boolean},dv=Nt({name:"ButtonGroup",props:hv,setup(t){const{mergedClsPrefixRef:e,mergedRtlRef:n}=Da(t);return c1("-button-group",fv,e),zl(f1,t),{rtlEnabled:Fa("ButtonGroup",n,e),mergedClsPrefix:e}},render(){const{mergedClsPrefix:t}=this;return D("div",{class:[`${t}-button-group`,this.rtlEnabled&&`${t}-button-group--rtl`,this.vertical&&`${t}-button-group--vertical`],role:"group"},this.$slots)}});function vv(t){const{fontWeight:e,textColor1:n,textColor2:r,textColorDisabled:a,dividerColor:o,fontSize:s}=t;return{titleFontSize:s,titleFontWeight:e,dividerColor:o,titleTextColor:n,titleTextColorDisabled:a,fontSize:s,textColor:r,arrowColor:r,arrowColorDisabled:a,itemMargin:"16px 0 0 0",titlePadding:"16px 0 0 0"}}const pv={name:"Collapse",common:Bl,self:vv},_v=nt("collapse","width: 100%;",[nt("collapse-item",`
|
|
34
34
|
font-size: var(--n-font-size);
|
|
35
35
|
color: var(--n-text-color);
|
|
36
36
|
transition:
|
|
@@ -70,7 +70,7 @@ import{h as Tt,v as D,a as nt,g as Bn,e as tt,f as at,b as Ot,j as Da,Z as u1,$
|
|
|
70
70
|
color .3s var(--n-bezier);
|
|
71
71
|
font-size: 18px;
|
|
72
72
|
color: var(--n-arrow-color);
|
|
73
|
-
`)])])]),mv=Object.assign(Object.assign({},gi.props),{defaultExpandedNames:{type:[Array,String],default:null},expandedNames:[Array,String],arrowPlacement:{type:String,default:"left"},accordion:{type:Boolean,default:!1},displayDirective:{type:String,default:"if"},triggerAreas:{type:Array,default:()=>["main","extra","arrow"]},onItemHeaderClick:[Function,Array],"onUpdate:expandedNames":[Function,Array],onUpdateExpandedNames:[Function,Array],onExpandedNamesChange:{type:[Function,Array],validator:()=>!0,default:void 0}}),
|
|
73
|
+
`)])])]),mv=Object.assign(Object.assign({},gi.props),{defaultExpandedNames:{type:[Array,String],default:null},expandedNames:[Array,String],arrowPlacement:{type:String,default:"left"},accordion:{type:Boolean,default:!1},displayDirective:{type:String,default:"if"},triggerAreas:{type:Array,default:()=>["main","extra","arrow"]},onItemHeaderClick:[Function,Array],"onUpdate:expandedNames":[Function,Array],onUpdateExpandedNames:[Function,Array],onExpandedNamesChange:{type:[Function,Array],validator:()=>!0,default:void 0}}),gf=Fl("n-collapse"),gv=Nt({name:"Collapse",props:mv,setup(t,{slots:e}){const{mergedClsPrefixRef:n,inlineThemeDisabled:r,mergedRtlRef:a}=Da(t),o=_e(t.defaultExpandedNames),s=G(()=>t.expandedNames),l=ba(s,o),c=gi("Collapse","-collapse",_v,pv,t,n);function f(m){const{"onUpdate:expandedNames":w,onUpdateExpandedNames:b,onExpandedNamesChange:q}=t;b&&Se(b,m),w&&Se(w,m),q&&Se(q,m),o.value=m}function h(m){const{onItemHeaderClick:w}=t;w&&Se(w,m)}function d(m,w,b){const{accordion:q}=t,{value:S}=l;if(q)m?(f([w]),h({name:w,expanded:!0,event:b})):(f([]),h({name:w,expanded:!1,event:b}));else if(!Array.isArray(S))f([w]),h({name:w,expanded:!0,event:b});else{const y=S.slice(),C=y.findIndex(E=>w===E);~C?(y.splice(C,1),f(y),h({name:w,expanded:!1,event:b})):(y.push(w),f(y),h({name:w,expanded:!0,event:b}))}}zl(gf,{props:t,mergedClsPrefixRef:n,expandedNamesRef:l,slots:e,toggleItem:d});const p=Fa("Collapse",a,n),v=G(()=>{const{common:{cubicBezierEaseInOut:m},self:{titleFontWeight:w,dividerColor:b,titlePadding:q,titleTextColor:S,titleTextColorDisabled:y,textColor:C,arrowColor:E,fontSize:k,titleFontSize:I,arrowColorDisabled:M,itemMargin:j}}=c.value;return{"--n-font-size":k,"--n-bezier":m,"--n-text-color":C,"--n-divider-color":b,"--n-title-padding":q,"--n-title-font-size":I,"--n-title-text-color":S,"--n-title-text-color-disabled":y,"--n-title-font-weight":w,"--n-arrow-color":E,"--n-arrow-color-disabled":M,"--n-item-margin":j}}),_=r?Dl("collapse",void 0,v,t):void 0;return{rtlEnabled:p,mergedTheme:c,mergedClsPrefix:n,cssVars:r?void 0:v,themeClass:_==null?void 0:_.themeClass,onRender:_==null?void 0:_.onRender}},render(){var t;return(t=this.onRender)===null||t===void 0||t.call(this),D("div",{class:[`${this.mergedClsPrefix}-collapse`,this.rtlEnabled&&`${this.mergedClsPrefix}-collapse--rtl`,this.themeClass],style:this.cssVars},this.$slots)}}),yv=Nt({name:"CollapseItemContent",props:{displayDirective:{type:String,required:!0},show:Boolean,clsPrefix:{type:String,required:!0}},setup(t){return{onceTrue:h1(Ct(t,"show"))}},render(){return D(rf,null,{default:()=>{const{show:t,displayDirective:e,onceTrue:n,clsPrefix:r}=this,a=e==="show"&&n,o=D("div",{class:`${r}-collapse-item__content-wrapper`},D("div",{class:`${r}-collapse-item__content-inner`},this.$slots));return a?ef(o,[[nf,t]]):t?o:null}})}}),wv={title:String,name:[String,Number],disabled:Boolean,displayDirective:String},bv=Nt({name:"CollapseItem",props:wv,setup(t){const{mergedRtlRef:e}=Da(t),n=d1(),r=je(()=>{var d;return(d=t.name)!==null&&d!==void 0?d:n}),a=yi(gf);a||v1("collapse-item","`n-collapse-item` must be placed inside `n-collapse`.");const{expandedNamesRef:o,props:s,mergedClsPrefixRef:l,slots:c}=a,f=G(()=>{const{value:d}=o;if(Array.isArray(d)){const{value:p}=r;return!~d.findIndex(v=>v===p)}else if(d){const{value:p}=r;return p!==d}return!0});return{rtlEnabled:Fa("Collapse",e,l),collapseSlots:c,randomName:n,mergedClsPrefix:l,collapsed:f,triggerAreas:Ct(s,"triggerAreas"),mergedDisplayDirective:G(()=>{const{displayDirective:d}=t;return d||s.displayDirective}),arrowPlacement:G(()=>s.arrowPlacement),handleClick(d){let p="main";Hi(d,"arrow")&&(p="arrow"),Hi(d,"extra")&&(p="extra"),s.triggerAreas.includes(p)&&a&&!t.disabled&&a.toggleItem(f.value,r.value,d)}}},render(){const{collapseSlots:t,$slots:e,arrowPlacement:n,collapsed:r,mergedDisplayDirective:a,mergedClsPrefix:o,disabled:s,triggerAreas:l}=this,c=ec(e.header,{collapsed:r},()=>[this.title]),f=e["header-extra"]||t["header-extra"],h=e.arrow||t.arrow;return D("div",{class:[`${o}-collapse-item`,`${o}-collapse-item--${n}-arrow-placement`,s&&`${o}-collapse-item--disabled`,!r&&`${o}-collapse-item--active`,l.map(d=>`${o}-collapse-item--trigger-area-${d}`)]},D("div",{class:[`${o}-collapse-item__header`,!r&&`${o}-collapse-item__header--active`]},D("div",{class:`${o}-collapse-item__header-main`,onClick:this.handleClick},n==="right"&&c,D("div",{class:`${o}-collapse-item-arrow`,key:this.rtlEnabled?0:1,"data-arrow":!0},ec(h,{collapsed:r},()=>{var d;return[D(af,{clsPrefix:o},{default:(d=t.expandIcon)!==null&&d!==void 0?d:()=>this.rtlEnabled?D(uv,null):D(K1,null)})]})),n==="left"&&c),p1(f,{collapsed:r},d=>D("div",{class:`${o}-collapse-item__header-extra`,onClick:this.handleClick,"data-extra":!0},d))),D(yv,{clsPrefix:o,displayDirective:a,show:!r},e))}}),kv={thPaddingSmall:"6px",thPaddingMedium:"12px",thPaddingLarge:"12px",tdPaddingSmall:"6px",tdPaddingMedium:"12px",tdPaddingLarge:"12px"};function xv(t){const{dividerColor:e,cardColor:n,modalColor:r,popoverColor:a,tableHeaderColor:o,tableColorStriped:s,textColor1:l,textColor2:c,borderRadius:f,fontWeightStrong:h,lineHeight:d,fontSizeSmall:p,fontSizeMedium:v,fontSizeLarge:_}=t;return Object.assign(Object.assign({},kv),{fontSizeSmall:p,fontSizeMedium:v,fontSizeLarge:_,lineHeight:d,borderRadius:f,borderColor:er(n,e),borderColorModal:er(r,e),borderColorPopover:er(a,e),tdColor:n,tdColorModal:r,tdColorPopover:a,tdColorStriped:er(n,s),tdColorStripedModal:er(r,s),tdColorStripedPopover:er(a,s),thColor:er(n,o),thColorModal:er(r,o),thColorPopover:er(a,o),thTextColor:l,tdTextColor:c,thFontWeight:h})}const Cv={name:"Table",common:Bl,self:xv};function Sv(t){const{borderRadiusSmall:e,dividerColor:n,hoverColor:r,pressedColor:a,primaryColor:o,textColor3:s,textColor2:l,textColorDisabled:c,fontSize:f}=t;return{fontSize:f,lineHeight:"1.5",nodeHeight:"30px",nodeWrapperPadding:"3px 0",nodeBorderRadius:e,nodeColorHover:r,nodeColorPressed:a,nodeColorActive:y1(o,{alpha:.1}),arrowColor:s,nodeTextColor:l,nodeTextColorDisabled:c,loadingColor:o,dropMarkColor:o,lineColor:n}}const $v=_1({name:"Tree",common:Bl,peers:{Checkbox:m1,Scrollbar:g1,Empty:U1},self:Sv}),Ev=Object.assign(Object.assign({},gi.props),{trigger:String,xScrollable:Boolean,onScroll:Function,contentClass:String,contentStyle:[Object,String],size:Number,yPlacement:{type:String,default:"right"},xPlacement:{type:String,default:"bottom"}}),Iv=Nt({name:"Scrollbar",props:Ev,setup(){const t=_e(null);return Object.assign(Object.assign({},{scrollTo:(...n)=>{var r;(r=t.value)===null||r===void 0||r.scrollTo(n[0],n[1])},scrollBy:(...n)=>{var r;(r=t.value)===null||r===void 0||r.scrollBy(n[0],n[1])}}),{scrollbarInstRef:t})},render(){return D(w1,Object.assign({ref:"scrollbarInstRef"},this.$props),this.$slots)}}),qv=tt([nt("table",`
|
|
74
74
|
font-size: var(--n-font-size);
|
|
75
75
|
font-variant-numeric: tabular-nums;
|
|
76
76
|
line-height: var(--n-line-height);
|
|
@@ -131,21 +131,21 @@ import{h as Tt,v as D,a as nt,g as Bn,e as tt,f as at,b as Ot,j as Da,Z as u1,$
|
|
|
131
131
|
border-bottom: 0px solid var(--n-merged-border-color);
|
|
132
132
|
`)])])]),at("striped",[tt("tr:nth-of-type(even)",[tt("td","background-color: var(--n-td-color-striped)")])]),Bn("bottom-bordered",[tt("tr",[tt("&:last-child",[tt("td",`
|
|
133
133
|
border-bottom: 0px solid var(--n-merged-border-color);
|
|
134
|
-
`)])])])]),
|
|
134
|
+
`)])])])]),b1(nt("table",`
|
|
135
135
|
background-color: var(--n-td-color-modal);
|
|
136
136
|
--n-merged-border-color: var(--n-border-color-modal);
|
|
137
137
|
`,[tt("th",`
|
|
138
138
|
background-color: var(--n-th-color-modal);
|
|
139
139
|
`),tt("td",`
|
|
140
140
|
background-color: var(--n-td-color-modal);
|
|
141
|
-
`)])),
|
|
141
|
+
`)])),k1(nt("table",`
|
|
142
142
|
background-color: var(--n-td-color-popover);
|
|
143
143
|
--n-merged-border-color: var(--n-border-color-popover);
|
|
144
144
|
`,[tt("th",`
|
|
145
145
|
background-color: var(--n-th-color-popover);
|
|
146
146
|
`),tt("td",`
|
|
147
147
|
background-color: var(--n-td-color-popover);
|
|
148
|
-
`)]))]),Nv=Object.assign(Object.assign({},gi.props),{bordered:{type:Boolean,default:!0},bottomBordered:{type:Boolean,default:!0},singleLine:{type:Boolean,default:!0},striped:Boolean,singleColumn:Boolean,size:{type:String,default:"medium"}}),Av=Tt({name:"Table",props:Nv,setup(t){const{mergedClsPrefixRef:e,inlineThemeDisabled:n,mergedRtlRef:r}=Da(t),a=gi("Table","-table",qv,Cv,t,e),o=Fa("Table",r,e),s=G(()=>{const{size:c}=t,{self:{borderColor:f,tdColor:h,tdColorModal:d,tdColorPopover:p,thColor:v,thColorModal:_,thColorPopover:m,thTextColor:w,tdTextColor:b,borderRadius:q,thFontWeight:S,lineHeight:g,borderColorModal:C,borderColorPopover:E,tdColorStriped:k,tdColorStripedModal:I,tdColorStripedPopover:P,[$s("fontSize",c)]:j,[$s("tdPadding",c)]:W,[$s("thPadding",c)]:H},common:{cubicBezierEaseInOut:Ht}}=a.value;return{"--n-bezier":Ht,"--n-td-color":h,"--n-td-color-modal":d,"--n-td-color-popover":p,"--n-td-text-color":b,"--n-border-color":f,"--n-border-color-modal":C,"--n-border-color-popover":E,"--n-border-radius":q,"--n-font-size":j,"--n-th-color":v,"--n-th-color-modal":_,"--n-th-color-popover":m,"--n-th-font-weight":S,"--n-th-text-color":w,"--n-line-height":g,"--n-td-padding":W,"--n-th-padding":H,"--n-td-color-striped":k,"--n-td-color-striped-modal":I,"--n-td-color-striped-popover":P}}),l=n?Dl("table",G(()=>t.size[0]),s,t):void 0;return{rtlEnabled:o,mergedClsPrefix:e,cssVars:n?void 0:s,themeClass:l==null?void 0:l.themeClass,onRender:l==null?void 0:l.onRender}},render(){var t;const{mergedClsPrefix:e}=this;return(t=this.onRender)===null||t===void 0||t.call(this),D("table",{class:[`${e}-table`,this.themeClass,{[`${e}-table--rtl`]:this.rtlEnabled,[`${e}-table--bottom-bordered`]:this.bottomBordered,[`${e}-table--bordered`]:this.bordered,[`${e}-table--single-line`]:this.singleLine,[`${e}-table--single-column`]:this.singleColumn,[`${e}-table--striped`]:this.striped}],style:this.cssVars},this.$slots)}}),Tv=Tt({name:"Tbody",render(){return D("tbody",null,this.$slots)}}),Mv=Tt({name:"Td",render(){return D("td",null,this.$slots)}}),Pv=Tt({name:"Tr",render(){return D("tr",null,this.$slots)}}),gf=Fl("n-tree-select");function pc({position:t,offsetLevel:e,indent:n,el:r}){const a={position:"absolute",boxSizing:"border-box",right:0};if(t==="inside")a.left=0,a.top=0,a.bottom=0,a.borderRadius="inherit",a.boxShadow="inset 0 0 0 2px var(--n-drop-mark-color)";else{const o=t==="before"?"top":"bottom";a[o]=0,a.left=`${r.offsetLeft+6-e*n}px`,a.height="2px",a.backgroundColor="var(--n-drop-mark-color)",a.transformOrigin=o,a.borderRadius="1px",a.transform=t==="before"?"translateY(-4px)":"translateY(4px)"}return D("div",{style:a})}function Rv({dropPosition:t,node:e}){return e.isLeaf===!1||e.children?!0:t!=="inside"}const Ua=Fl("n-tree");function Lv({props:t,fNodesRef:e,mergedExpandedKeysRef:n,mergedSelectedKeysRef:r,mergedCheckedKeysRef:a,handleCheck:o,handleSelect:s,handleSwitcherClick:l}){const{value:c}=r,f=yi(gf,null),h=f?f.pendingNodeKeyRef:_e(c.length?c[c.length-1]:null);function d(p){var v;if(!t.keyboard)return{enterBehavior:null};const{value:_}=h;let m=null;if(_===null){if((p.key==="ArrowDown"||p.key==="ArrowUp")&&p.preventDefault(),["ArrowDown","ArrowUp","ArrowLeft","ArrowRight"].includes(p.key)&&_===null){const{value:w}=e;let b=0;for(;b<w.length;){if(!w[b].disabled){h.value=w[b].key;break}b+=1}}}else{const{value:w}=e;let b=w.findIndex(q=>q.key===_);if(!~b)return{enterBehavior:null};if(p.key==="Enter"){const q=w[b];switch(m=((v=t.overrideDefaultNodeClickBehavior)===null||v===void 0?void 0:v.call(t,{option:q.rawNode}))||null,m){case"toggleCheck":o(q,!a.value.includes(q.key));break;case"toggleSelect":s(q);break;case"toggleExpand":l(q);break;case"none":break;case"default":default:m="default",s(q)}}else if(p.key==="ArrowDown")for(p.preventDefault(),b+=1;b<w.length;){if(!w[b].disabled){h.value=w[b].key;break}b+=1}else if(p.key==="ArrowUp")for(p.preventDefault(),b-=1;b>=0;){if(!w[b].disabled){h.value=w[b].key;break}b-=1}else if(p.key==="ArrowLeft"){const q=w[b];if(q.isLeaf||!n.value.includes(_)){const S=q.getParent();S&&(h.value=S.key)}else l(q)}else if(p.key==="ArrowRight"){const q=w[b];if(q.isLeaf)return{enterBehavior:null};if(!n.value.includes(_))l(q);else for(b+=1;b<w.length;){if(!w[b].disabled){h.value=w[b].key;break}b+=1}}}return{enterBehavior:m}}return{pendingNodeKeyRef:h,handleKeydown:d}}const Ov=Tt({name:"NTreeNodeCheckbox",props:{clsPrefix:{type:String,required:!0},indent:{type:Number,required:!0},right:Boolean,focusable:Boolean,disabled:Boolean,checked:Boolean,indeterminate:Boolean,onCheck:Function},setup(t){const e=yi(Ua);function n(a){const{onCheck:o}=t;o&&o(a)}function r(a){n(a)}return{handleUpdateValue:r,mergedTheme:e.mergedThemeRef}},render(){const{clsPrefix:t,mergedTheme:e,checked:n,indeterminate:r,disabled:a,focusable:o,indent:s,handleUpdateValue:l}=this;return D("span",{class:[`${t}-tree-node-checkbox`,this.right&&`${t}-tree-node-checkbox--right`],style:{width:`${s}px`},"data-checkbox":!0},D(k1,{focusable:o,disabled:a,theme:e.peers.Checkbox,themeOverrides:e.peerOverrides.Checkbox,checked:n,indeterminate:r,onUpdateChecked:l}))}}),jv=Tt({name:"TreeNodeContent",props:{clsPrefix:{type:String,required:!0},disabled:Boolean,checked:Boolean,selected:Boolean,onClick:Function,onDragstart:Function,tmNode:{type:Object,required:!0},nodeProps:Object},setup(t){const{renderLabelRef:e,renderPrefixRef:n,renderSuffixRef:r,labelFieldRef:a}=yi(Ua),o=_e(null);function s(c){const{onClick:f}=t;f&&f(c)}function l(c){s(c)}return{selfRef:o,renderLabel:e,renderPrefix:n,renderSuffix:r,labelField:a,handleClick:l}},render(){const{clsPrefix:t,labelField:e,nodeProps:n,checked:r=!1,selected:a=!1,renderLabel:o,renderPrefix:s,renderSuffix:l,handleClick:c,onDragstart:f,tmNode:{rawNode:h,rawNode:{prefix:d,suffix:p,[e]:v}}}=this;return D("span",Object.assign({},n,{ref:"selfRef",class:[`${t}-tree-node-content`,n==null?void 0:n.class],onClick:c,draggable:f===void 0?void 0:!0,onDragstart:f}),s||d?D("div",{class:`${t}-tree-node-content__prefix`},s?s({option:h,selected:a,checked:r}):Es(d)):null,D("div",{class:`${t}-tree-node-content__text`},o?o({option:h,selected:a,checked:r}):Es(v)),l||p?D("div",{class:`${t}-tree-node-content__suffix`},l?l({option:h,selected:a,checked:r}):Es(p)):null)}}),zv=Tt({name:"NTreeSwitcher",props:{clsPrefix:{type:String,required:!0},indent:{type:Number,required:!0},expanded:Boolean,selected:Boolean,hide:Boolean,loading:Boolean,onClick:Function,tmNode:{type:Object,required:!0}},setup(t){const{renderSwitcherIconRef:e}=yi(Ua,null);return()=>{const{clsPrefix:n,expanded:r,hide:a,indent:o,onClick:s}=t;return D("span",{"data-switcher":!0,class:[`${n}-tree-node-switcher`,r&&`${n}-tree-node-switcher--expanded`,a&&`${n}-tree-node-switcher--hide`],style:{width:`${o}px`},onClick:s},D("div",{class:`${n}-tree-node-switcher__icon`},D(x1,null,{default:()=>{if(t.loading)return D(C1,{clsPrefix:n,key:"loading",radius:85,strokeWidth:20});const{value:l}=e;return l?l({expanded:t.expanded,selected:t.selected,option:t.tmNode.rawNode}):D(af,{clsPrefix:n,key:"switcher"},{default:()=>D(cv,null)})}})))}}});function Bv(t){return G(()=>t.leafOnly?"child":t.checkStrategy)}function Mr(t,e){return!!t.rawNode[e]}function yf(t,e,n,r){t==null||t.forEach(a=>{n(a),yf(a[e],e,n,r),r(a)})}function Dv(t,e,n,r,a){const o=new Set,s=new Set,l=[];return yf(t,r,c=>{if(l.push(c),a(e,c)){s.add(c[n]);for(let f=l.length-2;f>=0;--f)if(!o.has(l[f][n]))o.add(l[f][n]);else return}},()=>{l.pop()}),{expandedKeys:Array.from(o),highlightKeySet:s}}if(S1&&Image){const t=new Image;t.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="}function Fv(t,e,n,r,a){const o=new Set,s=new Set,l=new Set,c=[],f=[],h=[];function d(v){v.forEach(_=>{if(h.push(_),e(n,_)){o.add(_[r]),l.add(_[r]);for(let w=h.length-2;w>=0;--w){const b=h[w][r];if(!s.has(b))s.add(b),o.has(b)&&o.delete(b);else break}}const m=_[a];m&&d(m),h.pop()})}d(t);function p(v,_){v.forEach(m=>{const w=m[r],b=o.has(w),q=s.has(w);if(!b&&!q)return;const S=m[a];if(S)if(b)_.push(m);else{c.push(w);const g=Object.assign(Object.assign({},m),{[a]:[]});_.push(g),p(S,g[a])}else _.push(m)})}return p(t,f),{filteredTree:f,highlightKeySet:l,expandedKeys:c}}const wf=Tt({name:"TreeNode",props:{clsPrefix:{type:String,required:!0},tmNode:{type:Object,required:!0}},setup(t){const e=yi(Ua),{droppingNodeParentRef:n,droppingMouseNodeRef:r,draggingNodeRef:a,droppingPositionRef:o,droppingOffsetLevelRef:s,nodePropsRef:l,indentRef:c,blockLineRef:f,checkboxPlacementRef:h,checkOnClickRef:d,disabledFieldRef:p,showLineRef:v,renderSwitcherIconRef:_,overrideDefaultNodeClickBehaviorRef:m}=e,w=je(()=>!!t.tmNode.rawNode.checkboxDisabled),b=je(()=>Mr(t.tmNode,p.value)),q=je(()=>e.disabledRef.value||b.value),S=G(()=>{const{value:B}=l;if(B)return B({option:t.tmNode.rawNode})}),g=_e(null),C={value:null};Ao(()=>{C.value=g.value.$el});function E(){const B=()=>{const{tmNode:ft}=t;if(!ft.isLeaf&&!ft.shallowLoaded){if(!e.loadingKeysRef.value.has(ft.key))e.loadingKeysRef.value.add(ft.key);else return;const{onLoadRef:{value:yt}}=e;yt&&yt(ft.rawNode).then(Kt=>{Kt!==!1&&e.handleSwitcherClick(ft)}).finally(()=>{e.loadingKeysRef.value.delete(ft.key)})}else e.handleSwitcherClick(ft)};_.value?setTimeout(B,0):B()}const k=je(()=>!b.value&&e.selectableRef.value&&(e.internalTreeSelect?e.mergedCheckStrategyRef.value!=="child"||e.multipleRef.value&&e.cascadeRef.value||t.tmNode.isLeaf:!0)),I=je(()=>e.checkableRef.value&&(e.cascadeRef.value||e.mergedCheckStrategyRef.value!=="child"||t.tmNode.isLeaf)),P=je(()=>e.displayedCheckedKeysRef.value.includes(t.tmNode.key)),j=je(()=>{const{value:B}=I;if(!B)return!1;const{value:ft}=d,{tmNode:yt}=t;return typeof ft=="boolean"?!yt.disabled&&ft:ft(t.tmNode.rawNode)});function W(B){const{value:ft}=e.expandOnClickRef,{value:yt}=k,{value:Kt}=j;if(!yt&&!ft&&!Kt||Wi(B,"checkbox")||Wi(B,"switcher"))return;const{tmNode:pe}=t;yt&&e.handleSelect(pe),ft&&!pe.isLeaf&&E(),Kt&&Rt(!P.value)}function H(B){var ft,yt;if(!(Wi(B,"checkbox")||Wi(B,"switcher"))){if(!q.value){const Kt=m.value;let pe=!1;if(Kt)switch(Kt({option:t.tmNode.rawNode})){case"toggleCheck":pe=!0,Rt(!P.value);break;case"toggleSelect":pe=!0,e.handleSelect(t.tmNode);break;case"toggleExpand":pe=!0,E(),pe=!0;break;case"none":pe=!0,pe=!0;return}pe||W(B)}(yt=(ft=S.value)===null||ft===void 0?void 0:ft.onClick)===null||yt===void 0||yt.call(ft,B)}}function Ht(B){f.value||H(B)}function _t(B){f.value&&H(B)}function Rt(B){e.handleCheck(t.tmNode,B)}function Lt(B){e.handleDragStart({event:B,node:t.tmNode})}function ve(B){B.currentTarget===B.target&&e.handleDragEnter({event:B,node:t.tmNode})}function re(B){B.preventDefault(),e.handleDragOver({event:B,node:t.tmNode})}function et(B){e.handleDragEnd({event:B,node:t.tmNode})}function Xe(B){B.currentTarget===B.target&&e.handleDragLeave({event:B,node:t.tmNode})}function gt(B){B.preventDefault(),o.value!==null&&e.handleDrop({event:B,node:t.tmNode,dropPosition:o.value})}const En=G(()=>{const{clsPrefix:B}=t,{value:ft}=c;if(v.value){const yt=[];let Kt=t.tmNode.parent;for(;Kt;)Kt.isLastChild?yt.push(D("div",{class:`${B}-tree-node-indent`},D("div",{style:{width:`${ft}px`}}))):yt.push(D("div",{class:[`${B}-tree-node-indent`,`${B}-tree-node-indent--show-line`]},D("div",{style:{width:`${ft}px`}}))),Kt=Kt.parent;return yt.reverse()}else return $1(t.tmNode.level,D("div",{class:`${t.clsPrefix}-tree-node-indent`},D("div",{style:{width:`${ft}px`}})))});return{showDropMark:je(()=>{const{value:B}=a;if(!B)return;const{value:ft}=o;if(!ft)return;const{value:yt}=r;if(!yt)return;const{tmNode:Kt}=t;return Kt.key===yt.key}),showDropMarkAsParent:je(()=>{const{value:B}=n;if(!B)return!1;const{tmNode:ft}=t,{value:yt}=o;return yt==="before"||yt==="after"?B.key===ft.key:!1}),pending:je(()=>e.pendingNodeKeyRef.value===t.tmNode.key),loading:je(()=>e.loadingKeysRef.value.has(t.tmNode.key)),highlight:je(()=>{var B;return(B=e.highlightKeySetRef.value)===null||B===void 0?void 0:B.has(t.tmNode.key)}),checked:P,indeterminate:je(()=>e.displayedIndeterminateKeysRef.value.includes(t.tmNode.key)),selected:je(()=>e.mergedSelectedKeysRef.value.includes(t.tmNode.key)),expanded:je(()=>e.mergedExpandedKeysRef.value.includes(t.tmNode.key)),disabled:q,checkable:I,mergedCheckOnClick:j,checkboxDisabled:w,selectable:k,expandOnClick:e.expandOnClickRef,internalScrollable:e.internalScrollableRef,draggable:e.draggableRef,blockLine:f,nodeProps:S,checkboxFocusable:e.internalCheckboxFocusableRef,droppingPosition:o,droppingOffsetLevel:s,indent:c,checkboxPlacement:h,showLine:v,contentInstRef:g,contentElRef:C,indentNodes:En,handleCheck:Rt,handleDrop:gt,handleDragStart:Lt,handleDragEnter:ve,handleDragOver:re,handleDragEnd:et,handleDragLeave:Xe,handleLineClick:_t,handleContentClick:Ht,handleSwitcherClick:E}},render(){const{tmNode:t,clsPrefix:e,checkable:n,expandOnClick:r,selectable:a,selected:o,checked:s,highlight:l,draggable:c,blockLine:f,indent:h,indentNodes:d,disabled:p,pending:v,internalScrollable:_,nodeProps:m,checkboxPlacement:w}=this,b=c&&!p?{onDragenter:this.handleDragEnter,onDragleave:this.handleDragLeave,onDragend:this.handleDragEnd,onDrop:this.handleDrop,onDragover:this.handleDragOver}:void 0,q=_?pf(t.key):void 0,S=w==="right",g=n?D(Ov,{indent:h,right:S,focusable:this.checkboxFocusable,disabled:p||this.checkboxDisabled,clsPrefix:e,checked:this.checked,indeterminate:this.indeterminate,onCheck:this.handleCheck}):null;return D("div",Object.assign({class:`${e}-tree-node-wrapper`},b),D("div",Object.assign({},f?m:void 0,{class:[`${e}-tree-node`,{[`${e}-tree-node--selected`]:o,[`${e}-tree-node--checkable`]:n,[`${e}-tree-node--highlight`]:l,[`${e}-tree-node--pending`]:v,[`${e}-tree-node--disabled`]:p,[`${e}-tree-node--selectable`]:a,[`${e}-tree-node--clickable`]:a||r||this.mergedCheckOnClick},m==null?void 0:m.class],"data-key":q,draggable:c&&f,onClick:this.handleLineClick,onDragstart:c&&f&&!p?this.handleDragStart:void 0}),d,t.isLeaf&&this.showLine?D("div",{class:[`${e}-tree-node-indent`,`${e}-tree-node-indent--show-line`,t.isLeaf&&`${e}-tree-node-indent--is-leaf`,t.isLastChild&&`${e}-tree-node-indent--last-child`]},D("div",{style:{width:`${h}px`}})):D(zv,{clsPrefix:e,expanded:this.expanded,selected:o,loading:this.loading,hide:t.isLeaf,tmNode:this.tmNode,indent:h,onClick:this.handleSwitcherClick}),S?null:g,D(jv,{ref:"contentInstRef",clsPrefix:e,checked:s,selected:o,onClick:this.handleContentClick,nodeProps:f?void 0:m,onDragstart:c&&!f&&!p?this.handleDragStart:void 0,tmNode:t}),c?this.showDropMark?pc({el:this.contentElRef.value,position:this.droppingPosition,offsetLevel:this.droppingOffsetLevel,indent:h}):this.showDropMarkAsParent?pc({el:this.contentElRef.value,position:"inside",offsetLevel:this.droppingOffsetLevel,indent:h}):null:null,S?g:null))}}),Kv=Tt({name:"TreeMotionWrapper",props:{clsPrefix:{type:String,required:!0},height:Number,nodes:{type:Array,required:!0},mode:{type:String,required:!0},onAfterEnter:{type:Function,required:!0}},render(){const{clsPrefix:t}=this;return D(rf,{onAfterEnter:this.onAfterEnter,appear:!0,reverse:this.mode==="collapse"},{default:()=>D("div",{class:[`${t}-tree-motion-wrapper`,`${t}-tree-motion-wrapper--${this.mode}`],style:{height:of(this.height)}},this.nodes.map(e=>D(wf,{clsPrefix:t,tmNode:e})))})}}),As=E1(),Uv=nt("tree",`
|
|
148
|
+
`)]))]),Nv=Object.assign(Object.assign({},gi.props),{bordered:{type:Boolean,default:!0},bottomBordered:{type:Boolean,default:!0},singleLine:{type:Boolean,default:!0},striped:Boolean,singleColumn:Boolean,size:{type:String,default:"medium"}}),Av=Nt({name:"Table",props:Nv,setup(t){const{mergedClsPrefixRef:e,inlineThemeDisabled:n,mergedRtlRef:r}=Da(t),a=gi("Table","-table",qv,Cv,t,e),o=Fa("Table",r,e),s=G(()=>{const{size:c}=t,{self:{borderColor:f,tdColor:h,tdColorModal:d,tdColorPopover:p,thColor:v,thColorModal:_,thColorPopover:m,thTextColor:w,tdTextColor:b,borderRadius:q,thFontWeight:S,lineHeight:y,borderColorModal:C,borderColorPopover:E,tdColorStriped:k,tdColorStripedModal:I,tdColorStripedPopover:M,[$s("fontSize",c)]:j,[$s("tdPadding",c)]:H,[$s("thPadding",c)]:W},common:{cubicBezierEaseInOut:Wt}}=a.value;return{"--n-bezier":Wt,"--n-td-color":h,"--n-td-color-modal":d,"--n-td-color-popover":p,"--n-td-text-color":b,"--n-border-color":f,"--n-border-color-modal":C,"--n-border-color-popover":E,"--n-border-radius":q,"--n-font-size":j,"--n-th-color":v,"--n-th-color-modal":_,"--n-th-color-popover":m,"--n-th-font-weight":S,"--n-th-text-color":w,"--n-line-height":y,"--n-td-padding":H,"--n-th-padding":W,"--n-td-color-striped":k,"--n-td-color-striped-modal":I,"--n-td-color-striped-popover":M}}),l=n?Dl("table",G(()=>t.size[0]),s,t):void 0;return{rtlEnabled:o,mergedClsPrefix:e,cssVars:n?void 0:s,themeClass:l==null?void 0:l.themeClass,onRender:l==null?void 0:l.onRender}},render(){var t;const{mergedClsPrefix:e}=this;return(t=this.onRender)===null||t===void 0||t.call(this),D("table",{class:[`${e}-table`,this.themeClass,{[`${e}-table--rtl`]:this.rtlEnabled,[`${e}-table--bottom-bordered`]:this.bottomBordered,[`${e}-table--bordered`]:this.bordered,[`${e}-table--single-line`]:this.singleLine,[`${e}-table--single-column`]:this.singleColumn,[`${e}-table--striped`]:this.striped}],style:this.cssVars},this.$slots)}}),Tv=Nt({name:"Tbody",render(){return D("tbody",null,this.$slots)}}),Pv=Nt({name:"Td",render(){return D("td",null,this.$slots)}}),Mv=Nt({name:"Tr",render(){return D("tr",null,this.$slots)}}),yf=Fl("n-tree-select");function pc({position:t,offsetLevel:e,indent:n,el:r}){const a={position:"absolute",boxSizing:"border-box",right:0};if(t==="inside")a.left=0,a.top=0,a.bottom=0,a.borderRadius="inherit",a.boxShadow="inset 0 0 0 2px var(--n-drop-mark-color)";else{const o=t==="before"?"top":"bottom";a[o]=0,a.left=`${r.offsetLeft+6-e*n}px`,a.height="2px",a.backgroundColor="var(--n-drop-mark-color)",a.transformOrigin=o,a.borderRadius="1px",a.transform=t==="before"?"translateY(-4px)":"translateY(4px)"}return D("div",{style:a})}function Rv({dropPosition:t,node:e}){return e.isLeaf===!1||e.children?!0:t!=="inside"}const Ua=Fl("n-tree");function Lv({props:t,fNodesRef:e,mergedExpandedKeysRef:n,mergedSelectedKeysRef:r,mergedCheckedKeysRef:a,handleCheck:o,handleSelect:s,handleSwitcherClick:l}){const{value:c}=r,f=yi(yf,null),h=f?f.pendingNodeKeyRef:_e(c.length?c[c.length-1]:null);function d(p){var v;if(!t.keyboard)return{enterBehavior:null};const{value:_}=h;let m=null;if(_===null){if((p.key==="ArrowDown"||p.key==="ArrowUp")&&p.preventDefault(),["ArrowDown","ArrowUp","ArrowLeft","ArrowRight"].includes(p.key)&&_===null){const{value:w}=e;let b=0;for(;b<w.length;){if(!w[b].disabled){h.value=w[b].key;break}b+=1}}}else{const{value:w}=e;let b=w.findIndex(q=>q.key===_);if(!~b)return{enterBehavior:null};if(p.key==="Enter"){const q=w[b];switch(m=((v=t.overrideDefaultNodeClickBehavior)===null||v===void 0?void 0:v.call(t,{option:q.rawNode}))||null,m){case"toggleCheck":o(q,!a.value.includes(q.key));break;case"toggleSelect":s(q);break;case"toggleExpand":l(q);break;case"none":break;case"default":default:m="default",s(q)}}else if(p.key==="ArrowDown")for(p.preventDefault(),b+=1;b<w.length;){if(!w[b].disabled){h.value=w[b].key;break}b+=1}else if(p.key==="ArrowUp")for(p.preventDefault(),b-=1;b>=0;){if(!w[b].disabled){h.value=w[b].key;break}b-=1}else if(p.key==="ArrowLeft"){const q=w[b];if(q.isLeaf||!n.value.includes(_)){const S=q.getParent();S&&(h.value=S.key)}else l(q)}else if(p.key==="ArrowRight"){const q=w[b];if(q.isLeaf)return{enterBehavior:null};if(!n.value.includes(_))l(q);else for(b+=1;b<w.length;){if(!w[b].disabled){h.value=w[b].key;break}b+=1}}}return{enterBehavior:m}}return{pendingNodeKeyRef:h,handleKeydown:d}}const Ov=Nt({name:"NTreeNodeCheckbox",props:{clsPrefix:{type:String,required:!0},indent:{type:Number,required:!0},right:Boolean,focusable:Boolean,disabled:Boolean,checked:Boolean,indeterminate:Boolean,onCheck:Function},setup(t){const e=yi(Ua);function n(a){const{onCheck:o}=t;o&&o(a)}function r(a){n(a)}return{handleUpdateValue:r,mergedTheme:e.mergedThemeRef}},render(){const{clsPrefix:t,mergedTheme:e,checked:n,indeterminate:r,disabled:a,focusable:o,indent:s,handleUpdateValue:l}=this;return D("span",{class:[`${t}-tree-node-checkbox`,this.right&&`${t}-tree-node-checkbox--right`],style:{width:`${s}px`},"data-checkbox":!0},D(x1,{focusable:o,disabled:a,theme:e.peers.Checkbox,themeOverrides:e.peerOverrides.Checkbox,checked:n,indeterminate:r,onUpdateChecked:l}))}}),jv=Nt({name:"TreeNodeContent",props:{clsPrefix:{type:String,required:!0},disabled:Boolean,checked:Boolean,selected:Boolean,onClick:Function,onDragstart:Function,tmNode:{type:Object,required:!0},nodeProps:Object},setup(t){const{renderLabelRef:e,renderPrefixRef:n,renderSuffixRef:r,labelFieldRef:a}=yi(Ua),o=_e(null);function s(c){const{onClick:f}=t;f&&f(c)}function l(c){s(c)}return{selfRef:o,renderLabel:e,renderPrefix:n,renderSuffix:r,labelField:a,handleClick:l}},render(){const{clsPrefix:t,labelField:e,nodeProps:n,checked:r=!1,selected:a=!1,renderLabel:o,renderPrefix:s,renderSuffix:l,handleClick:c,onDragstart:f,tmNode:{rawNode:h,rawNode:{prefix:d,suffix:p,[e]:v}}}=this;return D("span",Object.assign({},n,{ref:"selfRef",class:[`${t}-tree-node-content`,n==null?void 0:n.class],onClick:c,draggable:f===void 0?void 0:!0,onDragstart:f}),s||d?D("div",{class:`${t}-tree-node-content__prefix`},s?s({option:h,selected:a,checked:r}):Es(d)):null,D("div",{class:`${t}-tree-node-content__text`},o?o({option:h,selected:a,checked:r}):Es(v)),l||p?D("div",{class:`${t}-tree-node-content__suffix`},l?l({option:h,selected:a,checked:r}):Es(p)):null)}}),zv=Nt({name:"NTreeSwitcher",props:{clsPrefix:{type:String,required:!0},indent:{type:Number,required:!0},expanded:Boolean,selected:Boolean,hide:Boolean,loading:Boolean,onClick:Function,tmNode:{type:Object,required:!0}},setup(t){const{renderSwitcherIconRef:e}=yi(Ua,null);return()=>{const{clsPrefix:n,expanded:r,hide:a,indent:o,onClick:s}=t;return D("span",{"data-switcher":!0,class:[`${n}-tree-node-switcher`,r&&`${n}-tree-node-switcher--expanded`,a&&`${n}-tree-node-switcher--hide`],style:{width:`${o}px`},onClick:s},D("div",{class:`${n}-tree-node-switcher__icon`},D(C1,null,{default:()=>{if(t.loading)return D(S1,{clsPrefix:n,key:"loading",radius:85,strokeWidth:20});const{value:l}=e;return l?l({expanded:t.expanded,selected:t.selected,option:t.tmNode.rawNode}):D(af,{clsPrefix:n,key:"switcher"},{default:()=>D(cv,null)})}})))}}});function Bv(t){return G(()=>t.leafOnly?"child":t.checkStrategy)}function Pr(t,e){return!!t.rawNode[e]}function wf(t,e,n,r){t==null||t.forEach(a=>{n(a),wf(a[e],e,n,r),r(a)})}function Dv(t,e,n,r,a){const o=new Set,s=new Set,l=[];return wf(t,r,c=>{if(l.push(c),a(e,c)){s.add(c[n]);for(let f=l.length-2;f>=0;--f)if(!o.has(l[f][n]))o.add(l[f][n]);else return}},()=>{l.pop()}),{expandedKeys:Array.from(o),highlightKeySet:s}}if($1&&Image){const t=new Image;t.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="}function Fv(t,e,n,r,a){const o=new Set,s=new Set,l=new Set,c=[],f=[],h=[];function d(v){v.forEach(_=>{if(h.push(_),e(n,_)){o.add(_[r]),l.add(_[r]);for(let w=h.length-2;w>=0;--w){const b=h[w][r];if(!s.has(b))s.add(b),o.has(b)&&o.delete(b);else break}}const m=_[a];m&&d(m),h.pop()})}d(t);function p(v,_){v.forEach(m=>{const w=m[r],b=o.has(w),q=s.has(w);if(!b&&!q)return;const S=m[a];if(S)if(b)_.push(m);else{c.push(w);const y=Object.assign(Object.assign({},m),{[a]:[]});_.push(y),p(S,y[a])}else _.push(m)})}return p(t,f),{filteredTree:f,highlightKeySet:l,expandedKeys:c}}const bf=Nt({name:"TreeNode",props:{clsPrefix:{type:String,required:!0},tmNode:{type:Object,required:!0}},setup(t){const e=yi(Ua),{droppingNodeParentRef:n,droppingMouseNodeRef:r,draggingNodeRef:a,droppingPositionRef:o,droppingOffsetLevelRef:s,nodePropsRef:l,indentRef:c,blockLineRef:f,checkboxPlacementRef:h,checkOnClickRef:d,disabledFieldRef:p,showLineRef:v,renderSwitcherIconRef:_,overrideDefaultNodeClickBehaviorRef:m}=e,w=je(()=>!!t.tmNode.rawNode.checkboxDisabled),b=je(()=>Pr(t.tmNode,p.value)),q=je(()=>e.disabledRef.value||b.value),S=G(()=>{const{value:B}=l;if(B)return B({option:t.tmNode.rawNode})}),y=_e(null),C={value:null};Ao(()=>{C.value=y.value.$el});function E(){const B=()=>{const{tmNode:ft}=t;if(!ft.isLeaf&&!ft.shallowLoaded){if(!e.loadingKeysRef.value.has(ft.key))e.loadingKeysRef.value.add(ft.key);else return;const{onLoadRef:{value:wt}}=e;wt&&wt(ft.rawNode).then(Kt=>{Kt!==!1&&e.handleSwitcherClick(ft)}).finally(()=>{e.loadingKeysRef.value.delete(ft.key)})}else e.handleSwitcherClick(ft)};_.value?setTimeout(B,0):B()}const k=je(()=>!b.value&&e.selectableRef.value&&(e.internalTreeSelect?e.mergedCheckStrategyRef.value!=="child"||e.multipleRef.value&&e.cascadeRef.value||t.tmNode.isLeaf:!0)),I=je(()=>e.checkableRef.value&&(e.cascadeRef.value||e.mergedCheckStrategyRef.value!=="child"||t.tmNode.isLeaf)),M=je(()=>e.displayedCheckedKeysRef.value.includes(t.tmNode.key)),j=je(()=>{const{value:B}=I;if(!B)return!1;const{value:ft}=d,{tmNode:wt}=t;return typeof ft=="boolean"?!wt.disabled&&ft:ft(t.tmNode.rawNode)});function H(B){const{value:ft}=e.expandOnClickRef,{value:wt}=k,{value:Kt}=j;if(!wt&&!ft&&!Kt||Hi(B,"checkbox")||Hi(B,"switcher"))return;const{tmNode:pe}=t;wt&&e.handleSelect(pe),ft&&!pe.isLeaf&&E(),Kt&&Rt(!M.value)}function W(B){var ft,wt;if(!(Hi(B,"checkbox")||Hi(B,"switcher"))){if(!q.value){const Kt=m.value;let pe=!1;if(Kt)switch(Kt({option:t.tmNode.rawNode})){case"toggleCheck":pe=!0,Rt(!M.value);break;case"toggleSelect":pe=!0,e.handleSelect(t.tmNode);break;case"toggleExpand":pe=!0,E(),pe=!0;break;case"none":pe=!0,pe=!0;return}pe||H(B)}(wt=(ft=S.value)===null||ft===void 0?void 0:ft.onClick)===null||wt===void 0||wt.call(ft,B)}}function Wt(B){f.value||W(B)}function _t(B){f.value&&W(B)}function Rt(B){e.handleCheck(t.tmNode,B)}function Lt(B){e.handleDragStart({event:B,node:t.tmNode})}function ve(B){B.currentTarget===B.target&&e.handleDragEnter({event:B,node:t.tmNode})}function re(B){B.preventDefault(),e.handleDragOver({event:B,node:t.tmNode})}function et(B){e.handleDragEnd({event:B,node:t.tmNode})}function Xe(B){B.currentTarget===B.target&&e.handleDragLeave({event:B,node:t.tmNode})}function yt(B){B.preventDefault(),o.value!==null&&e.handleDrop({event:B,node:t.tmNode,dropPosition:o.value})}const En=G(()=>{const{clsPrefix:B}=t,{value:ft}=c;if(v.value){const wt=[];let Kt=t.tmNode.parent;for(;Kt;)Kt.isLastChild?wt.push(D("div",{class:`${B}-tree-node-indent`},D("div",{style:{width:`${ft}px`}}))):wt.push(D("div",{class:[`${B}-tree-node-indent`,`${B}-tree-node-indent--show-line`]},D("div",{style:{width:`${ft}px`}}))),Kt=Kt.parent;return wt.reverse()}else return E1(t.tmNode.level,D("div",{class:`${t.clsPrefix}-tree-node-indent`},D("div",{style:{width:`${ft}px`}})))});return{showDropMark:je(()=>{const{value:B}=a;if(!B)return;const{value:ft}=o;if(!ft)return;const{value:wt}=r;if(!wt)return;const{tmNode:Kt}=t;return Kt.key===wt.key}),showDropMarkAsParent:je(()=>{const{value:B}=n;if(!B)return!1;const{tmNode:ft}=t,{value:wt}=o;return wt==="before"||wt==="after"?B.key===ft.key:!1}),pending:je(()=>e.pendingNodeKeyRef.value===t.tmNode.key),loading:je(()=>e.loadingKeysRef.value.has(t.tmNode.key)),highlight:je(()=>{var B;return(B=e.highlightKeySetRef.value)===null||B===void 0?void 0:B.has(t.tmNode.key)}),checked:M,indeterminate:je(()=>e.displayedIndeterminateKeysRef.value.includes(t.tmNode.key)),selected:je(()=>e.mergedSelectedKeysRef.value.includes(t.tmNode.key)),expanded:je(()=>e.mergedExpandedKeysRef.value.includes(t.tmNode.key)),disabled:q,checkable:I,mergedCheckOnClick:j,checkboxDisabled:w,selectable:k,expandOnClick:e.expandOnClickRef,internalScrollable:e.internalScrollableRef,draggable:e.draggableRef,blockLine:f,nodeProps:S,checkboxFocusable:e.internalCheckboxFocusableRef,droppingPosition:o,droppingOffsetLevel:s,indent:c,checkboxPlacement:h,showLine:v,contentInstRef:y,contentElRef:C,indentNodes:En,handleCheck:Rt,handleDrop:yt,handleDragStart:Lt,handleDragEnter:ve,handleDragOver:re,handleDragEnd:et,handleDragLeave:Xe,handleLineClick:_t,handleContentClick:Wt,handleSwitcherClick:E}},render(){const{tmNode:t,clsPrefix:e,checkable:n,expandOnClick:r,selectable:a,selected:o,checked:s,highlight:l,draggable:c,blockLine:f,indent:h,indentNodes:d,disabled:p,pending:v,internalScrollable:_,nodeProps:m,checkboxPlacement:w}=this,b=c&&!p?{onDragenter:this.handleDragEnter,onDragleave:this.handleDragLeave,onDragend:this.handleDragEnd,onDrop:this.handleDrop,onDragover:this.handleDragOver}:void 0,q=_?_f(t.key):void 0,S=w==="right",y=n?D(Ov,{indent:h,right:S,focusable:this.checkboxFocusable,disabled:p||this.checkboxDisabled,clsPrefix:e,checked:this.checked,indeterminate:this.indeterminate,onCheck:this.handleCheck}):null;return D("div",Object.assign({class:`${e}-tree-node-wrapper`},b),D("div",Object.assign({},f?m:void 0,{class:[`${e}-tree-node`,{[`${e}-tree-node--selected`]:o,[`${e}-tree-node--checkable`]:n,[`${e}-tree-node--highlight`]:l,[`${e}-tree-node--pending`]:v,[`${e}-tree-node--disabled`]:p,[`${e}-tree-node--selectable`]:a,[`${e}-tree-node--clickable`]:a||r||this.mergedCheckOnClick},m==null?void 0:m.class],"data-key":q,draggable:c&&f,onClick:this.handleLineClick,onDragstart:c&&f&&!p?this.handleDragStart:void 0}),d,t.isLeaf&&this.showLine?D("div",{class:[`${e}-tree-node-indent`,`${e}-tree-node-indent--show-line`,t.isLeaf&&`${e}-tree-node-indent--is-leaf`,t.isLastChild&&`${e}-tree-node-indent--last-child`]},D("div",{style:{width:`${h}px`}})):D(zv,{clsPrefix:e,expanded:this.expanded,selected:o,loading:this.loading,hide:t.isLeaf,tmNode:this.tmNode,indent:h,onClick:this.handleSwitcherClick}),S?null:y,D(jv,{ref:"contentInstRef",clsPrefix:e,checked:s,selected:o,onClick:this.handleContentClick,nodeProps:f?void 0:m,onDragstart:c&&!f&&!p?this.handleDragStart:void 0,tmNode:t}),c?this.showDropMark?pc({el:this.contentElRef.value,position:this.droppingPosition,offsetLevel:this.droppingOffsetLevel,indent:h}):this.showDropMarkAsParent?pc({el:this.contentElRef.value,position:"inside",offsetLevel:this.droppingOffsetLevel,indent:h}):null:null,S?y:null))}}),Kv=Nt({name:"TreeMotionWrapper",props:{clsPrefix:{type:String,required:!0},height:Number,nodes:{type:Array,required:!0},mode:{type:String,required:!0},onAfterEnter:{type:Function,required:!0}},render(){const{clsPrefix:t}=this;return D(rf,{onAfterEnter:this.onAfterEnter,appear:!0,reverse:this.mode==="collapse"},{default:()=>D("div",{class:[`${t}-tree-motion-wrapper`,`${t}-tree-motion-wrapper--${this.mode}`],style:{height:of(this.height)}},this.nodes.map(e=>D(bf,{clsPrefix:t,tmNode:e})))})}}),As=I1(),Uv=nt("tree",`
|
|
149
149
|
font-size: var(--n-font-size);
|
|
150
150
|
outline: none;
|
|
151
151
|
`,[tt("ul, li",`
|
|
@@ -254,24 +254,24 @@ import{h as Tt,v as D,a as nt,g as Bn,e as tt,f as at,b as Ot,j as Da,Z as u1,$
|
|
|
254
254
|
max-width: 100%;
|
|
255
255
|
`),Ot("suffix",`
|
|
256
256
|
display: inline-flex;
|
|
257
|
-
`)]),Ot("empty","margin: auto;")]);var Wv=function(t,e,n,r){function a(o){return o instanceof n?o:new n(function(s){s(o)})}return new(n||(n=Promise))(function(o,s){function l(h){try{f(r.next(h))}catch(d){s(d)}}function c(h){try{f(r.throw(h))}catch(d){s(d)}}function f(h){h.done?o(h.value):a(h.value).then(l,c)}f((r=r.apply(t,[])).next())})};function _c(t,e,n,r){return{getIsGroup(){return!1},getKey(o){return o[t]},getChildren:r||(o=>o[e]),getDisabled(o){return!!(o[n]||o.checkboxDisabled)}}}const Hv={allowCheckingNotLoaded:Boolean,filter:Function,defaultExpandAll:Boolean,expandedKeys:Array,keyField:{type:String,default:"key"},labelField:{type:String,default:"label"},childrenField:{type:String,default:"children"},disabledField:{type:String,default:"disabled"},defaultExpandedKeys:{type:Array,default:()=>[]},indeterminateKeys:Array,renderSwitcherIcon:Function,onUpdateIndeterminateKeys:[Function,Array],"onUpdate:indeterminateKeys":[Function,Array],onUpdateExpandedKeys:[Function,Array],"onUpdate:expandedKeys":[Function,Array],overrideDefaultNodeClickBehavior:Function},Vv=Object.assign(Object.assign(Object.assign(Object.assign({},gi.props),{accordion:Boolean,showIrrelevantNodes:{type:Boolean,default:!0},data:{type:Array,default:()=>[]},expandOnDragenter:{type:Boolean,default:!0},expandOnClick:Boolean,checkOnClick:{type:[Boolean,Function],default:!1},cancelable:{type:Boolean,default:!0},checkable:Boolean,draggable:Boolean,blockNode:Boolean,blockLine:Boolean,showLine:Boolean,disabled:Boolean,checkedKeys:Array,defaultCheckedKeys:{type:Array,default:()=>[]},selectedKeys:Array,defaultSelectedKeys:{type:Array,default:()=>[]},multiple:Boolean,pattern:{type:String,default:""},onLoad:Function,cascade:Boolean,selectable:{type:Boolean,default:!0},scrollbarProps:Object,indent:{type:Number,default:24},allowDrop:{type:Function,default:Rv},animated:{type:Boolean,default:!0},checkboxPlacement:{type:String,default:"left"},virtualScroll:Boolean,watchProps:Array,renderLabel:Function,renderPrefix:Function,renderSuffix:Function,nodeProps:Function,keyboard:{type:Boolean,default:!0},getChildren:Function,onDragenter:[Function,Array],onDragleave:[Function,Array],onDragend:[Function,Array],onDragstart:[Function,Array],onDragover:[Function,Array],onDrop:[Function,Array],onUpdateCheckedKeys:[Function,Array],"onUpdate:checkedKeys":[Function,Array],onUpdateSelectedKeys:[Function,Array],"onUpdate:selectedKeys":[Function,Array]}),Hv),{internalTreeSelect:Boolean,internalScrollable:Boolean,internalScrollablePadding:String,internalRenderEmpty:Function,internalHighlightKeySet:Object,internalUnifySelectCheck:Boolean,internalCheckboxFocusable:{type:Boolean,default:!0},internalFocusable:{type:Boolean,default:!0},checkStrategy:{type:String,default:"all"},leafOnly:Boolean}),Qv=Tt({name:"Tree",props:Vv,setup(t){const{mergedClsPrefixRef:e,inlineThemeDisabled:n,mergedRtlRef:r}=Da(t),a=Fa("Tree",r,e),o=gi("Tree","-tree",Uv,$v,t,e),s=_e(null),l=_e(null),c=_e(null);function f(){var y;return(y=c.value)===null||y===void 0?void 0:y.listElRef}function h(){var y;return(y=c.value)===null||y===void 0?void 0:y.itemsElRef}const d=G(()=>{const{filter:y}=t;if(y)return y;const{labelField:A}=t;return(O,K)=>{if(!O.length)return!0;const V=K[A];return typeof V=="string"?V.toLowerCase().includes(O.toLowerCase()):!1}}),p=G(()=>{const{pattern:y}=t;return y?!y.length||!d.value?{filteredTree:t.data,highlightKeySet:null,expandedKeys:void 0}:Fv(t.data,d.value,y,t.keyField,t.childrenField):{filteredTree:t.data,highlightKeySet:null,expandedKeys:void 0}}),v=G(()=>lc(t.showIrrelevantNodes?t.data:p.value.filteredTree,_c(t.keyField,t.childrenField,t.disabledField,t.getChildren))),_=yi(gf,null),m=t.internalTreeSelect?_.dataTreeMate:G(()=>t.showIrrelevantNodes?v.value:lc(t.data,_c(t.keyField,t.childrenField,t.disabledField,t.getChildren))),{watchProps:w}=t,b=_e([]);w!=null&&w.includes("defaultCheckedKeys")?Nn(()=>{b.value=t.defaultCheckedKeys}):b.value=t.defaultCheckedKeys;const q=Ct(t,"checkedKeys"),S=ba(q,b),g=G(()=>m.value.getCheckedKeys(S.value,{cascade:t.cascade,allowNotLoaded:t.allowCheckingNotLoaded})),C=Bv(t),E=G(()=>g.value.checkedKeys),k=G(()=>{const{indeterminateKeys:y}=t;return y!==void 0?y:g.value.indeterminateKeys}),I=_e([]);w!=null&&w.includes("defaultSelectedKeys")?Nn(()=>{I.value=t.defaultSelectedKeys}):I.value=t.defaultSelectedKeys;const P=Ct(t,"selectedKeys"),j=ba(P,I),W=_e([]),H=y=>{W.value=t.defaultExpandAll?m.value.getNonLeafKeys():y===void 0?t.defaultExpandedKeys:y};w!=null&&w.includes("defaultExpandedKeys")?Nn(()=>{H(void 0)}):Nn(()=>{H(t.defaultExpandedKeys)});const Ht=Ct(t,"expandedKeys"),_t=ba(Ht,W),Rt=G(()=>v.value.getFlattenedNodes(_t.value)),{pendingNodeKeyRef:Lt,handleKeydown:ve}=Lv({props:t,mergedCheckedKeysRef:S,mergedSelectedKeysRef:j,fNodesRef:Rt,mergedExpandedKeysRef:_t,handleCheck:xs,handleSelect:Cs,handleSwitcherClick:Ju});let re=null,et=null;const Xe=_e(new Set),gt=G(()=>t.internalHighlightKeySet||p.value.highlightKeySet),En=ba(gt,Xe),B=_e(new Set),ft=G(()=>_t.value.filter(y=>!B.value.has(y)));let yt=0;const Kt=_e(null),pe=_e(null),Yn=_e(null),Xn=_e(null),tr=_e(0),ti=G(()=>{const{value:y}=pe;return y?y.parent:null});let ha=!1;Rr(Ct(t,"data"),()=>{ha=!0,Ui(()=>{ha=!1}),B.value.clear(),Lt.value=null,va()},{deep:!1});let da=!1;const ei=()=>{da=!0,Ui(()=>{da=!1})};let ni;Rr(Ct(t,"pattern"),(y,A)=>{if(t.showIrrelevantNodes)if(ni=void 0,y){const{expandedKeys:O,highlightKeySet:K}=Dv(t.data,t.pattern,t.keyField,t.childrenField,d.value);Xe.value=K,ei(),Ri(O,fn(O),{node:null,action:"filter"})}else Xe.value=new Set;else if(!y.length)ni!==void 0&&(ei(),Ri(ni,fn(ni),{node:null,action:"filter"}));else{A.length||(ni=_t.value);const{expandedKeys:O}=p.value;O!==void 0&&(ei(),Ri(O,fn(O),{node:null,action:"filter"}))}});function fo(y){return Wv(this,void 0,void 0,function*(){const{onLoad:A}=t;if(!A){yield Promise.resolve();return}const{value:O}=B;if(!O.has(y.key)){O.add(y.key);try{(yield A(y.rawNode))===!1&&Li()}catch(K){console.error(K),Li()}O.delete(y.key)}})}Nn(()=>{var y;const{value:A}=v;if(!A)return;const{getNode:O}=A;(y=_t.value)===null||y===void 0||y.forEach(K=>{const V=O(K);V&&!V.shallowLoaded&&fo(V)})});const Tr=_e(!1),On=_e([]);Rr(ft,(y,A)=>{if(!t.animated||da){Ui(Pi);return}if(ha)return;const O=pa(o.value.self.nodeHeight),K=new Set(A);let V=null,Vt=null;for(const Nt of y)if(!K.has(Nt)){if(V!==null)return;V=Nt}const tn=new Set(y);for(const Nt of A)if(!tn.has(Nt)){if(Vt!==null)return;Vt=Nt}if(V===null&&Vt===null)return;const{virtualScroll:hn}=t,ji=(hn?c.value.listElRef:s.value).offsetHeight,zi=Math.ceil(ji/O)+1;let yn;if(V!==null&&(yn=A),Vt!==null&&(yn===void 0?yn=y:yn=yn.filter(Nt=>Nt!==Vt)),Tr.value=!0,On.value=v.value.getFlattenedNodes(yn),V!==null){const Nt=On.value.findIndex(wn=>wn.key===V);if(~Nt){const wn=On.value[Nt].children;if(wn){const In=uc(wn,y);On.value.splice(Nt+1,0,{__motion:!0,mode:"expand",height:hn?In.length*O:void 0,nodes:hn?In.slice(0,zi):In})}}}if(Vt!==null){const Nt=On.value.findIndex(wn=>wn.key===Vt);if(~Nt){const wn=On.value[Nt].children;if(!wn)return;Tr.value=!0;const In=uc(wn,y);On.value.splice(Nt+1,0,{__motion:!0,mode:"collapse",height:hn?In.length*O:void 0,nodes:hn?In.slice(0,zi):In})}}});const ys=G(()=>U1(Rt.value)),ws=G(()=>Tr.value?On.value:Rt.value);function Pi(){const{value:y}=l;y&&y.sync()}function bs(){Tr.value=!1,t.virtualScroll&&Ui(Pi)}function fn(y){const{getNode:A}=m.value;return y.map(O=>{var K;return((K=A(O))===null||K===void 0?void 0:K.rawNode)||null})}function Ri(y,A,O){const{"onUpdate:expandedKeys":K,onUpdateExpandedKeys:V}=t;W.value=y,K&&Ce(K,y,A,O),V&&Ce(V,y,A,O)}function Gu(y,A,O){const{"onUpdate:checkedKeys":K,onUpdateCheckedKeys:V}=t;b.value=y,V&&Ce(V,y,A,O),K&&Ce(K,y,A,O)}function Fd(y,A){const{"onUpdate:indeterminateKeys":O,onUpdateIndeterminateKeys:K}=t;O&&Ce(O,y,A),K&&Ce(K,y,A)}function ks(y,A,O){const{"onUpdate:selectedKeys":K,onUpdateSelectedKeys:V}=t;I.value=y,V&&Ce(V,y,A,O),K&&Ce(K,y,A,O)}function Kd(y){const{onDragenter:A}=t;A&&Ce(A,y)}function Ud(y){const{onDragleave:A}=t;A&&Ce(A,y)}function Wd(y){const{onDragend:A}=t;A&&Ce(A,y)}function Hd(y){const{onDragstart:A}=t;A&&Ce(A,y)}function Vd(y){const{onDragover:A}=t;A&&Ce(A,y)}function Qd(y){const{onDrop:A}=t;A&&Ce(A,y)}function va(){Gd(),ri()}function Gd(){Kt.value=null}function ri(){tr.value=0,pe.value=null,Yn.value=null,Xn.value=null,Li()}function Li(){re&&(window.clearTimeout(re),re=null),et=null}function xs(y,A){if(t.disabled||Mr(y,t.disabledField))return;if(t.internalUnifySelectCheck&&!t.multiple){Cs(y);return}const O=A?"check":"uncheck",{checkedKeys:K,indeterminateKeys:V}=m.value[O](y.key,E.value,{cascade:t.cascade,checkStrategy:C.value,allowNotLoaded:t.allowCheckingNotLoaded});Gu(K,fn(K),{node:y.rawNode,action:O}),Fd(V,fn(V))}function Jd(y){if(t.disabled)return;const{key:A}=y,{value:O}=_t,K=O.findIndex(V=>V===A);if(~K){const V=Array.from(O);V.splice(K,1),Ri(V,fn(V),{node:y.rawNode,action:"collapse"})}else{const V=v.value.getNode(A);if(!V||V.isLeaf)return;let Vt;if(t.accordion){const tn=new Set(y.siblings.map(({key:hn})=>hn));Vt=O.filter(hn=>!tn.has(hn)),Vt.push(A)}else Vt=O.concat(A);Ri(Vt,fn(Vt),{node:y.rawNode,action:"expand"})}}function Ju(y){t.disabled||Tr.value||Jd(y)}function Cs(y){if(!(t.disabled||!t.selectable)){if(Lt.value=y.key,t.internalUnifySelectCheck){const{value:{checkedKeys:A,indeterminateKeys:O}}=g;t.multiple?xs(y,!(A.includes(y.key)||O.includes(y.key))):Gu([y.key],fn([y.key]),{node:y.rawNode,action:"check"})}if(t.multiple){const A=Array.from(j.value),O=A.findIndex(K=>K===y.key);~O?t.cancelable&&A.splice(O,1):~O||A.push(y.key),ks(A,fn(A),{node:y.rawNode,action:~O?"unselect":"select"})}else j.value.includes(y.key)?t.cancelable&&ks([],[],{node:y.rawNode,action:"unselect"}):ks([y.key],fn([y.key]),{node:y.rawNode,action:"select"})}}function Zd(y){if(re&&(window.clearTimeout(re),re=null),y.isLeaf)return;et=y.key;const A=()=>{if(et!==y.key)return;const{value:O}=Yn;if(O&&O.key===y.key&&!_t.value.includes(y.key)){const K=_t.value.concat(y.key);Ri(K,fn(K),{node:y.rawNode,action:"expand"})}re=null,et=null};y.shallowLoaded?re=window.setTimeout(()=>{A()},1e3):re=window.setTimeout(()=>{fo(y).then(()=>{A()})},1e3)}function Yd({event:y,node:A}){!t.draggable||t.disabled||Mr(A,t.disabledField)||(Zu({event:y,node:A},!1),Kd({event:y,node:A.rawNode}))}function Xd({event:y,node:A}){!t.draggable||t.disabled||Mr(A,t.disabledField)||Ud({event:y,node:A.rawNode})}function t1(y){y.target===y.currentTarget&&ri()}function e1({event:y,node:A}){va(),!(!t.draggable||t.disabled||Mr(A,t.disabledField))&&Wd({event:y,node:A.rawNode})}function n1({event:y,node:A}){!t.draggable||t.disabled||Mr(A,t.disabledField)||(yt=y.clientX,Kt.value=A,Hd({event:y,node:A.rawNode}))}function Zu({event:y,node:A},O=!0){var K;if(!t.draggable||t.disabled||Mr(A,t.disabledField))return;const{value:V}=Kt;if(!V)return;const{allowDrop:Vt,indent:tn}=t;O&&Vd({event:y,node:A.rawNode});const hn=y.currentTarget,{height:ji,top:zi}=hn.getBoundingClientRect(),yn=y.clientY-zi;let Nt;Vt({node:A.rawNode,dropPosition:"inside",phase:"drag"})?yn<=8?Nt="before":yn>=ji-8?Nt="after":Nt="inside":yn<=ji/2?Nt="before":Nt="after";const{value:In}=ys;let Et,Ne;const Bi=In(A.key);if(Bi===null){ri();return}let ho=!1;Nt==="inside"?(Et=A,Ne="inside"):Nt==="before"?A.isFirstChild?(Et=A,Ne="before"):(Et=Rt.value[Bi-1],Ne="after"):(Et=A,Ne="after"),!Et.isLeaf&&_t.value.includes(Et.key)&&(ho=!0,Ne==="after"&&(Et=Rt.value[Bi+1],Et?Ne="before":(Et=A,Ne="inside")));const Xu=Et;if(Yn.value=Xu,!ho&&V.isLastChild&&V.key===Et.key&&(Ne="after"),Ne==="after"){let tc=yt-y.clientX,Ss=0;for(;tc>=tn/2&&Et.parent!==null&&Et.isLastChild&&Ss<1;)tc-=tn,Ss+=1,Et=Et.parent;tr.value=Ss}else tr.value=0;if((V.contains(Et)||Ne==="inside"&&((K=V.parent)===null||K===void 0?void 0:K.key)===Et.key)&&!(V.key===Xu.key&&V.key===Et.key)){ri();return}if(!Vt({node:Et.rawNode,dropPosition:Ne,phase:"drag"})){ri();return}if(V.key===Et.key)Li();else if(et!==Et.key)if(Ne==="inside"){if(t.expandOnDragenter){if(Zd(Et),!Et.shallowLoaded&&et!==Et.key){va();return}}else if(!Et.shallowLoaded){va();return}}else Li();else Ne!=="inside"&&Li();Xn.value=Ne,pe.value=Et}function r1({event:y,node:A,dropPosition:O}){if(!t.draggable||t.disabled||Mr(A,t.disabledField))return;const{value:K}=Kt,{value:V}=pe,{value:Vt}=Xn;if(!(!K||!V||!Vt)&&t.allowDrop({node:V.rawNode,dropPosition:Vt,phase:"drag"})&&K.key!==V.key){if(Vt==="before"){const tn=K.getNext({includeDisabled:!0});if(tn&&tn.key===V.key){ri();return}}if(Vt==="after"){const tn=K.getPrev({includeDisabled:!0});if(tn&&tn.key===V.key){ri();return}}Qd({event:y,node:V.rawNode,dragNode:K.rawNode,dropPosition:O}),va()}}function i1(){Pi()}function a1(){Pi()}function o1(y){var A;if(t.virtualScroll||t.internalScrollable){const{value:O}=l;if(!((A=O==null?void 0:O.containerRef)===null||A===void 0)&&A.contains(y.relatedTarget))return;Lt.value=null}else{const{value:O}=s;if(O!=null&&O.contains(y.relatedTarget))return;Lt.value=null}}Rr(Lt,y=>{var A,O;if(y!==null){if(t.virtualScroll)(A=c.value)===null||A===void 0||A.scrollTo({key:y});else if(t.internalScrollable){const{value:K}=l;if(K===null)return;const V=(O=K.contentRef)===null||O===void 0?void 0:O.querySelector(`[data-key="${pf(y)}"]`);if(!V)return;K.scrollTo({el:V})}}}),zl(Ua,{loadingKeysRef:B,highlightKeySetRef:En,displayedCheckedKeysRef:E,displayedIndeterminateKeysRef:k,mergedSelectedKeysRef:j,mergedExpandedKeysRef:_t,mergedThemeRef:o,mergedCheckStrategyRef:C,nodePropsRef:Ct(t,"nodeProps"),disabledRef:Ct(t,"disabled"),checkableRef:Ct(t,"checkable"),selectableRef:Ct(t,"selectable"),expandOnClickRef:Ct(t,"expandOnClick"),onLoadRef:Ct(t,"onLoad"),draggableRef:Ct(t,"draggable"),blockLineRef:Ct(t,"blockLine"),indentRef:Ct(t,"indent"),cascadeRef:Ct(t,"cascade"),checkOnClickRef:Ct(t,"checkOnClick"),checkboxPlacementRef:t.checkboxPlacement,droppingMouseNodeRef:Yn,droppingNodeParentRef:ti,draggingNodeRef:Kt,droppingPositionRef:Xn,droppingOffsetLevelRef:tr,fNodesRef:Rt,pendingNodeKeyRef:Lt,showLineRef:Ct(t,"showLine"),disabledFieldRef:Ct(t,"disabledField"),internalScrollableRef:Ct(t,"internalScrollable"),internalCheckboxFocusableRef:Ct(t,"internalCheckboxFocusable"),internalTreeSelect:t.internalTreeSelect,renderLabelRef:Ct(t,"renderLabel"),renderPrefixRef:Ct(t,"renderPrefix"),renderSuffixRef:Ct(t,"renderSuffix"),renderSwitcherIconRef:Ct(t,"renderSwitcherIcon"),labelFieldRef:Ct(t,"labelField"),multipleRef:Ct(t,"multiple"),overrideDefaultNodeClickBehaviorRef:Ct(t,"overrideDefaultNodeClickBehavior"),handleSwitcherClick:Ju,handleDragEnd:e1,handleDragEnter:Yd,handleDragLeave:Xd,handleDragStart:n1,handleDrop:r1,handleDragOver:Zu,handleSelect:Cs,handleCheck:xs});function s1(y,A){var O,K;typeof y=="number"?(O=c.value)===null||O===void 0||O.scrollTo(y,A||0):(K=c.value)===null||K===void 0||K.scrollTo(y)}const l1={handleKeydown:ve,scrollTo:s1,getCheckedData:()=>{if(!t.checkable)return{keys:[],options:[]};const{checkedKeys:y}=g.value;return{keys:y,options:fn(y)}},getIndeterminateData:()=>{if(!t.checkable)return{keys:[],options:[]};const{indeterminateKeys:y}=g.value;return{keys:y,options:fn(y)}}},Yu=G(()=>{const{common:{cubicBezierEaseInOut:y},self:{fontSize:A,nodeBorderRadius:O,nodeColorHover:K,nodeColorPressed:V,nodeColorActive:Vt,arrowColor:tn,loadingColor:hn,nodeTextColor:ji,nodeTextColorDisabled:zi,dropMarkColor:yn,nodeWrapperPadding:Nt,nodeHeight:wn,lineHeight:In,lineColor:Et}}=o.value,Ne=Is(Nt,"top"),Bi=Is(Nt,"bottom"),ho=of(pa(wn)-pa(Ne)-pa(Bi));return{"--n-arrow-color":tn,"--n-loading-color":hn,"--n-bezier":y,"--n-font-size":A,"--n-node-border-radius":O,"--n-node-color-active":Vt,"--n-node-color-hover":K,"--n-node-color-pressed":V,"--n-node-text-color":ji,"--n-node-text-color-disabled":zi,"--n-drop-mark-color":yn,"--n-node-wrapper-padding":Nt,"--n-line-offset-top":`-${Ne}`,"--n-line-offset-bottom":`-${Bi}`,"--n-node-content-height":ho,"--n-line-height":In,"--n-line-color":Et}}),Oi=n?Dl("tree",void 0,Yu,t):void 0;return Object.assign(Object.assign({},l1),{mergedClsPrefix:e,mergedTheme:o,rtlEnabled:a,fNodes:ws,aip:Tr,selfElRef:s,virtualListInstRef:c,scrollbarInstRef:l,handleFocusout:o1,handleDragLeaveTree:t1,handleScroll:i1,getScrollContainer:f,getScrollContent:h,handleAfterEnter:bs,handleResize:a1,cssVars:n?void 0:Yu,themeClass:Oi==null?void 0:Oi.themeClass,onRender:Oi==null?void 0:Oi.onRender})},render(){var t;const{fNodes:e,internalRenderEmpty:n}=this;if(!e.length&&n)return n();const{mergedClsPrefix:r,blockNode:a,blockLine:o,draggable:s,disabled:l,internalFocusable:c,checkable:f,handleKeydown:h,rtlEnabled:d,handleFocusout:p,scrollbarProps:v}=this,_=c&&!l,m=_?"0":void 0,w=[`${r}-tree`,d&&`${r}-tree--rtl`,f&&`${r}-tree--checkable`,(o||a)&&`${r}-tree--block-node`,o&&`${r}-tree--block-line`],b=S=>"__motion"in S?D(Kv,{height:S.height,nodes:S.nodes,clsPrefix:r,mode:S.mode,onAfterEnter:this.handleAfterEnter}):D(wf,{key:S.key,tmNode:S,clsPrefix:r});if(this.virtualScroll){const{mergedTheme:S,internalScrollablePadding:g}=this,C=Is(g||"0");return D(rc,Object.assign({},v,{ref:"scrollbarInstRef",onDragleave:s?this.handleDragLeaveTree:void 0,container:this.getScrollContainer,content:this.getScrollContent,class:w,theme:S.peers.Scrollbar,themeOverrides:S.peerOverrides.Scrollbar,tabindex:m,onKeydown:_?h:void 0,onFocusout:_?p:void 0}),{default:()=>{var E;return(E=this.onRender)===null||E===void 0||E.call(this),e.length?D(W1,{ref:"virtualListInstRef",items:this.fNodes,itemSize:pa(S.self.nodeHeight),ignoreItemResize:this.aip,paddingTop:C.top,paddingBottom:C.bottom,class:this.themeClass,style:[this.cssVars,{paddingLeft:C.left,paddingRight:C.right}],onScroll:this.handleScroll,onResize:this.handleResize,showScrollbar:!1,itemResizable:!0},{default:({item:k})=>b(k)}):nc(this.$slots.empty,()=>[D(cc,{class:`${r}-tree__empty`,theme:this.mergedTheme.peers.Empty,themeOverrides:this.mergedTheme.peerOverrides.Empty})])}})}const{internalScrollable:q}=this;return w.push(this.themeClass),(t=this.onRender)===null||t===void 0||t.call(this),q?D(rc,Object.assign({},v,{class:w,tabindex:m,onKeydown:_?h:void 0,onFocusout:_?p:void 0,style:this.cssVars,contentStyle:{padding:this.internalScrollablePadding}}),{default:()=>D("div",{onDragleave:s?this.handleDragLeaveTree:void 0,ref:"selfElRef"},this.fNodes.map(b))}):D("div",{class:w,tabindex:m,ref:"selfElRef",style:this.cssVars,onKeydown:_?h:void 0,onFocusout:_?p:void 0,onDragleave:s?this.handleDragLeaveTree:void 0},e.length?e.map(b):nc(this.$slots.empty,()=>[D(cc,{class:`${r}-tree__empty`,theme:this.mergedTheme.peers.Empty,themeOverrides:this.mergedTheme.peerOverrides.Empty})]))}}),Gv={class:"gkd_code py-2px px-4px rounded-2px bg-[#eee]"},Jv=Tt({__name:"TrackDlg",props:{track:{},onUpdateTrack:{type:Function,default:To}},setup(t){const e=(()=>{const a=()=>q1(()=>import("./TrackGraph-Dzg6umnG.js"),__vite__mapDeps([0,1,2,3,4]),import.meta.url);return setTimeout(a,1e3),I1(a)})(),n=t,r=At(!1);return Nn(()=>{n.track&&(r.value=!0)}),(a,o)=>{const s=Zi,l=N1;return ut(),Se(l,{show:$(r),"onUpdate:show":o[0]||(o[0]=c=>ii(r)?r.value=c:null),preset:"dialog",title:"选择器路径视图",class:"min-w-[calc(var(--gkd-w)*0.4)]",onAfterLeave:o[1]||(o[1]=c=>a.onUpdateTrack())},{icon:T(()=>[L(s,null,{default:T(()=>o[2]||(o[2]=[M("svg",{viewBox:"0 0 24 24"},[M("path",{fill:"currentColor",d:"M5 21V8.825Q4.125 8.5 3.563 7.738T3 6q0-1.25.875-2.125T6 3q1.25 0 2.125.875T9 6q0 .975-.562 1.738T7 8.825V19h4V3h8v12.175q.875.325 1.438 1.088T21 18q0 1.25-.875 2.125T18 21q-1.25 0-2.125-.875T15 18q0-.975.563-1.75T17 15.175V5h-4v16zM6 7q.425 0 .713-.288T7 6q0-.425-.288-.712T6 5q-.425 0-.712.288T5 6q0 .425.288.713T6 7m12 12q.425 0 .713-.288T19 18q0-.425-.288-.712T18 17q-.425 0-.712.288T17 18q0 .425.288.713T18 19m0-1"})],-1)])),_:1})]),default:T(()=>[a.track?(ut(),me(ar,{key:0},[M("div",Gv,xt(a.track.selector.toString()),1),L($(e),{track:a.track},null,8,["track"]),o[3]||(o[3]=M("div",{"opacity-75":"","text-12px":""},"*为简化视图已隐藏部分节点",-1))],64)):Ve("",!0)]),_:1},8,["show"])}}}),mc=t=>{const e=At(),n={x:0,y:0},r=Kl({...n});let a;const o=h=>{a&&h.preventDefault()},s=h=>{a=h,n.x=r.x,n.y=r.y},l=h=>{if(!a||!e.value)return;const d=h.clientX-a.clientX,p=h.clientY-a.clientY;t(d)&&(r.x=n.x+d),r.y=n.y+p},c=()=>{a=void 0},f=()=>{if(!e.value||!a)return;c();const{top:h,bottom:d,left:p,right:v}=e.value.getBoundingClientRect();(v<0||p>window.innerWidth||d<0||h>window.innerHeight)&&(r.x=n.x,r.y=n.y)};return Ao(()=>{window.addEventListener("pointermove",l),window.addEventListener("pointerup",f),document.addEventListener("selectstart",o)}),go(()=>{window.removeEventListener("pointermove",l),window.removeEventListener("pointerup",f),document.removeEventListener("selectstart",o),c()}),Rr(e,(h,d)=>{h&&(h.addEventListener("pointerdown",s),h.addEventListener("pointerup",c)),d&&(d.removeEventListener("pointerdown",s),d.removeEventListener("pointerup",c))}),go(()=>{e.value&&(e.value.removeEventListener("pointerdown",s),e.value.removeEventListener("pointerup",c))}),{target:e,offset:r}};let _a=1e3;const Zv=()=>{_a++;const t=At(_a);return{zIndex:t,setTop:()=>{t.value!==_a&&(_a++,t.value=_a)}}},gc="transition-top,bottom,left,right-500",Mo=Tt({__name:"DraggableCard",props:{initialValue:{default:()=>({})},minWidth:{},sizeDraggable:{type:Boolean},show:{type:Boolean,default:!0},class:{}},setup(t){var C,E;const e=t,n=e.initialValue.left!==void 0,r=e.initialValue.top!==void 0,a={x:(C=n?e.initialValue.left:e.initialValue.right)!=null?C:0,y:(E=r?e.initialValue.top:e.initialValue.bottom)!=null?E:0},o=mc(k=>{const I=(e.initialValue.width||0)+s.offset.x+-o.offset.x-k;return(e.minWidth||0)<I}),s=mc(k=>{const I=(e.initialValue.width||0)+s.offset.x+k-o.offset.x;return(e.minWidth||0)<I}),l=Kl({...a}),c=G(()=>{const k=(e.initialValue.width||0)+s.offset.x-o.offset.x,I=e.initialValue.width?`width:${k}px;`:"",P=r?`top:${l.y}px;`:`bottom:${l.y}px;`;return n?`left:${l.x-o.offset.x}px;`+P+I:`right:${l.x-s.offset.x}px;`+P+I});let f;const h=At(!1),d=k=>{f=k,a.x=l.x,a.y=l.y,h.value=!1},p=k=>{if(!m.value||!f)return;const I=k.clientX-f.clientX,P=k.clientY-f.clientY;l.x=a.x+(n?I:-I),l.y=a.y+(r?P:-P),h.value=!0},v=()=>{f=void 0},_=At(),m=At(),w=k=>{f&&k.preventDefault()},b=()=>{if(!m.value||!f)return;v();const{top:k,bottom:I,left:P,right:j}=m.value.getBoundingClientRect();if(j<0||P>window.innerWidth||I<0||k>window.innerHeight){l.x=a.x,l.y=a.y;const W=_.value;W&&(W.classList.add(gc),setTimeout(()=>{W.classList.remove(gc)},550))}};Ao(()=>{window.addEventListener("pointermove",p),window.addEventListener("pointerup",b),document.addEventListener("selectstart",w)}),go(()=>{window.removeEventListener("pointermove",p),window.removeEventListener("pointerup",b),document.removeEventListener("selectstart",w),v()}),Rr(m,(k,I)=>{k&&(k.addEventListener("pointerdown",d),k.addEventListener("pointerup",v)),I&&(I.removeEventListener("pointerdown",d),I.removeEventListener("pointerup",v))}),go(()=>{m.value&&(m.value.removeEventListener("pointerdown",d),m.value.removeEventListener("pointerup",v))});const q=k=>{k instanceof HTMLElement?m.value=k:m.value=void 0},{setTop:S,zIndex:g}=Zv();return Rr(()=>e.show,()=>{e.show&&S()}),(k,I)=>(ut(),Se(sf,{to:"body"},[k.show?(ut(),me("div",{key:0,fixed:"",ref_key:"box",ref:_,class:yo(["DraggableCard",e.class]),style:Lr([$(c),{zIndex:$(g)}]),onMousedown:I[0]||(I[0]=(...P)=>$(S)&&$(S)(...P))},[A1(k.$slots,"default",{onRef:q,moved:$(h)}),k.sizeDraggable?(ut(),me(ar,{key:0},[M("div",{ref:$(o).target,absolute:"","right-full":"","top-0":"","bottom-0":"","w-5px":"","cursor-ew-resize":""},null,512),M("div",{ref:$(s).target,absolute:"","left-full":"","top-0":"","bottom-0":"","w-5px":"","cursor-ew-resize":""},null,512)],64)):Ve("",!0)],38)):Ve("",!0)]))}}),Yv=async t=>fetch("https://detect.gkd.li/api/getImportId?id="+t).then(e=>e.json()).catch(()=>0),bi=T1("snapshot",()=>{const t=lf(),e=uf(),n=cf(),r=ff(),{snapshotImportId:a,snapshotImageId:o,importSnapshotId:s}=r,l=At();ic(()=>t.params.snapshotId,W=>{l.value=M1(W)});const c=G(()=>{if(l.value)return a[l.value]}),f=G(()=>{if(l.value)return o[l.value]}),h=At();Nn(()=>{h.value&&(document.title="快照-"+(zn(h.value).name||h.value.appId))});const d=At(),p=G(()=>{if(d.value)return URL.createObjectURL(new Blob([d.value],{type:"image/png"}))}),v=At(!1),_=H1(async W=>{if(v.value=!1,!W){h.value=void 0,d.value=void 0;return}if(await Promise.all([av.getItem(W).then(H=>{h.value=H||void 0}),ov.getItem(W).then(H=>{d.value=H||void 0})]),!h.value){const H=a[W]||await Yv(W);if(H&&Number.isSafeInteger(H)){v.value=!0,e.replace({path:"/i/"+H,query:t.query});return}}}),m=G(()=>_.loading);ic(()=>l.value,_.invoke),Nn(()=>{c.value&&r.inited&&!s[c.value]&&l.value&&(s[c.value]=l.value,fetch("https://detect.gkd.li/api/detectSnapshot?importId="+c.value))});const w=G(()=>sv()&&n.inited&&n.autoUploadImport&&r.inited);Nn(()=>{w.value&&h.value&&!f.value&&ev(h.value),w.value&&h.value&&!c.value&&nv(h.value),w.value&&h.value&&c.value&&rv(h.value.id,c.value)});const b=G(()=>h.value&&n.inited?h.value.nodes.length<=n.maxShowNodeSize?structuredClone(h.value.nodes):structuredClone(h.value.nodes.slice(0,n.maxShowNodeSize)):[]),q=G(()=>{if(b.value.length)return V1(b.value)}),S=G(()=>h.value?h.value.nodes.length-n.maxShowNodeSize:0),g=At(),C=At(0),E=At(),k=At(),I=async W=>{g.value=W,C.value=Date.now(),await Ui(),k.value&&!k.value.includes(W)&&(E.value=void 0,k.value=void 0)};Nn(()=>{q.value&&I(q.value)});const P=W=>{E.value=W;const H=Q1(b.value,E.value);H.length&&I(H[0]),H.length>1&&(k.value=H)},j=At();return{snapshotId:l,snapshot:h,rootNode:q,screenshotUrl:p,loading:m,redirected:v,importId:c,imageId:f,focusNode:g,updateFocusNode:I,focusTime:C,overlapNodes:k,missNodeSize:S,focusPosition:E,updatePosition:P,track:j}}),Xv={absolute:"","top-0":"","right-0":"","pt-4px":"","pr-8px":""},tp={key:0,flex:"","justify-between":"","items-center":""},ep={key:0,viewBox:"0 0 28 28"},np={key:1,viewBox:"0 0 1024 1024"},rp={flex:"","items-center":"","h-24px":"","px-2px":""},ip={"max-w-500px":""},ap=Tt({__name:"AttrCard",props:{show:{type:Boolean},onUpdateShow:{type:Function,default:To}},setup(t){const{focusNode:e}=wi(bi()),n=G(()=>{const s=e.value;return s?{_id:{desc:"虚拟属性(真机不可用):生成快照访问节点顺序",type:"info",show:!0},_pid:{desc:"虚拟属性(真机不可用):父节点的 _id",type:"info",show:!0},_selector:{desc:"自动生成的选择器, 点击“_selector”可直接复制内容, 用于定位",type:"info",show:!0},depth:{desc:"使用此属性在某些应用上可能造成无限节点错误",type:"info",show:!0},id:{desc:"可快速查找",type:"quickFind",show:!!((s.quickFind||s.idQf)&&s.attr.id)},vid:{desc:"可快速查找",type:"quickFind",show:!!((s.quickFind||s.idQf)&&s.attr.vid)},text:{desc:"可快速查找",type:"quickFind",show:!!((s.quickFind||s.textQf)&&s.attr.text)}}:{}}),r=["text","desc"],a=G(()=>e.value?Object.entries(e.value.attr).map(([s,l])=>{var f,h,d;const c={name:s,value:l,desc:JSON.stringify(l),tip:(f=n.value[s])!=null&&f.show?n.value[s]:void 0};return r.includes(s)?[c,{name:s+".length",value:(h=l==null?void 0:l.length)!=null?h:null,desc:JSON.stringify((d=l==null?void 0:l.length)!=null?d:null),tip:void 0}]:c}).flat():[]),o=G(()=>e.value?G1(e.value):"");return(s,l)=>{const c=Zi,f=Ka,h=Ul,d=Mv,p=J1,v=Pv,_=Tv,m=Av;return ut(),Se(Mo,{initialValue:{top:40,right:10},class:"box-shadow-dim",show:s.show&&!!$(e)},{default:T(({onRef:w})=>[M("div",Xv,[L(f,{onClick:l[0]||(l[0]=b=>s.onUpdateShow(!s.show)),text:"",title:"最小化"},{icon:T(()=>[L(c,null,{default:T(()=>l[2]||(l[2]=[M("svg",{viewBox:"0 0 24 24"},[M("path",{fill:"currentColor",d:"M6 13v-2h12v2z"})],-1)])),_:1})]),_:1})]),$(e)?(ut(),Se(m,{key:0,size:"small",striped:"",singleLine:!1,class:"gkd_code",themeOverrides:{thPaddingSmall:"1px 3px",tdPaddingSmall:"0px 3px"}},{default:T(()=>[M("thead",null,[M("tr",{ref:w,"cursor-move":""},l[3]||(l[3]=[M("th",null,"Name",-1),M("th",null,"Value",-1)]),512)]),L(_,null,{default:T(()=>[(ut(!0),me(ar,null,xa($(a),b=>(ut(),Se(v,{key:b.name},{default:T(()=>[L(d,{onClick:q=>$(Dn)(`${b.name}=${b.desc}`)},{default:T(()=>[b.tip?(ut(),me("div",tp,[M("div",null,xt(b.name),1),L(h,null,{trigger:T(()=>[L(c,{size:"16"},{default:T(()=>[b.tip.type=="info"?(ut(),me("svg",ep,l[4]||(l[4]=[M("path",{d:"M15 8a1 1 0 1 1-2 0a1 1 0 0 1 2 0zm-1.75 3.75v7.5a.75.75 0 0 0 1.5 0v-7.5a.75.75 0 0 0-1.5 0zM2 14C2 7.373 7.373 2 14 2s12 5.373 12 12s-5.373 12-12 12S2 20.627 2 14zM14 3.5C8.201 3.5 3.5 8.201 3.5 14S8.201 24.5 14 24.5S24.5 19.799 24.5 14S19.799 3.5 14 3.5z",fill:"currentColor"},null,-1)]))):b.tip.type=="quickFind"?(ut(),me("svg",np,l[5]||(l[5]=[M("path",{d:"M722.500267 330.888533l-273.408 273.408-147.729067-147.729066a42.018133 42.018133 0 1 0-59.426133 59.426133l177.425066 177.493333a41.984 41.984 0 0 0 59.426134 0L781.9264 390.314667a42.001067 42.001067 0 0 0-59.392-59.426134h-0.034133zM78.506667 783.496533a508.279467 508.279467 0 0 0 319.0784 226.986667C530.773333 1041.066667 667.886933 1017.924267 783.701333 945.390933a508.279467 508.279467 0 0 0 226.986667-319.0784 508.279467 508.279467 0 0 0-65.058133-386.116266C848.554667 85.367467 681.710933 0.341333 511.214933 0.341333a508.6208 508.6208 0 0 0-270.813866 77.960534A36.864 36.864 0 0 0 279.552 140.629333C484.113067 12.288 755.029333 74.581333 883.268267 279.278933a434.9952 434.9952 0 0 1 55.739733 330.5472 435.029333 435.029333 0 0 1-194.3552 273.134934 435.746133 435.746133 0 0 1-330.581333 55.773866A435.165867 435.165867 0 0 1 140.936533 744.379733a436.770133 436.770133 0 0 1-5.666133-456.055466 36.829867 36.829867 0 0 0-63.317333-37.546667A510.1568 510.1568 0 0 0 78.506667 783.530667v-0.034134z",fill:"currentColor"},null,-1)]))):Ve("",!0)]),_:2},1024)]),default:T(()=>[zt(" "+xt(b.tip.desc),1)]),_:2},1024)])):(ut(),me(ar,{key:1},[zt(xt(b.name),1)],64))]),_:2},1032,["onClick"]),L(d,null,{default:T(()=>[L(p,{class:yo(["w-[calc(var(--gkd-w)*0.12)]",{"text-left direction-rtl":b.name=="id","opacity-50":b.value===null}])},{default:T(()=>[zt(xt(b.desc),1)]),_:2},1032,["class"])]),_:2},1024)]),_:2},1024))),128)),L(v,null,{default:T(()=>[L(d,{colspan:"2"},{default:T(()=>[M("div",rp,[L(h,null,{trigger:T(()=>[L(f,{text:"",onClick:l[1]||(l[1]=b=>$(Dn)($(o)))},{icon:T(()=>[L(c,{size:"20"},{default:T(()=>l[6]||(l[6]=[M("svg",{viewBox:"0 0 24 24"},[M("path",{fill:"currentColor",d:"M5 21V8.825Q4.125 8.5 3.563 7.738T3 6q0-1.25.875-2.125T6 3q1.25 0 2.125.875T9 6q0 .975-.562 1.738T7 8.825V19h4V3h8v12.175q.875.325 1.438 1.088T21 18q0 1.25-.875 2.125T18 21q-1.25 0-2.125-.875T15 18q0-.975.563-1.75T17 15.175V5h-4v16zM6 7q.425 0 .713-.288T7 6q0-.425-.288-.712T6 5q-.425 0-.712.288T5 6q0 .425.288.713T6 7m12 12q.425 0 .713-.288T19 18q0-.425-.288-.712T18 17q-.425 0-.712.288T17 18q0 .425.288.713T18 19m0-1"})],-1)])),_:1})]),_:1})]),default:T(()=>[M("div",ip,xt($(o)),1)]),_:1})])]),_:1})]),_:1})]),_:1})]),_:2},1024)):Ve("",!0)]),_:1},8,["show"])}}}),op={bg:"#eee","px-2px":""},sp=Tt({__name:"OverlapCard",setup(t){const e=bi(),{focusNode:n,overlapNodes:r,focusPosition:a}=wi(e),s=document.documentElement.scrollWidth/100*25.5;return(l,c)=>{const f=Ka,h=hf,d=P1;return ut(),Se(Mo,{initialValue:{top:215,left:s},class:"box-shadow-dim w-420px",show:!!($(r)&&$(a))},{default:T(({onRef:p})=>[$(r)&&$(a)?(ut(),Se(d,{key:0,size:"small",closable:"",onClose:c[0]||(c[0]=v=>r.value=void 0)},{header:T(()=>[M("div",{ref:p,"cursor-move":""},[c[1]||(c[1]=zt(" 位置 ")),M("span",op,xt(`${$(a).x.toFixed(0)},${$(a).y.toFixed()}`),1),zt(" 存在 "+xt($(r).length)+" 个层叠节点 ",1)],512)]),default:T(()=>[L(h,{style:{"max-height":"400px","overflow-y":"scroll","padding-bottom":"10px"},class:"scrollbar-hidden"},{default:T(()=>[(ut(!0),me(ar,null,xa($(r),v=>(ut(),Se(f,{key:v.id,onClick:_=>$(e).updateFocusNode(v),size:"small",style:Lr($(Ca)(v,$(n)))},{default:T(()=>[zt(xt($(Hi)(v)),1)]),_:2},1032,["onClick","style"]))),128))]),_:1})]),_:2},1024)):Ve("",!0)]),_:1},8,["initialValue","show"])}}});typeof Math.imul>"u"&&(Math.imul=function(e,n){return(e&4294901760)*(n&65535)+(e&65535)*(n|0)|0});typeof ArrayBuffer.isView>"u"&&(ArrayBuffer.isView=function(t){return t!=null&&t.__proto__!=null&&t.__proto__.__proto__===Int8Array.prototype.__proto__});typeof Array.prototype.fill>"u"&&Object.defineProperty(Array.prototype,"fill",{value:function(t){if(this==null)throw new TypeError("this is null or not defined");for(var e=Object(this),n=e.length>>>0,r=arguments[1],a=r>>0,o=a<0?Math.max(n+a,0):Math.min(a,n),s=arguments[2],l=s===void 0?n:s>>0,c=l<0?Math.max(n+l,0):Math.min(l,n);o<c;)e[o]=t,o++;return e}});[Int8Array,Int16Array,Uint16Array,Int32Array,Float32Array,Float64Array].forEach(function(t){typeof t.prototype.fill>"u"&&Object.defineProperty(t.prototype,"fill",{value:Array.prototype.fill})});typeof Math.clz32>"u"&&(Math.clz32=function(t,e){return function(n){var r=n>>>0;return r===0?32:31-(t(r)/e|0)|0}}(Math.log,Math.LN2));typeof String.prototype.startsWith>"u"&&Object.defineProperty(String.prototype,"startsWith",{value:function(t,e){return e=e||0,this.lastIndexOf(t,e)===e}});typeof String.prototype.endsWith>"u"&&Object.defineProperty(String.prototype,"endsWith",{value:function(t,e){var n=this.toString();(e===void 0||e>n.length)&&(e=n.length),e-=t.length;var r=n.indexOf(t,e);return r!==-1&&r===e}});var kt=Math.imul,lp=ArrayBuffer.isView,bf=Math.clz32;Ue(Wl,"CharSequence");Ue(Wa,"Comparable");x(bo,"Number");ct(Hl,"Unit");x(Gl);x(Yl);ke(Tf);x(lt,"Char",u,u,[Wa]);Ue(Mt,"Collection");function kf(){return Qp(this)}Ue(Gn,"List",u,u,[Mt]);Ue(wr,"Entry");Ue(br,"Map");Ue(Qr,"Set",u,u,[Mt]);ke(Lp);x(kr,"Enum",u,u,[Wa]);ke(Mf);x(mt,"Long",u,bo,[bo,Wa]);x(Po);x(Ws,"JsArrayView",Ws,Array);ct(fh,"Digit");x(Cr,"AbstractCollection",u,u,[Mt]);x(Wn,"AbstractMutableCollection",u,Cr,[Cr,Mt]);x(ki,"IteratorImpl");x(Ga,"ListIteratorImpl",u,ki);x(be,"AbstractMutableList",u,Wn,[Wn,Gn,Mt]);x(Ar,"SubList",u,be);x(xn,"AbstractMap",u,u,[br]);x(So,"AbstractMutableMap",u,xn,[xn,br]);x(xr,"AbstractMutableSet",u,Wn,[Wn,Qr,Mt]);ke(ph);x(ee,"ArrayList",jt,be,[be,Gn,Mt]);x(Hn,"HashMap",Y0,So,[So,br]);x(Cn,"HashMapEntrySetBase",u,xr,[Qr,Mt,xr]);x(su,"HashMapEntrySet",u,Cn);x(Pn,"HashSet",e_,xr,[xr,Qr,Mt]);ke(Sh);x(Gr,"Itr");x(vu,"KeysItr",u,Gr);x(Ya,"EntriesItr",u,Gr);x(xi,"EntryRef",u,u,[wr]);function up(t){var e;t:{var n;if(st(t,Mt)?n=t.l():n=!1,n){e=!0;break t}for(var r=t.h();r.i();){var a=r.j(),o=a,s;if(o!=null&&st(o,wr)?s=this.e6(o):s=!1,!s){e=!1;break t}}e=!0}return e}Ue($h,"InternalMap");x(Ee,"InternalHashMap",uu,u,[$h]);x(Xa,"LinkedHashMap",Eh,Hn,[Hn,br]);x(Jr,"LinkedHashSet",pu,Pn,[Pn,Qr,Mt]);Ue(ca,"Continuation");x(Ta,"InterceptedCoroutine",u,u,[ca]);x(Le,"CoroutineImpl",u,Ta,[Ta,ca]);ct(ea,"CompletedContinuation",u,u,[ca]);x(_u,u,u,Le);x(Sn,"Exception",Nh,Error);x(We,"RuntimeException",Oh,Sn);x(Ci,"IllegalArgumentException",Mh,We);x(na,"IndexOutOfBoundsException",mu,We);x(ra,"IllegalStateException",Rh,We);x(ia,"UnsupportedOperationException",Si,We);x(aa,"NoSuchElementException",Ie,We);x(oa,"Error",zh,Error);x(Ei,"NumberFormatException",Bh,Ci);x(sa,"ArithmeticException",Fh,We);x(Bo,"ConcurrentModificationException",gu,We);x(Do,"NullPointerException",yu,We);x(Fo,"NoWhenBranchMatchedException",wu,We);x(Ko,"ClassCastException",bu,We);Ue(Pa,"KClass");x(mn,"KClassImpl",u,u,[Pa]);ct(Ii,"NothingKClassImpl",u,mn);x(Ji,"ErrorKClass",Ji,u,[Pa]);x(Ut,"PrimitiveKClassImpl",u,mn);x($o,"SimpleKClassImpl",u,mn);Ue(Uo,"KProperty1");Ue(ku,"KProperty0");ct(ne,"PrimitiveClasses");x($n,"StringBuilder",Cu,u,[Wl]);ke(Zh);x(eo,"Regex");x(Su,"sam$kotlin_Comparator$0");ke(Zr);ke($m);ke(Ho);x(Jn,"ArrayAsCollection",u,u,[Mt]);ct(de,"EmptyList",u,u,[Gn]);ct(qi,"EmptyIterator");x(si,"IndexedValue");x(Qo,"IntIterator");x(ro,"CharIterator");x(Sr,"SequenceScope",u,u,u,[1]);x($r,"SequenceBuilderIterator",$r,Sr,[Sr,ca],[1]);x(qu);x(Go);x(Nu,"TransformingSequence");x(Jo);x(Au,"FilteringSequence");x(Zo);x(Tu,"IndexingSequence");Ue(Ai,"DropTakeSequence");x(Yo);x(hi,"TakeSequence",u,u,[Ai]);x(Xo);x(Mu,"TakeWhileSequence");x(ts);x(li,"DropSequence",u,u,[Ai]);x(es);x(Pu,"DropWhileSequence");ct(ao,"EmptySequence",u,u,[Ai]);x(rs);x(Hr,"SubSequence",u,u,[Ai]);ct(Zn,"EmptySet",u,u,[Qr]);ct(ld,"Key");Ue(Fm,"ContinuationInterceptor");ct(oo,"EmptyCoroutineContext");x(_o,"CoroutineSingletons",u,kr);ke(hd);x(Qn,"IntProgression");x(Vr,"IntRange",u,Qn);ke(dd);x(qr,"CharProgression");x(Ir,"CharRange",u,qr);x(as,"IntProgressionIterator",u,Qo);x(os,"CharProgressionIterator",u,ro);ke(Lu);ke(Qm);x(lo,"UnsafeLazyImpl");ct(bd,"UNINITIALIZED_VALUE");ke(ng);x(Nr,"Failure");x(ul,"NotImplementedError",ul,oa);x(Mn,"Pair");function Wl(){}function Wa(){}function bo(){}function Hl(){}i(Hl).toString=function(){return"kotlin.Unit"};var dt;function Vl(t){switch(t.length){case 0:return la();case 1:return Qa(t[0]);default:return Ql(t)}}function Ds(t,e){return Cf(t,e)>=0}function cp(t){return t.length===0?Ni():new Gl(t)}function xf(t,e,n,r,a,o,s){return e=e===u?", ":e,n=n===u?"":n,r=r===u?"":r,a=a===u?-1:a,o=o===u?"...":o,s=s===u?null:s,hp(t,Cu(),e,n,r,a,o,s).toString()}function Ql(t){return Ja(Pm(t))}function fp(t){var e;switch(t.length){case 0:throw to("Array is empty.");case 1:e=t[0];break;default:throw Wt("Array has more than one element.")}return e}function Cf(t,e){if(e==null){var n=0,r=t.length-1|0;if(n<=r)do{var a=n;if(n=n+1|0,t[a]==null)return a}while(n<=r)}else{var o=0,s=t.length-1|0;if(o<=s)do{var l=o;if(o=o+1|0,R(e,t[l]))return l}while(o<=s)}return-1}function hp(t,e,n,r,a,o,s,l){n=n===u?", ":n,r=r===u?"":r,a=a===u?"":a,o=o===u?-1:o,s=s===u?"...":s,l=l===u?null:l,e.e(r);var c=0,f=0,h=t.length;t:for(;f<h;){var d=t[f];if(f=f+1|0,c=c+1|0,c>1&&e.e(n),o<0||c<=o)pd(e,d,l);else break t}return o>=0&&c>o&&e.e(s),e.e(a),e}function dp(t){return t.length-1|0}function vp(t,e){if(e==null){var n=t.length-1|0;if(0<=n)do{var r=n;if(n=n+-1|0,t[r]==null)return r}while(0<=n)}else{var a=t.length-1|0;if(0<=a)do{var o=a;if(a=a+-1|0,R(e,t[o]))return o}while(0<=a)}return-1}function pp(t,e){for(var n=0,r=t.length;n<r;){var a=t[n];n=n+1|0,e.f(a)}return e}function Gl(t){this.g_1=t}i(Gl).h=function(){return Rf(this.g_1)};function An(t,e,n,r,a,o,s){return e=e===u?", ":e,n=n===u?"":n,r=r===u?"":r,a=a===u?-1:a,o=o===u?"...":o,s=s===u?null:s,_p(t,Cu(),e,n,r,a,o,s).toString()}function _p(t,e,n,r,a,o,s,l){n=n===u?", ":n,r=r===u?"":r,a=a===u?"":a,o=o===u?-1:o,s=s===u?"...":s,l=l===u?null:l,e.e(r);var c=0,f=t.h();t:for(;f.i();){var h=f.j();if(c=c+1|0,c>1&&e.e(n),o<0||c<=o)pd(e,h,l);else break t}return o>=0&&c>o&&e.e(s),e.e(a),e}function Sf(t){return t.l()?null:t.k(0)}function Vi(t){if(t.l())throw to("List is empty.");return t.k(0)}function mp(t){return Ef(wp(t))}function gp(t){return new Yl(t)}function yp(t){return t.l()?null:t.k(t.m()-1|0)}function $f(t,e){if(st(e,Mt)){var n=Qi(t.m()+e.m()|0);return n.q(t),n.q(e),n}else{var r=Ja(t);return Vo(r,e),r}}function Sa(t){if(t.l())throw to("List is empty.");return t.k(no(t))}function Jl(t){return Ja(t)}function Zl(t,e){if(st(t,Mt)){if(t.m()<=1)return Ef(t);var n=kn(t),r=ta(n)?n:N();return T0(r,e),iu(r)}var a=If(t);return B0(a,e),a}function Ef(t){if(st(t,Mt)){var e;switch(t.m()){case 0:e=la();break;case 1:var n;st(t,Gn)?n=t.k(0):n=t.h().j(),e=Qa(n);break;default:e=Jl(t);break}return e}return Am(If(t))}function wp(t){var e;return st(t,Mt)?e=b_(t):e=ko(t,pu()),e}function If(t){return st(t,Mt)?Jl(t):ko(t,jt())}function ko(t,e){for(var n=t.h();n.i();){var r=n.j();e.f(r)}return e}function bp(t){if(st(t,Mt)){var e;switch(t.m()){case 0:e=Ru();break;case 1:var n;st(t,Gn)?n=t.k(0):n=t.h().j(),e=dh(n);break;default:e=ko(t,C_(t.m()));break}return e}return Bm(ko(t,pu()))}function Yl(t){this.r_1=t}i(Yl).h=function(){return this.r_1.h()};function kp(t,e){return vd.s(t,e,-1)}function $a(t,e){return t>e?e:t}function xo(t,e){return t<e?e:t}function Xl(t){return $p(t,jt())}function tu(t,e){var n=new Tu(t),r=new Au(n,!0,Ep(e));return new Nu(r,Ip)}function qf(t,e){if(!(e>=0)){var n="Requested element count "+e+" is less than zero.";throw Wt(U(n))}var r;return e===0?r=Ni():st(t,Ai)?r=t.t(e):r=new hi(t,e),r}function xp(t,e){return new Mu(t,e)}function Cp(t,e){var n;return st(t,Ai)?n=t.u(e):n=new li(t,e),n}function Sp(t,e){return new Pu(t,e)}function Nf(t){var e=t.h();return e.i()?e.j():null}function Af(t){var e=t.h();if(!e.i())return la();var n=e.j();if(!e.i())return Qa(n);var r=jt();for(r.f(n);e.i();)r.f(e.j());return r}function $p(t,e){for(var n=t.h();n.i();){var r=n.j();e.f(r)}return e}function Ep(t){return function(e){return t(e.v_1,e.w_1)}}function Ip(t){return t.w_1}function nn(t,e){return 0<=e&&e<=(z(t)-1|0)?F(t,e):null}function yc(t,e){if(!(e>=0)){var n="Requested character count "+e+" is less than zero.";throw Wt(U(n))}return dn(t,$a(e,z(t)),z(t))}function qp(t){return Np(t,Qi(z(t)))}function Np(t,e){for(var n=0;n<z(t);){var r=F(t,n);n=n+1|0,e.f(new lt(r))}return e}function Ap(t){var e=t&65535;return e}function le(t,e){return t-e|0}function Tp(t,e){return le(t.x_1,e instanceof lt?e.x_1:N())}function ma(t,e){return t-e|0}function ai(t,e){return new Ir(t,e)}function Be(t){return t}function Zt(t){return String.fromCharCode(t)}function Mp(t,e){return e instanceof lt?t===e.x_1:!1}function Pp(t){return t}function Tf(){Fs=this,this.y_1=0,this.z_1=65535,this.a1_1=55296,this.b1_1=56319,this.c1_1=56320,this.d1_1=57343,this.e1_1=55296,this.f1_1=57343,this.g1_1=2,this.h1_1=16}var Fs;function Rp(){return Fs==null&&new Tf,Fs}function lt(t){Rp(),this.x_1=t}i(lt).i1=function(t){return le(this.x_1,t)};i(lt).d=function(t){return Tp(this,t)};i(lt).toString=function(){return Zt(this.x_1)};i(lt).equals=function(t){return Mp(this.x_1,t)};i(lt).hashCode=function(){return Pp(this.x_1)};function Gn(){}function Mt(){}function wr(){}function br(){}function Qr(){}function Lp(){}function kr(t,e){this.v1_1=t,this.w1_1=e}i(kr).x1=function(t){return Kf(this.w1_1,t.w1_1)};i(kr).d=function(t){return this.x1(t instanceof kr?t:N())};i(kr).equals=function(t){return this===t};i(kr).hashCode=function(){return n0(this)};i(kr).toString=function(){return this.v1_1};function Xt(t){var e=t==null?null:U(t);return e==null?"null":e}function Mf(){Ks=this,this.y1_1=new mt(0,-2147483648),this.z1_1=new mt(-1,2147483647),this.a2_1=8,this.b2_1=64}var Ks;function Op(){return Ks==null&&new Mf,Ks}function mt(t,e){Op(),bo.call(this),this.c2_1=t,this.d2_1=e}i(mt).e2=function(t){return Lo(this,t)};i(mt).d=function(t){return this.e2(t instanceof mt?t:N())};i(mt).f2=function(t){return Co(this,t)};i(mt).g2=function(t){return h0(this,t)};i(mt).h2=function(){return this.i2().f2(new mt(1,0))};i(mt).i2=function(){return new mt(~this.c2_1,~this.d2_1)};i(mt).j2=function(){return this.c2_1};i(mt).k2=function(){return qa(this)};i(mt).toString=function(){return Vs(this,10)};i(mt).equals=function(t){var e;return t instanceof mt?e=qn(this,t):e=!1,e};i(mt).hashCode=function(){return p0(this)};i(mt).valueOf=function(){return this.k2()};function Pf(t){for(var e=1,n=[],r=0,a=t.length;r<a;){var o=t[r];r=r+1|0;var s=e,l=o.prototype.$imask$,c=l==null?o.$imask$:l;c!=null&&(n.push(c),s=c.length);var f=o.$metadata$.iid,h;f==null?h=null:h=jp(f);var d=h;d!=null&&(n.push(d),s=Math.max(s,d.length)),s>e&&(e=s)}return zp(e,n)}function jp(t){var e=t>>5,n=new Int32Array(e+1|0),r=t&31,a=1<<r;return n[e]=n[e]|a,n}function zp(t,e){for(var n=0,r=new Int32Array(t);n<t;){for(var a=n,o=0,s=0,l=e.length;s<l;){var c=e[s];s=s+1|0,a<c.length&&(o=o|c[a])}r[a]=o,n=n+1|0}return r}function Bp(t,e){var n=e>>5;if(n>t.length)return!1;var r=e&31,a=1<<r;return!!(t[n]&a)}function nr(t,e){var n=0,r=t.length-1|0;if(n<=r)do{var a=n;n=n+1|0,t[a]=e}while(a!==r);return t}function Rf(t){return new Po(t)}function Dp(t){var e="CharArray",n=new Uint16Array(t);return n.$type$=e,n}function Po(t){this.m2_1=t,this.l2_1=0}i(Po).i=function(){return this.l2_1!==this.m2_1.length};i(Po).j=function(){var t;if(this.l2_1!==this.m2_1.length){var e=this.l2_1;this.l2_1=e+1|0,t=this.m2_1[e]}else throw to(""+this.l2_1);return t};function Ts(){return Yi(),Lf}var Lf;function Of(){return Yi(),jf}var jf;function Us(){return Yi(),zf}var zf;function Bf(){return Yi(),Df}var Df;function Fp(){return Yi(),Ff}var Ff;function Kp(t){return Yi(),(t|0)===t?Yf(t):(Of()[0]=t,kt(Us()[Fp()],31)+Us()[Bf()]|0)}var wc;function Yi(){wc||(wc=!0,Lf=new ArrayBuffer(8),jf=new Float64Array(Ts()),new Float32Array(Ts()),zf=new Int32Array(Ts()),Of()[0]=-1,Df=Us()[0]!==0?1:0,Ff=1-Bf()|0)}function F(t,e){var n;if(eu(t)){var r=t.charCodeAt(e),a,o=0;if(r<Be(o))a=!0;else{var s=65535;a=r>Be(s)}if(a)throw Wt("Invalid Char code: "+r);n=Aa(r)}else n=t.b(e);return n}function eu(t){return typeof t=="string"}function z(t){var e;return eu(t)?e=t.length:e=t.a(),e}function dn(t,e,n){var r;return eu(t)?r=t.substring(e,n):r=t.c(e,n),r}function Up(t,e){var n=t,r=e;if(n===r)return!0;if(n==null||r==null||!th(r)||n.length!=r.length)return!1;var a=0,o=n.length;if(a<o)do{var s=a;if(a=a+1|0,!R(n[s],r[s]))return!1}while(a<o);return!0}function Wp(t){var e=t;if(e==null)return 0;var n=1,r=0,a=e.length;if(r<a)do{var o=r;r=r+1|0,n=kt(n,31)+ht(e[o])|0}while(r<a);return n}function Hp(t){return xf(t,", ","[","]",u,u,Vp)}function Vp(t){return U(t)}function Qp(t){var e=Jp(t),n=Zp(t),r=Yp(),a=Xp(),o=t0();return Gp(e,n,r,a,o)}function Gp(t,e,n,r,a){var o=rt(i(Ws));return new Proxy(o,{get:function(s,l,c){if(l==="length")return t();var f=typeof l,h=f==="string"||f==="number"?+l:void 0;return isNaN(h)?s[l]:e(h)},has:function(s,l){return!isNaN(l)&&l<t()},set:function(s,l,c){if(l==="length"){var f=t(),h=d==="string"||d==="number"?+l:void 0;if(isNaN(h))throw new RangeError("invalid array length");return h<f?r(f-h):a(h-f),!0}var d=typeof l,p=d==="string"||d==="number"?+l:void 0;return isNaN(p)?!1:(n(p,c),!0)}})}function nu(){throw Si()}function Ws(){Array.call(this)}function Jp(t){return function(){return t.m()}}function Zp(t){return function(e){return t.k(e)}}function Yp(){var t=function(){return nu(),dt};return t.callableName="UNSUPPORTED_OPERATION",t}function Xp(){var t=function(){return nu(),dt};return t.callableName="UNSUPPORTED_OPERATION",t}function t0(){var t=function(){return nu(),dt};return t.callableName="UNSUPPORTED_OPERATION",t}function Kf(t,e){var n;switch(typeof t){case"number":var r;typeof e=="number"?r=bc(t,e):e instanceof mt?r=bc(t,e.k2()):r=kc(t,e),n=r;break;case"string":case"boolean":n=kc(t,e);break;default:n=e0(t,e);break}return n}function bc(t,e){var n;if(t<e)n=-1;else if(t>e)n=1;else if(t===e){var r;if(t!==0)r=0;else{var a=1/t,o;a===1/e?o=0:a<0?o=-1:o=1,r=o}n=r}else t!==t?n=e!==e?0:1:n=-1;return n}function kc(t,e){return t<e?-1:t>e?1:0}function e0(t,e){return t.d(e)}function n0(t){return Hs(t)}function Hs(t){if(!("kotlinHashCodeValue$"in t)){var e=Uf(),n=new Object;n.value=e,n.enumerable=!1,Object.defineProperty(t,"kotlinHashCodeValue$",n)}return t.kotlinHashCodeValue$}function Uf(){return Math.random()*4294967296|0}function rt(t){return t=t===u?null:t,Object.create(t)}function Z(t,e,n,r){return Object.defineProperty(t,e,{configurable:!0,get:n,set:r})}function R(t,e){if(t==null)return e==null;if(e==null)return!1;if(typeof t=="object"&&typeof t.equals=="function")return t.equals(e);if(t!==t)return e!==e;if(typeof t=="number"&&typeof e=="number"){var n;if(t===e){var r;if(t!==0)r=!0;else{var a=1/t;r=a===1/e}n=r}else n=!1;return n}return t===e}function ht(t){if(t==null)return 0;var e=typeof t,n;switch(e){case"object":n=typeof t.hashCode=="function"?t.hashCode():Hs(t);break;case"function":n=Hs(t);break;case"number":n=Kp(t);break;case"boolean":n=Ea(t);break;case"string":n=Je(String(t));break;case"bigint":n=r0(t);break;case"symbol":n=i0(t);break;default:n=function(){throw new Error("Unexpected typeof `"+e+"`")}();break}return n}function U(t){var e;return t==null?e="null":th(t)?e="[...]":typeof t.toString!="function"?e=a0(t):e=t.toString(),e}function Ea(t){return t?1231:1237}function Je(t){var e=0,n=t.length,r=0,a=n-1|0;if(r<=a)do{var o=r;r=r+1|0;var s=t.charCodeAt(o);e=kt(e,31)+s|0}while(o!==a);return e}function r0(t){for(var e=BigInt(32),n=BigInt(4294967295),r=t<0?-t:t,a=0,o=t<0?-1:1;r!=0;){var s=Number(r&n);a=kt(31,a)+s|0,r=r>>e}return kt(a,o)}function i0(t){var e=o0(t)?s0():l0(),n=e.get(t);if(n!==u)return n;var r=Uf();return e.set(t,r),r}function a0(t){return Object.prototype.toString.call(t)}function o0(t){return Symbol.keyFor(t)!=u}function s0(){return Ms===u&&(Ms=new Map),Ms}function l0(){return Ps===u&&(Ps=new WeakMap),Ps}var Ms,Ps;function J(t,e){Error.captureStackTrace!=null?Error.captureStackTrace(t,e):t.stack=new Error().stack}function i(t){return t.prototype}function Ro(t,e,n){Error.call(t),u0(t,e,n)}function u0(t,e,n){var r=ch(Object.getPrototypeOf(t));if(!(r&1)){var a;if(e==null){var o;if(e!==null){var s=null;o=s==null?u:s}else o=u;a=o}else a=e;t.message=a}r&2||(t.cause=n),t.name=Object.getPrototypeOf(t).constructor.name}function Re(t){var e;return t==null?c0():e=t,e}function c0(){throw yu()}function Tn(){throw wu()}function N(){throw bu()}function ir(){return Pt(),Wf}var Wf;function vo(){return Pt(),Hf}var Hf;function xc(){return Pt(),Vf}var Vf;function f0(){return Pt(),Qf}var Qf;function Fn(){return Pt(),Gf}var Gf;function Cc(){return Pt(),Jf}var Jf;function Lo(t,e){if(Pt(),qn(t,e))return 0;var n=bn(t),r=bn(e);return n&&!r?-1:!n&&r?1:bn(Ia(t,e))?-1:1}function Co(t,e){Pt();var n=t.d2_1>>>16|0,r=t.d2_1&65535,a=t.c2_1>>>16|0,o=t.c2_1&65535,s=e.d2_1>>>16|0,l=e.d2_1&65535,c=e.c2_1>>>16|0,f=e.c2_1&65535,h=0,d=0,p=0,v=0;return v=v+(o+f|0)|0,p=p+(v>>>16|0)|0,v=v&65535,p=p+(a+c|0)|0,d=d+(p>>>16|0)|0,p=p&65535,d=d+(r+l|0)|0,h=h+(d>>>16|0)|0,d=d&65535,h=h+(n+s|0)|0,h=h&65535,new mt(p<<16|v,h<<16|d)}function Ia(t,e){return Pt(),Co(t,e.h2())}function Or(t,e){if(Pt(),oi(t))return ir();if(oi(e))return ir();if(qn(t,Fn()))return Sc(e)?Fn():ir();if(qn(e,Fn()))return Sc(t)?Fn():ir();if(bn(t)){var n;return bn(e)?n=Or(en(t),en(e)):n=en(Or(en(t),e)),n}else if(bn(e))return en(Or(t,en(e)));if($c(t,Cc())&&$c(e,Cc()))return Na(qa(t)*qa(e));var r=t.d2_1>>>16|0,a=t.d2_1&65535,o=t.c2_1>>>16|0,s=t.c2_1&65535,l=e.d2_1>>>16|0,c=e.d2_1&65535,f=e.c2_1>>>16|0,h=e.c2_1&65535,d=0,p=0,v=0,_=0;return _=_+kt(s,h)|0,v=v+(_>>>16|0)|0,_=_&65535,v=v+kt(o,h)|0,p=p+(v>>>16|0)|0,v=v&65535,v=v+kt(s,f)|0,p=p+(v>>>16|0)|0,v=v&65535,p=p+kt(a,h)|0,d=d+(p>>>16|0)|0,p=p&65535,p=p+kt(o,f)|0,d=d+(p>>>16|0)|0,p=p&65535,p=p+kt(s,c)|0,d=d+(p>>>16|0)|0,p=p&65535,d=d+(((kt(r,h)+kt(a,f)|0)+kt(o,c)|0)+kt(s,l)|0)|0,d=d&65535,new mt(v<<16|_,d<<16|p)}function h0(t,e){if(Pt(),oi(e))throw Ah("division by zero");if(oi(t))return ir();if(qn(t,Fn())){if(qn(e,vo())||qn(e,xc()))return Fn();if(qn(e,Fn()))return vo();var n=v0(t,1),r=d0(n.g2(e),1);if(qn(r,ir()))return bn(e)?vo():xc();var a=Ia(t,Or(e,r));return Co(r,a.g2(e))}else if(qn(e,Fn()))return ir();if(bn(t)){var o;return bn(e)?o=en(t).g2(en(e)):o=en(en(t).g2(e)),o}else if(bn(e))return en(t.g2(en(e)));for(var s=ir(),l=t;m0(l,e);){for(var c=qa(l)/qa(e),f=Math.max(1,Math.floor(c)),h=Math.ceil(Math.log(f)/Math.LN2),d=h<=48?1:Math.pow(2,h-48),p=Na(f),v=Or(p,e);bn(v)||_0(v,l);)f=f-d,p=Na(f),v=Or(p,e);oi(p)&&(p=vo()),s=Co(s,p),l=Ia(l,v)}return s}function d0(t,e){Pt();var n=e&63;return new mt(t.c2_1<<n,t.d2_1<<n|(t.c2_1>>>(32-n|0)|0))}function v0(t,e){Pt();var n=e&63;return new mt(t.c2_1>>>n|0|t.d2_1<<(32-n|0),t.d2_1>>n)}function qa(t){return Pt(),t.d2_1*4294967296+g0(t)}function Vs(t,e){if(Pt(),oi(t))return"0";if(bn(t))if(qn(t,Fn())){var n=ka(e),r=t.g2(n),a=Ia(Or(r,n),t).j2(),o=Vs(r,e);return o+a.toString(e)}else return"-"+Vs(en(t),e);for(var s=9,l=Na(Math.pow(e,s)),c=t,f="";;){var h=c.g2(l),d=Ia(c,Or(h,l)).j2(),p=d.toString(e);if(c=h,oi(c))return p+f;for(;p.length<s;)p="0"+p;f=p+f}}function qn(t,e){return Pt(),t.d2_1===e.d2_1&&t.c2_1===e.c2_1}function p0(t){return Pt(),t.c2_1^t.d2_1}function ka(t){return Pt(),new mt(t,t<0?-1:0)}function bn(t){return Pt(),t.d2_1<0}function oi(t){return Pt(),t.d2_1===0&&t.c2_1===0}function Sc(t){return Pt(),(t.c2_1&1)===1}function en(t){return Pt(),t.h2()}function $c(t,e){return Pt(),Lo(t,e)<0}function Na(t){if(Pt(),j0(t))return ir();if(t<=-9223372036854776e3)return Fn();if(t+1>=9223372036854776e3)return f0();if(t<0)return en(Na(-t));var e=4294967296,n=t%e|0,r=t/e|0;return new mt(n,r)}function _0(t,e){return Pt(),Lo(t,e)>0}function m0(t,e){return Pt(),Lo(t,e)>=0}function g0(t){return Pt(),t.c2_1>=0?t.c2_1:4294967296+t.c2_1}var Ec;function Pt(){Ec||(Ec=!0,Wf=ka(0),Hf=ka(1),Vf=ka(-1),Qf=new mt(-1,2147483647),Gf=new mt(0,-2147483648),Jf=ka(16777216))}function Zf(t,e,n,r,a,o){var s=u,l=t==="interface"?y0():u;return{kind:t,simpleName:e,associatedObjectKey:r,associatedObjects:a,suspendArity:o,$kClass$:s,defaultConstructor:n,iid:l}}function y0(){return ga===u&&(ga=0),ga=ga+1|0,ga}var ga;function ru(t,e,n,r,a,o,s,l,c){a!=null&&(e.prototype=Object.create(a.prototype),e.prototype.constructor=e);var f=Zf(t,n,r,l,c,s);if(e.$metadata$=f,o!=null){var h=R(f.iid,u)?e.prototype:e;h.$imask$=Pf(o)}}function x(t,e,n,r,a,o,s,l){var c="class";ru(c,t,e,n,r,a,o,s,l)}function ct(t,e,n,r,a,o,s,l){var c="object";ru(c,t,e,n,r,a,o,s,l)}function Ue(t,e,n,r,a,o,s,l){var c="interface";ru(c,t,e,n,r,a,o,s,l)}function Ha(t,e,n,r){x(t,"Lambda",u,e,n,r,u,u)}function ke(t,e,n,r){ct(t,"Companion",u,e,n,r,u,u)}function w0(t,e,n,r,a){return Zf("class",t,e,n,r,a)}function rr(t){var e=t.length,n=Array(e),r=0,a=e-1|0;if(r<=a)do{var o=r;r=r+1|0;var s=t[o];s!=null&&ta(s)?n[o]=s:n[o]=[].slice.call(s)}while(o!==a);return[].concat.apply([],n)}function Yf(t){var e;return t instanceof mt?e=t.j2():e=b0(t),e}function b0(t){var e;return t>2147483647?e=2147483647:t<-2147483648?e=-2147483648:e=t|0,e}function k0(t){return t<<16>>16}function Aa(t){var e=Yf(t),n=k0(e);return Ap(n)}function x0(t,e){return new Vr(t,e)}function C0(){return Xi(),Xf}var Xf;function Ki(){return Xi(),w0(u,u,u,u,u)}function Va(t,e,n,r,a){return Xi(),r.get=r,r.set=a,r.callableName=t,S0(r,$0(e,a),E0(r,n))}function S0(t,e,n){return Xi(),t.$metadata$=e,t.constructor=t,t.$imask$=n,t}function $0(t,e){return Xi(),C0()[t][e==null?0:1]}function E0(t,e){Xi();var n=t.$imask$,r;if(n==null){var a=[e];r=Pf(a)}else r=n;return r}var Ic;function Xi(){if(!Ic){Ic=!0;var t=[Ki(),Ki()],e=[Ki(),Ki()];Xf=[t,e,[Ki(),Ki()]]}}function th(t){return Oo(t)||lp(t)}function Oo(t){return Array.isArray(t)}function st(t,e){return I0(t,e.$metadata$.iid)}function I0(t,e){var n=t.$imask$,r;if(n==null)return!1;r=n;var a=r;return Bp(a,e)}function ta(t){var e;return Oo(t)?e=!t.$type$:e=!1,e}function eh(t){var e;return typeof t=="number"?e=!0:e=t instanceof mt,e}function q0(t){var e=typeof t;return e==="string"||e==="boolean"||eh(t)||st(t,Wa)}function we(t){return typeof t=="string"||st(t,Wl)}function nh(t){return Oo(t)&&t.$type$==="BooleanArray"}function rh(t){return t instanceof Int8Array}function ih(t){return t instanceof Int16Array}function ah(t){var e;return t instanceof Uint16Array?e=t.$type$==="CharArray":e=!1,e}function oh(t){return t instanceof Int32Array}function sh(t){return t instanceof Float32Array}function lh(t){return Oo(t)&&t.$type$==="LongArray"}function uh(t){return t instanceof Float64Array}function ch(t){var e=t.constructor,n=e==null?null:e.$metadata$,r=n==null?null:n.errorInfo;if(r!=null)return r;var a=0;if(qc(t,"message")&&(a=a|1),qc(t,"cause")&&(a=a|2),a!==3){var o=N0(t);o!=Error.prototype&&(a=a|ch(o))}return n!=null&&(n.errorInfo=a),a}function qc(t,e){return t.hasOwnProperty(e)}function N0(t){return Object.getPrototypeOf(t)}var u;function A0(t,e,n,r){n=n===u?0:n,r=r===u?t.length:r,gn.o2(n,r,t.length),t.fill(e,n,r)}function Qs(t,e){return Up(t,e)}function Gs(t){return Wp(t)}function iu(t){return new ee(t)}function T0(t,e){t.length>1&&_h(t,e)}function M0(t,e){if(!(e>=0)){var n="Invalid new array size: "+e+".";throw Wt(U(n))}return U_(t,new Int32Array(e))}function P0(t,e){if(!(e>=0)){var n="Invalid new array size: "+e+".";throw Wt(U(n))}return W_(t,e,null)}function au(t){var e=(t.m()/2|0)-1|0;if(e<0)return dt;var n=no(t),r=0;if(r<=e)do{var a=r;r=r+1|0;var o=t.k(a);t.p2(a,t.k(n)),t.p2(n,o),n=n-1|0}while(a!==e)}function R0(t){var e=Be(t),n=L0(Nc().q2_1,e),r=e-Nc().q2_1[n]|0;return r<10?r:-1}function L0(t,e){for(var n=0,r=t.length-1|0,a=-1,o=0;n<=r;)if(a=(n+r|0)/2|0,o=t[a],e>o)n=a+1|0;else{if(e===o)return a;r=a-1|0}return a-(e<o?1:0)|0}function fh(){Js=this;var t=this;t.q2_1=new Int32Array([48,1632,1776,1984,2406,2534,2662,2790,2918,3046,3174,3302,3430,3558,3664,3792,3872,4160,4240,6112,6160,6470,6608,6784,6800,6992,7088,7232,7248,42528,43216,43264,43472,43504,43600,44016,65296])}var Js;function Nc(){return Js==null&&new fh,Js}function O0(t){var e=Be(t);return(9<=e?e<=13:!1)||(28<=e?e<=32:!1)||e===160||e>4096&&(e===5760||(8192<=e?e<=8202:!1)||e===8232||e===8233||e===8239||e===8287||e===12288)}function j0(t){return t!==t}function z0(t){var e;return t===0?e=0:e=1<<(31-bf(t)|0),e}function hh(t){return Im(t)}function Qa(t){return Nm([t])}function kn(t){var e;return t.toArray!==void 0?e=t.toArray():e=hh(t),e}function jo(t){return t<0&&Rm(),t}function B0(t,e){D0(t,e)}function dh(t){return zm([t])}function D0(t,e){if(t.m()<=1)return dt;var n=kn(t);_h(n,e);var r=0,a=n.length;if(r<a)do{var o=r;r=r+1|0,t.p2(o,n[o])}while(r<a)}function Wn(){Cr.call(this)}i(Wn).q=function(t){this.r2();for(var e=!1,n=t.h();n.i();){var r=n.j();this.f(r)&&(e=!0)}return e};i(Wn).toJSON=function(){return this.toArray()};i(Wn).r2=function(){};function ki(t){this.u2_1=t,this.s2_1=0,this.t2_1=-1}i(ki).i=function(){return this.s2_1<this.u2_1.m()};i(ki).j=function(){if(!this.i())throw Ie();var t=this,e=this.s2_1;return this.s2_1=e+1|0,t.t2_1=e,this.u2_1.k(this.t2_1)};i(ki).v2=function(){if(this.t2_1===-1){var t="Call next() or previous() before removing element from the iterator.";throw Wr(U(t))}this.u2_1.x2(this.t2_1),this.s2_1=this.t2_1,this.t2_1=-1};function Ga(t,e){this.b3_1=t,ki.call(this,t),gn.c3(e,this.b3_1.m()),this.s2_1=e}i(Ga).d3=function(){return this.s2_1>0};i(Ga).e3=function(){return this.s2_1};i(Ga).f3=function(){if(!this.d3())throw Ie();var t=this;return this.s2_1=this.s2_1-1|0,t.t2_1=this.s2_1,this.b3_1.k(this.t2_1)};function Ar(t,e,n){be.call(this),this.h3_1=t,this.i3_1=e,this.j3_1=0,gn.o2(this.i3_1,n,this.h3_1.m()),this.j3_1=n-this.i3_1|0}i(Ar).k3=function(t,e){gn.c3(t,this.j3_1),this.h3_1.k3(this.i3_1+t|0,e),this.j3_1=this.j3_1+1|0};i(Ar).k=function(t){return gn.l3(t,this.j3_1),this.h3_1.k(this.i3_1+t|0)};i(Ar).x2=function(t){gn.l3(t,this.j3_1);var e=this.h3_1.x2(this.i3_1+t|0);return this.j3_1=this.j3_1-1|0,e};i(Ar).p2=function(t,e){return gn.l3(t,this.j3_1),this.h3_1.p2(this.i3_1+t|0,e)};i(Ar).m3=function(t,e){this.h3_1.m3(this.i3_1+t|0,this.i3_1+e|0),this.j3_1=this.j3_1-(e-t|0)|0};i(Ar).m=function(){return this.j3_1};i(Ar).r2=function(){return this.h3_1.r2()};function be(){Wn.call(this),this.w2_1=0}i(be).f=function(t){return this.r2(),this.k3(this.m(),t),!0};i(be).n3=function(){this.r2(),this.m3(0,this.m())};i(be).h=function(){return new ki(this)};i(be).j1=function(t){return this.l1(t)>=0};i(be).l1=function(t){var e;t:{for(var n=0,r=this.h();r.i();){var a=r.j();if(R(a,t)){e=n;break t}n=n+1|0}e=-1}return e};i(be).m1=function(t){var e;t:{for(var n=this.o1(this.m());n.d3();){var r=n.f3();if(R(r,t)){e=n.e3();break t}}e=-1}return e};i(be).n1=function(){return this.o1(0)};i(be).o1=function(t){return new Ga(this,t)};i(be).p1=function(t,e){return new Ar(this,t,e)};i(be).m3=function(t,e){var n=this.o1(t),r=e-t|0,a=0;if(a<r)do a=a+1|0,n.j(),n.v2();while(a<r)};i(be).equals=function(t){return t===this?!0:t!=null&&st(t,Gn)?gn.o3(this,t):!1};i(be).hashCode=function(){return gn.p3(this)};function So(){xn.call(this),this.s3_1=null,this.t3_1=null}function xr(){Wn.call(this)}i(xr).equals=function(t){return t===this?!0:t!=null&&st(t,Qr)?Eu.y3(this,t):!1};i(xr).hashCode=function(){return Eu.z3(this)};function vh(t){if(!(t>=0)){var e="capacity must be non-negative.";throw Wt(U(e))}return nr(Array(t),null)}function Ac(t,e,n){t.fill(null,e,n)}function Tc(t,e){return P0(t,e)}function ph(){Zs=this;var t=this,e=Qi(0);e.p_1=!0,t.a4_1=e}var Zs;function F0(){return Zs==null&&new ph,Zs}function K0(t){var e=[];return ee.call(t,e),t}function jt(){return K0(rt(i(ee)))}function U0(t,e){var n=[];if(ee.call(e,n),!(t>=0)){var r="Negative initial capacity: "+t;throw Wt(U(r))}return e}function Qi(t){return U0(t,rt(i(ee)))}function W0(t,e){var n=kn(t);return ee.call(e,n),e}function Ja(t){return W0(t,rt(i(ee)))}function H0(t,e){var n=t.m();return t.o_1.length=t.m()+e|0,n}function ou(t,e){return gn.l3(e,t.m()),e}function V0(t,e){return gn.c3(e,t.m()),e}function ee(t){F0(),be.call(this),this.o_1=t,this.p_1=!1}i(ee).m=function(){return this.o_1.length};i(ee).k=function(t){var e=this.o_1[ou(this,t)];return e==null||e!=null?e:N()};i(ee).p2=function(t,e){this.r2(),ou(this,t);var n=this.o_1[t];this.o_1[t]=e;var r=n;return r==null||r!=null?r:N()};i(ee).f=function(t){return this.r2(),this.o_1.push(t),this.w2_1=this.w2_1+1|0,!0};i(ee).k3=function(t,e){this.r2(),this.o_1.splice(V0(this,t),0,e),this.w2_1=this.w2_1+1|0};i(ee).q=function(t){if(this.r2(),t.l())return!1;for(var e=H0(this,t.m()),n=0,r=t.h();r.i();){var a=r.j(),o=n;n=o+1|0;var s=jo(o);this.o_1[e+s|0]=a}return this.w2_1=this.w2_1+1|0,!0};i(ee).x2=function(t){this.r2(),ou(this,t),this.w2_1=this.w2_1+1|0;var e;return t===no(this)?e=this.o_1.pop():e=this.o_1.splice(t,1)[0],e};i(ee).m3=function(t,e){this.r2(),this.w2_1=this.w2_1+1|0,this.o_1.splice(t,e-t|0)};i(ee).n3=function(){this.r2();var t=this;t.o_1=[],this.w2_1=this.w2_1+1|0};i(ee).l1=function(t){return Cf(this.o_1,t)};i(ee).m1=function(t){return vp(this.o_1,t)};i(ee).toString=function(){return Hp(this.o_1)};i(ee).b4=function(){return[].slice.call(this.o_1)};i(ee).toArray=function(){return this.b4()};i(ee).r2=function(){if(this.p_1)throw Si()};var po;function _h(t,e){if(Q0()){var n=J0(e);t.sort(n)}else G0(t,0,dp(t),e)}function Q0(){var t=po;if(t!=null)return t;po=!1;var e=[],n=0;if(n<600)do{var r=n;n=n+1|0,e.push(r)}while(n<600);var a=Z0;e.sort(a);var o=1,s=e.length;if(o<s)do{var l=o;o=o+1|0;var c=e[l-1|0],f=e[l];if((c&3)===(f&3)&&c>=f)return!1}while(o<s);return po=!0,!0}function G0(t,e,n,r){var a=t.length,o=nr(Array(a),null),s=Ys(t,o,e,n,r);if(s!==t){var l=e;if(l<=n)do{var c=l;l=l+1|0,t[c]=s[c]}while(c!==n)}}function Ys(t,e,n,r,a){if(n===r)return t;var o=(n+r|0)/2|0,s=Ys(t,e,n,o,a),l=Ys(t,e,o+1|0,r,a),c=s===e?t:e,f=n,h=o+1|0,d=n;if(d<=r)do{var p=d;if(d=d+1|0,f<=o&&h<=r){var v=s[f],_=l[h];a.compare(v,_)<=0?(c[p]=v,f=f+1|0):(c[p]=_,h=h+1|0)}else f<=o?(c[p]=s[f],f=f+1|0):(c[p]=l[h],h=h+1|0)}while(p!==r);return c}function J0(t){return function(e,n){return t.compare(e,n)}}function Z0(t,e){return(t&3)-(e&3)|0}function mh(t,e){return So.call(e),Hn.call(e),e.g4_1=t,e}function gh(t){return mh(uu(),t),t}function Y0(){return gh(rt(i(Hn)))}function X0(t,e,n){return mh(xh(t,e),n),n}function t_(t,e){return X0(t,1,e),e}i(Hn).s1=function(t){return this.g4_1.i4(t)};i(Hn).u1=function(){var t=this.h4_1,e;if(t==null){var n=new su(this.g4_1);this.h4_1=n,e=n}else e=t;return e};i(Hn).t1=function(t){return this.g4_1.t1(t)};i(Hn).u3=function(t,e){return this.g4_1.u3(t,e)};i(Hn).m=function(){return this.g4_1.m()};function Hn(){this.h4_1=null}function su(t){Cn.call(this,t)}i(su).h=function(){return this.k4_1.l4()};function Cn(t){xr.call(this),this.k4_1=t}i(Cn).m=function(){return this.k4_1.m()};i(Cn).l=function(){return this.k4_1.m()===0};i(Cn).m4=function(t){return this.k4_1.o4(t)};i(Cn).j1=function(t){return t!=null&&st(t,wr)?this.m4(t!=null&&st(t,wr)?t:N()):!1};i(Cn).n4=function(t){throw Si()};i(Cn).f=function(t){return this.n4(t!=null&&st(t,wr)?t:N())};i(Cn).q=function(t){throw Si()};i(Cn).k1=function(t){return this.k4_1.p4(t)};i(Cn).r2=function(){return this.k4_1.q4()};function lu(t,e){return xr.call(e),Pn.call(e),e.r4_1=t,e}function yh(t){return lu(uu(),t),t}function e_(){return yh(rt(i(Pn)))}function n_(t,e){lu(o_(t.m()),e);for(var n=t.h();n.i();){var r=n.j();e.r4_1.u3(r,!0)}return e}function wh(t,e,n){return lu(xh(t,e),n),n}function r_(t,e){return wh(t,1,e),e}function i_(t){return r_(t,rt(i(Pn)))}i(Pn).f=function(t){return this.r4_1.u3(t,!0)==null};i(Pn).j1=function(t){return this.r4_1.i4(t)};i(Pn).l=function(){return this.r4_1.m()===0};i(Pn).h=function(){return this.r4_1.s4()};i(Pn).m=function(){return this.r4_1.m()};function Pn(){}function bh(t,e){return z0(kt(xo(e,1),3))}function kh(t,e){return bf(e)+1|0}function a_(t){return cu(8,t),t}function uu(){return a_(rt(i(Ee)))}function cu(t,e){return Ee.call(e,vh(t),null,new Int32Array(t),new Int32Array(bh(Za,t)),2,0),e}function o_(t){return cu(t,rt(i(Ee)))}function s_(t,e,n){return cu(t,n),n}function xh(t,e){return s_(t,e,rt(i(Ee)))}function Gi(t){return t.t4_1.length}function Kn(t){return t.w4_1.length}function Ch(t){t.a5_1=t.a5_1+1|0}function l_(t,e){u_(t,e)?hu(t,Kn(t)):c_(t,t.y4_1+e|0)}function u_(t,e){var n=Gi(t)-t.y4_1|0,r=t.y4_1-t.m()|0;return n<e&&(r+n|0)>=e&&r>=(Gi(t)/4|0)}function c_(t,e){if(e<0)throw jh("too many elements");if(e>Gi(t)){var n=gn.d5(Gi(t),e);t.t4_1=Tc(t.t4_1,n);var r=t,a=t.u4_1;r.u4_1=a==null?null:Tc(a,n),t.v4_1=M0(t.v4_1,n);var o=bh(Za,n);o>Kn(t)&&hu(t,o)}}function f_(t){var e=t.u4_1;if(e!=null)return e;var n=vh(Gi(t));return t.u4_1=n,n}function fu(t,e){return e==null?0:kt(ht(e),-1640531527)>>>t.z4_1|0}function h_(t){for(var e=0,n=0,r=t.u4_1;e<t.y4_1;)t.v4_1[e]>=0&&(t.t4_1[n]=t.t4_1[e],r!=null&&(r[n]=r[e]),n=n+1|0),e=e+1|0;Ac(t.t4_1,n,t.y4_1),r==null||Ac(r,n,t.y4_1),t.y4_1=n}function hu(t,e){Ch(t),t.y4_1>t.b5_1&&h_(t),e!==Kn(t)?(t.w4_1=new Int32Array(e),t.z4_1=kh(Za,e)):A0(t.w4_1,0,0,Kn(t));for(var n=0;n<t.y4_1;){var r=n;if(n=r+1|0,!d_(t,r))throw Wr("This cannot happen with fixed magic multiplier and grow-only hash array. Have object hashCodes changed?")}}function d_(t,e){for(var n=fu(t,t.t4_1[e]),r=t.x4_1;;){var a=t.w4_1[n];if(a===0)return t.w4_1[n]=e+1|0,t.v4_1[e]=n,!0;if(r=r-1|0,r<0)return!1;var o=n;n=o-1|0,o===0&&(n=Kn(t)-1|0)}}function du(t,e){for(var n=fu(t,e),r=t.x4_1;;){var a=t.w4_1[n];if(a===0)return-1;if(a>0&&R(t.t4_1[a-1|0],e))return a-1|0;if(r=r-1|0,r<0)return-1;var o=n;n=o-1|0,o===0&&(n=Kn(t)-1|0)}}function v_(t,e){t.q4();t:for(;;)for(var n=fu(t,e),r=$a(kt(t.x4_1,2),Kn(t)/2|0),a=0;;){var o=t.w4_1[n];if(o<=0){if(t.y4_1>=Gi(t)){l_(t,1);continue t}var s=t.y4_1;t.y4_1=s+1|0;var l=s;return t.t4_1[l]=e,t.v4_1[l]=n,t.w4_1[n]=l+1|0,t.b5_1=t.b5_1+1|0,Ch(t),a>t.x4_1&&(t.x4_1=a),l}if(R(t.t4_1[o-1|0],e))return-o|0;if(a=a+1|0,a>r){hu(t,kt(Kn(t),2));continue t}var c=n;n=c-1|0,c===0&&(n=Kn(t)-1|0)}}function p_(t,e){return t.b5_1===e.m()&&t.p4(e.u1())}function Sh(){this.e5_1=-1640531527,this.f5_1=8,this.g5_1=2,this.h5_1=-1}var Za;function Gr(t){this.i5_1=t,this.j5_1=0,this.k5_1=-1,this.l5_1=this.i5_1.a5_1,this.m5()}i(Gr).m5=function(){for(;this.j5_1<this.i5_1.y4_1&&this.i5_1.v4_1[this.j5_1]<0;)this.j5_1=this.j5_1+1|0};i(Gr).i=function(){return this.j5_1<this.i5_1.y4_1};i(Gr).n5=function(){if(this.i5_1.a5_1!==this.l5_1)throw gu()};function vu(t){Gr.call(this,t)}i(vu).j=function(){if(this.n5(),this.j5_1>=this.i5_1.y4_1)throw Ie();var t=this,e=this.j5_1;this.j5_1=e+1|0,t.k5_1=e;var n=this.i5_1.t4_1[this.k5_1];return this.m5(),n};function Ya(t){Gr.call(this,t)}i(Ya).j=function(){if(this.n5(),this.j5_1>=this.i5_1.y4_1)throw Ie();var t=this,e=this.j5_1;this.j5_1=e+1|0,t.k5_1=e;var n=new xi(this.i5_1,this.k5_1);return this.m5(),n};i(Ya).w5=function(){if(this.j5_1>=this.i5_1.y4_1)throw Ie();var t=this,e=this.j5_1;this.j5_1=e+1|0,t.k5_1=e;var n=this.i5_1.t4_1[this.k5_1],r=n==null?null:ht(n),a=r==null?0:r,o=Re(this.i5_1.u4_1)[this.k5_1],s=o==null?null:ht(o),l=a^(s==null?0:s);return this.m5(),l};i(Ya).x5=function(t){if(this.j5_1>=this.i5_1.y4_1)throw Ie();var e=this,n=this.j5_1;this.j5_1=n+1|0,e.k5_1=n;var r=this.i5_1.t4_1[this.k5_1];R(r,this.i5_1)?t.a6("(this Map)"):t.z5(r),t.b6(61);var a=Re(this.i5_1.u4_1)[this.k5_1];R(a,this.i5_1)?t.a6("(this Map)"):t.z5(a),this.m5()};function xi(t,e){this.c6_1=t,this.d6_1=e}i(xi).q1=function(){return this.c6_1.t4_1[this.d6_1]};i(xi).r1=function(){return Re(this.c6_1.u4_1)[this.d6_1]};i(xi).equals=function(t){var e,n;return t!=null&&st(t,wr)?n=R(t.q1(),this.q1()):n=!1,n?e=R(t.r1(),this.r1()):e=!1,e};i(xi).hashCode=function(){var t=this.q1(),e=t==null?null:ht(t),n=e==null?0:e,r=this.r1(),a=r==null?null:ht(r);return n^(a==null?0:a)};i(xi).toString=function(){return Xt(this.q1())+"="+Xt(this.r1())};function Ee(t,e,n,r,a,o){this.t4_1=t,this.u4_1=e,this.v4_1=n,this.w4_1=r,this.x4_1=a,this.y4_1=o,this.z4_1=kh(Za,Kn(this)),this.a5_1=0,this.b5_1=0,this.c5_1=!1}i(Ee).m=function(){return this.b5_1};i(Ee).t1=function(t){var e=du(this,t);return e<0?null:Re(this.u4_1)[e]};i(Ee).i4=function(t){return du(this,t)>=0};i(Ee).u3=function(t,e){var n=v_(this,t),r=f_(this);if(n<0){var a=r[(-n|0)-1|0];return r[(-n|0)-1|0]=e,a}else return r[n]=e,null};i(Ee).equals=function(t){var e;if(t===this)e=!0;else{var n;t!=null&&st(t,br)?n=p_(this,t):n=!1,e=n}return e};i(Ee).hashCode=function(){for(var t=0,e=this.l4();e.i();)t=t+e.w5()|0;return t};i(Ee).toString=function(){var t=Vh(2+kt(this.b5_1,3)|0);t.a6("{");for(var e=0,n=this.l4();n.i();)e>0&&t.a6(", "),n.x5(t),e=e+1|0;return t.a6("}"),t.toString()};i(Ee).q4=function(){if(this.c5_1)throw Si()};i(Ee).o4=function(t){var e=du(this,t.q1());return e<0?!1:R(Re(this.u4_1)[e],t.r1())};i(Ee).e6=function(t){return this.o4(st(t,wr)?t:N())};i(Ee).s4=function(){return new vu(this)};i(Ee).l4=function(){return new Ya(this)};function $h(){}function __(t){return gh(t),Xa.call(t),t}function Eh(){return __(rt(i(Xa)))}function m_(t,e){return t_(t,e),Xa.call(e),e}function g_(t){return m_(t,rt(i(Xa)))}function Xa(){}function y_(t){return yh(t),Jr.call(t),t}function pu(){return y_(rt(i(Jr)))}function w_(t,e){return n_(t,e),Jr.call(e),e}function b_(t){return w_(t,rt(i(Jr)))}function k_(t,e,n){return wh(t,e,n),Jr.call(n),n}function x_(t,e){return k_(t,1,e),e}function C_(t){return x_(t,rt(i(Jr)))}i(Jr).r2=function(){return this.r4_1.q4()};function Jr(){}function Le(t){Ta.call(this),this.h6_1=t,this.i6_1=0,this.j6_1=0,this.k6_1=null,this.l6_1=null,this.m6_1=null;var e=this,n=this.h6_1;e.n6_1=n==null?null:n.o6()}i(Le).o6=function(){return Re(this.n6_1)};i(Le).p6=function(t){var e=this,n;if(tg(t))n=null;else{var r=t;n=r==null||r!=null?r:N()}for(var a=n,o=eg(t);;){var s=e;o==null?s.k6_1=a:(s.i6_1=s.j6_1,s.l6_1=o);try{var l=s.q6();if(l===Er())return dt;a=l,o=null}catch(_){var c=_;a=null,o=c}s.s6();var f=Re(s.h6_1);if(f instanceof Le)e=f;else{if(o!=null){var h=Re(o),d=rg(h);f.t6(d)}else{var p=a,v=p;f.t6(v)}return dt}}};i(Le).t6=function(t){return this.p6(t)};function ea(){}i(ea).o6=function(){var t="This continuation is already complete";throw Wr(U(t))};i(ea).p6=function(t){var e="This continuation is already complete";throw Wr(U(e))};i(ea).t6=function(t){return this.p6(t)};i(ea).toString=function(){return"This continuation is already complete"};var Ih;function Ta(){this.r6_1=null}i(Ta).s6=function(){var t=this.r6_1;t!=null&&t!==this&&Re(this.o6().u6(ud)).v6(t),this.r6_1=Ih};function S_(t,e,n){return new _u(n,t,e,n)}function _u(t,e,n,r){this.e7_1=e,this.f7_1=n,this.g7_1=r,Le.call(this,st(t,ca)?t:N())}i(_u).q6=function(){if(this.l6_1!=null)throw this.l6_1;var t=this.e7_1;return typeof t=="function"?t(this.f7_1,this.g7_1):this.e7_1.h7(this.f7_1,this.g7_1)};function qh(t){return Ro(t),Sn.call(t),t}function Nh(){var t=qh(rt(i(Sn)));return J(t,Nh),t}function zo(t,e){return Ro(e,t),Sn.call(e),e}function Ah(t){var e=zo(t,rt(i(Sn)));return J(e,Ah),e}function Sn(){J(this,Sn)}function Th(t){return Rn(t),Ci.call(t),t}function Mh(){var t=Th(rt(i(Ci)));return J(t,Mh),t}function Ph(t,e){return $i(t,e),Ci.call(e),e}function Wt(t){var e=Ph(t,rt(i(Ci)));return J(e,Wt),e}function Ci(){J(this,Ci)}function $_(t){return Rn(t),na.call(t),t}function mu(){var t=$_(rt(i(na)));return J(t,mu),t}function E_(t,e){return $i(t,e),na.call(e),e}function Vn(t){var e=E_(t,rt(i(na)));return J(e,Vn),e}function na(){J(this,na)}function I_(t){return Rn(t),ra.call(t),t}function Rh(){var t=I_(rt(i(ra)));return J(t,Rh),t}function q_(t,e){return $i(t,e),ra.call(e),e}function Wr(t){var e=q_(t,rt(i(ra)));return J(e,Wr),e}function ra(){J(this,ra)}function N_(t){return Rn(t),ia.call(t),t}function Si(){var t=N_(rt(i(ia)));return J(t,Si),t}function A_(t,e){return $i(t,e),ia.call(e),e}function Lh(t){var e=A_(t,rt(i(ia)));return J(e,Lh),e}function ia(){J(this,ia)}function Rn(t){return qh(t),We.call(t),t}function Oh(){var t=Rn(rt(i(We)));return J(t,Oh),t}function $i(t,e){return zo(t,e),We.call(e),e}function jh(t){var e=$i(t,rt(i(We)));return J(e,jh),e}function We(){J(this,We)}function T_(t){return Rn(t),aa.call(t),t}function Ie(){var t=T_(rt(i(aa)));return J(t,Ie),t}function M_(t,e){return $i(t,e),aa.call(e),e}function to(t){var e=M_(t,rt(i(aa)));return J(e,to),e}function aa(){J(this,aa)}function P_(t){return Ro(t),oa.call(t),t}function zh(){var t=P_(rt(i(oa)));return J(t,zh),t}function R_(t,e){return Ro(e,t),oa.call(e),e}function oa(){J(this,oa)}function L_(t){return Th(t),Ei.call(t),t}function Bh(){var t=L_(rt(i(Ei)));return J(t,Bh),t}function O_(t,e){return Ph(t,e),Ei.call(e),e}function Dh(t){var e=O_(t,rt(i(Ei)));return J(e,Dh),e}function Ei(){J(this,Ei)}function j_(t){return Rn(t),sa.call(t),t}function Fh(){var t=j_(rt(i(sa)));return J(t,Fh),t}function z_(t,e){return $i(t,e),sa.call(e),e}function Kh(t){var e=z_(t,rt(i(sa)));return J(e,Kh),e}function sa(){J(this,sa)}function B_(t){return Rn(t),Bo.call(t),t}function gu(){var t=B_(rt(i(Bo)));return J(t,gu),t}function Bo(){J(this,Bo)}function D_(t){return Rn(t),Do.call(t),t}function yu(){var t=D_(rt(i(Do)));return J(t,yu),t}function Do(){J(this,Do)}function F_(t){return Rn(t),Fo.call(t),t}function wu(){var t=F_(rt(i(Fo)));return J(t,wu),t}function Fo(){J(this,Fo)}function K_(t){return Rn(t),Ko.call(t),t}function bu(){var t=K_(rt(i(Ko)));return J(t,bu),t}function Ko(){J(this,Ko)}function Ma(t){return new lo(t)}function U_(t,e){for(var n=t.length,r=e.length,a=0,o=e;a<n&&a<r;){var s=a,l=a;a=l+1|0,o[s]=t[l]}return e}function W_(t,e,n){var r=t.slice(0,e);t.$type$!==void 0&&(r.$type$=t.$type$);var a=t.length;if(e>a)for(r.length=e;a<e;){var o=a;a=o+1|0,r[o]=n}return r}function Pa(){}function mn(t){this.l7_1=t}i(mn).m7=function(){return this.l7_1};i(mn).equals=function(t){var e;return t instanceof Ii||t instanceof Ji?e=!1:t instanceof mn?e=R(this.m7(),t.m7()):e=!1,e};i(mn).hashCode=function(){var t=this.k7(),e=t==null?null:Je(t);return e==null?0:e};i(mn).toString=function(){return"class "+this.k7()};function Ii(){Xs=this,mn.call(this,Object),this.o7_1="Nothing"}i(Ii).k7=function(){return this.o7_1};i(Ii).m7=function(){throw Lh("There's no native JS class for Nothing type")};i(Ii).equals=function(t){return t===this};i(Ii).hashCode=function(){return 0};var Xs;function Uh(){return Xs==null&&new Ii,Xs}function Ji(){}i(Ji).equals=function(t){return t===this};i(Ji).hashCode=function(){return 0};function Ut(t,e,n){mn.call(this,t),this.q7_1=e,this.r7_1=n}i(Ut).equals=function(t){return t instanceof Ut?i(mn).equals.call(this,t)&&this.q7_1===t.q7_1:!1};i(Ut).k7=function(){return this.q7_1};function $o(t){mn.call(this,t);var e=this,n=t.$metadata$;e.t7_1=n==null?null:n.simpleName}i($o).k7=function(){return this.t7_1};function Uo(){}function ku(){}function Mc(){return hm(),Wh}var Wh;function H_(t){return t!=null}function V_(t){return eh(t)}function Q_(t){return t!=null?typeof t=="boolean":!1}function G_(t){return t!=null?typeof t=="number":!1}function J_(t){return t!=null?typeof t=="number":!1}function Z_(t){return t!=null?typeof t=="number":!1}function Y_(t){return t!=null?typeof t=="number":!1}function X_(t){return t!=null?typeof t=="number":!1}function tm(t){return t!=null?ta(t):!1}function em(t){return t!=null?typeof t=="string":!1}function nm(t){return t instanceof Error}function rm(t){return t!=null?nh(t):!1}function im(t){return t!=null?ah(t):!1}function am(t){return t!=null?rh(t):!1}function om(t){return t!=null?ih(t):!1}function sm(t){return t!=null?oh(t):!1}function lm(t){return t!=null?lh(t):!1}function um(t){return t!=null?sh(t):!1}function cm(t){return t!=null?uh(t):!1}function fm(t){return function(e){var n;return typeof e=="function"?n=e.length===t:n=!1,n}}function ne(){tl=this;var t=this,e=Object;t.anyClass=new Ut(e,"Any",H_);var n=this,r=Number;n.numberClass=new Ut(r,"Number",V_),this.nothingClass=Uh();var a=this,o=Boolean;a.booleanClass=new Ut(o,"Boolean",Q_);var s=this,l=Number;s.byteClass=new Ut(l,"Byte",G_);var c=this,f=Number;c.shortClass=new Ut(f,"Short",J_);var h=this,d=Number;h.intClass=new Ut(d,"Int",Z_);var p=this,v=Number;p.floatClass=new Ut(v,"Float",Y_);var _=this,m=Number;_.doubleClass=new Ut(m,"Double",X_);var w=this,b=Array;w.arrayClass=new Ut(b,"Array",tm);var q=this,S=String;q.stringClass=new Ut(S,"String",em);var g=this,C=Error;g.throwableClass=new Ut(C,"Throwable",nm);var E=this,k=Array;E.booleanArrayClass=new Ut(k,"BooleanArray",rm);var I=this,P=Uint16Array;I.charArrayClass=new Ut(P,"CharArray",im);var j=this,W=Int8Array;j.byteArrayClass=new Ut(W,"ByteArray",am);var H=this,Ht=Int16Array;H.shortArrayClass=new Ut(Ht,"ShortArray",om);var _t=this,Rt=Int32Array;_t.intArrayClass=new Ut(Rt,"IntArray",sm);var Lt=this,ve=Array;Lt.longArrayClass=new Ut(ve,"LongArray",lm);var re=this,et=Float32Array;re.floatArrayClass=new Ut(et,"FloatArray",um);var Xe=this,gt=Float64Array;Xe.doubleArrayClass=new Ut(gt,"DoubleArray",cm)}i(ne).u7=function(){return this.anyClass};i(ne).v7=function(){return this.numberClass};i(ne).w7=function(){return this.nothingClass};i(ne).x7=function(){return this.booleanClass};i(ne).y7=function(){return this.byteClass};i(ne).z7=function(){return this.shortClass};i(ne).a8=function(){return this.intClass};i(ne).b8=function(){return this.floatClass};i(ne).c8=function(){return this.doubleClass};i(ne).d8=function(){return this.arrayClass};i(ne).e8=function(){return this.stringClass};i(ne).f8=function(){return this.throwableClass};i(ne).g8=function(){return this.booleanArrayClass};i(ne).h8=function(){return this.charArrayClass};i(ne).i8=function(){return this.byteArrayClass};i(ne).j8=function(){return this.shortArrayClass};i(ne).k8=function(){return this.intArrayClass};i(ne).l8=function(){return this.longArrayClass};i(ne).m8=function(){return this.floatArrayClass};i(ne).n8=function(){return this.doubleArrayClass};i(ne).functionClass=function(t){var e=Mc()[t],n;if(e==null){var r=Function,a="Function"+t,o=new Ut(r,a,fm(t));Mc()[t]=o,n=o}else n=e;return n};var tl;function Ae(){return tl==null&&new ne,tl}var Pc;function hm(){Pc||(Pc=!0,Wh=nr(Array(0),null))}function dm(t){var e;return Array.isArray(t)?e=vm(t):e=xu(t),e}function vm(t){var e;switch(t.length){case 1:e=xu(t[0]);break;case 0:e=Uh();break;default:e=new Ji;break}return e}function xu(t){if(t===String)return Ae().stringClass;var e=t.$metadata$,n;if(e!=null){var r;if(e.$kClass$==null){var a=new $o(t);e.$kClass$=a,r=a}else r=e.$kClass$;n=r}else n=new $o(t);return n}function Eo(t){var e;switch(typeof t){case"string":e=Ae().stringClass;break;case"number":var n;(t|0)===t?n=Ae().intClass:n=Ae().doubleClass,e=n;break;case"boolean":e=Ae().booleanClass;break;case"function":var r=Ae();e=r.functionClass(t.length);break;default:var a;if(nh(t))a=Ae().booleanArrayClass;else if(ah(t))a=Ae().charArrayClass;else if(rh(t))a=Ae().byteArrayClass;else if(ih(t))a=Ae().shortArrayClass;else if(oh(t))a=Ae().intArrayClass;else if(lh(t))a=Ae().longArrayClass;else if(sh(t))a=Ae().floatArrayClass;else if(uh(t))a=Ae().doubleArrayClass;else if(st(t,Pa))a=dm(Pa);else if(ta(t))a=Ae().arrayClass;else{var o=Object.getPrototypeOf(t).constructor,s;if(o===Object)s=Ae().anyClass;else if(o===Error)s=Ae().throwableClass;else{var l=o;s=xu(l)}a=s}e=a;break}return e}function Hh(t){t.lastIndex=0}function pm(t,e){return Qh(e),e}function Vh(t){return pm(t,rt(i($n)))}function Qh(t){return $n.call(t,""),t}function Cu(){return Qh(rt(i($n)))}function $n(t){this.y5_1=t!==void 0?t:""}i($n).a=function(){return this.y5_1.length};i($n).b=function(t){var e=this.y5_1,n;if(0<=t&&t<=(z(e)-1|0))n=F(e,t);else throw Vn("index: "+t+", length: "+this.a()+"}");return n};i($n).c=function(t,e){return this.y5_1.substring(t,e)};i($n).b6=function(t){return this.y5_1=this.y5_1+Zt(t),this};i($n).e=function(t){return this.y5_1=this.y5_1+Xt(t),this};i($n).z5=function(t){return this.y5_1=this.y5_1+Xt(t),this};i($n).a6=function(t){var e=this,n=this.y5_1;return e.y5_1=n+(t==null?"null":t),this};i($n).toString=function(){return this.y5_1};function Rc(t){var e=Zt(t).toUpperCase();return e.length>1?t:F(e,0)}function Gh(t){return O0(t)}function Lc(t,e){return t.toString(Jh(e))}function Jh(t){if(!(2<=t&&t<=36))throw Wt("radix "+t+" was not in valid range 2..36");return t}function _m(t){var e=md(t),n;return e==null?gd(t):n=e,n}function Oc(t,e){var n=Ou(t,e),r;return n==null?gd(t):r=n,r}function mm(t,e){var n=le(t,48)>=0&&le(t,57)<=0?ma(t,48):le(t,65)>=0&&le(t,90)<=0?ma(t,65)+10|0:le(t,97)>=0&&le(t,122)<=0?ma(t,97)+10|0:le(t,128)<0?-1:le(t,65313)>=0&&le(t,65338)<=0?ma(t,65313)+10|0:le(t,65345)>=0&&le(t,65370)<=0?ma(t,65345)+10|0:R0(t);return n>=e?-1:n}function gm(t,e){return eo.call(e,t,Ru()),e}function ym(t){return gm(t,rt(i(eo)))}function Zh(){el=this,this.o8_1=new RegExp("[\\\\^$*+?.()|[\\]{}]","g"),this.p8_1=new RegExp("[\\\\$]","g"),this.q8_1=new RegExp("\\$","g")}var el;function wm(){return el==null&&new Zh,el}function eo(t,e){wm(),this.r8_1=t,this.s8_1=bp(e),this.t8_1=new RegExp(t,bm(e,"gu")),this.u8_1=null,this.v8_1=null}i(eo).w8=function(t){Hh(this.t8_1);var e=this.t8_1.exec(U(t));return e!=null&&e.index===0&&this.t8_1.lastIndex===z(t)};i(eo).toString=function(){return this.t8_1.toString()};function bm(t,e){return An(t,"",e,u,u,u,km)}function km(t){return t.z8_1}function xm(t,e){return Xm(t,e)}function Su(t){this.a9_1=t}i(Su).b9=function(t,e){return this.a9_1(t,e)};i(Su).compare=function(t,e){return this.b9(t,e)};function $u(t,e,n){return n=n===u?!1:n,n?Wo(t,0,e,0,e.length,n):t.startsWith(e,0)}function Yh(t,e,n){return n=n===u?!1:n,n?Wo(t,t.length-e.length|0,e,0,e.length,n):t.endsWith(e)}function Cm(t,e,n,r){return r=r===u?!1:r,r?Wo(t,n,e,0,e.length,r):t.startsWith(e,n)}function Wo(t,e,n,r,a,o){return o=o===u?!1:o,so(t,e,n,r,a,o)}function Sm(t){return function(e){return e===t?"(this Collection)":Xt(e)}}function Cr(){}i(Cr).j1=function(t){var e;t:{var n;if(st(this,Mt)?n=this.l():n=!1,n){e=!1;break t}for(var r=this.h();r.i();){var a=r.j();if(R(a,t)){e=!0;break t}}e=!1}return e};i(Cr).k1=function(t){var e;t:{var n;if(st(t,Mt)?n=t.l():n=!1,n){e=!0;break t}for(var r=t.h();r.i();){var a=r.j();if(!this.j1(a)){e=!1;break t}}e=!0}return e};i(Cr).l=function(){return this.m()===0};i(Cr).toString=function(){return An(this,", ","[","]",u,u,Sm(this))};i(Cr).toArray=function(){return hh(this)};function Zr(){this.n2_1=2147483639}i(Zr).l3=function(t,e){if(t<0||t>=e)throw Vn("index: "+t+", size: "+e)};i(Zr).c3=function(t,e){if(t<0||t>e)throw Vn("index: "+t+", size: "+e)};i(Zr).o2=function(t,e,n){if(t<0||e>n)throw Vn("fromIndex: "+t+", toIndex: "+e+", size: "+n);if(t>e)throw Wt("fromIndex: "+t+" > toIndex: "+e)};i(Zr).d5=function(t,e){var n=t+(t>>1)|0;return(n-e|0)<0&&(n=e),(n-2147483639|0)>0&&(n=e>2147483639?2147483647:2147483639),n};i(Zr).p3=function(t){for(var e=1,n=t.h();n.i();){var r=n.j(),a=kt(31,e),o=r==null?null:ht(r);e=a+(o==null?0:o)|0}return e};i(Zr).o3=function(t,e){if(t.m()!==e.m())return!1;for(var n=e.h(),r=t.h();r.i();){var a=r.j(),o=n.j();if(!R(a,o))return!1}return!0};var gn;function jc(t,e){return e===t?"(this Map)":Xt(e)}function Xh(t,e){var n;t:{for(var r=t.u1().h();r.i();){var a=r.j();if(R(a.q1(),e)){n=a;break t}}n=null}return n}function $m(){}function Em(t){return function(e){return t.c9(e)}}function xn(){this.v3_1=null,this.w3_1=null}i(xn).s1=function(t){return Xh(this,t)!=null};i(xn).x3=function(t){if(!(t!=null&&st(t,wr)))return!1;var e=t.q1(),n=t.r1(),r=(st(this,br)?this:N()).t1(e);if(!R(n,r))return!1;var a;return r==null?a=!(st(this,br)?this:N()).s1(e):a=!1,!a};i(xn).equals=function(t){if(t===this)return!0;if(!(t!=null&&st(t,br))||this.m()!==t.m())return!1;var e;t:{var n=t.u1(),r;if(st(n,Mt)?r=n.l():r=!1,r){e=!0;break t}for(var a=n.h();a.i();){var o=a.j();if(!this.x3(o)){e=!1;break t}}e=!0}return e};i(xn).t1=function(t){var e=Xh(this,t);return e==null?null:e.r1()};i(xn).hashCode=function(){return ht(this.u1())};i(xn).m=function(){return this.u1().m()};i(xn).toString=function(){var t=this.u1();return An(t,", ","{","}",u,u,Em(this))};i(xn).c9=function(t){return jc(this,t.q1())+"="+jc(this,t.r1())};function Ho(){}i(Ho).z3=function(t){for(var e=0,n=t.h();n.i();){var r=n.j(),a=e,o=r==null?null:ht(r);e=a+(o==null?0:o)|0}return e};i(Ho).y3=function(t,e){return t.m()!==e.m()?!1:t.k1(e)};var Eu;function Im(t){if(t.l())return[];for(var e=t.m(),n=nr(Array(e),null),r=t.h(),a=0;r.i();){var o=a;a=o+1|0,n[o]=r.j()}return n}function Iu(t){return t.length>0?iu(t):la()}function td(t){return t.length===0?jt():Ja(new Jn(t,!0))}function la(){return Tm()}function no(t){return t.m()-1|0}function qm(t,e,n,r){n=n===u?0:n,r=r===u?t.m():r,Mm(t.m(),n,r);for(var a=n,o=r-1|0;a<=o;){var s=(a+o|0)>>>1|0,l=t.k(s),c=is(l,e);if(c<0)a=s+1|0;else if(c>0)o=s-1|0;else return s}return-(a+1|0)|0}function Nm(t){return t.length===0?jt():Ja(new Jn(t,!0))}function Am(t){switch(t.m()){case 0:return la();case 1:return Qa(t.k(0));default:return t}}function Jn(t,e){this.d9_1=t,this.e9_1=e}i(Jn).m=function(){return this.d9_1.length};i(Jn).l=function(){return this.d9_1.length===0};i(Jn).f9=function(t){return Ds(this.d9_1,t)};i(Jn).g9=function(t){var e;t:{var n;if(st(t,Mt)?n=t.l():n=!1,n){e=!0;break t}for(var r=t.h();r.i();){var a=r.j();if(!this.f9(a)){e=!1;break t}}e=!0}return e};i(Jn).k1=function(t){return this.g9(t)};i(Jn).h=function(){return Rf(this.d9_1)};function de(){nl=this,this.h9_1=new mt(-1478467534,-1720727600)}i(de).equals=function(t){var e;return t!=null&&st(t,Gn)?e=t.l():e=!1,e};i(de).hashCode=function(){return 1};i(de).toString=function(){return"[]"};i(de).m=function(){return 0};i(de).l=function(){return!0};i(de).i9=function(t){return!1};i(de).j1=function(t){return!1};i(de).j9=function(t){return t.l()};i(de).k1=function(t){return this.j9(t)};i(de).k=function(t){throw Vn("Empty list doesn't contain element at index "+t+".")};i(de).k9=function(t){return-1};i(de).l1=function(t){return-1};i(de).l9=function(t){return-1};i(de).m1=function(t){return-1};i(de).h=function(){return ua};i(de).n1=function(){return ua};i(de).o1=function(t){if(t!==0)throw Vn("Index: "+t);return ua};i(de).p1=function(t,e){if(t===0&&e===0)return this;throw Vn("fromIndex: "+t+", toIndex: "+e)};var nl;function Tm(){return nl==null&&new de,nl}function Mm(t,e,n){if(e>n)throw Wt("fromIndex ("+e+") is greater than toIndex ("+n+").");if(e<0)throw Vn("fromIndex ("+e+") is less than zero.");if(n>t)throw Vn("toIndex ("+n+") is greater than size ("+t+").")}function qi(){}i(qi).i=function(){return!1};i(qi).d3=function(){return!1};i(qi).e3=function(){return 0};i(qi).j=function(){throw Ie()};i(qi).f3=function(){throw Ie()};var ua;function Pm(t){return new Jn(t,!1)}function Rm(){throw Kh("Index overflow has happened.")}function si(t,e){this.v_1=t,this.w_1=e}i(si).toString=function(){return"IndexedValue(index="+this.v_1+", value="+Xt(this.w_1)+")"};i(si).hashCode=function(){var t=this.v_1;return t=kt(t,31)+(this.w_1==null?0:ht(this.w_1))|0,t};i(si).equals=function(t){if(this===t)return!0;if(!(t instanceof si))return!1;var e=t instanceof si?t:N();return!(this.v_1!==e.v_1||!R(this.w_1,e.w_1))};function rl(t,e){var n;return st(t,Mt)?n=t.m():n=e,n}function Lm(t,e){return t.q(iu(e))}function Vo(t,e){if(st(e,Mt))return t.q(e);for(var n=!1,r=e.h();r.i();){var a=r.j();t.f(a)&&(n=!0)}return n}function Qo(){}i(Qo).j=function(){return this.m9()};function ro(){}i(ro).n9=function(){return this.o9()};i(ro).j=function(){return new lt(this.n9())};function io(t){return new qu(t)}function Sr(){}function Om(t){var e=new $r;return e.t9_1=S_(t,e,e),e}function jm(t){if(t.i())return t.j();throw Ie()}function ed(t){switch(t.q9_1){case 4:return Ie();case 5:return Wr("Iterator has failed.");default:return Wr("Unexpected state of the iterator: "+t.q9_1)}}function $r(){Sr.call(this),this.q9_1=0,this.r9_1=null,this.s9_1=null,this.t9_1=null}i($r).i=function(){for(;;){switch(this.q9_1){case 0:break;case 1:if(Re(this.s9_1).i())return this.q9_1=2,!0;this.s9_1=null;break;case 4:return!1;case 3:case 2:return!0;default:throw ed(this)}this.q9_1=5;var t=Re(this.t9_1);this.t9_1=null;var e=dt;t.t6(e)}};i($r).j=function(){switch(this.q9_1){case 0:case 1:return jm(this);case 2:return this.q9_1=1,Re(this.s9_1).j();case 3:this.q9_1=0;var t=this.r9_1,e=t==null||t!=null?t:N();return this.r9_1=null,e;default:throw ed(this)}};i($r).p9=function(t,e){return this.r9_1=t,this.q9_1=3,this.t9_1=e,Er()};i($r).u9=function(t){ig(t);var e=t;e==null||e!=null||N(),this.q9_1=4};i($r).t6=function(t){return this.u9(t)};i($r).o6=function(){return Km()};function qu(t){this.v9_1=t}i(qu).h=function(){return Om(this.v9_1)};function Ni(){return ns}function Go(t){this.x9_1=t,this.w9_1=t.y9_1.h()}i(Go).j=function(){return this.x9_1.z9_1(this.w9_1.j())};i(Go).i=function(){return this.w9_1.i()};function Nu(t,e){this.y9_1=t,this.z9_1=e}i(Nu).h=function(){return new Go(this)};function nd(t){for(;t.aa_1.i();){var e=t.aa_1.j();if(t.da_1.ga_1(e)===t.da_1.fa_1)return t.ca_1=e,t.ba_1=1,dt}t.ba_1=0}function Jo(t){this.da_1=t,this.aa_1=t.ea_1.h(),this.ba_1=-1,this.ca_1=null}i(Jo).j=function(){if(this.ba_1===-1&&nd(this),this.ba_1===0)throw Ie();var t=this.ca_1;return this.ca_1=null,this.ba_1=-1,t==null||t!=null?t:N()};i(Jo).i=function(){return this.ba_1===-1&&nd(this),this.ba_1===1};function Au(t,e,n){e=e===u?!0:e,this.ea_1=t,this.fa_1=e,this.ga_1=n}i(Au).h=function(){return new Jo(this)};function Zo(t){this.ha_1=t.ja_1.h(),this.ia_1=0}i(Zo).j=function(){var t=this.ia_1;return this.ia_1=t+1|0,new si(jo(t),this.ha_1.j())};i(Zo).i=function(){return this.ha_1.i()};function Tu(t){this.ja_1=t}i(Tu).h=function(){return new Zo(this)};function Ai(){}function Yo(t){this.ka_1=t.na_1,this.la_1=t.ma_1.h()}i(Yo).j=function(){if(this.ka_1===0)throw Ie();return this.ka_1=this.ka_1-1|0,this.la_1.j()};i(Yo).i=function(){return this.ka_1>0&&this.la_1.i()};function hi(t,e){if(this.ma_1=t,this.na_1=e,!(this.na_1>=0)){var n="count must be non-negative, but was "+this.na_1+".";throw Wt(U(n))}}i(hi).u=function(t){return t>=this.na_1?Ni():new Hr(this.ma_1,t,this.na_1)};i(hi).t=function(t){return t>=this.na_1?this:new hi(this.ma_1,t)};i(hi).h=function(){return new Yo(this)};function rd(t){if(t.oa_1.i()){var e=t.oa_1.j();if(t.ra_1.ta_1(e))return t.pa_1=1,t.qa_1=e,dt}t.pa_1=0}function Xo(t){this.ra_1=t,this.oa_1=t.sa_1.h(),this.pa_1=-1,this.qa_1=null}i(Xo).j=function(){if(this.pa_1===-1&&rd(this),this.pa_1===0)throw Ie();var t=this.qa_1,e=t==null||t!=null?t:N();return this.qa_1=null,this.pa_1=-1,e};i(Xo).i=function(){return this.pa_1===-1&&rd(this),this.pa_1===1};function Mu(t,e){this.sa_1=t,this.ta_1=e}i(Mu).h=function(){return new Xo(this)};function id(t){for(;t.va_1>0&&t.ua_1.i();)t.ua_1.j(),t.va_1=t.va_1-1|0}function ts(t){this.ua_1=t.wa_1.h(),this.va_1=t.xa_1}i(ts).j=function(){return id(this),this.ua_1.j()};i(ts).i=function(){return id(this),this.ua_1.i()};function li(t,e){if(this.wa_1=t,this.xa_1=e,!(this.xa_1>=0)){var n="count must be non-negative, but was "+this.xa_1+".";throw Wt(U(n))}}i(li).u=function(t){var e=this.xa_1+t|0;return e<0?new li(this,t):new li(this.wa_1,e)};i(li).t=function(t){var e=this.xa_1+t|0;return e<0?new hi(this,t):new Hr(this.wa_1,this.xa_1,e)};i(li).h=function(){return new ts(this)};function ad(t){for(;t.ya_1.i();){var e=t.ya_1.j();if(!t.bb_1.db_1(e))return t.ab_1=e,t.za_1=1,dt}t.za_1=0}function es(t){this.bb_1=t,this.ya_1=t.cb_1.h(),this.za_1=-1,this.ab_1=null}i(es).j=function(){if(this.za_1===-1&&ad(this),this.za_1===1){var t=this.ab_1,e=t==null||t!=null?t:N();return this.ab_1=null,this.za_1=0,e}return this.ya_1.j()};i(es).i=function(){return this.za_1===-1&&ad(this),this.za_1===1||this.ya_1.i()};function Pu(t,e){this.cb_1=t,this.db_1=e}i(Pu).h=function(){return new es(this)};function ao(){}i(ao).h=function(){return ua};i(ao).u=function(t){return ns};i(ao).t=function(t){return ns};var ns;function od(t){for(;t.fb_1<t.gb_1.ib_1&&t.eb_1.i();)t.eb_1.j(),t.fb_1=t.fb_1+1|0}function sd(t){return t.jb_1-t.ib_1|0}function rs(t){this.gb_1=t,this.eb_1=t.hb_1.h(),this.fb_1=0}i(rs).i=function(){return od(this),this.fb_1<this.gb_1.jb_1&&this.eb_1.i()};i(rs).j=function(){if(od(this),this.fb_1>=this.gb_1.jb_1)throw Ie();return this.fb_1=this.fb_1+1|0,this.eb_1.j()};function Hr(t,e,n){if(this.hb_1=t,this.ib_1=e,this.jb_1=n,!(this.ib_1>=0)){var r="startIndex should be non-negative, but is "+this.ib_1;throw Wt(U(r))}if(!(this.jb_1>=0)){var a="endIndex should be non-negative, but is "+this.jb_1;throw Wt(U(a))}if(!(this.jb_1>=this.ib_1)){var o="endIndex should be not less than startIndex, but was "+this.jb_1+" < "+this.ib_1;throw Wt(U(o))}}i(Hr).u=function(t){return t>=sd(this)?Ni():new Hr(this.hb_1,this.ib_1+t|0,this.jb_1)};i(Hr).t=function(t){return t>=sd(this)?this:new Hr(this.hb_1,this.ib_1,this.ib_1+t|0)};i(Hr).h=function(){return new rs(this)};function Ru(){return Dm()}function zm(t){return pp(t,i_(t.length))}function Bm(t){switch(t.m()){case 0:return Ru();case 1:return dh(t.h().j());default:return t}}function Zn(){il=this,this.kb_1=new mt(1993859828,793161749)}i(Zn).equals=function(t){var e;return t!=null&&st(t,Qr)?e=t.l():e=!1,e};i(Zn).hashCode=function(){return 0};i(Zn).toString=function(){return"[]"};i(Zn).m=function(){return 0};i(Zn).l=function(){return!0};i(Zn).j9=function(t){return t.l()};i(Zn).k1=function(t){return this.j9(t)};i(Zn).h=function(){return ua};var il;function Dm(){return il==null&&new Zn,il}function is(t,e){return t===e?0:t==null?-1:e==null?1:Kf(t!=null&&q0(t)?t:N(),e)}function ca(){}function ld(){}var ud;function Fm(){}function oo(){al=this,this.lb_1=new mt(0,0)}i(oo).u6=function(t){return null};i(oo).hashCode=function(){return 0};i(oo).toString=function(){return"EmptyCoroutineContext"};var al;function Km(){return al==null&&new oo,al}function Er(){return Wm()}var cd,zc;function Um(){if(zc)return dt;zc=!0,cd=new _o("COROUTINE_SUSPENDED",0),new _o("UNDECIDED",1),new _o("RESUMED",2)}function _o(t,e){kr.call(this,t,e)}function Wm(){return Um(),cd}function fd(t,e,n){var r;if(n>0)r=t>=e?e:e-Bc(e,t,n)|0;else if(n<0)r=t<=e?e:e+Bc(t,e,-n|0)|0;else throw Wt("Step is zero.");return r}function Bc(t,e,n){return Rs(Rs(t,n)-Rs(e,n)|0,n)}function Rs(t,e){var n=t%e|0;return n>=0?n:n+e|0}function hd(){ol=this,this.mb_1=new Vr(1,0)}var ol;function Hm(){return ol==null&&new hd,ol}function Vr(t,e){Hm(),Qn.call(this,t,e,1)}i(Vr).l=function(){return this.qb_1>this.rb_1};i(Vr).equals=function(t){var e;return t instanceof Vr?e=this.l()&&t.l()||this.qb_1===t.qb_1&&this.rb_1===t.rb_1:e=!1,e};i(Vr).hashCode=function(){return this.l()?-1:kt(31,this.qb_1)+this.rb_1|0};i(Vr).toString=function(){return""+this.qb_1+".."+this.rb_1};function dd(){sl=this,this.tb_1=new Ir(1,0)}var sl;function Vm(){return sl==null&&new dd,sl}function Ir(t,e){Vm(),qr.call(this,t,e,1)}i(Ir).xb=function(t){return le(this.yb_1,t)<=0&&le(t,this.zb_1)<=0};i(Ir).l=function(){return le(this.yb_1,this.zb_1)>0};i(Ir).equals=function(t){var e;return t instanceof Ir?e=this.l()&&t.l()||this.yb_1===t.yb_1&&this.zb_1===t.zb_1:e=!1,e};i(Ir).hashCode=function(){var t;if(this.l())t=-1;else{var e=this.yb_1,n=Be(e),r=kt(31,n),a=this.zb_1;t=r+Be(a)|0}return t};i(Ir).toString=function(){return Zt(this.yb_1)+".."+Zt(this.zb_1)};function as(t,e,n){Qo.call(this),this.bc_1=n,this.cc_1=e,this.dc_1=this.bc_1>0?t<=e:t>=e,this.ec_1=this.dc_1?t:this.cc_1}i(as).i=function(){return this.dc_1};i(as).m9=function(){var t=this.ec_1;if(t===this.cc_1){if(!this.dc_1)throw Ie();this.dc_1=!1}else this.ec_1=this.ec_1+this.bc_1|0;return t};function os(t,e,n){ro.call(this),this.fc_1=n;var r=this;r.gc_1=Be(e),this.hc_1=this.fc_1>0?le(t,e)<=0:le(t,e)>=0;var a=this,o;this.hc_1?o=Be(t):o=this.gc_1,a.ic_1=o}i(os).i=function(){return this.hc_1};i(os).o9=function(){var t=this.ic_1;if(t===this.gc_1){if(!this.hc_1)throw Ie();this.hc_1=!1}else this.ic_1=this.ic_1+this.fc_1|0;return Aa(t)};function Lu(){}i(Lu).s=function(t,e,n){return new Qn(t,e,n)};var vd;function Qn(t,e,n){if(n===0)throw Wt("Step must be non-zero.");if(n===-2147483648)throw Wt("Step must be greater than Int.MIN_VALUE to avoid overflow on negation.");this.qb_1=t,this.rb_1=fd(t,e,n),this.sb_1=n}i(Qn).h=function(){return new as(this.qb_1,this.rb_1,this.sb_1)};i(Qn).l=function(){return this.sb_1>0?this.qb_1>this.rb_1:this.qb_1<this.rb_1};i(Qn).equals=function(t){var e;return t instanceof Qn?e=this.l()&&t.l()||this.qb_1===t.qb_1&&this.rb_1===t.rb_1&&this.sb_1===t.sb_1:e=!1,e};i(Qn).hashCode=function(){return this.l()?-1:kt(31,kt(31,this.qb_1)+this.rb_1|0)+this.sb_1|0};i(Qn).toString=function(){return this.sb_1>0?""+this.qb_1+".."+this.rb_1+" step "+this.sb_1:""+this.qb_1+" downTo "+this.rb_1+" step "+(-this.sb_1|0)};function Qm(){}function qr(t,e,n){if(n===0)throw Wt("Step must be non-zero.");if(n===-2147483648)throw Wt("Step must be greater than Int.MIN_VALUE to avoid overflow on negation.");this.yb_1=t;var r=this,a=Be(t),o=Be(e);r.zb_1=Aa(fd(a,o,n)),this.ac_1=n}i(qr).h=function(){return new os(this.yb_1,this.zb_1,this.ac_1)};i(qr).l=function(){return this.ac_1>0?le(this.yb_1,this.zb_1)>0:le(this.yb_1,this.zb_1)<0};i(qr).equals=function(t){var e;return t instanceof qr?e=this.l()&&t.l()||this.yb_1===t.yb_1&&this.zb_1===t.zb_1&&this.ac_1===t.ac_1:e=!1,e};i(qr).hashCode=function(){var t;if(this.l())t=-1;else{var e=this.yb_1,n=Be(e),r=kt(31,n),a=this.zb_1,o=Be(a);t=kt(31,r+o|0)+this.ac_1|0}return t};i(qr).toString=function(){return this.ac_1>0?Zt(this.yb_1)+".."+Zt(this.zb_1)+" step "+this.ac_1:Zt(this.yb_1)+" downTo "+Zt(this.zb_1)+" step "+(-this.ac_1|0)};function pd(t,e,n){n!=null?t.e(n(e)):e==null||we(e)?t.e(e):e instanceof lt?t.b6(e.x_1):t.e(Xt(e))}function _d(t,e,n){if(n=n===u?!1:n,t===e)return!0;if(!n)return!1;var r=Rc(t),a=Rc(e),o;if(r===a)o=!0;else{var s=Zt(r).toLowerCase(),l=F(s,0),c=Zt(a).toLowerCase();o=l===F(c,0)}return o}function md(t){return Ou(t,10)}function Ou(t,e){Jh(e);var n=t.length;if(n===0)return null;var r,a,o,s=F(t,0);if(le(s,48)<0){if(n===1)return null;if(r=1,s===45)a=!0,o=-2147483648;else if(s===43)a=!1,o=-2147483647;else return null}else r=0,a=!1,o=-2147483647;var l=-59652323,c=l,f=0,h=r;if(h<n)do{var d=h;h=h+1|0;var p=mm(F(t,d),e);if(p<0)return null;if(f<c)if(c===l){if(c=o/e|0,f<c)return null}else return null;if(f=kt(f,e),f<(o+p|0))return null;f=f-p|0}while(h<n);return a?f:-f|0}function gd(t){throw Dh("Invalid number format: '"+t+"'")}function ju(t,e,n){n=n===u?!1:n;var r,a;return n?a=!1:a=typeof t=="string",a?r=typeof e=="string":r=!1,r?$u(t,e):so(t,0,e,0,z(e),n)}function zu(t,e,n){n=n===u?!1:n;var r;return typeof e=="string"?r=ll(t,e,u,n)>=0:r=yd(t,e,0,z(t),n)>=0,r}function ss(t,e,n){n=n===u?!1:n;var r,a;return n?a=!1:a=typeof t=="string",a?r=typeof e=="string":r=!1,r?Yh(t,e):so(t,z(t)-z(e)|0,e,0,z(e),n)}function Gm(t){var e;t:{for(var n=0;n<z(t);){var r=F(t,n);if(n=n+1|0,!Gh(r)){e=!1;break t}}e=!0}return e}function Ze(t,e,n){return n=n===u?!1:n,Zm(t,e,u,n)>=0}function ls(t,e,n,r){r=r===u?!1:r;var a,o;return r?o=!1:o=typeof t=="string",o?a=typeof e=="string":a=!1,a?Cm(t,e,n):so(t,n,e,0,z(e),r)}function ll(t,e,n,r){n=n===u?0:n,r=r===u?!1:r;var a,o;return r?o=!0:o=typeof t!="string",o?a=yd(t,e,n,z(t),r):a=t.indexOf(e,n),a}function so(t,e,n,r,a,o){if(r<0||e<0||e>(z(t)-a|0)||r>(z(n)-a|0))return!1;var s=0;if(s<a)do{var l=s;if(s=s+1|0,!_d(F(t,e+l|0),F(n,r+l|0),o))return!1}while(s<a);return!0}function yd(t,e,n,r,a,o){o=o===u?!1:o;var s=o?kp($a(n,wd(t)),xo(r,0)):x0(xo(n,0),$a(r,z(t))),l;if(typeof t=="string"?l=typeof e=="string":l=!1,l){var c=s.qb_1,f=s.rb_1,h=s.sb_1;if(h>0&&c<=f||h<0&&f<=c)do{var d=c;if(c=c+h|0,Wo(e,0,t,d,z(e),a))return d}while(d!==f)}else{var p=s.qb_1,v=s.rb_1,_=s.sb_1;if(_>0&&p<=v||_<0&&v<=p)do{var m=p;if(p=p+_|0,so(e,0,t,m,z(e),a))return m}while(m!==v)}return-1}function Jm(t){var e=0,n=z(t)-1|0,r=!1;t:for(;e<=n;){var a=r?n:e,o=Gh(F(t,a));if(!r)o?e=e+1|0:r=!0;else if(o)n=n-1|0;else break t}return dn(t,e,n+1|0)}function Zm(t,e,n,r){n=n===u?0:n,r=r===u?!1:r;var a,o;if(r?o=!0:o=typeof t!="string",o){var s=Dp([e]);a=Ym(t,s,n,r)}else{var l=Zt(e);a=t.indexOf(l,n)}return a}function wd(t){return z(t)-1|0}function Ym(t,e,n,r){n=n===u?0:n,r=r===u?!1:r;var a;if(!r&&e.length===1?a=typeof t=="string":a=!1,a){var o=fp(e),s=Zt(o);return t.indexOf(s,n)}var l=xo(n,0),c=wd(t);if(l<=c)do{var f=l;l=l+1|0;var h=F(t,f),d;t:{for(var p=0,v=e.length;p<v;){var _=e[p];if(p=p+1|0,_d(_,h,r)){d=!0;break t}}d=!1}if(d)return f}while(f!==c);return-1}function Xm(t,e){var n;if(t!=null&&typeof t=="string"?n=e!=null?typeof e=="string":!1:n=!1,n)return R(t,e);if(t===e)return!0;if(t==null||e==null||z(t)!==z(e))return!1;var r=0,a=z(t);if(r<a)do{var o=r;if(r=r+1|0,F(t,o)!==F(e,o))return!1}while(r<a);return!0}function lo(t){this.jc_1=t,this.kc_1=us}i(lo).r1=function(){this.kc_1===us&&(this.kc_1=Re(this.jc_1)(),this.jc_1=null);var t=this.kc_1;return t==null||t!=null?t:N()};i(lo).lc=function(){return this.kc_1!==us};i(lo).toString=function(){return this.lc()?Xt(this.r1()):"Lazy value not initialized yet."};function bd(){}var us;function tg(t){var e=t;return e instanceof Nr}function eg(t){var e;return t instanceof Nr?e=t.mc_1:e=null,e}function ng(){}function Nr(t){this.mc_1=t}i(Nr).equals=function(t){var e;return t instanceof Nr?e=R(this.mc_1,t.mc_1):e=!1,e};i(Nr).hashCode=function(){return ht(this.mc_1)};i(Nr).toString=function(){return"Failure("+this.mc_1.toString()+")"};function rg(t){return new Nr(t)}function ig(t){var e=t;if(e instanceof Nr)throw t.mc_1}function ul(t){t=t===u?"An operation is not implemented.":t,R_(t,this),J(this,ul)}function Mn(t,e){this.nc_1=t,this.oc_1=e}i(Mn).toString=function(){return"("+Xt(this.nc_1)+", "+Xt(this.oc_1)+")"};i(Mn).pc=function(){return this.nc_1};i(Mn).qc=function(){return this.oc_1};i(Mn).hashCode=function(){var t=this.nc_1==null?0:ht(this.nc_1);return t=kt(t,31)+(this.oc_1==null?0:ht(this.oc_1))|0,t};i(Mn).equals=function(t){if(this===t)return!0;if(!(t instanceof Mn))return!1;var e=t instanceof Mn?t:N();return!(!R(this.nc_1,e.nc_1)||!R(this.oc_1,e.oc_1))};function Dc(t,e){return new Mn(t,e)}i(be).asJsReadonlyArrayView=kf;i(Ee).p4=up;i(de).asJsReadonlyArrayView=kf;dt=new Hl;po=null;Za=new Sh;Ih=new ea;gn=new Zr;Eu=new Ho;ua=new qi;ns=new ao;ud=new ld;vd=new Lu;us=new bd;var Q=Math.imul;Ue(un,"Stringify");function Bu(){return this.uc()-this.tc()|0}Ue(ms,"Position",u,u,[un]);x(He,"Expression",u,u,[ms]);x(vt,"BinaryExpression",u,He);x(cs,"sam$kotlin_Comparator$0");ke(Ra);x(Y,"CompareOperator",u,u,[un]);ct(Un,"Equal",u,Y);ct(sr,"NotEqual",u,Y);ct(lr,"Start",u,Y);ct(ur,"NotStart",u,Y);ct(cr,"Include",u,Y);ct(fr,"NotInclude",u,Y);ct(hr,"End",u,Y);ct(dr,"NotEnd",u,Y);ct(vr,"Less",u,Y);ct(pr,"LessEqual",u,Y);ct(_r,"More",u,Y);ct(mr,"MoreEqual",u,Y);ct(gr,"Matches",u,Y);ct(yr,"NotMatches",u,Y);x(Ti,"ConnectExpression",u,u,[un]);x(ds,"sam$kotlin_Comparator$0");ke(La);x(xe,"ConnectOperator",u,u,[un]);ct(jr,"BeforeBrother",u,xe);ct(zr,"AfterBrother",u,xe);ct(Br,"Ancestor",u,xe);ct(Dr,"Child",u,xe);ct(Fr,"Descendant",u,xe);x(ge,"ConnectSegment",ge,u,[un]);x(Te,"ConnectWrapper",u,u,[un]);x(ie,"Context");x(Ft,"SelectorCheckException",u,Sn);x(rn,"UnknownIdentifierException",u,Ft);x(an,"UnknownMemberException",u,Ft);x(Qe,"UnknownIdentifierMethodException",u,Ft);x(on,"UnknownIdentifierMethodParamsException",u,Ft);x(Ge,"UnknownMemberMethodException",u,Ft);x(sn,"UnknownMemberMethodParamsException",u,Ft);x(ce,"MismatchParamTypeException",u,Ft);x($e,"MismatchExpressionTypeException",u,Ft);x(ln,"MismatchOperatorTypeException",u,Ft);x(De,"FastQuery",u,u,[un]);x(vn,"Id",u,De);x(pn,"Vid",u,De);x(_n,"Text",u,De);x(pt,"LogicalExpression",u,He);x(_s,"sam$kotlin_Comparator$0");ke(Oa);x(Ln,"LogicalOperator",u,u,[un]);ct(Kr,"AndOperator",u,Ln);ct(Ur,"OrOperator",u,Ln);x(Fe,"MatchOption",Fe);x(ae,"NotExpression",u,He);x(Bt,"PolynomialExpression",Bt,Ti);x(Yt,"PositionImpl",u,u,[ms]);x(fe,"PropertySegment",u,u,[un]);x(oe,"PropertyWrapper",u,u,[un]);ke(gs);x(qe,"Selector",u,u,[un]);x(he,"SyntaxError",u,Sn);ke(Vu);Ha(di,Le,u,[1]);Ha(vi,Le,u,[1]);Ha(pi,Le,u,[1]);Ha(_i,Le,u,[1]);Ha(mi,Le,u,[1]);x($t,"Transform");x(Me,"TupleExpression",u,Ti);x(cn,"PrimitiveType");ct(ui,"BooleanType",u,cn);ct(ci,"IntType",u,cn);ct(fi,"StringType",u,cn);x(Ke,"ObjectType",u,cn);x(X,"MethodInfo",u,u,[un]);x(it,"PropInfo");x(Jt,"TypeInfo",u,u,[un]);x(se,"ValueExpression",u,u,[ms]);x(Oe,"Variable",u,se);x(It,"Identifier",u,Oe);x(wt,"MemberExpression",u,Oe);x(qt,"CallExpression",u,Oe);x(Ye,"LiteralExpression",u,se);x(Pe,"NullLiteral",u,Ye);x(ye,"BooleanLiteral",u,Ye);x(te,"IntLiteral",u,Ye);x(bt,"StringLiteral",u,Ye);x(Gt,"Parser");x(Dt,"ParserResult");ct(co,"ParserSet");x(Xr,"DefaultTypeInfo");function vt(t,e,n,r,a){He.call(this),this.rc_1=t,this.sc_1=e,this.left=n,this.operator=r,this.right=a}i(vt).tc=function(){return this.rc_1};i(vt).uc=function(){return this.sc_1};i(vt).vc=function(){return this.left};i(vt).wc=function(){return this.operator};i(vt).xc=function(){return this.right};i(vt).match=function(t,e){return this.operator.value.ad(t,e,this.left,this.right)};i(vt).bd=function(){return[this]};i(vt).stringify=function(){return this.left.stringify()+this.operator.stringify()+this.right.stringify()};i(vt).cd=function(){return rr([this.left.properties,this.right.properties])};i(vt).dd=function(){return rr([this.left.methods,this.right.methods])};i(vt).pc=function(){return this.rc_1};i(vt).qc=function(){return this.sc_1};i(vt).ed=function(){return this.left};i(vt).fd=function(){return this.operator};i(vt).gd=function(){return this.right};i(vt).hd=function(t,e,n,r,a){return new vt(t,e,n,r,a)};i(vt).copy=function(t,e,n,r,a,o){return t=t===u?this.rc_1:t,e=e===u?this.sc_1:e,n=n===u?this.left:n,r=r===u?this.operator:r,a=a===u?this.right:a,this.hd(t,e,n,r,a)};i(vt).toString=function(){return"BinaryExpression(start="+this.rc_1+", end="+this.sc_1+", left="+U(this.left)+", operator="+this.operator.toString()+", right="+U(this.right)+")"};i(vt).hashCode=function(){var t=this.rc_1;return t=Q(t,31)+this.sc_1|0,t=Q(t,31)+ht(this.left)|0,t=Q(t,31)+this.operator.hashCode()|0,t=Q(t,31)+ht(this.right)|0,t};i(vt).equals=function(t){if(this===t)return!0;if(!(t instanceof vt))return!1;var e=t instanceof vt?t:N();return!(this.rc_1!==e.rc_1||this.sc_1!==e.sc_1||!R(this.left,e.left)||!this.operator.equals(e.operator)||!R(this.right,e.right))};function ag(t,e,n){if(t===n)return!0;if(z(t)!==z(n))return!1;var r=z(t)-1|0;if(0<=r)do{var a=r;if(r=r+-1|0,F(t,a)!==F(n,a))return!1}while(0<=r);return!0}function cs(t){this.id_1=t}i(cs).b9=function(t,e){return this.id_1(t,e)};i(cs).compare=function(t,e){return this.b9(t,e)};function og(){var t=Iu([or(),kd(),Yr(),xd(),Du(),Cd(),Fu(),Sd(),uo(),$d(),Ed(),Id(),hs(),Ku()]),e=sg,n=new cs(e),r=Zl(t,n);return kn(r)}function sg(t,e){var n=-t.key.length|0,r=-e.key.length|0;return is(n,r)}function Ra(){cl=this;var t=this;t.jd_1=Ma(og)}i(Ra).kd=function(){var t=this.jd_1;return lg(),t.r1()};var cl;function fs(){return cl==null&&new Ra,cl}function Un(){fl=this,Y.call(this,"=")}i(Un).ad=function(t,e,n,r){var a=n.nd(t,e),o=r.nd(t,e);return this.compare(a,o)};i(Un).od=function(t,e){return!0};i(Un).compare=function(t,e){var n,r;return t!=null&&we(t)?r=e!=null?we(e):!1:r=!1,r?n=ag(t,fs(),e):n=R(t,e),n};i(Un).toString=function(){return"Equal"};i(Un).hashCode=function(){return 717536815};i(Un).equals=function(t){return this===t?!0:t instanceof Un?(t instanceof Un||N(),!0):!1};var fl;function or(){return fl==null&&new Un,fl}function sr(){hl=this,Y.call(this,"!=")}i(sr).ad=function(t,e,n,r){return!or().ad(t,e,n,r)};i(sr).od=function(t,e){return!0};i(sr).toString=function(){return"NotEqual"};i(sr).hashCode=function(){return 1058184006};i(sr).equals=function(t){return this===t?!0:t instanceof sr?(t instanceof sr||N(),!0):!1};var hl;function kd(){return hl==null&&new sr,hl}function lr(){dl=this,Y.call(this,"^=")}i(lr).ad=function(t,e,n,r){var a=n.nd(t,e),o=r.nd(t,e),s,l;return a!=null&&we(a)?l=o!=null?we(o):!1:l=!1,l?s=ju(a,o):s=!1,s};i(lr).od=function(t,e){var n,r;if(t instanceof bt?r=!0:r=t instanceof Oe,r){var a;e instanceof bt?a=!0:a=e instanceof Oe,n=a}else n=!1;return n};i(lr).toString=function(){return"Start"};i(lr).hashCode=function(){return 730536797};i(lr).equals=function(t){return this===t?!0:t instanceof lr?(t instanceof lr||N(),!0):!1};var dl;function Yr(){return dl==null&&new lr,dl}function ur(){vl=this,Y.call(this,"!^=")}i(ur).ad=function(t,e,n,r){var a=n.nd(t,e),o=r.nd(t,e),s,l;return a!=null&&we(a)?l=o!=null?we(o):!1:l=!1,l?s=!ju(a,o):s=!1,s};i(ur).od=function(t,e){return Yr().od(t,e)};i(ur).toString=function(){return"NotStart"};i(ur).hashCode=function(){return 1071183988};i(ur).equals=function(t){return this===t?!0:t instanceof ur?(t instanceof ur||N(),!0):!1};var vl;function xd(){return vl==null&&new ur,vl}function cr(){pl=this,Y.call(this,"*=")}i(cr).ad=function(t,e,n,r){var a=n.nd(t,e),o=r.nd(t,e),s,l;return a!=null&&we(a)?l=o!=null?we(o):!1:l=!1,l?s=zu(a,o):s=!1,s};i(cr).od=function(t,e){return Yr().od(t,e)};i(cr).toString=function(){return"Include"};i(cr).hashCode=function(){return 1510988003};i(cr).equals=function(t){return this===t?!0:t instanceof cr?(t instanceof cr||N(),!0):!1};var pl;function Du(){return pl==null&&new cr,pl}function fr(){_l=this,Y.call(this,"!*=")}i(fr).ad=function(t,e,n,r){var a=n.nd(t,e),o=r.nd(t,e),s,l;return a!=null&&we(a)?l=o!=null?we(o):!1:l=!1,l?s=!zu(a,o):s=!1,s};i(fr).od=function(t,e){return Yr().od(t,e)};i(fr).toString=function(){return"NotInclude"};i(fr).hashCode=function(){return-1839543238};i(fr).equals=function(t){return this===t?!0:t instanceof fr?(t instanceof fr||N(),!0):!1};var _l;function Cd(){return _l==null&&new fr,_l}function hr(){ml=this,Y.call(this,"$=")}i(hr).ad=function(t,e,n,r){var a=n.nd(t,e),o=r.nd(t,e),s,l;return a!=null&&we(a)?l=o!=null?we(o):!1:l=!1,l?s=ss(a,o):s=!1,s};i(hr).od=function(t,e){return Yr().od(t,e)};i(hr).toString=function(){return"End"};i(hr).hashCode=function(){return 1234264726};i(hr).equals=function(t){return this===t?!0:t instanceof hr?(t instanceof hr||N(),!0):!1};var ml;function Fu(){return ml==null&&new hr,ml}function dr(){gl=this,Y.call(this,"!$=")}i(dr).ad=function(t,e,n,r){var a=n.nd(t,e),o=r.nd(t,e),s,l;return a!=null&&we(a)?l=o!=null?we(o):!1:l=!1,l?s=!ss(a,o):s=!1,s};i(dr).od=function(t,e){return Yr().od(t,e)};i(dr).toString=function(){return"NotEnd"};i(dr).hashCode=function(){return 1024563565};i(dr).equals=function(t){return this===t?!0:t instanceof dr?(t instanceof dr||N(),!0):!1};var gl;function Sd(){return gl==null&&new dr,gl}function vr(){yl=this,Y.call(this,"<")}i(vr).ad=function(t,e,n,r){var a=n.nd(t,e),o=r.nd(t,e),s,l;return a!=null&&typeof a=="number"?l=o!=null?typeof o=="number":!1:l=!1,l?s=a<o:s=!1,s};i(vr).od=function(t,e){var n,r;if(t instanceof Oe?r=!0:r=t instanceof te,r){var a;e instanceof te?a=!0:a=e instanceof Oe,n=a}else n=!1;return n};i(vr).toString=function(){return"Less"};i(vr).hashCode=function(){return-392298690};i(vr).equals=function(t){return this===t?!0:t instanceof vr?(t instanceof vr||N(),!0):!1};var yl;function uo(){return yl==null&&new vr,yl}function pr(){wl=this,Y.call(this,"<=")}i(pr).ad=function(t,e,n,r){var a=n.nd(t,e),o=r.nd(t,e),s,l;return a!=null&&typeof a=="number"?l=o!=null?typeof o=="number":!1:l=!1,l?s=a<=o:s=!1,s};i(pr).od=function(t,e){return uo().od(t,e)};i(pr).toString=function(){return"LessEqual"};i(pr).hashCode=function(){return-2095624554};i(pr).equals=function(t){return this===t?!0:t instanceof pr?(t instanceof pr||N(),!0):!1};var wl;function $d(){return wl==null&&new pr,wl}function _r(){bl=this,Y.call(this,">")}i(_r).ad=function(t,e,n,r){var a=n.nd(t,e),o=r.nd(t,e),s,l;return a!=null&&typeof a=="number"?l=o!=null?typeof o=="number":!1:l=!1,l?s=a>o:s=!1,s};i(_r).od=function(t,e){return uo().od(t,e)};i(_r).toString=function(){return"More"};i(_r).hashCode=function(){return-392259334};i(_r).equals=function(t){return this===t?!0:t instanceof _r?(t instanceof _r||N(),!0):!1};var bl;function Ed(){return bl==null&&new _r,bl}function mr(){kl=this,Y.call(this,">=")}i(mr).ad=function(t,e,n,r){var a=n.nd(t,e),o=r.nd(t,e),s,l;return a!=null&&typeof a=="number"?l=o!=null?typeof o=="number":!1:l=!1,l?s=a>=o:s=!1,s};i(mr).od=function(t,e){return uo().od(t,e)};i(mr).toString=function(){return"MoreEqual"};i(mr).hashCode=function(){return-648189350};i(mr).equals=function(t){return this===t?!0:t instanceof mr?(t instanceof mr||N(),!0):!1};var kl;function Id(){return kl==null&&new mr,kl}function gr(){xl=this,Y.call(this,"~=")}i(gr).ad=function(t,e,n,r){var a=n.nd(t,e),o,s;return a!=null&&we(a)?s=r instanceof bt:s=!1,s?o=r.xd_1(a):o=!1,o};i(gr).od=function(t,e){var n;if(t instanceof Oe){var r;e instanceof bt?r=e.wd_1!=null:r=!1,n=r}else n=!1;return n};i(gr).toString=function(){return"Matches"};i(gr).hashCode=function(){return 409275758};i(gr).equals=function(t){return this===t?!0:t instanceof gr?(t instanceof gr||N(),!0):!1};var xl;function hs(){return xl==null&&new gr,xl}function yr(){Cl=this,Y.call(this,"!~=")}i(yr).ad=function(t,e,n,r){var a=n.nd(t,e),o,s;return a!=null&&we(a)?s=r instanceof bt:s=!1,s?o=!r.xd_1(a):o=!1,o};i(yr).od=function(t,e){return hs().od(t,e)};i(yr).toString=function(){return"NotMatches"};i(yr).hashCode=function(){return 1353711813};i(yr).equals=function(t){return this===t?!0:t instanceof yr?(t instanceof yr||N(),!0):!1};var Cl;function Ku(){return Cl==null&&new yr,Cl}function Y(t){fs(),this.key=t}i(Y).q1=function(){return this.key};i(Y).stringify=function(){return this.key};function lg(){return Va("allSubClasses",1,Uo,function(t){return t.allSubClasses},null)}function Ti(){}function ds(t){this.ae_1=t}i(ds).b9=function(t,e){return this.ae_1(t,e)};i(ds).compare=function(t,e){return this.b9(t,e)};function ug(){var t=Iu([qd(),Nd(),Io(),Ad(),ps()]),e=cg,n=new ds(e);return Zl(t,n)}function cg(t,e){var n=-t.key.length|0,r=-e.key.length|0;return is(n,r)}function La(){Sl=this;var t=this;t.be_1=Ma(ug)}i(La).kd=function(){var t=this.be_1;return fg(),t.r1()};var Sl;function vs(){return Sl==null&&new La,Sl}function jr(){$l=this,xe.call(this,"+")}i(jr).ce=function(t,e,n){return e.traverseBeforeBrothers(t,n)};i(jr).toString=function(){return"BeforeBrother"};i(jr).hashCode=function(){return 1632618113};i(jr).equals=function(t){return this===t?!0:t instanceof jr?(t instanceof jr||N(),!0):!1};var $l;function qd(){return $l==null&&new jr,$l}function zr(){El=this,xe.call(this,"-")}i(zr).ce=function(t,e,n){return e.traverseAfterBrothers(t,n)};i(zr).toString=function(){return"AfterBrother"};i(zr).hashCode=function(){return 1215887620};i(zr).equals=function(t){return this===t?!0:t instanceof zr?(t instanceof zr||N(),!0):!1};var El;function Nd(){return El==null&&new zr,El}function Br(){Il=this,xe.call(this,">")}i(Br).ce=function(t,e,n){return e.traverseAncestors(t,n)};i(Br).toString=function(){return"Ancestor"};i(Br).hashCode=function(){return 736770963};i(Br).equals=function(t){return this===t?!0:t instanceof Br?(t instanceof Br||N(),!0):!1};var Il;function Io(){return Il==null&&new Br,Il}function Dr(){ql=this,xe.call(this,"<")}i(Dr).ce=function(t,e,n){return e.traverseChildren(t,n)};i(Dr).toString=function(){return"Child"};i(Dr).hashCode=function(){return-1105093796};i(Dr).equals=function(t){return this===t?!0:t instanceof Dr?(t instanceof Dr||N(),!0):!1};var ql;function Ad(){return ql==null&&new Dr,ql}function Fr(){Nl=this,xe.call(this,"<<")}i(Fr).ce=function(t,e,n){return e.traverseDescendants(t,n)};i(Fr).toString=function(){return"Descendant"};i(Fr).hashCode=function(){return 2093403837};i(Fr).equals=function(t){return this===t?!0:t instanceof Fr?(t instanceof Fr||N(),!0):!1};var Nl;function ps(){return Nl==null&&new Fr,Nl}function xe(t){vs(),this.key=t}i(xe).q1=function(){return this.key};i(xe).stringify=function(){return this.key};function fg(){return Va("allSubClasses",1,Uo,function(t){return t.allSubClasses},null)}function ge(t,e){t=t===u?Io():t,e=e===u?new Bt:e,this.operator=t,this.connectExpression=e;var n=this,r,a,o;if(R(this.operator,Io())){var s=this.connectExpression;o=s instanceof Bt}else o=!1;o?a=this.connectExpression.a===1:a=!1,a?r=this.connectExpression.b===0:r=!1,n.isMatchAnyAncestor=r;var l=this,c,f,h;if(R(this.operator,ps())){var d=this.connectExpression;h=d instanceof Bt}else h=!1;h?f=this.connectExpression.a===1:f=!1,f?c=this.connectExpression.b===0:c=!1,l.isMatchAnyDescendant=c}i(ge).wc=function(){return this.operator};i(ge).he=function(){return this.connectExpression};i(ge).stringify=function(){return this.isMatchAnyAncestor?"":this.operator.stringify()+this.connectExpression.stringify()};i(ge).ie=function(t,e){return this.operator.ce(t,e,this.connectExpression)};i(ge).je=function(){return this.isMatchAnyAncestor};i(ge).ke=function(){return this.isMatchAnyDescendant};i(ge).pc=function(){return this.operator};i(ge).qc=function(){return this.connectExpression};i(ge).le=function(t,e){return new ge(t,e)};i(ge).copy=function(t,e,n){return t=t===u?this.operator:t,e=e===u?this.connectExpression:e,this.le(t,e)};i(ge).toString=function(){return"ConnectSegment(operator="+U(this.operator)+", connectExpression="+U(this.connectExpression)+")"};i(ge).hashCode=function(){var t=ht(this.operator);return t=Q(t,31)+ht(this.connectExpression)|0,t};i(ge).equals=function(t){if(this===t)return!0;if(!(t instanceof ge))return!1;var e=t instanceof ge?t:N();return!(!R(this.operator,e.operator)||!R(this.connectExpression,e.connectExpression))};function Te(t,e){this.segment=t,this.to=e,this.me_1=this.to.isMatchRoot&&this.segment.isMatchAnyAncestor;var n=this,r;this.segment.isMatchAnyDescendant?r=!this.to.fastQueryList.l():r=!1,n.canFq=r}i(Te).ne=function(){return this.segment};i(Te).oe=function(){return this.to};i(Te).stringify=function(){var t=this.to.stringify()+" "+this.segment.stringify();return U(Jm(we(t)?t:N()))};i(Te).matchContext=function(t,e,n){if(this.me_1){var r=e.getRoot(t.current),a;if(r==null)return null;a=r;var o=a;return this.to.matchContext(t.next(o),e,n)}if(this.canFq&&n.fastQuery)for(var s=e.traverseFastQueryDescendants(t.current,this.to.fastQueryList).h();s.i();){var l=s.j(),c=this.to.matchContext(t.next(l),e,n);if(c!=null)return c}else for(var f=this.segment.ie(t.current,e).h();f.i();){var h=f.j();t:{if(h==null)break t;var d=this.to.matchContext(t.next(h),e,n);if(d!=null)return d}}return null};i(Te).pe=function(){return this.canFq};i(Te).pc=function(){return this.segment};i(Te).qc=function(){return this.to};i(Te).qe=function(t,e){return new Te(t,e)};i(Te).copy=function(t,e,n){return t=t===u?this.segment:t,e=e===u?this.to:e,this.qe(t,e)};i(Te).toString=function(){return"ConnectWrapper(segment="+this.segment.toString()+", to="+this.to.toString()+")"};i(Te).hashCode=function(){var t=this.segment.hashCode();return t=Q(t,31)+this.to.hashCode()|0,t};i(Te).equals=function(t){if(this===t)return!0;if(!(t instanceof Te))return!1;var e=t instanceof Te?t:N();return!(!this.segment.equals(e.segment)||!this.to.equals(e.to))};function ie(t,e){e=e===u?null:e,this.current=t,this.prev=e}i(ie).re=function(){return this.current};i(ie).se=function(){return this.prev};i(ie).getPrev=function(t){if(t<0)return null;var e=this.prev,n;if(e==null)return null;n=e;var r=n,a=0;if(a<t)do{a=a+1|0;var o=r.prev,s;if(o==null)return null;s=o,r=s}while(a<t);return r};i(ie).get=function(t){if(t===0)return this;var e=this.getPrev(t-1|0),n;if(e==null)throw mu();return n=e,n};i(ie).toList=function(){for(var t=td([this.current]),e=this.prev;e!=null;)t.f(e.current),e=e.prev;return t};i(ie).toArray=function(){var t=this.toList(),e=st(t,Gn)?t:N(),n=kn(e);return ta(n)?n:N()};i(ie).next=function(t){return new ie(t,this)};i(ie).pc=function(){return this.current};i(ie).qc=function(){return this.prev};i(ie).te=function(t,e){return new ie(t,e)};i(ie).copy=function(t,e,n){return t=t===u?this.current:t,e=e===u?this.prev:e,this.te(t,e)};i(ie).toString=function(){return"Context(current="+Xt(this.current)+", prev="+Xt(this.prev)+")"};i(ie).hashCode=function(){var t=this.current==null?0:ht(this.current);return t=Q(t,31)+(this.prev==null?0:this.prev.hashCode())|0,t};i(ie).equals=function(t){if(this===t)return!0;if(!(t instanceof ie))return!1;var e=t instanceof ie?t:N();return!(!R(this.current,e.current)||!R(this.prev,e.prev))};function Ft(t){zo(t,this),J(this,Ft),this.ue_1=t}i(Ft).i7=function(){return this.ue_1};function rn(t){Ft.call(this,"Unknown Identifier: "+t.stringify()),J(this,rn),this.value=t}i(rn).r1=function(){return this.value};i(rn).pc=function(){return this.value};i(rn).we=function(t){return new rn(t)};i(rn).copy=function(t,e){return t=t===u?this.value:t,this.we(t)};i(rn).toString=function(){return"UnknownIdentifierException(value="+this.value.toString()+")"};i(rn).hashCode=function(){return this.value.hashCode()};i(rn).equals=function(t){if(this===t)return!0;if(!(t instanceof rn))return!1;var e=t instanceof rn?t:N();return!!this.value.equals(e.value)};function an(t){Ft.call(this,"Unknown Member: "+t.stringify()),J(this,an),this.value=t}i(an).r1=function(){return this.value};i(an).pc=function(){return this.value};i(an).ye=function(t){return new an(t)};i(an).copy=function(t,e){return t=t===u?this.value:t,this.ye(t)};i(an).toString=function(){return"UnknownMemberException(value="+this.value.toString()+")"};i(an).hashCode=function(){return this.value.hashCode()};i(an).equals=function(t){if(this===t)return!0;if(!(t instanceof an))return!1;var e=t instanceof an?t:N();return!!this.value.equals(e.value)};function Qe(t){Ft.call(this,"Unknown Identifier Method: "+t.stringify()),J(this,Qe),this.value=t}i(Qe).r1=function(){return this.value};i(Qe).pc=function(){return this.value};i(Qe).we=function(t){return new Qe(t)};i(Qe).copy=function(t,e){return t=t===u?this.value:t,this.we(t)};i(Qe).toString=function(){return"UnknownIdentifierMethodException(value="+this.value.toString()+")"};i(Qe).hashCode=function(){return this.value.hashCode()};i(Qe).equals=function(t){if(this===t)return!0;if(!(t instanceof Qe))return!1;var e=t instanceof Qe?t:N();return!!this.value.equals(e.value)};function on(t){Ft.call(this,"Unknown Identifier Method Params: "+t.stringify()),J(this,on),this.value=t}i(on).r1=function(){return this.value};i(on).pc=function(){return this.value};i(on).bf=function(t){return new on(t)};i(on).copy=function(t,e){return t=t===u?this.value:t,this.bf(t)};i(on).toString=function(){return"UnknownIdentifierMethodParamsException(value="+this.value.toString()+")"};i(on).hashCode=function(){return this.value.hashCode()};i(on).equals=function(t){if(this===t)return!0;if(!(t instanceof on))return!1;var e=t instanceof on?t:N();return!!this.value.equals(e.value)};function Ge(t){Ft.call(this,"Unknown Member Method: "+t.stringify()),J(this,Ge),this.value=t}i(Ge).r1=function(){return this.value};i(Ge).pc=function(){return this.value};i(Ge).ye=function(t){return new Ge(t)};i(Ge).copy=function(t,e){return t=t===u?this.value:t,this.ye(t)};i(Ge).toString=function(){return"UnknownMemberMethodException(value="+this.value.toString()+")"};i(Ge).hashCode=function(){return this.value.hashCode()};i(Ge).equals=function(t){if(this===t)return!0;if(!(t instanceof Ge))return!1;var e=t instanceof Ge?t:N();return!!this.value.equals(e.value)};function sn(t){Ft.call(this,"Unknown Member Method Params: "+t.stringify()),J(this,sn),this.value=t}i(sn).r1=function(){return this.value};i(sn).pc=function(){return this.value};i(sn).bf=function(t){return new sn(t)};i(sn).copy=function(t,e){return t=t===u?this.value:t,this.bf(t)};i(sn).toString=function(){return"UnknownMemberMethodParamsException(value="+this.value.toString()+")"};i(sn).hashCode=function(){return this.value.hashCode()};i(sn).equals=function(t){if(this===t)return!0;if(!(t instanceof sn))return!1;var e=t instanceof sn?t:N();return!!this.value.equals(e.value)};function ce(t,e,n){Ft.call(this,"Mismatch Param Type: "+e.stringify()+" should be "+n.key),J(this,ce),this.call=t,this.argument=e,this.type=n}i(ce).ff=function(){return this.call};i(ce).gf=function(){return this.argument};i(ce).hf=function(){return this.type};i(ce).pc=function(){return this.call};i(ce).qc=function(){return this.argument};i(ce).ed=function(){return this.type};i(ce).if=function(t,e,n){return new ce(t,e,n)};i(ce).copy=function(t,e,n,r){return t=t===u?this.call:t,e=e===u?this.argument:e,n=n===u?this.type:n,this.if(t,e,n)};i(ce).toString=function(){return"MismatchParamTypeException(call="+this.call.toString()+", argument="+U(this.argument)+", type="+U(this.type)+")"};i(ce).hashCode=function(){var t=this.call.hashCode();return t=Q(t,31)+ht(this.argument)|0,t=Q(t,31)+ht(this.type)|0,t};i(ce).equals=function(t){if(this===t)return!0;if(!(t instanceof ce))return!1;var e=t instanceof ce?t:N();return!(!this.call.equals(e.call)||!R(this.argument,e.argument)||!R(this.type,e.type))};function $e(t,e,n){Ft.call(this,"Mismatch Expression Type: "+t.stringify()),J(this,$e),this.exception=t,this.leftType=e,this.rightType=n}i($e).kf=function(){return this.exception};i($e).lf=function(){return this.leftType};i($e).mf=function(){return this.rightType};i($e).pc=function(){return this.exception};i($e).qc=function(){return this.leftType};i($e).ed=function(){return this.rightType};i($e).nf=function(t,e,n){return new $e(t,e,n)};i($e).copy=function(t,e,n,r){return t=t===u?this.exception:t,e=e===u?this.leftType:e,n=n===u?this.rightType:n,this.nf(t,e,n)};i($e).toString=function(){return"MismatchExpressionTypeException(exception="+this.exception.toString()+", leftType="+U(this.leftType)+", rightType="+U(this.rightType)+")"};i($e).hashCode=function(){var t=this.exception.hashCode();return t=Q(t,31)+ht(this.leftType)|0,t=Q(t,31)+ht(this.rightType)|0,t};i($e).equals=function(t){if(this===t)return!0;if(!(t instanceof $e))return!1;var e=t instanceof $e?t:N();return!(!this.exception.equals(e.exception)||!R(this.leftType,e.leftType)||!R(this.rightType,e.rightType))};function ln(t){Ft.call(this,"Mismatch Operator Type: "+t.stringify()),J(this,ln),this.exception=t}i(ln).kf=function(){return this.exception};i(ln).pc=function(){return this.exception};i(ln).pf=function(t){return new ln(t)};i(ln).copy=function(t,e){return t=t===u?this.exception:t,this.pf(t)};i(ln).toString=function(){return"MismatchOperatorTypeException(exception="+this.exception.toString()+")"};i(ln).hashCode=function(){return this.exception.hashCode()};i(ln).equals=function(t){if(this===t)return!0;if(!(t instanceof ln))return!1;var e=t instanceof ln?t:N();return!!this.exception.equals(e.exception)};function He(){}function vn(t){De.call(this,t),this.rf_1=t}i(vn).r1=function(){return this.rf_1};i(vn).pc=function(){return this.rf_1};i(vn).sf=function(t){return new vn(t)};i(vn).copy=function(t,e){return t=t===u?this.rf_1:t,this.sf(t)};i(vn).toString=function(){return"Id(value="+this.rf_1+")"};i(vn).hashCode=function(){return Je(this.rf_1)};i(vn).equals=function(t){if(this===t)return!0;if(!(t instanceof vn))return!1;var e=t instanceof vn?t:N();return this.rf_1===e.rf_1};function pn(t){De.call(this,t),this.uf_1=t}i(pn).r1=function(){return this.uf_1};i(pn).pc=function(){return this.uf_1};i(pn).sf=function(t){return new pn(t)};i(pn).copy=function(t,e){return t=t===u?this.uf_1:t,this.sf(t)};i(pn).toString=function(){return"Vid(value="+this.uf_1+")"};i(pn).hashCode=function(){return Je(this.uf_1)};i(pn).equals=function(t){if(this===t)return!0;if(!(t instanceof pn))return!1;var e=t instanceof pn?t:N();return this.uf_1===e.uf_1};function _n(t){De.call(this,t),this.wf_1=t}i(_n).r1=function(){return this.wf_1};i(_n).pc=function(){return this.wf_1};i(_n).sf=function(t){return new _n(t)};i(_n).copy=function(t,e){return t=t===u?this.wf_1:t,this.sf(t)};i(_n).toString=function(){return"Text(value="+this.wf_1+")"};i(_n).hashCode=function(){return Je(this.wf_1)};i(_n).equals=function(t){if(this===t)return!0;if(!(t instanceof _n))return!1;var e=t instanceof _n?t:N();return this.wf_1===e.wf_1};function De(t){this.xf_1=t}i(De).r1=function(){return this.xf_1};i(De).stringify=function(){return this.value};function hg(t){var e=Sf(t.expressions),n;if(e==null)return null;n=e;var r=n;if(r instanceof pt){if(!R(r.operator.value,Hu()))return null;var a=r.getSameExpressionArray(),o;if(a==null)return null;o=a;for(var s=o,l=jt(),c=0,f=s.length;c<f;){var h=s[c];c=c+1|0;var d=Fc(h),p;if(d==null)return null;p=d;var v=p;l.f(v)}return l}if(r instanceof vt){var _=Fc(r),m;if(_==null)return null;m=_;var w=m;return Qa(w)}return null}function Fc(t){var e=t.left;if(!(e instanceof It))return null;var n=t.right;if(!(n instanceof bt))return null;var r=t.right.vd_1;return z(r)===0?null:t.left.value==="id"&&R(t.operator.value,or())?new vn(t.right.vd_1):t.left.value==="vid"&&R(t.operator.value,or())?new pn(t.right.vd_1):t.left.value==="text"&&(R(t.operator.value,or())||R(t.operator.value,Yr())||R(t.operator.value,Du())||R(t.operator.value,Fu()))?new _n(t.right.vd_1):null}function pt(t,e,n,r,a){He.call(this),this.zf_1=t,this.ag_1=e,this.left=n,this.operator=r,this.right=a}i(pt).tc=function(){return this.zf_1};i(pt).uc=function(){return this.ag_1};i(pt).vc=function(){return this.left};i(pt).wc=function(){return this.operator};i(pt).xc=function(){return this.right};i(pt).match=function(t,e){return this.operator.value.compare(t,e,this.left,this.right)};i(pt).bd=function(){var t=this.left.binaryExpressions,e=this.right.binaryExpressions;return t.concat(e)};i(pt).stringify=function(){var t,e,n=this.left;n instanceof pt?e=!R(this.left.operator.value,this.operator.value):e=!1,e?t="("+this.left.stringify()+")":t=this.left.stringify();var r=t,a,o,s=this.right;s instanceof pt?o=!R(this.right.operator.value,this.operator.value):o=!1,o?a="("+this.right.stringify()+")":a=this.right.stringify();var l=a;return r+" "+this.operator.stringify()+" "+l};i(pt).getSameExpressionArray=function(){var t,e=this.left;if(e instanceof pt?t=!R(this.left.operator.value,this.operator.value):t=!1,t)return null;var n,r=this.right;if(r instanceof pt?n=!R(this.right.operator.value,this.operator.value):n=!1,n)return null;var a=this.left,o;if(a instanceof vt){var s=this.right,l;if(s instanceof vt)l=[this.left,this.right];else if(s instanceof pt){var c=[this.left],f=this.right.getSameExpressionArray(),h;if(f==null)return null;h=f;var d=h;l=c.concat(d)}else s instanceof ae?l=null:Tn();o=l}else if(a instanceof pt){var p=this.left.getSameExpressionArray(),v;if(p==null)return null;v=p;var _=v,m=this.right,w;if(m instanceof vt){var b=[this.right];w=_.concat(b)}else if(m instanceof pt){var q=this.right.getSameExpressionArray(),S;if(q==null)return null;S=q;var g=S;return _.concat(g)}else m instanceof ae?w=null:Tn();o=w}else a instanceof ae?o=null:Tn();return o};i(pt).pc=function(){return this.zf_1};i(pt).qc=function(){return this.ag_1};i(pt).ed=function(){return this.left};i(pt).fd=function(){return this.operator};i(pt).gd=function(){return this.right};i(pt).bg=function(t,e,n,r,a){return new pt(t,e,n,r,a)};i(pt).copy=function(t,e,n,r,a,o){return t=t===u?this.zf_1:t,e=e===u?this.ag_1:e,n=n===u?this.left:n,r=r===u?this.operator:r,a=a===u?this.right:a,this.bg(t,e,n,r,a)};i(pt).toString=function(){return"LogicalExpression(start="+this.zf_1+", end="+this.ag_1+", left="+U(this.left)+", operator="+this.operator.toString()+", right="+U(this.right)+")"};i(pt).hashCode=function(){var t=this.zf_1;return t=Q(t,31)+this.ag_1|0,t=Q(t,31)+ht(this.left)|0,t=Q(t,31)+this.operator.hashCode()|0,t=Q(t,31)+ht(this.right)|0,t};i(pt).equals=function(t){if(this===t)return!0;if(!(t instanceof pt))return!1;var e=t instanceof pt?t:N();return!(this.zf_1!==e.zf_1||this.ag_1!==e.ag_1||!R(this.left,e.left)||!this.operator.equals(e.operator)||!R(this.right,e.right))};function _s(t){this.cg_1=t}i(_s).b9=function(t,e){return this.cg_1(t,e)};i(_s).compare=function(t,e){return this.b9(t,e)};function dg(){var t=Iu([Wu(),Hu()]),e=vg,n=new _s(e);return Zl(t,n)}function vg(t,e){var n=-t.key.length|0,r=-e.key.length|0;return is(n,r)}function Oa(){Al=this;var t=this;t.dg_1=Ma(dg)}i(Oa).kd=function(){var t=this.dg_1;return pg(),t.r1()};var Al;function Uu(){return Al==null&&new Oa,Al}function Kr(){Tl=this,Ln.call(this,"&&")}i(Kr).compare=function(t,e,n,r){return n.match(t,e)&&r.match(t,e)};i(Kr).toString=function(){return"AndOperator"};i(Kr).hashCode=function(){return-772304006};i(Kr).equals=function(t){return this===t?!0:t instanceof Kr?(t instanceof Kr||N(),!0):!1};var Tl;function Wu(){return Tl==null&&new Kr,Tl}function Ur(){Ml=this,Ln.call(this,"||")}i(Ur).compare=function(t,e,n,r){return n.match(t,e)||r.match(t,e)};i(Ur).toString=function(){return"OrOperator"};i(Ur).hashCode=function(){return-302302232};i(Ur).equals=function(t){return this===t?!0:t instanceof Ur?(t instanceof Ur||N(),!0):!1};var Ml;function Hu(){return Ml==null&&new Ur,Ml}function Ln(t){Uu(),this.key=t}i(Ln).q1=function(){return this.key};i(Ln).stringify=function(){return this.key};function pg(){return Va("allSubClasses",1,Uo,function(t){return t.allSubClasses},null)}function fa(){return _g(),Td}var Td;function Fe(t,e){t=t===u?!1:t,e=e===u?!1:e,this.quickFind=t,this.fastQuery=e}i(Fe).eg=function(){return this.quickFind};i(Fe).fg=function(){return this.fastQuery};i(Fe).pc=function(){return this.quickFind};i(Fe).qc=function(){return this.fastQuery};i(Fe).gg=function(t,e){return new Fe(t,e)};i(Fe).copy=function(t,e,n){return t=t===u?this.quickFind:t,e=e===u?this.fastQuery:e,this.gg(t,e)};i(Fe).toString=function(){return"MatchOption(quickFind="+this.quickFind+", fastQuery="+this.fastQuery+")"};i(Fe).hashCode=function(){var t=Ea(this.quickFind);return t=Q(t,31)+Ea(this.fastQuery)|0,t};i(Fe).equals=function(t){if(this===t)return!0;if(!(t instanceof Fe))return!1;var e=t instanceof Fe?t:N();return!(this.quickFind!==e.quickFind||this.fastQuery!==e.fastQuery)};var Kc;function _g(){Kc||(Kc=!0,Td=new Fe)}function ae(t,e){He.call(this),this.hg_1=t,this.expression=e}i(ae).tc=function(){return this.hg_1};i(ae).ig=function(){return this.expression};i(ae).uc=function(){return this.expression.uc()};i(ae).match=function(t,e){return!this.expression.match(t,e)};i(ae).bd=function(){return this.expression.binaryExpressions};i(ae).stringify=function(){return"!("+this.expression.stringify()+")"};i(ae).pc=function(){return this.hg_1};i(ae).qc=function(){return this.expression};i(ae).jg=function(t,e){return new ae(t,e)};i(ae).copy=function(t,e,n){return t=t===u?this.hg_1:t,e=e===u?this.expression:e,this.jg(t,e)};i(ae).toString=function(){return"NotExpression(start="+this.hg_1+", expression="+U(this.expression)+")"};i(ae).hashCode=function(){var t=this.hg_1;return t=Q(t,31)+ht(this.expression)|0,t};i(ae).equals=function(t){if(this===t)return!0;if(!(t instanceof ae))return!1;var e=t instanceof ae?t:N();return!(this.hg_1!==e.hg_1||!R(this.expression,e.expression))};function jn(t){var e="invalid PolynomialExpression: a="+t.a+", b="+t.b;throw Wr(U(e))}function mg(t){return function(e){return Q(t.a,e)+t.b|0}}function gg(t){return function(e){return Q(t.a,e)+t.b|0}}function yg(t,e){return function(n){return Q(t.a,e+n|0)+t.b|0}}function wg(t){return function(e){return e!==0&&jn(t),t.b}}function bg(t,e){return function(n){return Q(t.a,e-n|0)+t.b|0}}function Bt(t,e){t=t===u?0:t,e=e===u?1:e,Ti.call(this),this.a=t,this.b=e;var n=this,r;if(this.a>0){var a;if(this.b>0)a=this.a+this.b|0;else if(this.b===0)a=this.a;else{var o=((-this.b|0)/this.a|0)+1|0;a=Q(this.a,o)+this.b|0}r=a}else{var s;if(this.a===0){var l;this.b>0?l=this.b:jn(this),s=l}else{var c;if(this.b>0){var f;if(this.b<=(-this.a|0))jn(this);else{var h=((-this.b|0)/this.a|0)-(this.b%this.a|0?0:1)|0;f=Q(this.a,h)+this.b|0}c=f}else jn(this);s=c}r=s-1|0}n.de_1=r;var d=this,p;if(this.a>0)p=null;else{var v;if(this.a===0){var _;this.b>0?_=this.b:jn(this),v=_}else{var m;if(this.b>0){var w;this.b<=(-this.a|0)?jn(this):w=this.a+this.b|0,m=w}else jn(this);v=m}p=v-1|0}d.ee_1=p,this.fe_1=this.de_1===this.ee_1;var b=this,q;if(this.a>0){var S;if(this.b>0)S=mg(this);else if(this.b===0)S=gg(this);else{var g=((-this.b|0)/this.a|0)+1|0;S=yg(this,g)}q=S}else if(this.a===0){var C;this.b>0?C=wg(this):jn(this),q=C}else{var E;if(this.b>0){var k;if(this.b<=(-this.a|0))jn(this);else{var I=((-this.b|0)/this.a|0)-(this.b%this.a|0?0:1)|0;k=bg(this,I)}E=k}else jn(this);q=E}b.ge_1=q}i(Bt).kg=function(){return this.a};i(Bt).lg=function(){return this.b};i(Bt).stringify=function(){if(this.a>0&&this.b>0)return this.a===1?"(n+"+this.b+")":"("+this.a+"n+"+this.b+")";if(this.a<0&&this.b>0)return this.a===-1?"("+this.b+"-n)":"("+this.b+this.a+"n)";if(this.b===0){if(this.a===1)return"n";var t;return this.a>0?t=""+this.a+"n":t="("+this.a+"n)",t}if(this.a===0){if(this.b===1)return"";var e;return this.b>0?e=this.b.toString():e="("+this.b+")",e}var n=this.b>=0?"+":"";return"("+this.a+"n"+n+this.b+")"};i(Bt).yd=function(){return this.de_1};i(Bt).zd=function(){return this.ee_1};i(Bt).checkOffset=function(t){if(this.fe_1)return t===this.de_1;var e=(t+1|0)-this.b|0;return(e%this.a|0)===0&&(e/this.a|0)>=1};i(Bt).getOffset=function(t){return this.ge_1(t)-1|0};i(Bt).pc=function(){return this.a};i(Bt).qc=function(){return this.b};i(Bt).mg=function(t,e){return new Bt(t,e)};i(Bt).copy=function(t,e,n){return t=t===u?this.a:t,e=e===u?this.b:e,this.mg(t,e)};i(Bt).toString=function(){return"PolynomialExpression(a="+this.a+", b="+this.b+")"};i(Bt).hashCode=function(){var t=this.a;return t=Q(t,31)+this.b|0,t};i(Bt).equals=function(t){if(this===t)return!0;if(!(t instanceof Bt))return!1;var e=t instanceof Bt?t:N();return!(this.a!==e.a||this.b!==e.b)};function un(){}function Yt(t,e,n){this.yc_1=t,this.zc_1=e,this.value=n}i(Yt).tc=function(){return this.yc_1};i(Yt).uc=function(){return this.zc_1};i(Yt).r1=function(){return this.value};i(Yt).stringify=function(){return this.value.stringify()};i(Yt).pc=function(){return this.yc_1};i(Yt).qc=function(){return this.zc_1};i(Yt).ed=function(){return this.value};i(Yt).ng=function(t,e,n){return new Yt(t,e,n)};i(Yt).copy=function(t,e,n,r){return t=t===u?this.yc_1:t,e=e===u?this.zc_1:e,n=n===u?this.value:n,this.ng(t,e,n)};i(Yt).toString=function(){return"PositionImpl(start="+this.yc_1+", end="+this.zc_1+", value="+U(this.value)+")"};i(Yt).hashCode=function(){var t=this.yc_1;return t=Q(t,31)+this.zc_1|0,t=Q(t,31)+ht(this.value)|0,t};i(Yt).equals=function(t){if(this===t)return!0;if(!(t instanceof Yt))return!1;var e=t instanceof Yt?t:N();return!(this.yc_1!==e.yc_1||this.zc_1!==e.zc_1||!R(this.value,e.value))};function ms(){}function kg(t,e,n){if(t.yf_1)return!0;var r=n.getName(e),a;if(r==null)return!1;a=r;var o=a;return z(o)===t.name.length?xm(o,t.name):z(o)>t.name.length?F(o,(z(o)-t.name.length|0)-1|0)===46&&ss(o,t.name):!1}function xg(t){return"["+t.stringify()+"]"}function fe(t,e,n){this.at=t,this.name=e,this.expressions=n,this.yf_1=Gm(this.name)||this.name==="*"}i(fe).og=function(){return this.at};i(fe).pg=function(){return this.name};i(fe).qg=function(){return this.expressions};i(fe).bd=function(){for(var t=this.expressions,e=jt(),n=t.h();n.i();){var r=n.j(),a=Vl(r.binaryExpressions);Vo(e,a)}return kn(e)};i(fe).stringify=function(){var t=this.at?"@":"",e=t+this.name;return e+An(this.expressions,"",u,u,u,u,xg)};i(fe).match=function(t,e){var n;if(kg(this,t.current,e)){var r;t:{var a=this.expressions,o;if(st(a,Mt)?o=a.l():o=!1,o){r=!0;break t}for(var s=a.h();s.i();){var l=s.j();if(!l.match(t,e)){r=!1;break t}}r=!0}n=r}else n=!1;return n};i(fe).pc=function(){return this.at};i(fe).qc=function(){return this.name};i(fe).ed=function(){return this.expressions};i(fe).rg=function(t,e,n){return new fe(t,e,n)};i(fe).copy=function(t,e,n,r){return t=t===u?this.at:t,e=e===u?this.name:e,n=n===u?this.expressions:n,this.rg(t,e,n)};i(fe).toString=function(){return"PropertySegment(at="+this.at+", name="+this.name+", expressions="+U(this.expressions)+")"};i(fe).hashCode=function(){var t=Ea(this.at);return t=Q(t,31)+Je(this.name)|0,t=Q(t,31)+ht(this.expressions)|0,t};i(fe).equals=function(t){if(this===t)return!0;if(!(t instanceof fe))return!1;var e=t instanceof fe?t:N();return!(this.at!==e.at||this.name!==e.name||!R(this.expressions,e.expressions))};function oe(t,e){e=e===u?null:e,this.segment=t,this.to=e;var n=this,r;t:{var a=this.segment.expressions,o;if(st(a,Mt)?o=a.l():o=!1,o){r=!1;break t}for(var s=a.h();s.i();){var l=s.j(),c,f,h;if(l instanceof vt?h=R(l.operator.value,or()):h=!1,h?f=R(l.left.value,"parent"):f=!1,f?c=R(l.right.value,"null"):c=!1,c){r=!0;break t}}r=!1}n.isMatchRoot=r;var d=this,p=hg(this.segment);d.fastQueryList=p==null?la():p}i(oe).ne=function(){return this.segment};i(oe).oe=function(){return this.to};i(oe).stringify=function(){var t;return this.to!=null?t=this.to.stringify()+" ":t="",t+this.segment.stringify()};i(oe).matchContext=function(t,e,n){return this.segment.match(t,e)?this.to==null?t:this.to.matchContext(t,e,n):null};i(oe).sg=function(){return this.isMatchRoot};i(oe).tg=function(){return this.fastQueryList};i(oe).a=function(){return this.to==null?1:this.to.to.length+1|0};i(oe).pc=function(){return this.segment};i(oe).qc=function(){return this.to};i(oe).ug=function(t,e){return new oe(t,e)};i(oe).copy=function(t,e,n){return t=t===u?this.segment:t,e=e===u?this.to:e,this.ug(t,e)};i(oe).toString=function(){return"PropertyWrapper(segment="+this.segment.toString()+", to="+Xt(this.to)+")"};i(oe).hashCode=function(){var t=this.segment.hashCode();return t=Q(t,31)+(this.to==null?0:this.to.hashCode())|0,t};i(oe).equals=function(t){if(this===t)return!0;if(!(t instanceof oe))return!1;var e=t instanceof oe?t:N();return!(!this.segment.equals(e.segment)||!R(this.to,e.to))};function Md(){Mi();var t=Pd;return Eg(),t.r1()}var Pd;function Rd(){Mi();var t=Ld;return Ig(),t.r1()}var Ld;function gs(){}i(gs).parse=function(t){return zd(t)};i(gs).parseOrNull=function(t){var e;try{e=zd(t)}catch(r){var n;if(r instanceof Sn)n=null;else throw r;e=n}return e};var Od;function Cg(){return Od}function qe(t,e){this.source=t,this.propertyWrapper=e;var n=this,r;t:{for(var a=this.propertyWrapper.length,o=0,s=this.propertyWrapper;s!=null;){if(s.segment.at){r=(a-1|0)-o|0;break t}var l=s.to;s=l==null?null:l.to,o=o+1|0}r=a-1|0}n.targetIndex=r,this.fastQueryList=this.propertyWrapper.fastQueryList,this.quickFindValue=this.fastQueryList.m()===1?Vi(this.fastQueryList):null,this.isMatchRoot=this.propertyWrapper.isMatchRoot;for(var c=this,f=this.propertyWrapper.to,h=jt();f!=null;)h.f(f),f=f.to.to;c.connectWrappers=kn(h);for(var d=this,p=this.propertyWrapper,v=jt();p!=null;){var _=p.segment;Lm(v,_.binaryExpressions);var m=p.to;p=m==null?null:m.to}var w=mp(v);d.binaryExpressions=kn(w);var b=this,q;t:{if(this.connectWrappers.length!==0){q=!0;break t}for(var S=this.binaryExpressions,g=0,C=S.length;g<C;){var E=S[g];g=g+1|0;var k;e:{for(var I=E.properties,P=0,j=I.length;P<j;){var W=I[P];if(P=P+1|0,Ds(Md(),W)){k=!0;break e}}k=!1}if(k){q=!0;break t}var H;e:{for(var Ht=E.methods,_t=0,Rt=Ht.length;_t<Rt;){var Lt=Ht[_t];if(_t=_t+1|0,Ds(Rd(),Lt)){H=!0;break e}}H=!1}if(H){q=!0;break t}}q=!1}b.useCache=q}i(qe).vg=function(){return this.source};i(qe).wg=function(){return this.propertyWrapper};i(qe).stringify=function(){return this.propertyWrapper.stringify()};i(qe).xg=function(){return this.targetIndex};i(qe).matchContext=function(t,e,n){return this.propertyWrapper.matchContext(new ie(t),e,n)};i(qe).match=function(t,e,n){var r=this.matchContext(t,e,n),a;if(r==null)return null;a=r;var o=a;return o.get(this.targetIndex).current};i(qe).tg=function(){return this.fastQueryList};i(qe).yg=function(){return this.quickFindValue};i(qe).sg=function(){return this.isMatchRoot};i(qe).zg=function(){return this.connectWrappers};i(qe).bd=function(){return this.binaryExpressions};i(qe).ah=function(){return this.useCache};i(qe).isSlow=function(t){if(t.quickFind&&this.quickFindValue==null&&!this.isMatchRoot||(!t.fastQuery||this.propertyWrapper.fastQueryList.l())&&!this.isMatchRoot)return!0;var e;t:{for(var n=this.connectWrappers,r=0,a=n.length;r<a;){var o=n[r];if(r=r+1|0,R(o.segment.operator,ps())&&!(o.canFq&&t.fastQuery)){e=!0;break t}}e=!1}return!!e};i(qe).checkType=function(t){try{for(var e=this.binaryExpressions,n=0,r=e.length;n<r;){var a=e[n];if(n=n+1|0,!a.operator.value.od(a.left,a.right))throw new ln(a);var o=Uc(a.left,t),s=Uc(a.right,t);if(o!=null&&s!=null&&!R(o,s))throw new $e(a,o,s)}}catch(c){if(c instanceof Ft){var l=c;return l}else throw c}return null};function Uc(t,e){Mi();var n;return t instanceof Pe?n=null:t instanceof ye?n=ja():t instanceof te?n=za():t instanceof bt?n=Ba():t instanceof Oe?n=qo(t,e,e).type:Tn(),n}function Wc(t,e,n){Mi();for(var r=0,a=t.params,o=0,s=a.length;o<s;){var l=a[o];o=o+1|0;var c=r;r=c+1|0;var f=e.arguments.k(c);if(!(f instanceof Pe))if(f instanceof ye){if(!R(l.type,ja()))throw new ce(e,f,ja())}else if(f instanceof te){if(!R(l.type,za()))throw new ce(e,f,za())}else if(f instanceof bt){if(!R(l.type,Ba()))throw new ce(e,f,Ba())}else if(f instanceof Oe){var h=qo(f,l,n);if(!R(h.type,l.type))throw new ce(e,f,h.type)}else Tn()}return t.returnType}function qo(t,e,n){Mi();var r;if(t instanceof qt){var a=t.callee,o;if(a instanceof qt)throw Wt("Unsupported nested call");if(a instanceof It){for(var s=n.methods,l=jt(),c=0,f=s.length;c<f;){var h=s[c];c=c+1|0,h.name===t.callee.value&&l.f(h)}if(l.l())throw new Qe(t.callee);for(var d=jt(),p=l.h();p.i();){var v=p.j();v.params.length===t.arguments.m()&&d.f(v)}if(d.l())throw new on(t);o=d}else if(a instanceof wt){for(var _=qo(t.callee.object0,e,n).methods,m=jt(),w=0,b=_.length;w<b;){var q=_[w];w=w+1|0,q.name===t.callee.property&&m.f(q)}if(m.l())throw new Ge(t.callee);for(var S=jt(),g=m.h();g.i();){var C=g.j();C.params.length===t.arguments.m()&&S.f(C)}if(S.l())throw new sn(t);o=S}else Tn();var E=o;if(E.m()===1)return Wc(E.k(0),t,n),E.k(0).returnType;for(var k=0,I=E.h();I.i();){var P=I.j(),j=k;k=j+1|0;var W=jo(j);try{return Wc(P,t,n),P.returnType}catch(ti){if(ti instanceof Ft){var H=ti;if(W===(E.m()-1|0))throw H}else throw ti}}var Ht=t.callee;if(Ht instanceof It)throw new Qe(t.callee);var _t=t.callee;throw _t instanceof wt?new Ge(t.callee):Wt("Unsupported nested call")}else if(t instanceof It){var Rt=n.props,Lt;t:{for(var ve=0,re=Rt.length;ve<re;){var et=Rt[ve];if(ve=ve+1|0,et.name===t.value){Lt=et;break t}}Lt=null}var Xe=Lt,gt=Xe==null?null:Xe.type,En;if(gt==null)throw new rn(t);En=gt,r=En}else if(t instanceof wt){var B=qo(t.object0,e,n).props,ft;t:{for(var yt=0,Kt=B.length;yt<Kt;){var pe=B[yt];if(yt=yt+1|0,pe.name===t.property){ft=pe;break t}}ft=null}var Yn=ft,Xn=Yn==null?null:Yn.type,tr;if(Xn==null)throw new an(t);tr=Xn,r=tr}else Tn();return r}function Sg(){return Mi(),["index","parent","depth"]}function $g(){return Mi(),["getChild"]}function Eg(){return Va("useCacheProperties",0,ku,function(){return Md()},null)}function Ig(){return Va("useCacheMethods",0,ku,function(){return Rd()},null)}var Hc;function Mi(){Hc||(Hc=!0,Pd=Ma(Sg),Ld=Ma($g))}function he(t,e,n,r){r=r===u?null:r;var a=nn(n,e);zo("expected "+t+" in selector at position "+e+", but got "+Xt(a==null?null:new lt(a)),this),J(this,he),this.expectedValue=t,this.position=e,this.source=n,this.lh_1=r}i(he).mh=function(){return this.expectedValue};i(he).nh=function(){return this.position};i(he).vg=function(){return this.source};i(he).j7=function(){return this.lh_1};i(he).pc=function(){return this.expectedValue};i(he).qc=function(){return this.position};i(he).ed=function(){return this.source};i(he).fd=function(){return this.lh_1};i(he).oh=function(t,e,n,r){return new he(t,e,n,r)};i(he).copy=function(t,e,n,r,a){return t=t===u?this.expectedValue:t,e=e===u?this.position:e,n=n===u?this.source:n,r=r===u?this.lh_1:r,this.oh(t,e,n,r)};i(he).toString=function(){return"SyntaxError(expectedValue="+this.expectedValue+", position="+this.position+", source="+this.source+", cause="+Xt(this.lh_1)+")"};i(he).hashCode=function(){var t=Je(this.expectedValue);return t=Q(t,31)+this.position|0,t=Q(t,31)+Je(this.source)|0,t=Q(t,31)+(this.lh_1==null?0:ht(this.lh_1))|0,t};i(he).equals=function(t){if(this===t)return!0;if(!(t instanceof he))return!1;var e=t instanceof he?t:N();return!(this.expectedValue!==e.expectedValue||this.position!==e.position||this.source!==e.source||!R(this.lh_1,e.lh_1))};function St(t,e,n,r){n=n===u?"":n,r=r===u?null:r;var a;if(e>=z(t))a=!0;else{var o;z(n)>0?o=!Ze(n,F(t,e)):o=!1,a=o}if(a)throw new he(r==null?n:r,e,U(t))}function ue(t,e,n,r){throw n=n===u?"":n,r=r===u?null:r,new he(n,e,U(t),r)}function qg(t){return function(e,n,r){return t(e,n,r)}}function Ng(t){return function(e){return cp(t(e))}}function Vu(){}i(Vu).multiplatformBuild=function(t,e,n,r,a){var o=qg(e);return new $t(t,o,n,Ng(r),a)};var jd;function Ag(){return jd}function Tg(t,e,n){return null}function Mg(t){return function(e){for(var n=t(e);n!=null;)n=t(Re(n));return n}}function di(t,e,n){this.xh_1=t,this.yh_1=e,Le.call(this,n)}i(di).di=function(t,e){var n=this.ei(t,e);return n.k6_1=dt,n.l6_1=null,n.q6()};i(di).h7=function(t,e){return this.di(t instanceof Sr?t:N(),e)};i(di).q6=function(){var t=this.k6_1;t:do try{var e=this.i6_1;switch(e){case 0:if(this.j6_1=4,this.ai_1=Xl(this.xh_1(this.yh_1)),this.ai_1.l())return dt;au(this.ai_1);var n=this;n.bi_1=jt(),this.i6_1=1;continue t;case 1:if(this.ci_1=this.ai_1.x2(no(this.ai_1)),this.i6_1=2,t=this.zh_1.p9(this.ci_1,this),t===Er())return t;continue t;case 2:for(var r=this.xh_1(this.ci_1).h();r.i();){var a=r.j();this.bi_1.f(a)}if(!this.bi_1.l()){var o=this.bi_1.m()-1|0;if(0<=o)do{var s=o;o=o+-1|0,this.ai_1.f(this.bi_1.k(s))}while(0<=o);this.bi_1.n3()}if(!this.ai_1.l()){this.i6_1=1;continue t}this.i6_1=3;continue t;case 3:return dt;case 4:throw this.l6_1}}catch(c){var l=c;if(this.j6_1===4)throw l;this.i6_1=this.j6_1,this.l6_1=l}while(!0)};i(di).ei=function(t,e){var n=new di(this.xh_1,this.yh_1,e);return n.zh_1=t,n};function Pg(t,e,n){var r=new di(t,e,n),a=function(o,s){return r.di(o,s)};return a.$arity=1,a}function Rg(t){return function(e){return io(Pg(t,e,null))}}function Lg(t){return function(e,n){return t.checkOffset(e)}}function Og(t){return function(e,n){var r=t(e),a;n.maxOffset!=null?a=qf(r,Re(n.maxOffset)+1|0):a=r;var o=a;return tu(o,Lg(n))}}function vi(t,e,n,r){this.ni_1=t,this.oi_1=e,this.pi_1=n,Le.call(this,r)}i(vi).di=function(t,e){var n=this.ei(t,e);return n.k6_1=dt,n.l6_1=null,n.q6()};i(vi).h7=function(t,e){return this.di(t instanceof Sr?t:N(),e)};i(vi).q6=function(){var t=this.k6_1;t:do try{var e=this.i6_1;switch(e){case 0:this.j6_1=6;var n=this,r=this.ni_1(this.oi_1),a;if(r==null)return dt;a=r,n.ri_1=a,this.si_1=0,this.i6_1=1;continue t;case 1:if(this.ri_1==null){this.i6_1=5;continue t}if(this.ti_1=this.ri_1,this.ti_1==null){this.ui_1=null,this.i6_1=4;continue t}else{var o=this;o.vi_1=this.ti_1;var s=this;if(s.wi_1=this.vi_1,this.pi_1.checkOffset(this.si_1)){if(this.i6_1=2,t=this.qi_1.p9(this.wi_1,this),t===Er())return t;continue t}else{this.i6_1=3;continue t}}case 2:this.i6_1=3;continue t;case 3:this.si_1=this.si_1+1|0;var l=this.pi_1.maxOffset;if(l!=null){if(this.si_1>l)return dt}var c=this;this.ri_1=this.ni_1(this.wi_1),c.ui_1=dt,this.i6_1=4;continue t;case 4:this.i6_1=1;continue t;case 5:return dt;case 6:throw this.l6_1}}catch(h){var f=h;if(this.j6_1===6)throw f;this.i6_1=this.j6_1,this.l6_1=f}while(!0)};i(vi).ei=function(t,e){var n=new vi(this.ni_1,this.oi_1,this.pi_1,e);return n.qi_1=t,n};function jg(t,e,n,r){var a=new vi(t,e,n,r),o=function(s,l){return a.di(s,l)};return o.$arity=1,o}function zg(t){return function(e,n){return io(jg(t,e,n,null))}}function Bg(t){return function(e){return!R(e,t)}}function Dg(t){return function(e,n){return t.checkOffset(e)}}function Fg(t,e){return function(n,r){var a=t(n),o;if(a!=null){var s=e(a),l=Xl(xp(s,Bg(n)));au(l);var c=gp(l);o=tu(c,Dg(r))}else o=Ni();return o}}function Kg(t){return function(e){return!R(e,t)}}function Ug(t){return function(e,n){return t.checkOffset(e)}}function Wg(t,e){return function(n,r){var a=t(n),o;if(a!=null){var s=e(a),l=Cp(Sp(s,Kg(n)),1),c;r.maxOffset!=null?c=qf(l,Re(r.maxOffset)+1|0):c=l;var f=c;o=tu(f,Ug(r))}else o=Ni();return o}}function pi(t,e,n,r){this.fj_1=t,this.gj_1=e,this.hj_1=n,Le.call(this,r)}i(pi).di=function(t,e){var n=this.ei(t,e);return n.k6_1=dt,n.l6_1=null,n.q6()};i(pi).h7=function(t,e){return this.di(t instanceof Sr?t:N(),e)};i(pi).q6=function(){var t=this.k6_1;t:do try{var e=this.i6_1;switch(e){case 0:if(this.j6_1=5,this.jj_1=Xl(this.fj_1(this.gj_1)),this.jj_1.l())return dt;au(this.jj_1);var n=this;n.kj_1=jt(),this.lj_1=0,this.i6_1=1;continue t;case 1:if(this.mj_1=this.jj_1.x2(no(this.jj_1)),this.hj_1.checkOffset(this.lj_1)){if(this.i6_1=2,t=this.ij_1.p9(this.mj_1,this),t===Er())return t;continue t}else{this.i6_1=3;continue t}case 2:this.i6_1=3;continue t;case 3:this.lj_1=this.lj_1+1|0;var r=this.hj_1.maxOffset;if(r!=null){if(this.lj_1>r)return dt}for(var a=this.fj_1(this.mj_1).h();a.i();){var o=a.j();this.kj_1.f(o)}if(!this.kj_1.l()){var s=this.kj_1.m()-1|0;if(0<=s)do{var l=s;s=s+-1|0,this.jj_1.f(this.kj_1.k(l))}while(0<=s);this.kj_1.n3()}if(!this.jj_1.l()){this.i6_1=1;continue t}this.i6_1=4;continue t;case 4:return dt;case 5:throw this.l6_1}}catch(f){var c=f;if(this.j6_1===5)throw c;this.i6_1=this.j6_1,this.l6_1=c}while(!0)};i(pi).ei=function(t,e){var n=new pi(this.fj_1,this.gj_1,this.hj_1,e);return n.ij_1=t,n};function Hg(t,e,n,r){var a=new pi(t,e,n,r),o=function(s,l){return a.di(s,l)};return o.$arity=1,o}function Vg(t){return function(e,n){return io(Hg(t,e,n,null))}}function Qg(t,e){return Ni()}function _i(t,e,n,r,a){this.vj_1=t,this.wj_1=e,this.xj_1=n,this.yj_1=r,Le.call(this,a)}i(_i).di=function(t,e){var n=this.ei(t,e);return n.k6_1=dt,n.l6_1=null,n.q6()};i(_i).h7=function(t,e){return this.di(t instanceof Sr?t:N(),e)};i(_i).q6=function(){var t=this.k6_1;t:do try{var e=this.i6_1;switch(e){case 0:if(this.j6_1=7,this.ak_1=this.vj_1.match(this.wj_1,this.xj_1,this.yj_1),this.ak_1==null){this.bk_1=null,this.i6_1=2;continue t}else{var n=this;n.ck_1=this.ak_1;var r=this;if(r.dk_1=this.ck_1,this.i6_1=1,t=this.zj_1.p9(this.dk_1,this),t===Er())return t;continue t}case 1:var a=this;a.bk_1=dt,this.i6_1=2;continue t;case 2:var o=this;o.ek_1=this.xj_1.getDescendants(this.wj_1),this.fk_1=this.ek_1.h(),this.i6_1=3;continue t;case 3:if(!this.fk_1.i()){this.i6_1=6;continue t}this.gk_1=this.fk_1.j();var s=this;if(s.hk_1=this.gk_1,this.ik_1=this.vj_1.match(this.hk_1,this.xj_1,this.yj_1),this.ik_1==null){this.jk_1=null,this.i6_1=5;continue t}else{var l=this;l.kk_1=this.ik_1;var c=this;if(c.lk_1=this.kk_1,this.i6_1=4,t=this.zj_1.p9(this.lk_1,this),t===Er())return t;continue t}case 4:var f=this;f.jk_1=dt,this.i6_1=5;continue t;case 5:this.i6_1=3;continue t;case 6:return dt;case 7:throw this.l6_1}}catch(d){var h=d;if(this.j6_1===7)throw h;this.i6_1=this.j6_1,this.l6_1=h}while(!0)};i(_i).ei=function(t,e){var n=new _i(this.vj_1,this.wj_1,this.xj_1,this.yj_1,e);return n.zj_1=t,n};function Gg(t,e,n,r,a){var o=new _i(t,e,n,r,a),s=function(l,c){return o.di(l,c)};return s.$arity=1,s}function mi(t,e,n,r,a){this.uk_1=t,this.vk_1=e,this.wk_1=n,this.xk_1=r,Le.call(this,a)}i(mi).ll=function(t,e){var n=this.ml(t,e);return n.k6_1=dt,n.l6_1=null,n.q6()};i(mi).h7=function(t,e){return this.ll(t instanceof Sr?t:N(),e)};i(mi).q6=function(){var t=this.k6_1;t:do try{var e=this.i6_1;switch(e){case 0:if(this.j6_1=7,this.zk_1=this.uk_1.matchContext(this.vk_1,this.wk_1,this.xk_1),this.zk_1==null){this.al_1=null,this.i6_1=2;continue t}else{var n=this;n.bl_1=this.zk_1;var r=this;if(r.cl_1=this.bl_1,this.i6_1=1,t=this.yk_1.p9(this.cl_1,this),t===Er())return t;continue t}case 1:var a=this;a.al_1=dt,this.i6_1=2;continue t;case 2:var o=this;o.dl_1=this.wk_1.getDescendants(this.vk_1),this.el_1=this.dl_1.h(),this.i6_1=3;continue t;case 3:if(!this.el_1.i()){this.i6_1=6;continue t}this.fl_1=this.el_1.j();var s=this;if(s.gl_1=this.fl_1,this.hl_1=this.uk_1.matchContext(this.gl_1,this.wk_1,this.xk_1),this.hl_1==null){this.il_1=null,this.i6_1=5;continue t}else{var l=this;l.jl_1=this.hl_1;var c=this;if(c.kl_1=this.jl_1,this.i6_1=4,t=this.yk_1.p9(this.kl_1,this),t===Er())return t;continue t}case 4:var f=this;f.il_1=dt,this.i6_1=5;continue t;case 5:this.i6_1=3;continue t;case 6:return dt;case 7:throw this.l6_1}}catch(d){var h=d;if(this.j6_1===7)throw h;this.i6_1=this.j6_1,this.l6_1=h}while(!0)};i(mi).ml=function(t,e){var n=new mi(this.uk_1,this.vk_1,this.wk_1,this.xk_1,e);return n.yk_1=t,n};function Jg(t,e,n,r,a){var o=new mi(t,e,n,r,a),s=function(l,c){return o.ll(l,c)};return s.$arity=1,s}function $t(t,e,n,r,a,o,s,l,c,f,h,d,p){var v;e===u?v=Tg:v=e,e=v;var _;o===u?_=Mg(a):_=o,o=_;var m;s===u?m=Rg(r):m=s,s=m;var w;l===u?w=Og(r):w=l,l=w;var b;c===u?b=zg(a):b=c,c=b;var q;f===u?q=Fg(a,r):q=f,f=q;var S;h===u?S=Wg(a,r):S=h,h=S;var g;d===u?g=Vg(r):g=d,d=g;var C;p===u?C=Qg:C=p,p=C,this.getAttr=t,this.getInvoke=e,this.getName=n,this.getChildren=r,this.getParent=a,this.getRoot=o,this.getDescendants=s,this.traverseChildren=l,this.traverseAncestors=c,this.traverseBeforeBrothers=f,this.traverseAfterBrothers=h,this.traverseDescendants=d,this.traverseFastQueryDescendants=p}i($t).nl=function(){return this.getAttr};i($t).ol=function(){return this.getInvoke};i($t).pl=function(){return this.getName};i($t).ql=function(){return this.getChildren};i($t).rl=function(){return this.getParent};i($t).sl=function(){return this.getRoot};i($t).tl=function(){return this.getDescendants};i($t).ul=function(){return this.traverseChildren};i($t).vl=function(){return this.traverseAncestors};i($t).wl=function(){return this.traverseBeforeBrothers};i($t).xl=function(){return this.traverseAfterBrothers};i($t).yl=function(){return this.traverseDescendants};i($t).zl=function(){return this.traverseFastQueryDescendants};i($t).am=function(t,e,n){return io(Gg(e,t,this,n,null))};i($t).querySelectorAll$default=function(t,e,n,r){return n=n===u?fa():n,r===u?this.am(t,e,n):r.am.call(this,t,e,n)};i($t).bm=function(t,e,n){return Nf(this.am(t,e,n))};i($t).querySelector=function(t,e,n,r){return n=n===u?fa():n,this.bm(t,e,n)};i($t).cm=function(t,e,n){return io(Jg(e,t,this,n,null))};i($t).querySelectorAllContext$default=function(t,e,n,r){return n=n===u?fa():n,r===u?this.cm(t,e,n):r.cm.call(this,t,e,n)};i($t).dm=function(t,e,n){return Nf(this.cm(t,e,n))};i($t).querySelectorContext=function(t,e,n,r){return n=n===u?fa():n,this.dm(t,e,n)};i($t).em=function(t,e,n){var r=Af(this.am(t,e,n)),a=st(r,Gn)?r:N(),o=kn(a);return ta(o)?o:N()};i($t).querySelectorAllArray=function(t,e,n,r){return n=n===u?fa():n,this.em(t,e,n)};i($t).fm=function(t,e,n){var r=Af(this.cm(t,e,n));return kn(r)};i($t).querySelectorAllContextArray=function(t,e,n,r){return n=n===u?fa():n,this.fm(t,e,n)};function Me(t){Ti.call(this),this.numbers=t;var e=this,n=Sf(this.numbers);e.gm_1=(n==null?1:n)-1|0,this.hm_1=yp(this.numbers);for(var r=this,a=this.numbers,o=Qi(rl(a,10)),s=a.h();s.i();){var l=s.j(),c=l-1|0;o.f(c)}r.im_1=o}i(Me).jm=function(){return this.numbers};i(Me).yd=function(){return this.gm_1};i(Me).zd=function(){return this.hm_1};i(Me).checkOffset=function(t){return qm(this.im_1,t)>=0};i(Me).getOffset=function(t){return this.numbers.k(t)};i(Me).stringify=function(){if(this.numbers.m()===1){var t;return Vi(this.numbers)===1?t="":t=Vi(this.numbers).toString(),t}return"("+An(this.numbers,",")+")"};i(Me).pc=function(){return this.numbers};i(Me).km=function(t){return new Me(t)};i(Me).copy=function(t,e){return t=t===u?this.numbers:t,this.km(t)};i(Me).toString=function(){return"TupleExpression(numbers="+U(this.numbers)+")"};i(Me).hashCode=function(){return ht(this.numbers)};i(Me).equals=function(t){if(this===t)return!0;if(!(t instanceof Me))return!1;var e=t instanceof Me?t:N();return!!R(this.numbers,e.numbers)};function ui(){Pl=this,cn.call(this,"boolean")}i(ui).toString=function(){return"BooleanType"};i(ui).hashCode=function(){return 1452179029};i(ui).equals=function(t){return this===t?!0:t instanceof ui?(t instanceof ui||N(),!0):!1};var Pl;function ja(){return Pl==null&&new ui,Pl}function ci(){Rl=this,cn.call(this,"int")}i(ci).toString=function(){return"IntType"};i(ci).hashCode=function(){return-1601449956};i(ci).equals=function(t){return this===t?!0:t instanceof ci?(t instanceof ci||N(),!0):!1};var Rl;function za(){return Rl==null&&new ci,Rl}function fi(){Ll=this,cn.call(this,"string")}i(fi).toString=function(){return"StringType"};i(fi).hashCode=function(){return 1719560632};i(fi).equals=function(t){return this===t?!0:t instanceof fi?(t instanceof fi||N(),!0):!1};var Ll;function Ba(){return Ll==null&&new fi,Ll}function Ke(t){cn.call(this,"object"),this.name=t}i(Ke).pg=function(){return this.name};i(Ke).pc=function(){return this.name};i(Ke).sf=function(t){return new Ke(t)};i(Ke).copy=function(t,e){return t=t===u?this.name:t,this.sf(t)};i(Ke).toString=function(){return"ObjectType(name="+this.name+")"};i(Ke).hashCode=function(){return Je(this.name)};i(Ke).equals=function(t){if(this===t)return!0;if(!(t instanceof Ke))return!1;var e=t instanceof Ke?t:N();return this.name===e.name};function cn(t){this.key=t}i(cn).q1=function(){return this.key};function Zg(t){return t.stringify()}function X(t,e,n){var r;n===u?r=[]:r=n,n=r,this.name=t,this.returnType=e,this.params=n}i(X).pg=function(){return this.name};i(X).lm=function(){return this.returnType};i(X).mm=function(){return this.params};i(X).stringify=function(){return this.name+"("+xf(this.params,", ",u,u,u,u,Zg)+"): "+this.returnType.stringify()};i(X).equals=function(t){return this===t?!0:!(t==null||!Eo(this).equals(Eo(t))||(t instanceof X||N(),this.name!==t.name)||!this.returnType.equals(t.returnType)||!Qs(this.params,t.params))};i(X).hashCode=function(){var t=Je(this.name);return t=Q(31,t)+this.returnType.hashCode()|0,t=Q(31,t)+Gs(this.params)|0,t};i(X).pc=function(){return this.name};i(X).qc=function(){return this.returnType};i(X).ed=function(){return this.params};i(X).nm=function(t,e,n){return new X(t,e,n)};i(X).copy=function(t,e,n,r){return t=t===u?this.name:t,e=e===u?this.returnType:e,n=n===u?this.params:n,this.nm(t,e,n)};i(X).toString=function(){return"MethodInfo(name="+this.name+", returnType="+this.returnType.toString()+", params="+U(this.params)+")"};function it(t,e){this.name=t,this.type=e}i(it).pg=function(){return this.name};i(it).hf=function(){return this.type};i(it).pc=function(){return this.name};i(it).qc=function(){return this.type};i(it).om=function(t,e){return new it(t,e)};i(it).copy=function(t,e,n){return t=t===u?this.name:t,e=e===u?this.type:e,this.om(t,e)};i(it).toString=function(){return"PropInfo(name="+this.name+", type="+this.type.toString()+")"};i(it).hashCode=function(){var t=Je(this.name);return t=Q(t,31)+this.type.hashCode()|0,t};i(it).equals=function(t){if(this===t)return!0;if(!(t instanceof it))return!1;var e=t instanceof it?t:N();return!(this.name!==e.name||!this.type.equals(e.type))};function Jt(t,e,n){var r;e===u?r=[]:r=e,e=r;var a;n===u?a=[]:a=n,n=a,this.type=t,this.props=e,this.methods=n}i(Jt).hf=function(){return this.type};i(Jt).pm=function(t){this.props=t};i(Jt).qm=function(){return this.props};i(Jt).rm=function(t){this.methods=t};i(Jt).dd=function(){return this.methods};i(Jt).stringify=function(){var t,e=this.type;return e instanceof Ke?t=this.type.name:t=this.type.key,t};i(Jt).equals=function(t){return this===t?!0:!(t==null||!Eo(this).equals(Eo(t))||(t instanceof Jt||N(),!R(this.type,t.type))||!Qs(this.props,t.props)||!Qs(this.methods,t.methods))};i(Jt).hashCode=function(){var t=ht(this.type);return t=Q(31,t)+Gs(this.props)|0,t=Q(31,t)+Gs(this.methods)|0,t};i(Jt).pc=function(){return this.type};i(Jt).qc=function(){return this.props};i(Jt).ed=function(){return this.methods};i(Jt).sm=function(t,e,n){return new Jt(t,e,n)};i(Jt).copy=function(t,e,n,r){return t=t===u?this.type:t,e=e===u?this.props:e,n=n===u?this.methods:n,this.sm(t,e,n)};i(Jt).toString=function(){return"TypeInfo(type="+U(this.type)+", props="+U(this.props)+", methods="+U(this.methods)+")"};function Yg(t){return t.stringify()}function Xg(t){return!1}function Oe(t){se.call(this,t,"var"),this.vm_1=t}i(Oe).r1=function(){return this.vm_1};function It(t,e){Oe.call(this,e),this.zm_1=t,this.name=e,this.an_1=this.zm_1+this.value.length|0,this.isEqual=this.name==="equal",this.isNotEqual=this.name==="notEqual"}i(It).tc=function(){return this.zm_1};i(It).pg=function(){return this.name};i(It).uc=function(){return this.an_1};i(It).nd=function(t,e){return e.getAttr(t,this.value)};i(It).cd=function(){return[this.value]};i(It).dd=function(){return[]};i(It).bn=function(){return this.isEqual};i(It).cn=function(){return this.isNotEqual};i(It).pc=function(){return this.zm_1};i(It).qc=function(){return this.name};i(It).dn=function(t,e){return new It(t,e)};i(It).copy=function(t,e,n){return t=t===u?this.zm_1:t,e=e===u?this.name:e,this.dn(t,e)};i(It).toString=function(){return"Identifier(start="+this.zm_1+", name="+this.name+")"};i(It).hashCode=function(){var t=this.zm_1;return t=Q(t,31)+Je(this.name)|0,t};i(It).equals=function(t){if(this===t)return!0;if(!(t instanceof It))return!1;var e=t instanceof It?t:N();return!(this.zm_1!==e.zm_1||this.name!==e.name)};function wt(t,e,n,r){Oe.call(this,n.stringify()+"."+r),this.jh_1=t,this.kh_1=e,this.object0=n,this.property=r,this.isPropertyOr=this.property==="or",this.isPropertyAnd=this.property==="and",this.isPropertyIfElse=this.property==="ifElse"}i(wt).tc=function(){return this.jh_1};i(wt).uc=function(){return this.kh_1};i(wt).en=function(){return this.object0};i(wt).fn=function(){return this.property};i(wt).nd=function(t,e){var n=this.object0.nd(t,e);return n==null?null:e.getAttr(n,this.property)};i(wt).cd=function(){return rr([this.object0.properties,[this.property]])};i(wt).dd=function(){return this.object0.methods};i(wt).gn=function(){return this.isPropertyOr};i(wt).hn=function(){return this.isPropertyAnd};i(wt).in=function(){return this.isPropertyIfElse};i(wt).pc=function(){return this.jh_1};i(wt).qc=function(){return this.kh_1};i(wt).ed=function(){return this.object0};i(wt).fd=function(){return this.property};i(wt).jn=function(t,e,n,r){return new wt(t,e,n,r)};i(wt).copy=function(t,e,n,r,a){return t=t===u?this.jh_1:t,e=e===u?this.kh_1:e,n=n===u?this.object0:n,r=r===u?this.property:r,this.jn(t,e,n,r)};i(wt).toString=function(){return"MemberExpression(start="+this.jh_1+", end="+this.kh_1+", object0="+U(this.object0)+", property="+this.property+")"};i(wt).hashCode=function(){var t=this.jh_1;return t=Q(t,31)+this.kh_1|0,t=Q(t,31)+ht(this.object0)|0,t=Q(t,31)+Je(this.property)|0,t};i(wt).equals=function(t){if(this===t)return!0;if(!(t instanceof wt))return!1;var e=t instanceof wt?t:N();return!(this.jh_1!==e.jh_1||this.kh_1!==e.kh_1||!R(this.object0,e.object0)||this.property!==e.property)};function qt(t,e,n,r){var a=n.stringify();Oe.call(this,a+"("+An(r,",",u,u,u,u,Yg)+")"),this.eh_1=t,this.fh_1=e,this.callee=n,this.arguments=r}i(qt).tc=function(){return this.eh_1};i(qt).uc=function(){return this.fh_1};i(qt).kn=function(){return this.callee};i(qt).ln=function(){return this.arguments};i(qt).nd=function(t,e){var n=this.callee,r;if(n instanceof qt)r=null;else if(n instanceof It){var a;if(this.callee.isEqual)a=or().compare(this.arguments.k(0).nd(t,e),this.arguments.k(1).nd(t,e));else if(this.callee.isNotEqual)a=!or().compare(this.arguments.k(0).nd(t,e),this.arguments.k(1).nd(t,e));else{for(var o=this.arguments,s=Qi(rl(o,10)),l=o.h();l.i();){var c=l.j(),f=c.nd(t,e);if(f==null)return null;s.f(f)}a=e.getInvoke(t,this.callee.name,s)}r=a}else if(n instanceof wt){var h=this.callee.object0.nd(t,e);if(h==null)return null;var d=h,p;if(this.callee.isPropertyOr){var v;if(typeof d=="boolean"?d:N())v=!0;else{var _=this.arguments.k(0).nd(t,e);if(_==null)return null;var m=_;v=typeof m=="boolean"?m:N()}p=v}else if(this.callee.isPropertyAnd){var w;if(typeof d=="boolean"?d:N()){var b=this.arguments.k(0).nd(t,e);if(b==null)return null;var q=b;w=typeof q=="boolean"?q:N()}else w=!1;p=w}else if(this.callee.isPropertyIfElse){var S;(typeof d=="boolean"?d:N())?S=this.arguments.k(0).nd(t,e):S=this.arguments.k(1).nd(t,e),p=S}else{for(var g=this.arguments,C=Qi(rl(g,10)),E=g.h();E.i();){var k=E.j(),I=k.nd(t,e);if(I==null)return null;C.f(I)}p=e.getInvoke(d,this.callee.property,C)}r=p}else Tn();return r};i(qt).cd=function(){for(var t=Ql(this.callee.properties),e=this.arguments,n=jt(),r=e.h();r.i();){var a=r.j(),o=Vl(a.properties);Vo(n,o)}var s=$f(t,n);return kn(s)};i(qt).dd=function(){var t=this.callee,e;t instanceof qt?e=this.callee.methods:t instanceof It?e=[this.callee.name]:t instanceof wt?e=rr([this.callee.object0.methods,[this.callee.property]]):Tn();for(var n=Ql(e),r=this.arguments,a=jt(),o=r.h();o.i();){var s=o.j(),l=Vl(s.methods);Vo(a,l)}var c=$f(n,a);return kn(c)};i(qt).pc=function(){return this.eh_1};i(qt).qc=function(){return this.fh_1};i(qt).ed=function(){return this.callee};i(qt).fd=function(){return this.arguments};i(qt).mn=function(t,e,n,r){return new qt(t,e,n,r)};i(qt).copy=function(t,e,n,r,a){return t=t===u?this.eh_1:t,e=e===u?this.fh_1:e,n=n===u?this.callee:n,r=r===u?this.arguments:r,this.mn(t,e,n,r)};i(qt).toString=function(){return"CallExpression(start="+this.eh_1+", end="+this.fh_1+", callee="+U(this.callee)+", arguments="+U(this.arguments)+")"};i(qt).hashCode=function(){var t=this.eh_1;return t=Q(t,31)+this.fh_1|0,t=Q(t,31)+ht(this.callee)|0,t=Q(t,31)+ht(this.arguments)|0,t};i(qt).equals=function(t){if(this===t)return!0;if(!(t instanceof qt))return!1;var e=t instanceof qt?t:N();return!(this.eh_1!==e.eh_1||this.fh_1!==e.fh_1||!R(this.callee,e.callee)||!R(this.arguments,e.arguments))};function Ye(t,e){se.call(this,t,e),this.pn_1=t,this.qn_1=e}i(Ye).r1=function(){return this.pn_1};i(Ye).hf=function(){return this.qn_1};i(Ye).nd=function(t,e){return this.value};i(Ye).cd=function(){return[]};i(Ye).dd=function(){return[]};function Pe(t){Ye.call(this,null,"null"),this.vn_1=t,this.wn_1=this.vn_1+4|0}i(Pe).tc=function(){return this.vn_1};i(Pe).uc=function(){return this.wn_1};i(Pe).pc=function(){return this.vn_1};i(Pe).xn=function(t){return new Pe(t)};i(Pe).copy=function(t,e){return t=t===u?this.vn_1:t,this.xn(t)};i(Pe).toString=function(){return"NullLiteral(start="+this.vn_1+")"};i(Pe).hashCode=function(){return this.vn_1};i(Pe).equals=function(t){if(this===t)return!0;if(!(t instanceof Pe))return!1;var e=t instanceof Pe?t:N();return this.vn_1===e.vn_1};function ye(t,e){Ye.call(this,e,"boolean"),this.co_1=t,this.do_1=e,this.eo_1=this.co_1+(this.do_1?4:5)|0}i(ye).tc=function(){return this.co_1};i(ye).r1=function(){return this.do_1};i(ye).uc=function(){return this.eo_1};i(ye).pc=function(){return this.co_1};i(ye).qc=function(){return this.do_1};i(ye).fo=function(t,e){return new ye(t,e)};i(ye).copy=function(t,e,n){return t=t===u?this.co_1:t,e=e===u?this.do_1:e,this.fo(t,e)};i(ye).toString=function(){return"BooleanLiteral(start="+this.co_1+", value="+this.do_1+")"};i(ye).hashCode=function(){var t=this.co_1;return t=Q(t,31)+Ea(this.do_1)|0,t};i(ye).equals=function(t){if(this===t)return!0;if(!(t instanceof ye))return!1;var e=t instanceof ye?t:N();return!(this.co_1!==e.co_1||this.do_1!==e.do_1)};function te(t,e,n){Ye.call(this,n,"int"),this.ko_1=t,this.lo_1=e,this.mo_1=n}i(te).tc=function(){return this.ko_1};i(te).uc=function(){return this.lo_1};i(te).r1=function(){return this.mo_1};i(te).pc=function(){return this.ko_1};i(te).qc=function(){return this.lo_1};i(te).ed=function(){return this.mo_1};i(te).no=function(t,e,n){return new te(t,e,n)};i(te).copy=function(t,e,n,r){return t=t===u?this.ko_1:t,e=e===u?this.lo_1:e,n=n===u?this.mo_1:n,this.no(t,e,n)};i(te).toString=function(){return"IntLiteral(start="+this.ko_1+", end="+this.lo_1+", value="+this.mo_1+")"};i(te).hashCode=function(){var t=this.ko_1;return t=Q(t,31)+this.lo_1|0,t=Q(t,31)+this.mo_1|0,t};i(te).equals=function(t){if(this===t)return!0;if(!(t instanceof te))return!1;var e=t instanceof te?t:N();return!(this.ko_1!==e.ko_1||this.lo_1!==e.lo_1||this.mo_1!==e.mo_1)};function bt(t,e,n,r){r=r===u?null:r,Ye.call(this,n,"string"),this.td_1=t,this.ud_1=e,this.vd_1=n,this.wd_1=r;var a=this,o=this.wd_1,s;if(o==null)s=null;else{var l=qy(this.vd_1);s=l==null?o:l}var c=s,f;c==null?f=Xg:f=c,a.xd_1=f}i(bt).tc=function(){return this.td_1};i(bt).uc=function(){return this.ud_1};i(bt).r1=function(){return this.vd_1};i(bt).oo=function(){return this.wd_1};i(bt).stringify=function(){return Iy(this.vd_1)};i(bt).po=function(){return this.xd_1};i(bt).pc=function(){return this.td_1};i(bt).qc=function(){return this.ud_1};i(bt).ed=function(){return this.vd_1};i(bt).qo=function(){return this.wd_1};i(bt).ro=function(t,e,n,r){return new bt(t,e,n,r)};i(bt).copy=function(t,e,n,r,a){return t=t===u?this.td_1:t,e=e===u?this.ud_1:e,n=n===u?this.vd_1:n,r=r===u?this.wd_1:r,this.ro(t,e,n,r)};i(bt).toString=function(){return"StringLiteral(start="+this.td_1+", end="+this.ud_1+", value="+this.vd_1+", matches="+Xt(this.wd_1)+")"};i(bt).hashCode=function(){var t=this.td_1;return t=Q(t,31)+this.ud_1|0,t=Q(t,31)+Je(this.vd_1)|0,t=Q(t,31)+(this.wd_1==null?0:ht(this.wd_1))|0,t};i(bt).equals=function(t){if(this===t)return!0;if(!(t instanceof bt))return!1;var e=t instanceof bt?t:N();return!(this.td_1!==e.td_1||this.ud_1!==e.ud_1||this.vd_1!==e.vd_1||!R(this.wd_1,e.wd_1))};function se(t,e){this.ld_1=t,this.md_1=e}i(se).r1=function(){return this.ld_1};i(se).hf=function(){return this.md_1};i(se).stringify=function(){return Xt(this.value)};function Gt(t,e){t=t===u?"":t,this.so_1=t,this.uo_1=e}i(Gt).vo=function(t,e){return this.uo_1(t,e,this.so_1)};i(Gt).toString=function(){return"Parser(prefix="+this.so_1+", temp="+U(this.uo_1)+")"};i(Gt).hashCode=function(){var t=Je(this.so_1);return t=Q(t,31)+ht(this.uo_1)|0,t};i(Gt).equals=function(t){if(this===t)return!0;if(!(t instanceof Gt))return!1;var e=t instanceof Gt?t:N();return!(this.so_1!==e.so_1||!R(this.uo_1,e.uo_1))};function Dt(t,e){e=e===u?0:e,this.wo_1=t,this.xo_1=e}i(Dt).toString=function(){return"ParserResult(data="+Xt(this.wo_1)+", length="+this.xo_1+")"};i(Dt).hashCode=function(){var t=this.wo_1==null?0:ht(this.wo_1);return t=Q(t,31)+this.xo_1|0,t};i(Dt).equals=function(t){if(this===t)return!0;if(!(t instanceof Dt))return!1;var e=t instanceof Dt?t:N();return!(!R(this.wo_1,e.wo_1)||this.xo_1!==e.xo_1)};function ty(t,e){var n=0,r=nn(e,n);if(!R(r==null?null:new lt(r),new lt(40)))return!1;n=n+1|0,n=n+t.yo_1.vo(e,n).xo_1|0;var a=ai(48,57),o=nn(e,n),s,l=o;if((l==null?null:new lt(l))!=null?s=a.xb(o):s=!1,!s)return!1;n=n+t.cp_1.vo(e,n).xo_1|0,n=n+t.yo_1.vo(e,n).xo_1|0;var c=nn(e,n);return R(c==null?null:new lt(c),new lt(44))}function ey(t,e,n){var r=fs().allSubClasses,a;t:{for(var o=0,s=r.length;o<s;){var l=r[o];if(o=o+1|0,ls(e,l.key,n)){a=l;break t}}a=null}var c=a,f;c==null?ue(e,n,"CompareOperator"):f=c;var h=f;return new Yt(n,n+h.key.length|0,h)}function Ol(t,e,n){var r=e;if((r==null?null:new lt(r))==null)return!1;var a,o,s,l=e;return R(l==null?null:new lt(l),new lt(95))?s=!0:s=ai(97,122).xb(e),s?o=!0:o=ai(65,90).xb(e),o?a=!0:a=!n&&ai(48,57).xb(e),a}function Vc(t,e,n,r){return n=n===u?!1:n,Ol(t,e,n)}function Ls(t,e,n,r){if(ls(e,r,n)){var a=nn(e,n+r.length|0),o,s=a;if((s==null?null:new lt(s))==null)return!0;o=a;var l=o;return!(l===95||97<=l&&l<=122||65<=l&&l<=90||48<=l&&l<=57)}return!1}function Qc(t,e,n){var r="tfn-"+t.ip_1.so_1+t.cp_1.so_1+t.jp_1;St(e,n,r);var a=t.qp(e,n);return a}function ny(t,e,n){var r=n,a=Qc(t,e,r);r=r+a.a()|0,r=r+t.yo_1.vo(e,r).xo_1|0;var o=ey(t,e,r);r=r+o.a()|0,r=r+t.yo_1.vo(e,r).xo_1|0;var s=Qc(t,e,r),l,c;if(R(o.value,hs())||R(o.value,Ku())?c=s instanceof bt:c=!1,c){var f;try{f=Ry(s.vd_1)}catch(_){var h;if(_ instanceof Sn){var d=_;ue(e,r,"valid primitive string regex",d)}else throw _;f=h}var p=f;l=s.copy(u,u,u,p)}else l=s;var v=l;return r=r+v.a()|0,new vt(n,r,a,o,v)}function ry(t,e,n){var r=n;r=r+t.yo_1.vo(e,r).xo_1|0;var a=Uu().allSubClasses,o;t:{for(var s=a.h();s.i();){var l=s.j();if(ls(e,l.key,n)){o=l;break t}}o=null}var c=o,f;c==null?ue(e,n,"LogicalOperator"):f=c;var h=f;return new Yt(r,r+h.key.length|0,h)}function iy(t,e,n){var r=n;r=r+t.yo_1.vo(e,r).xo_1|0,St(e,r,"!");var a=r;r=r+1|0,St(e,r,"(");var o=t.rp(e,r,!0);return r=r+o.a()|0,new ae(a,o)}function ay(t,e,n){for(var r=e,a="";r<z(t)&&Ze(n,F(t,r));)a=a+Zt(F(t,r)),r=r+1|0;return new Dt(a,r-e|0)}function oy(t,e,n){return St(t,e,n,"whitespace"),ot().yo_1.vo(t,e)}function sy(t,e,n){var r=e,a=nn(t,r),o,s=a;if((s==null?null:new lt(s))!=null?o=!Ze(n,a):o=!1,o)return new Dt("");St(t,r,n,"*0-9a-zA-Z_");var l=Zt(F(t,r));if(r=r+1|0,l==="*")return new Dt(l,r-e|0);var c="1234567890qwertyuiopasdfghjklzxcvbnmQWERTYUIOPASDFGHJKLZXCVBNM_.";t:for(;r<z(t);){if(F(l,(r-e|0)-1|0)===46&&St(t,r,n,"[0-9a-zA-Z_]"),Ze(c,F(t,r)))l=l+Zt(F(t,r));else break t;r=r+1|0}return new Dt(l,r-e|0)}function ly(t){return t.key}function uy(t,e,n){var r=vs().allSubClasses,a;t:{for(var o=r.h();o.i();){var s=o.j();if(ls(t,s.key,e)){a=s;break t}}a=null}var l=a,c;l==null?ue(t,e,"ConnectOperator"):c=l;var f=c;return new Dt(f,f.key.length)}function cy(t,e,n){var r=e;St(t,r,n,"number");for(var a="";r<z(t)&&Ze(n,F(t,r));)a=a+Zt(F(t,r)),r=r+1|0;var o;try{o=_m(a)}catch(l){var s;if(l instanceof Ei)ue(t,e,"valid format number");else throw l;o=s}return new Dt(o,r-e|0)}function fy(t,e,n){var r=e;St(t,r,n);var a=F(t,r),o;a===43?(r=r+1|0,o=1):a===45?(r=r+1|0,o=-1):o=1;var s=o;r=r+ot().yo_1.vo(t,r).xo_1|0,St(t,r,ot().cp_1.so_1+"n");var l;if(Ze(ot().cp_1.so_1,F(t,r))){var c=ot().cp_1.vo(t,r);r=r+c.xo_1|0,l=c.wo_1}else l=1;var f=Q(l,s);return r<z(t)&&F(t,r)===110?(r=r+1|0,new Dt(new Mn(1,f),r-e|0)):new Dt(new Mn(0,f),r-e|0)}function hy(t,e,n){var r=e;St(t,r,n);var a=jt();if(F(t,r)===40){for(r=r+1|0,r=r+ot().yo_1.vo(t,r).xo_1|0,St(t,r,ot().dp_1.so_1);F(t,r)!==41;){a.m()>0&&St(t,r,"+-");var o=ot().dp_1.vo(t,r);a.f(o),r=r+o.xo_1|0,r=r+ot().yo_1.vo(t,r).xo_1|0,r>=z(t)&&St(t,r,")")}r=r+1|0}else{var s=ot().dp_1.vo(t,r);a.f(s),r=r+s.xo_1|0}for(var l=Eh(),c=a.h();c.i();){var f=c.j(),h=f.wo_1,d=h.pc(),p=h.qc(),v=l.t1(d),_=(v==null?0:v)+p|0;l.u3(d,_)}for(var m=g_(l.m()),w=l.u1().h();w.i();){var b=w.j();b.q1()>1&&ue(t,e,"power must be 0 or 1");var q=b.r1();m.u3(dt,q)}var S;try{var g=l.t1(1),C=g==null?0:g,E=l.t1(0);S=new Bt(C,E==null?0:E)}catch(P){var k;if(P instanceof Sn)ue(t,e,"valid polynomialExpression");else throw P;S=k}var I=S;return new Dt(I,r-e|0)}function dy(t,e,n){var r=e;St(t,r,"("),r=r+1|0;for(var a=jt();r<z(t)&&F(t,r)!==41;){r=r+ot().yo_1.vo(t,r).xo_1|0;var o=ot().cp_1.vo(t,r);a.l()?o.wo_1<=0&&ue(t,r,"positive integer"):o.wo_1<=Sa(a)&&ue(t,r,">"+Sa(a)),r=r+o.xo_1|0,a.f(o.wo_1),r=r+ot().yo_1.vo(t,r).xo_1|0;var s=nn(t,r);R(s==null?null:new lt(s),new lt(44))&&(r=r+1|0,r=r+ot().yo_1.vo(t,r).xo_1|0,St(t,r,ot().cp_1.so_1+")"))}return St(t,r,")"),r=r+1|0,new Dt(new Me(a),r-e|0)}function vy(t,e,n){var r=e,a;if(ty(ot(),dn(t,e,z(t)))){var o=ot().fp_1.vo(t,r);r=r+o.xo_1|0,a=new Dt(o.wo_1,r-e|0)}else{var s=ot().ep_1.vo(t,e);r=r+s.xo_1|0,a=new Dt(s.wo_1,r-e|0)}return a}function py(t,e,n){var r=e,a=ot().bp_1.vo(t,r);r=r+a.xo_1|0;var o=null;r<z(t)&&Ze(ot().gp_1.so_1,F(t,r))&&(o=ot().gp_1.vo(t,r),r=r+o.xo_1|0);var s=o,l=s==null?null:s.wo_1;return new Dt(new ge(a.wo_1,l==null?new Bt:l),r-e|0)}function _y(t,e,n){var r=e;St(t,r,n);var a=F(t,r);r=r+1|0,r>=z(t)&&ue(t,r,"any char");var o="";t:for(;F(t,r)!==a;){if(r>=(z(t)-1|0)){St(t,r,Zt(a));break t}var s=F(t,r),l=Be(s);if(0<=l&&l<=31&&ue(t,r,"0-1f escape char"),F(t,r)===92){r=r+1|0,St(t,r);var c=o,f=F(t,r),h;if(f===92)h=92;else if(f===39)h=39;else if(f===34)h=34;else if(f===96)h=96;else if(f===110)h=10;else if(f===114)h=13;else if(f===116)h=9;else if(f===98)h=8;else if(f===120){var d=0;if(d<2)do d=d+1|0,r=r+1|0,St(t,r,"0123456789abcdefABCDEF");while(d<2);var p=(r-2|0)+1|0,v=r+1|0,_=U(dn(t,p,v));h=Aa(Oc(_,16))}else if(f===117){var m=0;if(m<4)do m=m+1|0,r=r+1|0,St(t,r,"0123456789abcdefABCDEF");while(m<4);var w=(r-4|0)+1|0,b=r+1|0,q=U(dn(t,w,b));h=Aa(Oc(q,16))}else ue(t,r,"escape char");o=c+Zt(h)}else o=o+Zt(F(t,r));r=r+1|0}return r=r+1|0,new Dt(o,r-e|0)}function my(t,e,n){var r=e;St(t,r,n);var a=Zt(F(t,r));for(r=r+1|0;r<z(t)&&Ze(ot().kp_1,F(t,r));)F(t,r)===46&&St(t,r+1|0,n),a=a+Zt(F(t,r)),r=r+1|0;return new Dt(a,r-e|0)}function gy(t,e,n){var r=e;St(t,r,n),r=r+1|0,r=r+ot().yo_1.vo(t,r).xo_1|0;var a=ot().sp(t,r);return r=r+a.a()|0,St(t,r,"]"),r=r+1|0,new Dt(a,r-e|0)}function yy(t,e,n){var r=e,a=!1,o=nn(t,r);R(o==null?null:new lt(o),new lt(64))&&(a=!0,r=r+1|0);var s=ot().ap_1.vo(t,r);r=r+s.xo_1|0;for(var l=jt();r<z(t)&&F(t,r)===91;){var c=ot().mp_1.vo(t,r);r=r+c.xo_1|0,l.f(c.wo_1)}return s.xo_1===0&&l.m()===0&&ue(t,r,"["),new Dt(new fe(a,s.wo_1,l),r-e|0)}function wy(t,e,n){var r=e;r=r+ot().yo_1.vo(t,r).xo_1|0;var a=ot().np_1.vo(t,r);r=r+a.xo_1|0;var o=jt();t:for(;r<z(t)&&Ze(ot().yo_1.so_1,F(t,r));){if(r=r+ot().zo_1.vo(t,r).xo_1|0,r>=z(t))break t;var s;if(Ze(ot().hp_1.so_1,F(t,r))){var l=ot().hp_1.vo(t,r);r=r+l.xo_1|0,r=r+ot().zo_1.vo(t,r).xo_1|0,s=l.wo_1}else s=new ge(u,new Bt(1,0));var c=s,f=ot().np_1.vo(t,r);r=r+f.xo_1|0,o.f(Dc(c,f.wo_1))}return new Dt(Dc(a.wo_1,o),r-e|0)}function by(t,e,n){return e!==z(t)&&ue(t,e,"EOF"),new Dt(dt,0)}function co(){jl=this;var t=this;t.yo_1=new Gt(` \r
|
|
257
|
+
`)]),Ot("empty","margin: auto;")]);var Hv=function(t,e,n,r){function a(o){return o instanceof n?o:new n(function(s){s(o)})}return new(n||(n=Promise))(function(o,s){function l(h){try{f(r.next(h))}catch(d){s(d)}}function c(h){try{f(r.throw(h))}catch(d){s(d)}}function f(h){h.done?o(h.value):a(h.value).then(l,c)}f((r=r.apply(t,[])).next())})};function _c(t,e,n,r){return{getIsGroup(){return!1},getKey(o){return o[t]},getChildren:r||(o=>o[e]),getDisabled(o){return!!(o[n]||o.checkboxDisabled)}}}const Wv={allowCheckingNotLoaded:Boolean,filter:Function,defaultExpandAll:Boolean,expandedKeys:Array,keyField:{type:String,default:"key"},labelField:{type:String,default:"label"},childrenField:{type:String,default:"children"},disabledField:{type:String,default:"disabled"},defaultExpandedKeys:{type:Array,default:()=>[]},indeterminateKeys:Array,renderSwitcherIcon:Function,onUpdateIndeterminateKeys:[Function,Array],"onUpdate:indeterminateKeys":[Function,Array],onUpdateExpandedKeys:[Function,Array],"onUpdate:expandedKeys":[Function,Array],overrideDefaultNodeClickBehavior:Function},Vv=Object.assign(Object.assign(Object.assign(Object.assign({},gi.props),{accordion:Boolean,showIrrelevantNodes:{type:Boolean,default:!0},data:{type:Array,default:()=>[]},expandOnDragenter:{type:Boolean,default:!0},expandOnClick:Boolean,checkOnClick:{type:[Boolean,Function],default:!1},cancelable:{type:Boolean,default:!0},checkable:Boolean,draggable:Boolean,blockNode:Boolean,blockLine:Boolean,showLine:Boolean,disabled:Boolean,checkedKeys:Array,defaultCheckedKeys:{type:Array,default:()=>[]},selectedKeys:Array,defaultSelectedKeys:{type:Array,default:()=>[]},multiple:Boolean,pattern:{type:String,default:""},onLoad:Function,cascade:Boolean,selectable:{type:Boolean,default:!0},scrollbarProps:Object,indent:{type:Number,default:24},allowDrop:{type:Function,default:Rv},animated:{type:Boolean,default:!0},checkboxPlacement:{type:String,default:"left"},virtualScroll:Boolean,watchProps:Array,renderLabel:Function,renderPrefix:Function,renderSuffix:Function,nodeProps:Function,keyboard:{type:Boolean,default:!0},getChildren:Function,onDragenter:[Function,Array],onDragleave:[Function,Array],onDragend:[Function,Array],onDragstart:[Function,Array],onDragover:[Function,Array],onDrop:[Function,Array],onUpdateCheckedKeys:[Function,Array],"onUpdate:checkedKeys":[Function,Array],onUpdateSelectedKeys:[Function,Array],"onUpdate:selectedKeys":[Function,Array]}),Wv),{internalTreeSelect:Boolean,internalScrollable:Boolean,internalScrollablePadding:String,internalRenderEmpty:Function,internalHighlightKeySet:Object,internalUnifySelectCheck:Boolean,internalCheckboxFocusable:{type:Boolean,default:!0},internalFocusable:{type:Boolean,default:!0},checkStrategy:{type:String,default:"all"},leafOnly:Boolean}),Qv=Nt({name:"Tree",props:Vv,setup(t){const{mergedClsPrefixRef:e,inlineThemeDisabled:n,mergedRtlRef:r}=Da(t),a=Fa("Tree",r,e),o=gi("Tree","-tree",Uv,$v,t,e),s=_e(null),l=_e(null),c=_e(null);function f(){var g;return(g=c.value)===null||g===void 0?void 0:g.listElRef}function h(){var g;return(g=c.value)===null||g===void 0?void 0:g.itemsElRef}const d=G(()=>{const{filter:g}=t;if(g)return g;const{labelField:A}=t;return(O,K)=>{if(!O.length)return!0;const V=K[A];return typeof V=="string"?V.toLowerCase().includes(O.toLowerCase()):!1}}),p=G(()=>{const{pattern:g}=t;return g?!g.length||!d.value?{filteredTree:t.data,highlightKeySet:null,expandedKeys:void 0}:Fv(t.data,d.value,g,t.keyField,t.childrenField):{filteredTree:t.data,highlightKeySet:null,expandedKeys:void 0}}),v=G(()=>lc(t.showIrrelevantNodes?t.data:p.value.filteredTree,_c(t.keyField,t.childrenField,t.disabledField,t.getChildren))),_=yi(yf,null),m=t.internalTreeSelect?_.dataTreeMate:G(()=>t.showIrrelevantNodes?v.value:lc(t.data,_c(t.keyField,t.childrenField,t.disabledField,t.getChildren))),{watchProps:w}=t,b=_e([]);w!=null&&w.includes("defaultCheckedKeys")?Nn(()=>{b.value=t.defaultCheckedKeys}):b.value=t.defaultCheckedKeys;const q=Ct(t,"checkedKeys"),S=ba(q,b),y=G(()=>m.value.getCheckedKeys(S.value,{cascade:t.cascade,allowNotLoaded:t.allowCheckingNotLoaded})),C=Bv(t),E=G(()=>y.value.checkedKeys),k=G(()=>{const{indeterminateKeys:g}=t;return g!==void 0?g:y.value.indeterminateKeys}),I=_e([]);w!=null&&w.includes("defaultSelectedKeys")?Nn(()=>{I.value=t.defaultSelectedKeys}):I.value=t.defaultSelectedKeys;const M=Ct(t,"selectedKeys"),j=ba(M,I),H=_e([]),W=g=>{H.value=t.defaultExpandAll?m.value.getNonLeafKeys():g===void 0?t.defaultExpandedKeys:g};w!=null&&w.includes("defaultExpandedKeys")?Nn(()=>{W(void 0)}):Nn(()=>{W(t.defaultExpandedKeys)});const Wt=Ct(t,"expandedKeys"),_t=ba(Wt,H),Rt=G(()=>v.value.getFlattenedNodes(_t.value)),{pendingNodeKeyRef:Lt,handleKeydown:ve}=Lv({props:t,mergedCheckedKeysRef:S,mergedSelectedKeysRef:j,fNodesRef:Rt,mergedExpandedKeysRef:_t,handleCheck:xs,handleSelect:Cs,handleSwitcherClick:Ju});let re=null,et=null;const Xe=_e(new Set),yt=G(()=>t.internalHighlightKeySet||p.value.highlightKeySet),En=ba(yt,Xe),B=_e(new Set),ft=G(()=>_t.value.filter(g=>!B.value.has(g)));let wt=0;const Kt=_e(null),pe=_e(null),Zn=_e(null),Xn=_e(null),tr=_e(0),ti=G(()=>{const{value:g}=pe;return g?g.parent:null});let ha=!1;Rr(Ct(t,"data"),()=>{ha=!0,Ui(()=>{ha=!1}),B.value.clear(),Lt.value=null,va()},{deep:!1});let da=!1;const ei=()=>{da=!0,Ui(()=>{da=!1})};let ni;Rr(Ct(t,"pattern"),(g,A)=>{if(t.showIrrelevantNodes)if(ni=void 0,g){const{expandedKeys:O,highlightKeySet:K}=Dv(t.data,t.pattern,t.keyField,t.childrenField,d.value);Xe.value=K,ei(),Ri(O,fn(O),{node:null,action:"filter"})}else Xe.value=new Set;else if(!g.length)ni!==void 0&&(ei(),Ri(ni,fn(ni),{node:null,action:"filter"}));else{A.length||(ni=_t.value);const{expandedKeys:O}=p.value;O!==void 0&&(ei(),Ri(O,fn(O),{node:null,action:"filter"}))}});function fo(g){return Hv(this,void 0,void 0,function*(){const{onLoad:A}=t;if(!A){yield Promise.resolve();return}const{value:O}=B;if(!O.has(g.key)){O.add(g.key);try{(yield A(g.rawNode))===!1&&Li()}catch(K){console.error(K),Li()}O.delete(g.key)}})}Nn(()=>{var g;const{value:A}=v;if(!A)return;const{getNode:O}=A;(g=_t.value)===null||g===void 0||g.forEach(K=>{const V=O(K);V&&!V.shallowLoaded&&fo(V)})});const Tr=_e(!1),On=_e([]);Rr(ft,(g,A)=>{if(!t.animated||da){Ui(Mi);return}if(ha)return;const O=pa(o.value.self.nodeHeight),K=new Set(A);let V=null,Vt=null;for(const At of g)if(!K.has(At)){if(V!==null)return;V=At}const tn=new Set(g);for(const At of A)if(!tn.has(At)){if(Vt!==null)return;Vt=At}if(V===null&&Vt===null)return;const{virtualScroll:hn}=t,ji=(hn?c.value.listElRef:s.value).offsetHeight,zi=Math.ceil(ji/O)+1;let yn;if(V!==null&&(yn=A),Vt!==null&&(yn===void 0?yn=g:yn=yn.filter(At=>At!==Vt)),Tr.value=!0,On.value=v.value.getFlattenedNodes(yn),V!==null){const At=On.value.findIndex(wn=>wn.key===V);if(~At){const wn=On.value[At].children;if(wn){const In=uc(wn,g);On.value.splice(At+1,0,{__motion:!0,mode:"expand",height:hn?In.length*O:void 0,nodes:hn?In.slice(0,zi):In})}}}if(Vt!==null){const At=On.value.findIndex(wn=>wn.key===Vt);if(~At){const wn=On.value[At].children;if(!wn)return;Tr.value=!0;const In=uc(wn,g);On.value.splice(At+1,0,{__motion:!0,mode:"collapse",height:hn?In.length*O:void 0,nodes:hn?In.slice(0,zi):In})}}});const ys=G(()=>H1(Rt.value)),ws=G(()=>Tr.value?On.value:Rt.value);function Mi(){const{value:g}=l;g&&g.sync()}function bs(){Tr.value=!1,t.virtualScroll&&Ui(Mi)}function fn(g){const{getNode:A}=m.value;return g.map(O=>{var K;return((K=A(O))===null||K===void 0?void 0:K.rawNode)||null})}function Ri(g,A,O){const{"onUpdate:expandedKeys":K,onUpdateExpandedKeys:V}=t;H.value=g,K&&Se(K,g,A,O),V&&Se(V,g,A,O)}function Gu(g,A,O){const{"onUpdate:checkedKeys":K,onUpdateCheckedKeys:V}=t;b.value=g,V&&Se(V,g,A,O),K&&Se(K,g,A,O)}function Kd(g,A){const{"onUpdate:indeterminateKeys":O,onUpdateIndeterminateKeys:K}=t;O&&Se(O,g,A),K&&Se(K,g,A)}function ks(g,A,O){const{"onUpdate:selectedKeys":K,onUpdateSelectedKeys:V}=t;I.value=g,V&&Se(V,g,A,O),K&&Se(K,g,A,O)}function Ud(g){const{onDragenter:A}=t;A&&Se(A,g)}function Hd(g){const{onDragleave:A}=t;A&&Se(A,g)}function Wd(g){const{onDragend:A}=t;A&&Se(A,g)}function Vd(g){const{onDragstart:A}=t;A&&Se(A,g)}function Qd(g){const{onDragover:A}=t;A&&Se(A,g)}function Gd(g){const{onDrop:A}=t;A&&Se(A,g)}function va(){Jd(),ri()}function Jd(){Kt.value=null}function ri(){tr.value=0,pe.value=null,Zn.value=null,Xn.value=null,Li()}function Li(){re&&(window.clearTimeout(re),re=null),et=null}function xs(g,A){if(t.disabled||Pr(g,t.disabledField))return;if(t.internalUnifySelectCheck&&!t.multiple){Cs(g);return}const O=A?"check":"uncheck",{checkedKeys:K,indeterminateKeys:V}=m.value[O](g.key,E.value,{cascade:t.cascade,checkStrategy:C.value,allowNotLoaded:t.allowCheckingNotLoaded});Gu(K,fn(K),{node:g.rawNode,action:O}),Kd(V,fn(V))}function Yd(g){if(t.disabled)return;const{key:A}=g,{value:O}=_t,K=O.findIndex(V=>V===A);if(~K){const V=Array.from(O);V.splice(K,1),Ri(V,fn(V),{node:g.rawNode,action:"collapse"})}else{const V=v.value.getNode(A);if(!V||V.isLeaf)return;let Vt;if(t.accordion){const tn=new Set(g.siblings.map(({key:hn})=>hn));Vt=O.filter(hn=>!tn.has(hn)),Vt.push(A)}else Vt=O.concat(A);Ri(Vt,fn(Vt),{node:g.rawNode,action:"expand"})}}function Ju(g){t.disabled||Tr.value||Yd(g)}function Cs(g){if(!(t.disabled||!t.selectable)){if(Lt.value=g.key,t.internalUnifySelectCheck){const{value:{checkedKeys:A,indeterminateKeys:O}}=y;t.multiple?xs(g,!(A.includes(g.key)||O.includes(g.key))):Gu([g.key],fn([g.key]),{node:g.rawNode,action:"check"})}if(t.multiple){const A=Array.from(j.value),O=A.findIndex(K=>K===g.key);~O?t.cancelable&&A.splice(O,1):~O||A.push(g.key),ks(A,fn(A),{node:g.rawNode,action:~O?"unselect":"select"})}else j.value.includes(g.key)?t.cancelable&&ks([],[],{node:g.rawNode,action:"unselect"}):ks([g.key],fn([g.key]),{node:g.rawNode,action:"select"})}}function Zd(g){if(re&&(window.clearTimeout(re),re=null),g.isLeaf)return;et=g.key;const A=()=>{if(et!==g.key)return;const{value:O}=Zn;if(O&&O.key===g.key&&!_t.value.includes(g.key)){const K=_t.value.concat(g.key);Ri(K,fn(K),{node:g.rawNode,action:"expand"})}re=null,et=null};g.shallowLoaded?re=window.setTimeout(()=>{A()},1e3):re=window.setTimeout(()=>{fo(g).then(()=>{A()})},1e3)}function Xd({event:g,node:A}){!t.draggable||t.disabled||Pr(A,t.disabledField)||(Yu({event:g,node:A},!1),Ud({event:g,node:A.rawNode}))}function t1({event:g,node:A}){!t.draggable||t.disabled||Pr(A,t.disabledField)||Hd({event:g,node:A.rawNode})}function e1(g){g.target===g.currentTarget&&ri()}function n1({event:g,node:A}){va(),!(!t.draggable||t.disabled||Pr(A,t.disabledField))&&Wd({event:g,node:A.rawNode})}function r1({event:g,node:A}){!t.draggable||t.disabled||Pr(A,t.disabledField)||(wt=g.clientX,Kt.value=A,Vd({event:g,node:A.rawNode}))}function Yu({event:g,node:A},O=!0){var K;if(!t.draggable||t.disabled||Pr(A,t.disabledField))return;const{value:V}=Kt;if(!V)return;const{allowDrop:Vt,indent:tn}=t;O&&Qd({event:g,node:A.rawNode});const hn=g.currentTarget,{height:ji,top:zi}=hn.getBoundingClientRect(),yn=g.clientY-zi;let At;Vt({node:A.rawNode,dropPosition:"inside",phase:"drag"})?yn<=8?At="before":yn>=ji-8?At="after":At="inside":yn<=ji/2?At="before":At="after";const{value:In}=ys;let Et,Ne;const Bi=In(A.key);if(Bi===null){ri();return}let ho=!1;At==="inside"?(Et=A,Ne="inside"):At==="before"?A.isFirstChild?(Et=A,Ne="before"):(Et=Rt.value[Bi-1],Ne="after"):(Et=A,Ne="after"),!Et.isLeaf&&_t.value.includes(Et.key)&&(ho=!0,Ne==="after"&&(Et=Rt.value[Bi+1],Et?Ne="before":(Et=A,Ne="inside")));const Xu=Et;if(Zn.value=Xu,!ho&&V.isLastChild&&V.key===Et.key&&(Ne="after"),Ne==="after"){let tc=wt-g.clientX,Ss=0;for(;tc>=tn/2&&Et.parent!==null&&Et.isLastChild&&Ss<1;)tc-=tn,Ss+=1,Et=Et.parent;tr.value=Ss}else tr.value=0;if((V.contains(Et)||Ne==="inside"&&((K=V.parent)===null||K===void 0?void 0:K.key)===Et.key)&&!(V.key===Xu.key&&V.key===Et.key)){ri();return}if(!Vt({node:Et.rawNode,dropPosition:Ne,phase:"drag"})){ri();return}if(V.key===Et.key)Li();else if(et!==Et.key)if(Ne==="inside"){if(t.expandOnDragenter){if(Zd(Et),!Et.shallowLoaded&&et!==Et.key){va();return}}else if(!Et.shallowLoaded){va();return}}else Li();else Ne!=="inside"&&Li();Xn.value=Ne,pe.value=Et}function i1({event:g,node:A,dropPosition:O}){if(!t.draggable||t.disabled||Pr(A,t.disabledField))return;const{value:K}=Kt,{value:V}=pe,{value:Vt}=Xn;if(!(!K||!V||!Vt)&&t.allowDrop({node:V.rawNode,dropPosition:Vt,phase:"drag"})&&K.key!==V.key){if(Vt==="before"){const tn=K.getNext({includeDisabled:!0});if(tn&&tn.key===V.key){ri();return}}if(Vt==="after"){const tn=K.getPrev({includeDisabled:!0});if(tn&&tn.key===V.key){ri();return}}Gd({event:g,node:V.rawNode,dragNode:K.rawNode,dropPosition:O}),va()}}function a1(){Mi()}function o1(){Mi()}function s1(g){var A;if(t.virtualScroll||t.internalScrollable){const{value:O}=l;if(!((A=O==null?void 0:O.containerRef)===null||A===void 0)&&A.contains(g.relatedTarget))return;Lt.value=null}else{const{value:O}=s;if(O!=null&&O.contains(g.relatedTarget))return;Lt.value=null}}Rr(Lt,g=>{var A,O;if(g!==null){if(t.virtualScroll)(A=c.value)===null||A===void 0||A.scrollTo({key:g});else if(t.internalScrollable){const{value:K}=l;if(K===null)return;const V=(O=K.contentRef)===null||O===void 0?void 0:O.querySelector(`[data-key="${_f(g)}"]`);if(!V)return;K.scrollTo({el:V})}}}),zl(Ua,{loadingKeysRef:B,highlightKeySetRef:En,displayedCheckedKeysRef:E,displayedIndeterminateKeysRef:k,mergedSelectedKeysRef:j,mergedExpandedKeysRef:_t,mergedThemeRef:o,mergedCheckStrategyRef:C,nodePropsRef:Ct(t,"nodeProps"),disabledRef:Ct(t,"disabled"),checkableRef:Ct(t,"checkable"),selectableRef:Ct(t,"selectable"),expandOnClickRef:Ct(t,"expandOnClick"),onLoadRef:Ct(t,"onLoad"),draggableRef:Ct(t,"draggable"),blockLineRef:Ct(t,"blockLine"),indentRef:Ct(t,"indent"),cascadeRef:Ct(t,"cascade"),checkOnClickRef:Ct(t,"checkOnClick"),checkboxPlacementRef:t.checkboxPlacement,droppingMouseNodeRef:Zn,droppingNodeParentRef:ti,draggingNodeRef:Kt,droppingPositionRef:Xn,droppingOffsetLevelRef:tr,fNodesRef:Rt,pendingNodeKeyRef:Lt,showLineRef:Ct(t,"showLine"),disabledFieldRef:Ct(t,"disabledField"),internalScrollableRef:Ct(t,"internalScrollable"),internalCheckboxFocusableRef:Ct(t,"internalCheckboxFocusable"),internalTreeSelect:t.internalTreeSelect,renderLabelRef:Ct(t,"renderLabel"),renderPrefixRef:Ct(t,"renderPrefix"),renderSuffixRef:Ct(t,"renderSuffix"),renderSwitcherIconRef:Ct(t,"renderSwitcherIcon"),labelFieldRef:Ct(t,"labelField"),multipleRef:Ct(t,"multiple"),overrideDefaultNodeClickBehaviorRef:Ct(t,"overrideDefaultNodeClickBehavior"),handleSwitcherClick:Ju,handleDragEnd:n1,handleDragEnter:Xd,handleDragLeave:t1,handleDragStart:r1,handleDrop:i1,handleDragOver:Yu,handleSelect:Cs,handleCheck:xs});function l1(g,A){var O,K;typeof g=="number"?(O=c.value)===null||O===void 0||O.scrollTo(g,A||0):(K=c.value)===null||K===void 0||K.scrollTo(g)}const u1={handleKeydown:ve,scrollTo:l1,getCheckedData:()=>{if(!t.checkable)return{keys:[],options:[]};const{checkedKeys:g}=y.value;return{keys:g,options:fn(g)}},getIndeterminateData:()=>{if(!t.checkable)return{keys:[],options:[]};const{indeterminateKeys:g}=y.value;return{keys:g,options:fn(g)}}},Zu=G(()=>{const{common:{cubicBezierEaseInOut:g},self:{fontSize:A,nodeBorderRadius:O,nodeColorHover:K,nodeColorPressed:V,nodeColorActive:Vt,arrowColor:tn,loadingColor:hn,nodeTextColor:ji,nodeTextColorDisabled:zi,dropMarkColor:yn,nodeWrapperPadding:At,nodeHeight:wn,lineHeight:In,lineColor:Et}}=o.value,Ne=Is(At,"top"),Bi=Is(At,"bottom"),ho=of(pa(wn)-pa(Ne)-pa(Bi));return{"--n-arrow-color":tn,"--n-loading-color":hn,"--n-bezier":g,"--n-font-size":A,"--n-node-border-radius":O,"--n-node-color-active":Vt,"--n-node-color-hover":K,"--n-node-color-pressed":V,"--n-node-text-color":ji,"--n-node-text-color-disabled":zi,"--n-drop-mark-color":yn,"--n-node-wrapper-padding":At,"--n-line-offset-top":`-${Ne}`,"--n-line-offset-bottom":`-${Bi}`,"--n-node-content-height":ho,"--n-line-height":In,"--n-line-color":Et}}),Oi=n?Dl("tree",void 0,Zu,t):void 0;return Object.assign(Object.assign({},u1),{mergedClsPrefix:e,mergedTheme:o,rtlEnabled:a,fNodes:ws,aip:Tr,selfElRef:s,virtualListInstRef:c,scrollbarInstRef:l,handleFocusout:s1,handleDragLeaveTree:e1,handleScroll:a1,getScrollContainer:f,getScrollContent:h,handleAfterEnter:bs,handleResize:o1,cssVars:n?void 0:Zu,themeClass:Oi==null?void 0:Oi.themeClass,onRender:Oi==null?void 0:Oi.onRender})},render(){var t;const{fNodes:e,internalRenderEmpty:n}=this;if(!e.length&&n)return n();const{mergedClsPrefix:r,blockNode:a,blockLine:o,draggable:s,disabled:l,internalFocusable:c,checkable:f,handleKeydown:h,rtlEnabled:d,handleFocusout:p,scrollbarProps:v}=this,_=c&&!l,m=_?"0":void 0,w=[`${r}-tree`,d&&`${r}-tree--rtl`,f&&`${r}-tree--checkable`,(o||a)&&`${r}-tree--block-node`,o&&`${r}-tree--block-line`],b=S=>"__motion"in S?D(Kv,{height:S.height,nodes:S.nodes,clsPrefix:r,mode:S.mode,onAfterEnter:this.handleAfterEnter}):D(bf,{key:S.key,tmNode:S,clsPrefix:r});if(this.virtualScroll){const{mergedTheme:S,internalScrollablePadding:y}=this,C=Is(y||"0");return D(rc,Object.assign({},v,{ref:"scrollbarInstRef",onDragleave:s?this.handleDragLeaveTree:void 0,container:this.getScrollContainer,content:this.getScrollContent,class:w,theme:S.peers.Scrollbar,themeOverrides:S.peerOverrides.Scrollbar,tabindex:m,onKeydown:_?h:void 0,onFocusout:_?p:void 0}),{default:()=>{var E;return(E=this.onRender)===null||E===void 0||E.call(this),e.length?D(W1,{ref:"virtualListInstRef",items:this.fNodes,itemSize:pa(S.self.nodeHeight),ignoreItemResize:this.aip,paddingTop:C.top,paddingBottom:C.bottom,class:this.themeClass,style:[this.cssVars,{paddingLeft:C.left,paddingRight:C.right}],onScroll:this.handleScroll,onResize:this.handleResize,showScrollbar:!1,itemResizable:!0},{default:({item:k})=>b(k)}):nc(this.$slots.empty,()=>[D(cc,{class:`${r}-tree__empty`,theme:this.mergedTheme.peers.Empty,themeOverrides:this.mergedTheme.peerOverrides.Empty})])}})}const{internalScrollable:q}=this;return w.push(this.themeClass),(t=this.onRender)===null||t===void 0||t.call(this),q?D(rc,Object.assign({},v,{class:w,tabindex:m,onKeydown:_?h:void 0,onFocusout:_?p:void 0,style:this.cssVars,contentStyle:{padding:this.internalScrollablePadding}}),{default:()=>D("div",{onDragleave:s?this.handleDragLeaveTree:void 0,ref:"selfElRef"},this.fNodes.map(b))}):D("div",{class:w,tabindex:m,ref:"selfElRef",style:this.cssVars,onKeydown:_?h:void 0,onFocusout:_?p:void 0,onDragleave:s?this.handleDragLeaveTree:void 0},e.length?e.map(b):nc(this.$slots.empty,()=>[D(cc,{class:`${r}-tree__empty`,theme:this.mergedTheme.peers.Empty,themeOverrides:this.mergedTheme.peerOverrides.Empty})]))}}),Gv={class:"gkd_code py-2px px-4px rounded-2px bg-[#eee]"},Jv=Nt({__name:"TrackDlg",props:{track:{},onUpdateTrack:{type:Function,default:To}},setup(t){const e=(()=>{const a=()=>N1(()=>import("./TrackGraph-Cc_tR2Oe.js"),__vite__mapDeps([0,1,2,3,4]),import.meta.url);return setTimeout(a,1e3),q1(a)})(),n=t,r=Tt(!1);return Nn(()=>{n.track&&(r.value=!0)}),(a,o)=>{const s=Yi,l=A1;return lt(),be(l,{show:$(r),"onUpdate:show":o[0]||(o[0]=c=>ii(r)?r.value=c:null),preset:"dialog",title:"选择器路径视图",class:"min-w-[calc(var(--gkd-w)*0.4)]",onAfterLeave:o[1]||(o[1]=c=>a.onUpdateTrack())},{icon:T(()=>[L(s,null,{default:T(()=>o[2]||(o[2]=[P("svg",{viewBox:"0 0 24 24"},[P("path",{fill:"currentColor",d:"M5 21V8.825Q4.125 8.5 3.563 7.738T3 6q0-1.25.875-2.125T6 3q1.25 0 2.125.875T9 6q0 .975-.562 1.738T7 8.825V19h4V3h8v12.175q.875.325 1.438 1.088T21 18q0 1.25-.875 2.125T18 21q-1.25 0-2.125-.875T15 18q0-.975.563-1.75T17 15.175V5h-4v16zM6 7q.425 0 .713-.288T7 6q0-.425-.288-.712T6 5q-.425 0-.712.288T5 6q0 .425.288.713T6 7m12 12q.425 0 .713-.288T19 18q0-.425-.288-.712T18 17q-.425 0-.712.288T17 18q0 .425.288.713T18 19m0-1"})],-1)])),_:1})]),default:T(()=>[a.track?(lt(),me(ar,{key:0},[P("div",Gv,gt(a.track.selector.toString()),1),L($(e),{track:a.track},null,8,["track"]),o[3]||(o[3]=P("div",{"opacity-75":"","text-12px":""},"*为简化视图已隐藏部分节点",-1))],64)):Be("",!0)]),_:1},8,["show"])}}}),mc=t=>{const e=Tt(),n={x:0,y:0},r=Kl({...n});let a;const o=h=>{a&&h.preventDefault()},s=h=>{a=h,n.x=r.x,n.y=r.y},l=h=>{if(!a||!e.value)return;const d=h.clientX-a.clientX,p=h.clientY-a.clientY;t(d)&&(r.x=n.x+d),r.y=n.y+p},c=()=>{a=void 0},f=()=>{if(!e.value||!a)return;c();const{top:h,bottom:d,left:p,right:v}=e.value.getBoundingClientRect();(v<0||p>window.innerWidth||d<0||h>window.innerHeight)&&(r.x=n.x,r.y=n.y)};return Ao(()=>{window.addEventListener("pointermove",l),window.addEventListener("pointerup",f),document.addEventListener("selectstart",o)}),go(()=>{window.removeEventListener("pointermove",l),window.removeEventListener("pointerup",f),document.removeEventListener("selectstart",o),c()}),Rr(e,(h,d)=>{h&&(h.addEventListener("pointerdown",s),h.addEventListener("pointerup",c)),d&&(d.removeEventListener("pointerdown",s),d.removeEventListener("pointerup",c))}),go(()=>{e.value&&(e.value.removeEventListener("pointerdown",s),e.value.removeEventListener("pointerup",c))}),{target:e,offset:r}};let _a=1e3;const Yv=()=>{_a++;const t=Tt(_a);return{zIndex:t,setTop:()=>{t.value!==_a&&(_a++,t.value=_a)}}},gc="transition-top,bottom,left,right-500",Po=Nt({__name:"DraggableCard",props:{initialValue:{default:()=>({})},minWidth:{},sizeDraggable:{type:Boolean},show:{type:Boolean,default:!0},class:{}},setup(t){var C,E;const e=t,n=e.initialValue.left!==void 0,r=e.initialValue.top!==void 0,a={x:(C=n?e.initialValue.left:e.initialValue.right)!=null?C:0,y:(E=r?e.initialValue.top:e.initialValue.bottom)!=null?E:0},o=mc(k=>{const I=(e.initialValue.width||0)+s.offset.x+-o.offset.x-k;return(e.minWidth||0)<I}),s=mc(k=>{const I=(e.initialValue.width||0)+s.offset.x+k-o.offset.x;return(e.minWidth||0)<I}),l=Kl({...a}),c=G(()=>{const k=(e.initialValue.width||0)+s.offset.x-o.offset.x,I=e.initialValue.width?`width:${k}px;`:"",M=r?`top:${l.y}px;`:`bottom:${l.y}px;`;return n?`left:${l.x-o.offset.x}px;`+M+I:`right:${l.x-s.offset.x}px;`+M+I});let f;const h=Tt(!1),d=k=>{f=k,a.x=l.x,a.y=l.y,h.value=!1},p=k=>{if(!m.value||!f)return;const I=k.clientX-f.clientX,M=k.clientY-f.clientY;l.x=a.x+(n?I:-I),l.y=a.y+(r?M:-M),h.value=!0},v=()=>{f=void 0},_=Tt(),m=Tt(),w=k=>{f&&k.preventDefault()},b=()=>{if(!m.value||!f)return;v();const{top:k,bottom:I,left:M,right:j}=m.value.getBoundingClientRect();if(j<0||M>window.innerWidth||I<0||k>window.innerHeight){l.x=a.x,l.y=a.y;const H=_.value;H&&(H.classList.add(gc),setTimeout(()=>{H.classList.remove(gc)},550))}};Ao(()=>{window.addEventListener("pointermove",p),window.addEventListener("pointerup",b),document.addEventListener("selectstart",w)}),go(()=>{window.removeEventListener("pointermove",p),window.removeEventListener("pointerup",b),document.removeEventListener("selectstart",w),v()}),Rr(m,(k,I)=>{k&&(k.addEventListener("pointerdown",d),k.addEventListener("pointerup",v)),I&&(I.removeEventListener("pointerdown",d),I.removeEventListener("pointerup",v))}),go(()=>{m.value&&(m.value.removeEventListener("pointerdown",d),m.value.removeEventListener("pointerup",v))});const q=k=>{k instanceof HTMLElement?m.value=k:m.value=void 0},{setTop:S,zIndex:y}=Yv();return Rr(()=>e.show,()=>{e.show&&S()}),(k,I)=>(lt(),be(sf,{to:"body"},[k.show?(lt(),me("div",{key:0,fixed:"",ref_key:"box",ref:_,class:yo(["DraggableCard",e.class]),style:Ur([$(c),{zIndex:$(y)}]),onMousedown:I[0]||(I[0]=(...M)=>$(S)&&$(S)(...M))},[T1(k.$slots,"default",{onRef:q,moved:$(h)}),k.sizeDraggable?(lt(),me(ar,{key:0},[P("div",{ref:$(o).target,absolute:"","right-full":"","top-0":"","bottom-0":"","w-5px":"","cursor-ew-resize":""},null,512),P("div",{ref:$(s).target,absolute:"","left-full":"","top-0":"","bottom-0":"","w-5px":"","cursor-ew-resize":""},null,512)],64)):Be("",!0)],38)):Be("",!0)]))}}),Zv=async t=>fetch("https://detect.gkd.li/api/getImportId?id="+t).then(e=>e.json()).catch(()=>0),bi=P1("snapshot",()=>{const t=lf(),e=uf(),n=cf(),r=ff(),{snapshotImportId:a,snapshotImageId:o,importSnapshotId:s}=r,l=Tt();ic(()=>t.params.snapshotId,H=>{l.value=M1(H)});const c=G(()=>{if(l.value)return a[l.value]}),f=G(()=>{if(l.value)return o[l.value]}),h=Tt();Nn(()=>{h.value&&(document.title="快照-"+(zn(h.value).name||h.value.appId))});const d=Tt(),p=G(()=>{if(d.value)return URL.createObjectURL(new Blob([d.value],{type:"image/png"}))}),v=Tt(!1),_=V1(async H=>{if(v.value=!1,!H){h.value=void 0,d.value=void 0;return}if(await Promise.all([av.getItem(H).then(W=>{h.value=W||void 0}),ov.getItem(H).then(W=>{d.value=W||void 0})]),!h.value){const W=a[H]||await Zv(H);if(W&&Number.isSafeInteger(W)){v.value=!0,e.replace({path:"/i/"+W,query:t.query});return}}}),m=G(()=>_.loading);ic(()=>l.value,_.invoke),Nn(()=>{c.value&&r.inited&&!s[c.value]&&l.value&&(s[c.value]=l.value,fetch("https://detect.gkd.li/api/detectSnapshot?importId="+c.value))});const w=G(()=>sv()&&n.inited&&n.autoUploadImport&&r.inited);Nn(()=>{w.value&&h.value&&!f.value&&ev(h.value),w.value&&h.value&&!c.value&&nv(h.value),w.value&&h.value&&c.value&&rv(h.value.id,c.value)});const b=G(()=>h.value&&n.inited?h.value.nodes.length<=n.maxShowNodeSize?structuredClone(h.value.nodes):structuredClone(h.value.nodes.slice(0,n.maxShowNodeSize)):[]),q=G(()=>{if(b.value.length)return Q1(b.value)}),S=G(()=>h.value?h.value.nodes.length-n.maxShowNodeSize:0),y=Tt(),C=Tt(0),E=Tt(),k=Tt(),I=async H=>{y.value=H,C.value=Date.now(),await Ui(),k.value&&!k.value.includes(H)&&(E.value=void 0,k.value=void 0)};Nn(()=>{q.value&&I(q.value)});const M=H=>{E.value=H;const W=G1(b.value,E.value);W.length&&I(W[0]),W.length>1&&(k.value=W)},j=Tt();return{snapshotId:l,snapshot:h,rootNode:q,screenshotUrl:p,loading:m,redirected:v,importId:c,imageId:f,focusNode:y,updateFocusNode:I,focusTime:C,overlapNodes:k,missNodeSize:S,focusPosition:E,updatePosition:M,track:j}}),Xv={absolute:"","top-0":"","right-0":"","pt-4px":"","pr-8px":""},tp={key:0,flex:"","justify-between":"","items-center":""},ep={key:0,viewBox:"0 0 28 28"},np={key:1,viewBox:"0 0 1024 1024"},rp={flex:"","items-center":"","h-24px":"","px-2px":""},ip={"max-w-500px":""},ap=Nt({__name:"AttrCard",props:{show:{type:Boolean},onUpdateShow:{type:Function,default:To}},setup(t){const{focusNode:e}=wi(bi()),n=G(()=>{const s=e.value;return s?{_id:{desc:"虚拟属性(真机不可用):生成快照访问节点顺序",type:"info",show:!0},_pid:{desc:"虚拟属性(真机不可用):父节点的 _id",type:"info",show:!0},_selector:{desc:"自动生成的选择器, 点击“_selector”可直接复制内容, 用于定位",type:"info",show:!0},depth:{desc:"使用此属性在某些应用上可能造成无限节点错误",type:"info",show:!0},id:{desc:"可快速查找",type:"quickFind",show:!!((s.quickFind||s.idQf)&&s.attr.id)},vid:{desc:"可快速查找",type:"quickFind",show:!!((s.quickFind||s.idQf)&&s.attr.vid)},text:{desc:"可快速查找",type:"quickFind",show:!!((s.quickFind||s.textQf)&&s.attr.text)}}:{}}),r=["text","desc"],a=G(()=>e.value?Object.entries(e.value.attr).map(([s,l])=>{var f,h,d;const c={name:s,value:l,desc:JSON.stringify(l),tip:(f=n.value[s])!=null&&f.show?n.value[s]:void 0};return r.includes(s)?[c,{name:s+".length",value:(h=l==null?void 0:l.length)!=null?h:null,desc:JSON.stringify((d=l==null?void 0:l.length)!=null?d:null),tip:void 0}]:c}).flat():[]),o=G(()=>e.value?J1(e.value):"");return(s,l)=>{const c=Yi,f=Ka,h=Ul,d=Pv,p=Y1,v=Mv,_=Tv,m=Av;return lt(),be(Po,{initialValue:{top:40,right:10},class:"box-shadow-dim",show:s.show&&!!$(e)},{default:T(({onRef:w})=>[P("div",Xv,[L(f,{onClick:l[0]||(l[0]=b=>s.onUpdateShow(!s.show)),text:"",title:"最小化"},{icon:T(()=>[L(c,null,{default:T(()=>l[2]||(l[2]=[P("svg",{viewBox:"0 0 24 24"},[P("path",{fill:"currentColor",d:"M6 13v-2h12v2z"})],-1)])),_:1})]),_:1})]),$(e)?(lt(),be(m,{key:0,size:"small",striped:"",singleLine:!1,class:"gkd_code",themeOverrides:{thPaddingSmall:"1px 3px",tdPaddingSmall:"0px 3px"}},{default:T(()=>[P("thead",null,[P("tr",{ref:w,"cursor-move":""},l[3]||(l[3]=[P("th",null,"Name",-1),P("th",null,"Value",-1)]),512)]),L(_,null,{default:T(()=>[(lt(!0),me(ar,null,xa($(a),b=>(lt(),be(v,{key:b.name},{default:T(()=>[L(d,{onClick:q=>$(Dn)(`${b.name}=${b.desc}`)},{default:T(()=>[b.tip?(lt(),me("div",tp,[P("div",null,gt(b.name),1),L(h,null,{trigger:T(()=>[L(c,{size:"16"},{default:T(()=>[b.tip.type=="info"?(lt(),me("svg",ep,l[4]||(l[4]=[P("path",{d:"M15 8a1 1 0 1 1-2 0a1 1 0 0 1 2 0zm-1.75 3.75v7.5a.75.75 0 0 0 1.5 0v-7.5a.75.75 0 0 0-1.5 0zM2 14C2 7.373 7.373 2 14 2s12 5.373 12 12s-5.373 12-12 12S2 20.627 2 14zM14 3.5C8.201 3.5 3.5 8.201 3.5 14S8.201 24.5 14 24.5S24.5 19.799 24.5 14S19.799 3.5 14 3.5z",fill:"currentColor"},null,-1)]))):b.tip.type=="quickFind"?(lt(),me("svg",np,l[5]||(l[5]=[P("path",{d:"M722.500267 330.888533l-273.408 273.408-147.729067-147.729066a42.018133 42.018133 0 1 0-59.426133 59.426133l177.425066 177.493333a41.984 41.984 0 0 0 59.426134 0L781.9264 390.314667a42.001067 42.001067 0 0 0-59.392-59.426134h-0.034133zM78.506667 783.496533a508.279467 508.279467 0 0 0 319.0784 226.986667C530.773333 1041.066667 667.886933 1017.924267 783.701333 945.390933a508.279467 508.279467 0 0 0 226.986667-319.0784 508.279467 508.279467 0 0 0-65.058133-386.116266C848.554667 85.367467 681.710933 0.341333 511.214933 0.341333a508.6208 508.6208 0 0 0-270.813866 77.960534A36.864 36.864 0 0 0 279.552 140.629333C484.113067 12.288 755.029333 74.581333 883.268267 279.278933a434.9952 434.9952 0 0 1 55.739733 330.5472 435.029333 435.029333 0 0 1-194.3552 273.134934 435.746133 435.746133 0 0 1-330.581333 55.773866A435.165867 435.165867 0 0 1 140.936533 744.379733a436.770133 436.770133 0 0 1-5.666133-456.055466 36.829867 36.829867 0 0 0-63.317333-37.546667A510.1568 510.1568 0 0 0 78.506667 783.530667v-0.034134z",fill:"currentColor"},null,-1)]))):Be("",!0)]),_:2},1024)]),default:T(()=>[zt(" "+gt(b.tip.desc),1)]),_:2},1024)])):(lt(),me(ar,{key:1},[zt(gt(b.name),1)],64))]),_:2},1032,["onClick"]),L(d,null,{default:T(()=>[L(p,{class:yo(["w-[calc(var(--gkd-w)*0.12)]",{"text-left direction-rtl":b.name=="id","opacity-50":b.value===null}])},{default:T(()=>[zt(gt(b.desc),1)]),_:2},1032,["class"])]),_:2},1024)]),_:2},1024))),128)),L(v,null,{default:T(()=>[L(d,{colspan:"2"},{default:T(()=>[P("div",rp,[L(h,null,{trigger:T(()=>[L(f,{text:"",onClick:l[1]||(l[1]=b=>$(Dn)($(o)))},{icon:T(()=>[L(c,{size:"20"},{default:T(()=>l[6]||(l[6]=[P("svg",{viewBox:"0 0 24 24"},[P("path",{fill:"currentColor",d:"M5 21V8.825Q4.125 8.5 3.563 7.738T3 6q0-1.25.875-2.125T6 3q1.25 0 2.125.875T9 6q0 .975-.562 1.738T7 8.825V19h4V3h8v12.175q.875.325 1.438 1.088T21 18q0 1.25-.875 2.125T18 21q-1.25 0-2.125-.875T15 18q0-.975.563-1.75T17 15.175V5h-4v16zM6 7q.425 0 .713-.288T7 6q0-.425-.288-.712T6 5q-.425 0-.712.288T5 6q0 .425.288.713T6 7m12 12q.425 0 .713-.288T19 18q0-.425-.288-.712T18 17q-.425 0-.712.288T17 18q0 .425.288.713T18 19m0-1"})],-1)])),_:1})]),_:1})]),default:T(()=>[P("div",ip,gt($(o)),1)]),_:1})])]),_:1})]),_:1})]),_:1})]),_:2},1024)):Be("",!0)]),_:1},8,["show"])}}}),op={bg:"#eee","px-2px":""},sp=Nt({__name:"OverlapCard",setup(t){const e=bi(),{focusNode:n,overlapNodes:r,focusPosition:a}=wi(e),s=document.documentElement.scrollWidth/100*25.5;return(l,c)=>{const f=Ka,h=hf,d=R1;return lt(),be(Po,{initialValue:{top:215,left:s},class:"box-shadow-dim w-420px",show:!!($(r)&&$(a))},{default:T(({onRef:p})=>[$(r)&&$(a)?(lt(),be(d,{key:0,size:"small",closable:"",onClose:c[0]||(c[0]=v=>r.value=void 0)},{header:T(()=>[P("div",{ref:p,"cursor-move":""},[c[1]||(c[1]=zt(" 位置 ")),P("span",op,gt(`${$(a).x.toFixed(0)},${$(a).y.toFixed()}`),1),zt(" 存在 "+gt($(r).length)+" 个层叠节点 ",1)],512)]),default:T(()=>[L(h,{style:{"max-height":"400px","overflow-y":"scroll","padding-bottom":"10px"},class:"scrollbar-hidden"},{default:T(()=>[(lt(!0),me(ar,null,xa($(r),v=>(lt(),be(f,{key:v.id,onClick:_=>$(e).updateFocusNode(v),size:"small",style:Ur($(Ca)(v,$(n)))},{default:T(()=>[zt(gt($(Wi)(v)),1)]),_:2},1032,["onClick","style"]))),128))]),_:1})]),_:2},1024)):Be("",!0)]),_:1},8,["initialValue","show"])}}});typeof Math.imul>"u"&&(Math.imul=function(e,n){return(e&4294901760)*(n&65535)+(e&65535)*(n|0)|0});typeof ArrayBuffer.isView>"u"&&(ArrayBuffer.isView=function(t){return t!=null&&t.__proto__!=null&&t.__proto__.__proto__===Int8Array.prototype.__proto__});typeof Array.prototype.fill>"u"&&Object.defineProperty(Array.prototype,"fill",{value:function(t){if(this==null)throw new TypeError("this is null or not defined");for(var e=Object(this),n=e.length>>>0,r=arguments[1],a=r>>0,o=a<0?Math.max(n+a,0):Math.min(a,n),s=arguments[2],l=s===void 0?n:s>>0,c=l<0?Math.max(n+l,0):Math.min(l,n);o<c;)e[o]=t,o++;return e}});[Int8Array,Int16Array,Uint16Array,Int32Array,Float32Array,Float64Array].forEach(function(t){typeof t.prototype.fill>"u"&&Object.defineProperty(t.prototype,"fill",{value:Array.prototype.fill})});typeof Math.clz32>"u"&&(Math.clz32=function(t,e){return function(n){var r=n>>>0;return r===0?32:31-(t(r)/e|0)|0}}(Math.log,Math.LN2));typeof String.prototype.startsWith>"u"&&Object.defineProperty(String.prototype,"startsWith",{value:function(t,e){return e=e||0,this.lastIndexOf(t,e)===e}});typeof String.prototype.endsWith>"u"&&Object.defineProperty(String.prototype,"endsWith",{value:function(t,e){var n=this.toString();(e===void 0||e>n.length)&&(e=n.length),e-=t.length;var r=n.indexOf(t,e);return r!==-1&&r===e}});var xt=Math.imul,lp=ArrayBuffer.isView,kf=Math.clz32;He(Hl,"CharSequence");He(Ha,"Comparable");x(bo,"Number");ct(Wl,"Unit");x(Gl);x(Zl);xe(Pf);x(ut,"Char",u,u,[Ha]);He(Pt,"Collection");function xf(){return Qp(this)}He(Gn,"List",u,u,[Pt]);He(wr,"Entry");He(br,"Map");He(Qr,"Set",u,u,[Pt]);xe(Lp);x(kr,"Enum",u,u,[Ha]);xe(Mf);x(mt,"Long",u,bo,[bo,Ha]);x(Mo);x(Hs,"JsArrayView",Hs,Array);ct(hh,"Digit");x(Cr,"AbstractCollection",u,u,[Pt]);x(Hn,"AbstractMutableCollection",u,Cr,[Cr,Pt]);x(ki,"IteratorImpl");x(Ga,"ListIteratorImpl",u,ki);x(ke,"AbstractMutableList",u,Hn,[Hn,Gn,Pt]);x(Ar,"SubList",u,ke);x(xn,"AbstractMap",u,u,[br]);x(So,"AbstractMutableMap",u,xn,[xn,br]);x(xr,"AbstractMutableSet",u,Hn,[Hn,Qr,Pt]);xe(_h);x(ee,"ArrayList",jt,ke,[ke,Gn,Pt]);x(Wn,"HashMap",Z0,So,[So,br]);x(Cn,"HashMapEntrySetBase",u,xr,[Qr,Pt,xr]);x(su,"HashMapEntrySet",u,Cn);x(Mn,"HashSet",e_,xr,[xr,Qr,Pt]);xe($h);x(Gr,"Itr");x(vu,"KeysItr",u,Gr);x(Za,"EntriesItr",u,Gr);x(xi,"EntryRef",u,u,[wr]);function up(t){var e;t:{var n;if(st(t,Pt)?n=t.l():n=!1,n){e=!0;break t}for(var r=t.h();r.i();){var a=r.j(),o=a,s;if(o!=null&&st(o,wr)?s=this.e6(o):s=!1,!s){e=!1;break t}}e=!0}return e}He(Eh,"InternalMap");x(Ee,"InternalHashMap",uu,u,[Eh]);x(Xa,"LinkedHashMap",Ih,Wn,[Wn,br]);x(Jr,"LinkedHashSet",pu,Mn,[Mn,Qr,Pt]);He(ca,"Continuation");x(Ta,"InterceptedCoroutine",u,u,[ca]);x(Le,"CoroutineImpl",u,Ta,[Ta,ca]);ct(ea,"CompletedContinuation",u,u,[ca]);x(_u,u,u,Le);x(Sn,"Exception",Ah,Error);x(We,"RuntimeException",jh,Sn);x(Ci,"IllegalArgumentException",Mh,We);x(na,"IndexOutOfBoundsException",mu,We);x(ra,"IllegalStateException",Lh,We);x(ia,"UnsupportedOperationException",Si,We);x(aa,"NoSuchElementException",Ie,We);x(oa,"Error",Bh,Error);x(Ei,"NumberFormatException",Dh,Ci);x(sa,"ArithmeticException",Kh,We);x(Bo,"ConcurrentModificationException",gu,We);x(Do,"NullPointerException",yu,We);x(Fo,"NoWhenBranchMatchedException",wu,We);x(Ko,"ClassCastException",bu,We);He(Ma,"KClass");x(mn,"KClassImpl",u,u,[Ma]);ct(Ii,"NothingKClassImpl",u,mn);x(Ji,"ErrorKClass",Ji,u,[Ma]);x(Ut,"PrimitiveKClassImpl",u,mn);x($o,"SimpleKClassImpl",u,mn);He(Uo,"KProperty1");He(ku,"KProperty0");ct(ne,"PrimitiveClasses");x($n,"StringBuilder",Cu,u,[Hl]);xe(Zh);x(eo,"Regex");x(Su,"sam$kotlin_Comparator$0");xe(Yr);xe($m);xe(Wo);x(Jn,"ArrayAsCollection",u,u,[Pt]);ct(de,"EmptyList",u,u,[Gn]);ct(qi,"EmptyIterator");x(si,"IndexedValue");x(Qo,"IntIterator");x(ro,"CharIterator");x(Sr,"SequenceScope",u,u,u,[1]);x($r,"SequenceBuilderIterator",$r,Sr,[Sr,ca],[1]);x(qu);x(Go);x(Nu,"TransformingSequence");x(Jo);x(Au,"FilteringSequence");x(Yo);x(Tu,"IndexingSequence");He(Ai,"DropTakeSequence");x(Zo);x(hi,"TakeSequence",u,u,[Ai]);x(Xo);x(Pu,"TakeWhileSequence");x(ts);x(li,"DropSequence",u,u,[Ai]);x(es);x(Mu,"DropWhileSequence");ct(ao,"EmptySequence",u,u,[Ai]);x(rs);x(Wr,"SubSequence",u,u,[Ai]);ct(Yn,"EmptySet",u,u,[Qr]);ct(ud,"Key");He(Fm,"ContinuationInterceptor");ct(oo,"EmptyCoroutineContext");x(_o,"CoroutineSingletons",u,kr);xe(dd);x(Qn,"IntProgression");x(Vr,"IntRange",u,Qn);xe(vd);x(qr,"CharProgression");x(Ir,"CharRange",u,qr);x(as,"IntProgressionIterator",u,Qo);x(os,"CharProgressionIterator",u,ro);xe(Lu);xe(Qm);x(lo,"UnsafeLazyImpl");ct(kd,"UNINITIALIZED_VALUE");xe(ng);x(Nr,"Failure");x(ul,"NotImplementedError",ul,oa);x(Pn,"Pair");function Hl(){}function Ha(){}function bo(){}function Wl(){}i(Wl).toString=function(){return"kotlin.Unit"};var dt;function Vl(t){switch(t.length){case 0:return la();case 1:return Qa(t[0]);default:return Ql(t)}}function Ds(t,e){return Sf(t,e)>=0}function cp(t){return t.length===0?Ni():new Gl(t)}function Cf(t,e,n,r,a,o,s){return e=e===u?", ":e,n=n===u?"":n,r=r===u?"":r,a=a===u?-1:a,o=o===u?"...":o,s=s===u?null:s,hp(t,Cu(),e,n,r,a,o,s).toString()}function Ql(t){return Ja(Mm(t))}function fp(t){var e;switch(t.length){case 0:throw to("Array is empty.");case 1:e=t[0];break;default:throw Ht("Array has more than one element.")}return e}function Sf(t,e){if(e==null){var n=0,r=t.length-1|0;if(n<=r)do{var a=n;if(n=n+1|0,t[a]==null)return a}while(n<=r)}else{var o=0,s=t.length-1|0;if(o<=s)do{var l=o;if(o=o+1|0,R(e,t[l]))return l}while(o<=s)}return-1}function hp(t,e,n,r,a,o,s,l){n=n===u?", ":n,r=r===u?"":r,a=a===u?"":a,o=o===u?-1:o,s=s===u?"...":s,l=l===u?null:l,e.e(r);var c=0,f=0,h=t.length;t:for(;f<h;){var d=t[f];if(f=f+1|0,c=c+1|0,c>1&&e.e(n),o<0||c<=o)_d(e,d,l);else break t}return o>=0&&c>o&&e.e(s),e.e(a),e}function dp(t){return t.length-1|0}function vp(t,e){if(e==null){var n=t.length-1|0;if(0<=n)do{var r=n;if(n=n+-1|0,t[r]==null)return r}while(0<=n)}else{var a=t.length-1|0;if(0<=a)do{var o=a;if(a=a+-1|0,R(e,t[o]))return o}while(0<=a)}return-1}function pp(t,e){for(var n=0,r=t.length;n<r;){var a=t[n];n=n+1|0,e.f(a)}return e}function Gl(t){this.g_1=t}i(Gl).h=function(){return Lf(this.g_1)};function An(t,e,n,r,a,o,s){return e=e===u?", ":e,n=n===u?"":n,r=r===u?"":r,a=a===u?-1:a,o=o===u?"...":o,s=s===u?null:s,_p(t,Cu(),e,n,r,a,o,s).toString()}function _p(t,e,n,r,a,o,s,l){n=n===u?", ":n,r=r===u?"":r,a=a===u?"":a,o=o===u?-1:o,s=s===u?"...":s,l=l===u?null:l,e.e(r);var c=0,f=t.h();t:for(;f.i();){var h=f.j();if(c=c+1|0,c>1&&e.e(n),o<0||c<=o)_d(e,h,l);else break t}return o>=0&&c>o&&e.e(s),e.e(a),e}function $f(t){return t.l()?null:t.k(0)}function Vi(t){if(t.l())throw to("List is empty.");return t.k(0)}function mp(t){return If(wp(t))}function gp(t){return new Zl(t)}function yp(t){return t.l()?null:t.k(t.m()-1|0)}function Ef(t,e){if(st(e,Pt)){var n=Qi(t.m()+e.m()|0);return n.q(t),n.q(e),n}else{var r=Ja(t);return Vo(r,e),r}}function Sa(t){if(t.l())throw to("List is empty.");return t.k(no(t))}function Jl(t){return Ja(t)}function Yl(t,e){if(st(t,Pt)){if(t.m()<=1)return If(t);var n=kn(t),r=ta(n)?n:N();return T0(r,e),iu(r)}var a=qf(t);return B0(a,e),a}function If(t){if(st(t,Pt)){var e;switch(t.m()){case 0:e=la();break;case 1:var n;st(t,Gn)?n=t.k(0):n=t.h().j(),e=Qa(n);break;default:e=Jl(t);break}return e}return Am(qf(t))}function wp(t){var e;return st(t,Pt)?e=b_(t):e=ko(t,pu()),e}function qf(t){return st(t,Pt)?Jl(t):ko(t,jt())}function ko(t,e){for(var n=t.h();n.i();){var r=n.j();e.f(r)}return e}function bp(t){if(st(t,Pt)){var e;switch(t.m()){case 0:e=Ru();break;case 1:var n;st(t,Gn)?n=t.k(0):n=t.h().j(),e=vh(n);break;default:e=ko(t,C_(t.m()));break}return e}return Bm(ko(t,pu()))}function Zl(t){this.r_1=t}i(Zl).h=function(){return this.r_1.h()};function kp(t,e){return pd.s(t,e,-1)}function $a(t,e){return t>e?e:t}function xo(t,e){return t<e?e:t}function Xl(t){return $p(t,jt())}function tu(t,e){var n=new Tu(t),r=new Au(n,!0,Ep(e));return new Nu(r,Ip)}function Nf(t,e){if(!(e>=0)){var n="Requested element count "+e+" is less than zero.";throw Ht(U(n))}var r;return e===0?r=Ni():st(t,Ai)?r=t.t(e):r=new hi(t,e),r}function xp(t,e){return new Pu(t,e)}function Cp(t,e){var n;return st(t,Ai)?n=t.u(e):n=new li(t,e),n}function Sp(t,e){return new Mu(t,e)}function Af(t){var e=t.h();return e.i()?e.j():null}function Tf(t){var e=t.h();if(!e.i())return la();var n=e.j();if(!e.i())return Qa(n);var r=jt();for(r.f(n);e.i();)r.f(e.j());return r}function $p(t,e){for(var n=t.h();n.i();){var r=n.j();e.f(r)}return e}function Ep(t){return function(e){return t(e.v_1,e.w_1)}}function Ip(t){return t.w_1}function nn(t,e){return 0<=e&&e<=(z(t)-1|0)?F(t,e):null}function yc(t,e){if(!(e>=0)){var n="Requested character count "+e+" is less than zero.";throw Ht(U(n))}return dn(t,$a(e,z(t)),z(t))}function qp(t){return Np(t,Qi(z(t)))}function Np(t,e){for(var n=0;n<z(t);){var r=F(t,n);n=n+1|0,e.f(new ut(r))}return e}function Ap(t){var e=t&65535;return e}function le(t,e){return t-e|0}function Tp(t,e){return le(t.x_1,e instanceof ut?e.x_1:N())}function ma(t,e){return t-e|0}function ai(t,e){return new Ir(t,e)}function De(t){return t}function Yt(t){return String.fromCharCode(t)}function Pp(t,e){return e instanceof ut?t===e.x_1:!1}function Mp(t){return t}function Pf(){Fs=this,this.y_1=0,this.z_1=65535,this.a1_1=55296,this.b1_1=56319,this.c1_1=56320,this.d1_1=57343,this.e1_1=55296,this.f1_1=57343,this.g1_1=2,this.h1_1=16}var Fs;function Rp(){return Fs==null&&new Pf,Fs}function ut(t){Rp(),this.x_1=t}i(ut).i1=function(t){return le(this.x_1,t)};i(ut).d=function(t){return Tp(this,t)};i(ut).toString=function(){return Yt(this.x_1)};i(ut).equals=function(t){return Pp(this.x_1,t)};i(ut).hashCode=function(){return Mp(this.x_1)};function Gn(){}function Pt(){}function wr(){}function br(){}function Qr(){}function Lp(){}function kr(t,e){this.v1_1=t,this.w1_1=e}i(kr).x1=function(t){return Uf(this.w1_1,t.w1_1)};i(kr).d=function(t){return this.x1(t instanceof kr?t:N())};i(kr).equals=function(t){return this===t};i(kr).hashCode=function(){return n0(this)};i(kr).toString=function(){return this.v1_1};function Xt(t){var e=t==null?null:U(t);return e==null?"null":e}function Mf(){Ks=this,this.y1_1=new mt(0,-2147483648),this.z1_1=new mt(-1,2147483647),this.a2_1=8,this.b2_1=64}var Ks;function Op(){return Ks==null&&new Mf,Ks}function mt(t,e){Op(),bo.call(this),this.c2_1=t,this.d2_1=e}i(mt).e2=function(t){return Lo(this,t)};i(mt).d=function(t){return this.e2(t instanceof mt?t:N())};i(mt).f2=function(t){return Co(this,t)};i(mt).g2=function(t){return h0(this,t)};i(mt).h2=function(){return this.i2().f2(new mt(1,0))};i(mt).i2=function(){return new mt(~this.c2_1,~this.d2_1)};i(mt).j2=function(){return this.c2_1};i(mt).k2=function(){return qa(this)};i(mt).toString=function(){return Vs(this,10)};i(mt).equals=function(t){var e;return t instanceof mt?e=qn(this,t):e=!1,e};i(mt).hashCode=function(){return p0(this)};i(mt).valueOf=function(){return this.k2()};function Rf(t){for(var e=1,n=[],r=0,a=t.length;r<a;){var o=t[r];r=r+1|0;var s=e,l=o.prototype.$imask$,c=l==null?o.$imask$:l;c!=null&&(n.push(c),s=c.length);var f=o.$metadata$.iid,h;f==null?h=null:h=jp(f);var d=h;d!=null&&(n.push(d),s=Math.max(s,d.length)),s>e&&(e=s)}return zp(e,n)}function jp(t){var e=t>>5,n=new Int32Array(e+1|0),r=t&31,a=1<<r;return n[e]=n[e]|a,n}function zp(t,e){for(var n=0,r=new Int32Array(t);n<t;){for(var a=n,o=0,s=0,l=e.length;s<l;){var c=e[s];s=s+1|0,a<c.length&&(o=o|c[a])}r[a]=o,n=n+1|0}return r}function Bp(t,e){var n=e>>5;if(n>t.length)return!1;var r=e&31,a=1<<r;return!!(t[n]&a)}function nr(t,e){var n=0,r=t.length-1|0;if(n<=r)do{var a=n;n=n+1|0,t[a]=e}while(a!==r);return t}function Lf(t){return new Mo(t)}function Dp(t){var e="CharArray",n=new Uint16Array(t);return n.$type$=e,n}function Mo(t){this.m2_1=t,this.l2_1=0}i(Mo).i=function(){return this.l2_1!==this.m2_1.length};i(Mo).j=function(){var t;if(this.l2_1!==this.m2_1.length){var e=this.l2_1;this.l2_1=e+1|0,t=this.m2_1[e]}else throw to(""+this.l2_1);return t};function Ts(){return Zi(),Of}var Of;function jf(){return Zi(),zf}var zf;function Us(){return Zi(),Bf}var Bf;function Df(){return Zi(),Ff}var Ff;function Fp(){return Zi(),Kf}var Kf;function Kp(t){return Zi(),(t|0)===t?Xf(t):(jf()[0]=t,xt(Us()[Fp()],31)+Us()[Df()]|0)}var wc;function Zi(){wc||(wc=!0,Of=new ArrayBuffer(8),zf=new Float64Array(Ts()),new Float32Array(Ts()),Bf=new Int32Array(Ts()),jf()[0]=-1,Ff=Us()[0]!==0?1:0,Kf=1-Df()|0)}function F(t,e){var n;if(eu(t)){var r=t.charCodeAt(e),a,o=0;if(r<De(o))a=!0;else{var s=65535;a=r>De(s)}if(a)throw Ht("Invalid Char code: "+r);n=Aa(r)}else n=t.b(e);return n}function eu(t){return typeof t=="string"}function z(t){var e;return eu(t)?e=t.length:e=t.a(),e}function dn(t,e,n){var r;return eu(t)?r=t.substring(e,n):r=t.c(e,n),r}function Up(t,e){var n=t,r=e;if(n===r)return!0;if(n==null||r==null||!eh(r)||n.length!=r.length)return!1;var a=0,o=n.length;if(a<o)do{var s=a;if(a=a+1|0,!R(n[s],r[s]))return!1}while(a<o);return!0}function Hp(t){var e=t;if(e==null)return 0;var n=1,r=0,a=e.length;if(r<a)do{var o=r;r=r+1|0,n=xt(n,31)+ht(e[o])|0}while(r<a);return n}function Wp(t){return Cf(t,", ","[","]",u,u,Vp)}function Vp(t){return U(t)}function Qp(t){var e=Jp(t),n=Yp(t),r=Zp(),a=Xp(),o=t0();return Gp(e,n,r,a,o)}function Gp(t,e,n,r,a){var o=rt(i(Hs));return new Proxy(o,{get:function(s,l,c){if(l==="length")return t();var f=typeof l,h=f==="string"||f==="number"?+l:void 0;return isNaN(h)?s[l]:e(h)},has:function(s,l){return!isNaN(l)&&l<t()},set:function(s,l,c){if(l==="length"){var f=t(),h=d==="string"||d==="number"?+l:void 0;if(isNaN(h))throw new RangeError("invalid array length");return h<f?r(f-h):a(h-f),!0}var d=typeof l,p=d==="string"||d==="number"?+l:void 0;return isNaN(p)?!1:(n(p,c),!0)}})}function nu(){throw Si()}function Hs(){Array.call(this)}function Jp(t){return function(){return t.m()}}function Yp(t){return function(e){return t.k(e)}}function Zp(){var t=function(){return nu(),dt};return t.callableName="UNSUPPORTED_OPERATION",t}function Xp(){var t=function(){return nu(),dt};return t.callableName="UNSUPPORTED_OPERATION",t}function t0(){var t=function(){return nu(),dt};return t.callableName="UNSUPPORTED_OPERATION",t}function Uf(t,e){var n;switch(typeof t){case"number":var r;typeof e=="number"?r=bc(t,e):e instanceof mt?r=bc(t,e.k2()):r=kc(t,e),n=r;break;case"string":case"boolean":n=kc(t,e);break;default:n=e0(t,e);break}return n}function bc(t,e){var n;if(t<e)n=-1;else if(t>e)n=1;else if(t===e){var r;if(t!==0)r=0;else{var a=1/t,o;a===1/e?o=0:a<0?o=-1:o=1,r=o}n=r}else t!==t?n=e!==e?0:1:n=-1;return n}function kc(t,e){return t<e?-1:t>e?1:0}function e0(t,e){return t.d(e)}function n0(t){return Ws(t)}function Ws(t){if(!("kotlinHashCodeValue$"in t)){var e=Hf(),n=new Object;n.value=e,n.enumerable=!1,Object.defineProperty(t,"kotlinHashCodeValue$",n)}return t.kotlinHashCodeValue$}function Hf(){return Math.random()*4294967296|0}function rt(t){return t=t===u?null:t,Object.create(t)}function Y(t,e,n,r){return Object.defineProperty(t,e,{configurable:!0,get:n,set:r})}function R(t,e){if(t==null)return e==null;if(e==null)return!1;if(typeof t=="object"&&typeof t.equals=="function")return t.equals(e);if(t!==t)return e!==e;if(typeof t=="number"&&typeof e=="number"){var n;if(t===e){var r;if(t!==0)r=!0;else{var a=1/t;r=a===1/e}n=r}else n=!1;return n}return t===e}function ht(t){if(t==null)return 0;var e=typeof t,n;switch(e){case"object":n=typeof t.hashCode=="function"?t.hashCode():Ws(t);break;case"function":n=Ws(t);break;case"number":n=Kp(t);break;case"boolean":n=Ea(t);break;case"string":n=Je(String(t));break;case"bigint":n=r0(t);break;case"symbol":n=i0(t);break;default:n=function(){throw new Error("Unexpected typeof `"+e+"`")}();break}return n}function U(t){var e;return t==null?e="null":eh(t)?e="[...]":typeof t.toString!="function"?e=a0(t):e=t.toString(),e}function Ea(t){return t?1231:1237}function Je(t){var e=0,n=t.length,r=0,a=n-1|0;if(r<=a)do{var o=r;r=r+1|0;var s=t.charCodeAt(o);e=xt(e,31)+s|0}while(o!==a);return e}function r0(t){for(var e=BigInt(32),n=BigInt(4294967295),r=t<0?-t:t,a=0,o=t<0?-1:1;r!=0;){var s=Number(r&n);a=xt(31,a)+s|0,r=r>>e}return xt(a,o)}function i0(t){var e=o0(t)?s0():l0(),n=e.get(t);if(n!==u)return n;var r=Hf();return e.set(t,r),r}function a0(t){return Object.prototype.toString.call(t)}function o0(t){return Symbol.keyFor(t)!=u}function s0(){return Ps===u&&(Ps=new Map),Ps}function l0(){return Ms===u&&(Ms=new WeakMap),Ms}var Ps,Ms;function J(t,e){Error.captureStackTrace!=null?Error.captureStackTrace(t,e):t.stack=new Error().stack}function i(t){return t.prototype}function Ro(t,e,n){Error.call(t),u0(t,e,n)}function u0(t,e,n){var r=fh(Object.getPrototypeOf(t));if(!(r&1)){var a;if(e==null){var o;if(e!==null){var s=null;o=s==null?u:s}else o=u;a=o}else a=e;t.message=a}r&2||(t.cause=n),t.name=Object.getPrototypeOf(t).constructor.name}function Re(t){var e;return t==null?c0():e=t,e}function c0(){throw yu()}function Tn(){throw wu()}function N(){throw bu()}function ir(){return Mt(),Wf}var Wf;function vo(){return Mt(),Vf}var Vf;function xc(){return Mt(),Qf}var Qf;function f0(){return Mt(),Gf}var Gf;function Fn(){return Mt(),Jf}var Jf;function Cc(){return Mt(),Yf}var Yf;function Lo(t,e){if(Mt(),qn(t,e))return 0;var n=bn(t),r=bn(e);return n&&!r?-1:!n&&r?1:bn(Ia(t,e))?-1:1}function Co(t,e){Mt();var n=t.d2_1>>>16|0,r=t.d2_1&65535,a=t.c2_1>>>16|0,o=t.c2_1&65535,s=e.d2_1>>>16|0,l=e.d2_1&65535,c=e.c2_1>>>16|0,f=e.c2_1&65535,h=0,d=0,p=0,v=0;return v=v+(o+f|0)|0,p=p+(v>>>16|0)|0,v=v&65535,p=p+(a+c|0)|0,d=d+(p>>>16|0)|0,p=p&65535,d=d+(r+l|0)|0,h=h+(d>>>16|0)|0,d=d&65535,h=h+(n+s|0)|0,h=h&65535,new mt(p<<16|v,h<<16|d)}function Ia(t,e){return Mt(),Co(t,e.h2())}function Lr(t,e){if(Mt(),oi(t))return ir();if(oi(e))return ir();if(qn(t,Fn()))return Sc(e)?Fn():ir();if(qn(e,Fn()))return Sc(t)?Fn():ir();if(bn(t)){var n;return bn(e)?n=Lr(en(t),en(e)):n=en(Lr(en(t),e)),n}else if(bn(e))return en(Lr(t,en(e)));if($c(t,Cc())&&$c(e,Cc()))return Na(qa(t)*qa(e));var r=t.d2_1>>>16|0,a=t.d2_1&65535,o=t.c2_1>>>16|0,s=t.c2_1&65535,l=e.d2_1>>>16|0,c=e.d2_1&65535,f=e.c2_1>>>16|0,h=e.c2_1&65535,d=0,p=0,v=0,_=0;return _=_+xt(s,h)|0,v=v+(_>>>16|0)|0,_=_&65535,v=v+xt(o,h)|0,p=p+(v>>>16|0)|0,v=v&65535,v=v+xt(s,f)|0,p=p+(v>>>16|0)|0,v=v&65535,p=p+xt(a,h)|0,d=d+(p>>>16|0)|0,p=p&65535,p=p+xt(o,f)|0,d=d+(p>>>16|0)|0,p=p&65535,p=p+xt(s,c)|0,d=d+(p>>>16|0)|0,p=p&65535,d=d+(((xt(r,h)+xt(a,f)|0)+xt(o,c)|0)+xt(s,l)|0)|0,d=d&65535,new mt(v<<16|_,d<<16|p)}function h0(t,e){if(Mt(),oi(e))throw Th("division by zero");if(oi(t))return ir();if(qn(t,Fn())){if(qn(e,vo())||qn(e,xc()))return Fn();if(qn(e,Fn()))return vo();var n=v0(t,1),r=d0(n.g2(e),1);if(qn(r,ir()))return bn(e)?vo():xc();var a=Ia(t,Lr(e,r));return Co(r,a.g2(e))}else if(qn(e,Fn()))return ir();if(bn(t)){var o;return bn(e)?o=en(t).g2(en(e)):o=en(en(t).g2(e)),o}else if(bn(e))return en(t.g2(en(e)));for(var s=ir(),l=t;m0(l,e);){for(var c=qa(l)/qa(e),f=Math.max(1,Math.floor(c)),h=Math.ceil(Math.log(f)/Math.LN2),d=h<=48?1:Math.pow(2,h-48),p=Na(f),v=Lr(p,e);bn(v)||_0(v,l);)f=f-d,p=Na(f),v=Lr(p,e);oi(p)&&(p=vo()),s=Co(s,p),l=Ia(l,v)}return s}function d0(t,e){Mt();var n=e&63;return new mt(t.c2_1<<n,t.d2_1<<n|(t.c2_1>>>(32-n|0)|0))}function v0(t,e){Mt();var n=e&63;return new mt(t.c2_1>>>n|0|t.d2_1<<(32-n|0),t.d2_1>>n)}function qa(t){return Mt(),t.d2_1*4294967296+g0(t)}function Vs(t,e){if(Mt(),oi(t))return"0";if(bn(t))if(qn(t,Fn())){var n=ka(e),r=t.g2(n),a=Ia(Lr(r,n),t).j2(),o=Vs(r,e);return o+a.toString(e)}else return"-"+Vs(en(t),e);for(var s=9,l=Na(Math.pow(e,s)),c=t,f="";;){var h=c.g2(l),d=Ia(c,Lr(h,l)).j2(),p=d.toString(e);if(c=h,oi(c))return p+f;for(;p.length<s;)p="0"+p;f=p+f}}function qn(t,e){return Mt(),t.d2_1===e.d2_1&&t.c2_1===e.c2_1}function p0(t){return Mt(),t.c2_1^t.d2_1}function ka(t){return Mt(),new mt(t,t<0?-1:0)}function bn(t){return Mt(),t.d2_1<0}function oi(t){return Mt(),t.d2_1===0&&t.c2_1===0}function Sc(t){return Mt(),(t.c2_1&1)===1}function en(t){return Mt(),t.h2()}function $c(t,e){return Mt(),Lo(t,e)<0}function Na(t){if(Mt(),j0(t))return ir();if(t<=-9223372036854776e3)return Fn();if(t+1>=9223372036854776e3)return f0();if(t<0)return en(Na(-t));var e=4294967296,n=t%e|0,r=t/e|0;return new mt(n,r)}function _0(t,e){return Mt(),Lo(t,e)>0}function m0(t,e){return Mt(),Lo(t,e)>=0}function g0(t){return Mt(),t.c2_1>=0?t.c2_1:4294967296+t.c2_1}var Ec;function Mt(){Ec||(Ec=!0,Wf=ka(0),Vf=ka(1),Qf=ka(-1),Gf=new mt(-1,2147483647),Jf=new mt(0,-2147483648),Yf=ka(16777216))}function Zf(t,e,n,r,a,o){var s=u,l=t==="interface"?y0():u;return{kind:t,simpleName:e,associatedObjectKey:r,associatedObjects:a,suspendArity:o,$kClass$:s,defaultConstructor:n,iid:l}}function y0(){return ga===u&&(ga=0),ga=ga+1|0,ga}var ga;function ru(t,e,n,r,a,o,s,l,c){a!=null&&(e.prototype=Object.create(a.prototype),e.prototype.constructor=e);var f=Zf(t,n,r,l,c,s);if(e.$metadata$=f,o!=null){var h=R(f.iid,u)?e.prototype:e;h.$imask$=Rf(o)}}function x(t,e,n,r,a,o,s,l){var c="class";ru(c,t,e,n,r,a,o,s,l)}function ct(t,e,n,r,a,o,s,l){var c="object";ru(c,t,e,n,r,a,o,s,l)}function He(t,e,n,r,a,o,s,l){var c="interface";ru(c,t,e,n,r,a,o,s,l)}function Wa(t,e,n,r){x(t,"Lambda",u,e,n,r,u,u)}function xe(t,e,n,r){ct(t,"Companion",u,e,n,r,u,u)}function w0(t,e,n,r,a){return Zf("class",t,e,n,r,a)}function rr(t){var e=t.length,n=Array(e),r=0,a=e-1|0;if(r<=a)do{var o=r;r=r+1|0;var s=t[o];s!=null&&ta(s)?n[o]=s:n[o]=[].slice.call(s)}while(o!==a);return[].concat.apply([],n)}function Xf(t){var e;return t instanceof mt?e=t.j2():e=b0(t),e}function b0(t){var e;return t>2147483647?e=2147483647:t<-2147483648?e=-2147483648:e=t|0,e}function k0(t){return t<<16>>16}function Aa(t){var e=Xf(t),n=k0(e);return Ap(n)}function x0(t,e){return new Vr(t,e)}function C0(){return Xi(),th}var th;function Ki(){return Xi(),w0(u,u,u,u,u)}function Va(t,e,n,r,a){return Xi(),r.get=r,r.set=a,r.callableName=t,S0(r,$0(e,a),E0(r,n))}function S0(t,e,n){return Xi(),t.$metadata$=e,t.constructor=t,t.$imask$=n,t}function $0(t,e){return Xi(),C0()[t][e==null?0:1]}function E0(t,e){Xi();var n=t.$imask$,r;if(n==null){var a=[e];r=Rf(a)}else r=n;return r}var Ic;function Xi(){if(!Ic){Ic=!0;var t=[Ki(),Ki()],e=[Ki(),Ki()];th=[t,e,[Ki(),Ki()]]}}function eh(t){return Oo(t)||lp(t)}function Oo(t){return Array.isArray(t)}function st(t,e){return I0(t,e.$metadata$.iid)}function I0(t,e){var n=t.$imask$,r;if(n==null)return!1;r=n;var a=r;return Bp(a,e)}function ta(t){var e;return Oo(t)?e=!t.$type$:e=!1,e}function nh(t){var e;return typeof t=="number"?e=!0:e=t instanceof mt,e}function q0(t){var e=typeof t;return e==="string"||e==="boolean"||nh(t)||st(t,Ha)}function we(t){return typeof t=="string"||st(t,Hl)}function rh(t){return Oo(t)&&t.$type$==="BooleanArray"}function ih(t){return t instanceof Int8Array}function ah(t){return t instanceof Int16Array}function oh(t){var e;return t instanceof Uint16Array?e=t.$type$==="CharArray":e=!1,e}function sh(t){return t instanceof Int32Array}function lh(t){return t instanceof Float32Array}function uh(t){return Oo(t)&&t.$type$==="LongArray"}function ch(t){return t instanceof Float64Array}function fh(t){var e=t.constructor,n=e==null?null:e.$metadata$,r=n==null?null:n.errorInfo;if(r!=null)return r;var a=0;if(qc(t,"message")&&(a=a|1),qc(t,"cause")&&(a=a|2),a!==3){var o=N0(t);o!=Error.prototype&&(a=a|fh(o))}return n!=null&&(n.errorInfo=a),a}function qc(t,e){return t.hasOwnProperty(e)}function N0(t){return Object.getPrototypeOf(t)}var u;function A0(t,e,n,r){n=n===u?0:n,r=r===u?t.length:r,gn.o2(n,r,t.length),t.fill(e,n,r)}function Qs(t,e){return Up(t,e)}function Gs(t){return Hp(t)}function iu(t){return new ee(t)}function T0(t,e){t.length>1&&mh(t,e)}function P0(t,e){if(!(e>=0)){var n="Invalid new array size: "+e+".";throw Ht(U(n))}return U_(t,new Int32Array(e))}function M0(t,e){if(!(e>=0)){var n="Invalid new array size: "+e+".";throw Ht(U(n))}return H_(t,e,null)}function au(t){var e=(t.m()/2|0)-1|0;if(e<0)return dt;var n=no(t),r=0;if(r<=e)do{var a=r;r=r+1|0;var o=t.k(a);t.p2(a,t.k(n)),t.p2(n,o),n=n-1|0}while(a!==e)}function R0(t){var e=De(t),n=L0(Nc().q2_1,e),r=e-Nc().q2_1[n]|0;return r<10?r:-1}function L0(t,e){for(var n=0,r=t.length-1|0,a=-1,o=0;n<=r;)if(a=(n+r|0)/2|0,o=t[a],e>o)n=a+1|0;else{if(e===o)return a;r=a-1|0}return a-(e<o?1:0)|0}function hh(){Js=this;var t=this;t.q2_1=new Int32Array([48,1632,1776,1984,2406,2534,2662,2790,2918,3046,3174,3302,3430,3558,3664,3792,3872,4160,4240,6112,6160,6470,6608,6784,6800,6992,7088,7232,7248,42528,43216,43264,43472,43504,43600,44016,65296])}var Js;function Nc(){return Js==null&&new hh,Js}function O0(t){var e=De(t);return(9<=e?e<=13:!1)||(28<=e?e<=32:!1)||e===160||e>4096&&(e===5760||(8192<=e?e<=8202:!1)||e===8232||e===8233||e===8239||e===8287||e===12288)}function j0(t){return t!==t}function z0(t){var e;return t===0?e=0:e=1<<(31-kf(t)|0),e}function dh(t){return Im(t)}function Qa(t){return Nm([t])}function kn(t){var e;return t.toArray!==void 0?e=t.toArray():e=dh(t),e}function jo(t){return t<0&&Rm(),t}function B0(t,e){D0(t,e)}function vh(t){return zm([t])}function D0(t,e){if(t.m()<=1)return dt;var n=kn(t);mh(n,e);var r=0,a=n.length;if(r<a)do{var o=r;r=r+1|0,t.p2(o,n[o])}while(r<a)}function Hn(){Cr.call(this)}i(Hn).q=function(t){this.r2();for(var e=!1,n=t.h();n.i();){var r=n.j();this.f(r)&&(e=!0)}return e};i(Hn).toJSON=function(){return this.toArray()};i(Hn).r2=function(){};function ki(t){this.u2_1=t,this.s2_1=0,this.t2_1=-1}i(ki).i=function(){return this.s2_1<this.u2_1.m()};i(ki).j=function(){if(!this.i())throw Ie();var t=this,e=this.s2_1;return this.s2_1=e+1|0,t.t2_1=e,this.u2_1.k(this.t2_1)};i(ki).v2=function(){if(this.t2_1===-1){var t="Call next() or previous() before removing element from the iterator.";throw Hr(U(t))}this.u2_1.x2(this.t2_1),this.s2_1=this.t2_1,this.t2_1=-1};function Ga(t,e){this.b3_1=t,ki.call(this,t),gn.c3(e,this.b3_1.m()),this.s2_1=e}i(Ga).d3=function(){return this.s2_1>0};i(Ga).e3=function(){return this.s2_1};i(Ga).f3=function(){if(!this.d3())throw Ie();var t=this;return this.s2_1=this.s2_1-1|0,t.t2_1=this.s2_1,this.b3_1.k(this.t2_1)};function Ar(t,e,n){ke.call(this),this.h3_1=t,this.i3_1=e,this.j3_1=0,gn.o2(this.i3_1,n,this.h3_1.m()),this.j3_1=n-this.i3_1|0}i(Ar).k3=function(t,e){gn.c3(t,this.j3_1),this.h3_1.k3(this.i3_1+t|0,e),this.j3_1=this.j3_1+1|0};i(Ar).k=function(t){return gn.l3(t,this.j3_1),this.h3_1.k(this.i3_1+t|0)};i(Ar).x2=function(t){gn.l3(t,this.j3_1);var e=this.h3_1.x2(this.i3_1+t|0);return this.j3_1=this.j3_1-1|0,e};i(Ar).p2=function(t,e){return gn.l3(t,this.j3_1),this.h3_1.p2(this.i3_1+t|0,e)};i(Ar).m3=function(t,e){this.h3_1.m3(this.i3_1+t|0,this.i3_1+e|0),this.j3_1=this.j3_1-(e-t|0)|0};i(Ar).m=function(){return this.j3_1};i(Ar).r2=function(){return this.h3_1.r2()};function ke(){Hn.call(this),this.w2_1=0}i(ke).f=function(t){return this.r2(),this.k3(this.m(),t),!0};i(ke).n3=function(){this.r2(),this.m3(0,this.m())};i(ke).h=function(){return new ki(this)};i(ke).j1=function(t){return this.l1(t)>=0};i(ke).l1=function(t){var e;t:{for(var n=0,r=this.h();r.i();){var a=r.j();if(R(a,t)){e=n;break t}n=n+1|0}e=-1}return e};i(ke).m1=function(t){var e;t:{for(var n=this.o1(this.m());n.d3();){var r=n.f3();if(R(r,t)){e=n.e3();break t}}e=-1}return e};i(ke).n1=function(){return this.o1(0)};i(ke).o1=function(t){return new Ga(this,t)};i(ke).p1=function(t,e){return new Ar(this,t,e)};i(ke).m3=function(t,e){var n=this.o1(t),r=e-t|0,a=0;if(a<r)do a=a+1|0,n.j(),n.v2();while(a<r)};i(ke).equals=function(t){return t===this?!0:t!=null&&st(t,Gn)?gn.o3(this,t):!1};i(ke).hashCode=function(){return gn.p3(this)};function So(){xn.call(this),this.s3_1=null,this.t3_1=null}function xr(){Hn.call(this)}i(xr).equals=function(t){return t===this?!0:t!=null&&st(t,Qr)?Eu.y3(this,t):!1};i(xr).hashCode=function(){return Eu.z3(this)};function ph(t){if(!(t>=0)){var e="capacity must be non-negative.";throw Ht(U(e))}return nr(Array(t),null)}function Ac(t,e,n){t.fill(null,e,n)}function Tc(t,e){return M0(t,e)}function _h(){Ys=this;var t=this,e=Qi(0);e.p_1=!0,t.a4_1=e}var Ys;function F0(){return Ys==null&&new _h,Ys}function K0(t){var e=[];return ee.call(t,e),t}function jt(){return K0(rt(i(ee)))}function U0(t,e){var n=[];if(ee.call(e,n),!(t>=0)){var r="Negative initial capacity: "+t;throw Ht(U(r))}return e}function Qi(t){return U0(t,rt(i(ee)))}function H0(t,e){var n=kn(t);return ee.call(e,n),e}function Ja(t){return H0(t,rt(i(ee)))}function W0(t,e){var n=t.m();return t.o_1.length=t.m()+e|0,n}function ou(t,e){return gn.l3(e,t.m()),e}function V0(t,e){return gn.c3(e,t.m()),e}function ee(t){F0(),ke.call(this),this.o_1=t,this.p_1=!1}i(ee).m=function(){return this.o_1.length};i(ee).k=function(t){var e=this.o_1[ou(this,t)];return e==null||e!=null?e:N()};i(ee).p2=function(t,e){this.r2(),ou(this,t);var n=this.o_1[t];this.o_1[t]=e;var r=n;return r==null||r!=null?r:N()};i(ee).f=function(t){return this.r2(),this.o_1.push(t),this.w2_1=this.w2_1+1|0,!0};i(ee).k3=function(t,e){this.r2(),this.o_1.splice(V0(this,t),0,e),this.w2_1=this.w2_1+1|0};i(ee).q=function(t){if(this.r2(),t.l())return!1;for(var e=W0(this,t.m()),n=0,r=t.h();r.i();){var a=r.j(),o=n;n=o+1|0;var s=jo(o);this.o_1[e+s|0]=a}return this.w2_1=this.w2_1+1|0,!0};i(ee).x2=function(t){this.r2(),ou(this,t),this.w2_1=this.w2_1+1|0;var e;return t===no(this)?e=this.o_1.pop():e=this.o_1.splice(t,1)[0],e};i(ee).m3=function(t,e){this.r2(),this.w2_1=this.w2_1+1|0,this.o_1.splice(t,e-t|0)};i(ee).n3=function(){this.r2();var t=this;t.o_1=[],this.w2_1=this.w2_1+1|0};i(ee).l1=function(t){return Sf(this.o_1,t)};i(ee).m1=function(t){return vp(this.o_1,t)};i(ee).toString=function(){return Wp(this.o_1)};i(ee).b4=function(){return[].slice.call(this.o_1)};i(ee).toArray=function(){return this.b4()};i(ee).r2=function(){if(this.p_1)throw Si()};var po;function mh(t,e){if(Q0()){var n=J0(e);t.sort(n)}else G0(t,0,dp(t),e)}function Q0(){var t=po;if(t!=null)return t;po=!1;var e=[],n=0;if(n<600)do{var r=n;n=n+1|0,e.push(r)}while(n<600);var a=Y0;e.sort(a);var o=1,s=e.length;if(o<s)do{var l=o;o=o+1|0;var c=e[l-1|0],f=e[l];if((c&3)===(f&3)&&c>=f)return!1}while(o<s);return po=!0,!0}function G0(t,e,n,r){var a=t.length,o=nr(Array(a),null),s=Zs(t,o,e,n,r);if(s!==t){var l=e;if(l<=n)do{var c=l;l=l+1|0,t[c]=s[c]}while(c!==n)}}function Zs(t,e,n,r,a){if(n===r)return t;var o=(n+r|0)/2|0,s=Zs(t,e,n,o,a),l=Zs(t,e,o+1|0,r,a),c=s===e?t:e,f=n,h=o+1|0,d=n;if(d<=r)do{var p=d;if(d=d+1|0,f<=o&&h<=r){var v=s[f],_=l[h];a.compare(v,_)<=0?(c[p]=v,f=f+1|0):(c[p]=_,h=h+1|0)}else f<=o?(c[p]=s[f],f=f+1|0):(c[p]=l[h],h=h+1|0)}while(p!==r);return c}function J0(t){return function(e,n){return t.compare(e,n)}}function Y0(t,e){return(t&3)-(e&3)|0}function gh(t,e){return So.call(e),Wn.call(e),e.g4_1=t,e}function yh(t){return gh(uu(),t),t}function Z0(){return yh(rt(i(Wn)))}function X0(t,e,n){return gh(Ch(t,e),n),n}function t_(t,e){return X0(t,1,e),e}i(Wn).s1=function(t){return this.g4_1.i4(t)};i(Wn).u1=function(){var t=this.h4_1,e;if(t==null){var n=new su(this.g4_1);this.h4_1=n,e=n}else e=t;return e};i(Wn).t1=function(t){return this.g4_1.t1(t)};i(Wn).u3=function(t,e){return this.g4_1.u3(t,e)};i(Wn).m=function(){return this.g4_1.m()};function Wn(){this.h4_1=null}function su(t){Cn.call(this,t)}i(su).h=function(){return this.k4_1.l4()};function Cn(t){xr.call(this),this.k4_1=t}i(Cn).m=function(){return this.k4_1.m()};i(Cn).l=function(){return this.k4_1.m()===0};i(Cn).m4=function(t){return this.k4_1.o4(t)};i(Cn).j1=function(t){return t!=null&&st(t,wr)?this.m4(t!=null&&st(t,wr)?t:N()):!1};i(Cn).n4=function(t){throw Si()};i(Cn).f=function(t){return this.n4(t!=null&&st(t,wr)?t:N())};i(Cn).q=function(t){throw Si()};i(Cn).k1=function(t){return this.k4_1.p4(t)};i(Cn).r2=function(){return this.k4_1.q4()};function lu(t,e){return xr.call(e),Mn.call(e),e.r4_1=t,e}function wh(t){return lu(uu(),t),t}function e_(){return wh(rt(i(Mn)))}function n_(t,e){lu(o_(t.m()),e);for(var n=t.h();n.i();){var r=n.j();e.r4_1.u3(r,!0)}return e}function bh(t,e,n){return lu(Ch(t,e),n),n}function r_(t,e){return bh(t,1,e),e}function i_(t){return r_(t,rt(i(Mn)))}i(Mn).f=function(t){return this.r4_1.u3(t,!0)==null};i(Mn).j1=function(t){return this.r4_1.i4(t)};i(Mn).l=function(){return this.r4_1.m()===0};i(Mn).h=function(){return this.r4_1.s4()};i(Mn).m=function(){return this.r4_1.m()};function Mn(){}function kh(t,e){return z0(xt(xo(e,1),3))}function xh(t,e){return kf(e)+1|0}function a_(t){return cu(8,t),t}function uu(){return a_(rt(i(Ee)))}function cu(t,e){return Ee.call(e,ph(t),null,new Int32Array(t),new Int32Array(kh(Ya,t)),2,0),e}function o_(t){return cu(t,rt(i(Ee)))}function s_(t,e,n){return cu(t,n),n}function Ch(t,e){return s_(t,e,rt(i(Ee)))}function Gi(t){return t.t4_1.length}function Kn(t){return t.w4_1.length}function Sh(t){t.a5_1=t.a5_1+1|0}function l_(t,e){u_(t,e)?hu(t,Kn(t)):c_(t,t.y4_1+e|0)}function u_(t,e){var n=Gi(t)-t.y4_1|0,r=t.y4_1-t.m()|0;return n<e&&(r+n|0)>=e&&r>=(Gi(t)/4|0)}function c_(t,e){if(e<0)throw zh("too many elements");if(e>Gi(t)){var n=gn.d5(Gi(t),e);t.t4_1=Tc(t.t4_1,n);var r=t,a=t.u4_1;r.u4_1=a==null?null:Tc(a,n),t.v4_1=P0(t.v4_1,n);var o=kh(Ya,n);o>Kn(t)&&hu(t,o)}}function f_(t){var e=t.u4_1;if(e!=null)return e;var n=ph(Gi(t));return t.u4_1=n,n}function fu(t,e){return e==null?0:xt(ht(e),-1640531527)>>>t.z4_1|0}function h_(t){for(var e=0,n=0,r=t.u4_1;e<t.y4_1;)t.v4_1[e]>=0&&(t.t4_1[n]=t.t4_1[e],r!=null&&(r[n]=r[e]),n=n+1|0),e=e+1|0;Ac(t.t4_1,n,t.y4_1),r==null||Ac(r,n,t.y4_1),t.y4_1=n}function hu(t,e){Sh(t),t.y4_1>t.b5_1&&h_(t),e!==Kn(t)?(t.w4_1=new Int32Array(e),t.z4_1=xh(Ya,e)):A0(t.w4_1,0,0,Kn(t));for(var n=0;n<t.y4_1;){var r=n;if(n=r+1|0,!d_(t,r))throw Hr("This cannot happen with fixed magic multiplier and grow-only hash array. Have object hashCodes changed?")}}function d_(t,e){for(var n=fu(t,t.t4_1[e]),r=t.x4_1;;){var a=t.w4_1[n];if(a===0)return t.w4_1[n]=e+1|0,t.v4_1[e]=n,!0;if(r=r-1|0,r<0)return!1;var o=n;n=o-1|0,o===0&&(n=Kn(t)-1|0)}}function du(t,e){for(var n=fu(t,e),r=t.x4_1;;){var a=t.w4_1[n];if(a===0)return-1;if(a>0&&R(t.t4_1[a-1|0],e))return a-1|0;if(r=r-1|0,r<0)return-1;var o=n;n=o-1|0,o===0&&(n=Kn(t)-1|0)}}function v_(t,e){t.q4();t:for(;;)for(var n=fu(t,e),r=$a(xt(t.x4_1,2),Kn(t)/2|0),a=0;;){var o=t.w4_1[n];if(o<=0){if(t.y4_1>=Gi(t)){l_(t,1);continue t}var s=t.y4_1;t.y4_1=s+1|0;var l=s;return t.t4_1[l]=e,t.v4_1[l]=n,t.w4_1[n]=l+1|0,t.b5_1=t.b5_1+1|0,Sh(t),a>t.x4_1&&(t.x4_1=a),l}if(R(t.t4_1[o-1|0],e))return-o|0;if(a=a+1|0,a>r){hu(t,xt(Kn(t),2));continue t}var c=n;n=c-1|0,c===0&&(n=Kn(t)-1|0)}}function p_(t,e){return t.b5_1===e.m()&&t.p4(e.u1())}function $h(){this.e5_1=-1640531527,this.f5_1=8,this.g5_1=2,this.h5_1=-1}var Ya;function Gr(t){this.i5_1=t,this.j5_1=0,this.k5_1=-1,this.l5_1=this.i5_1.a5_1,this.m5()}i(Gr).m5=function(){for(;this.j5_1<this.i5_1.y4_1&&this.i5_1.v4_1[this.j5_1]<0;)this.j5_1=this.j5_1+1|0};i(Gr).i=function(){return this.j5_1<this.i5_1.y4_1};i(Gr).n5=function(){if(this.i5_1.a5_1!==this.l5_1)throw gu()};function vu(t){Gr.call(this,t)}i(vu).j=function(){if(this.n5(),this.j5_1>=this.i5_1.y4_1)throw Ie();var t=this,e=this.j5_1;this.j5_1=e+1|0,t.k5_1=e;var n=this.i5_1.t4_1[this.k5_1];return this.m5(),n};function Za(t){Gr.call(this,t)}i(Za).j=function(){if(this.n5(),this.j5_1>=this.i5_1.y4_1)throw Ie();var t=this,e=this.j5_1;this.j5_1=e+1|0,t.k5_1=e;var n=new xi(this.i5_1,this.k5_1);return this.m5(),n};i(Za).w5=function(){if(this.j5_1>=this.i5_1.y4_1)throw Ie();var t=this,e=this.j5_1;this.j5_1=e+1|0,t.k5_1=e;var n=this.i5_1.t4_1[this.k5_1],r=n==null?null:ht(n),a=r==null?0:r,o=Re(this.i5_1.u4_1)[this.k5_1],s=o==null?null:ht(o),l=a^(s==null?0:s);return this.m5(),l};i(Za).x5=function(t){if(this.j5_1>=this.i5_1.y4_1)throw Ie();var e=this,n=this.j5_1;this.j5_1=n+1|0,e.k5_1=n;var r=this.i5_1.t4_1[this.k5_1];R(r,this.i5_1)?t.a6("(this Map)"):t.z5(r),t.b6(61);var a=Re(this.i5_1.u4_1)[this.k5_1];R(a,this.i5_1)?t.a6("(this Map)"):t.z5(a),this.m5()};function xi(t,e){this.c6_1=t,this.d6_1=e}i(xi).q1=function(){return this.c6_1.t4_1[this.d6_1]};i(xi).r1=function(){return Re(this.c6_1.u4_1)[this.d6_1]};i(xi).equals=function(t){var e,n;return t!=null&&st(t,wr)?n=R(t.q1(),this.q1()):n=!1,n?e=R(t.r1(),this.r1()):e=!1,e};i(xi).hashCode=function(){var t=this.q1(),e=t==null?null:ht(t),n=e==null?0:e,r=this.r1(),a=r==null?null:ht(r);return n^(a==null?0:a)};i(xi).toString=function(){return Xt(this.q1())+"="+Xt(this.r1())};function Ee(t,e,n,r,a,o){this.t4_1=t,this.u4_1=e,this.v4_1=n,this.w4_1=r,this.x4_1=a,this.y4_1=o,this.z4_1=xh(Ya,Kn(this)),this.a5_1=0,this.b5_1=0,this.c5_1=!1}i(Ee).m=function(){return this.b5_1};i(Ee).t1=function(t){var e=du(this,t);return e<0?null:Re(this.u4_1)[e]};i(Ee).i4=function(t){return du(this,t)>=0};i(Ee).u3=function(t,e){var n=v_(this,t),r=f_(this);if(n<0){var a=r[(-n|0)-1|0];return r[(-n|0)-1|0]=e,a}else return r[n]=e,null};i(Ee).equals=function(t){var e;if(t===this)e=!0;else{var n;t!=null&&st(t,br)?n=p_(this,t):n=!1,e=n}return e};i(Ee).hashCode=function(){for(var t=0,e=this.l4();e.i();)t=t+e.w5()|0;return t};i(Ee).toString=function(){var t=Qh(2+xt(this.b5_1,3)|0);t.a6("{");for(var e=0,n=this.l4();n.i();)e>0&&t.a6(", "),n.x5(t),e=e+1|0;return t.a6("}"),t.toString()};i(Ee).q4=function(){if(this.c5_1)throw Si()};i(Ee).o4=function(t){var e=du(this,t.q1());return e<0?!1:R(Re(this.u4_1)[e],t.r1())};i(Ee).e6=function(t){return this.o4(st(t,wr)?t:N())};i(Ee).s4=function(){return new vu(this)};i(Ee).l4=function(){return new Za(this)};function Eh(){}function __(t){return yh(t),Xa.call(t),t}function Ih(){return __(rt(i(Xa)))}function m_(t,e){return t_(t,e),Xa.call(e),e}function g_(t){return m_(t,rt(i(Xa)))}function Xa(){}function y_(t){return wh(t),Jr.call(t),t}function pu(){return y_(rt(i(Jr)))}function w_(t,e){return n_(t,e),Jr.call(e),e}function b_(t){return w_(t,rt(i(Jr)))}function k_(t,e,n){return bh(t,e,n),Jr.call(n),n}function x_(t,e){return k_(t,1,e),e}function C_(t){return x_(t,rt(i(Jr)))}i(Jr).r2=function(){return this.r4_1.q4()};function Jr(){}function Le(t){Ta.call(this),this.h6_1=t,this.i6_1=0,this.j6_1=0,this.k6_1=null,this.l6_1=null,this.m6_1=null;var e=this,n=this.h6_1;e.n6_1=n==null?null:n.o6()}i(Le).o6=function(){return Re(this.n6_1)};i(Le).p6=function(t){var e=this,n;if(tg(t))n=null;else{var r=t;n=r==null||r!=null?r:N()}for(var a=n,o=eg(t);;){var s=e;o==null?s.k6_1=a:(s.i6_1=s.j6_1,s.l6_1=o);try{var l=s.q6();if(l===Er())return dt;a=l,o=null}catch(_){var c=_;a=null,o=c}s.s6();var f=Re(s.h6_1);if(f instanceof Le)e=f;else{if(o!=null){var h=Re(o),d=rg(h);f.t6(d)}else{var p=a,v=p;f.t6(v)}return dt}}};i(Le).t6=function(t){return this.p6(t)};function ea(){}i(ea).o6=function(){var t="This continuation is already complete";throw Hr(U(t))};i(ea).p6=function(t){var e="This continuation is already complete";throw Hr(U(e))};i(ea).t6=function(t){return this.p6(t)};i(ea).toString=function(){return"This continuation is already complete"};var qh;function Ta(){this.r6_1=null}i(Ta).s6=function(){var t=this.r6_1;t!=null&&t!==this&&Re(this.o6().u6(cd)).v6(t),this.r6_1=qh};function S_(t,e,n){return new _u(n,t,e,n)}function _u(t,e,n,r){this.e7_1=e,this.f7_1=n,this.g7_1=r,Le.call(this,st(t,ca)?t:N())}i(_u).q6=function(){if(this.l6_1!=null)throw this.l6_1;var t=this.e7_1;return typeof t=="function"?t(this.f7_1,this.g7_1):this.e7_1.h7(this.f7_1,this.g7_1)};function Nh(t){return Ro(t),Sn.call(t),t}function Ah(){var t=Nh(rt(i(Sn)));return J(t,Ah),t}function zo(t,e){return Ro(e,t),Sn.call(e),e}function Th(t){var e=zo(t,rt(i(Sn)));return J(e,Th),e}function Sn(){J(this,Sn)}function Ph(t){return Rn(t),Ci.call(t),t}function Mh(){var t=Ph(rt(i(Ci)));return J(t,Mh),t}function Rh(t,e){return $i(t,e),Ci.call(e),e}function Ht(t){var e=Rh(t,rt(i(Ci)));return J(e,Ht),e}function Ci(){J(this,Ci)}function $_(t){return Rn(t),na.call(t),t}function mu(){var t=$_(rt(i(na)));return J(t,mu),t}function E_(t,e){return $i(t,e),na.call(e),e}function Vn(t){var e=E_(t,rt(i(na)));return J(e,Vn),e}function na(){J(this,na)}function I_(t){return Rn(t),ra.call(t),t}function Lh(){var t=I_(rt(i(ra)));return J(t,Lh),t}function q_(t,e){return $i(t,e),ra.call(e),e}function Hr(t){var e=q_(t,rt(i(ra)));return J(e,Hr),e}function ra(){J(this,ra)}function N_(t){return Rn(t),ia.call(t),t}function Si(){var t=N_(rt(i(ia)));return J(t,Si),t}function A_(t,e){return $i(t,e),ia.call(e),e}function Oh(t){var e=A_(t,rt(i(ia)));return J(e,Oh),e}function ia(){J(this,ia)}function Rn(t){return Nh(t),We.call(t),t}function jh(){var t=Rn(rt(i(We)));return J(t,jh),t}function $i(t,e){return zo(t,e),We.call(e),e}function zh(t){var e=$i(t,rt(i(We)));return J(e,zh),e}function We(){J(this,We)}function T_(t){return Rn(t),aa.call(t),t}function Ie(){var t=T_(rt(i(aa)));return J(t,Ie),t}function P_(t,e){return $i(t,e),aa.call(e),e}function to(t){var e=P_(t,rt(i(aa)));return J(e,to),e}function aa(){J(this,aa)}function M_(t){return Ro(t),oa.call(t),t}function Bh(){var t=M_(rt(i(oa)));return J(t,Bh),t}function R_(t,e){return Ro(e,t),oa.call(e),e}function oa(){J(this,oa)}function L_(t){return Ph(t),Ei.call(t),t}function Dh(){var t=L_(rt(i(Ei)));return J(t,Dh),t}function O_(t,e){return Rh(t,e),Ei.call(e),e}function Fh(t){var e=O_(t,rt(i(Ei)));return J(e,Fh),e}function Ei(){J(this,Ei)}function j_(t){return Rn(t),sa.call(t),t}function Kh(){var t=j_(rt(i(sa)));return J(t,Kh),t}function z_(t,e){return $i(t,e),sa.call(e),e}function Uh(t){var e=z_(t,rt(i(sa)));return J(e,Uh),e}function sa(){J(this,sa)}function B_(t){return Rn(t),Bo.call(t),t}function gu(){var t=B_(rt(i(Bo)));return J(t,gu),t}function Bo(){J(this,Bo)}function D_(t){return Rn(t),Do.call(t),t}function yu(){var t=D_(rt(i(Do)));return J(t,yu),t}function Do(){J(this,Do)}function F_(t){return Rn(t),Fo.call(t),t}function wu(){var t=F_(rt(i(Fo)));return J(t,wu),t}function Fo(){J(this,Fo)}function K_(t){return Rn(t),Ko.call(t),t}function bu(){var t=K_(rt(i(Ko)));return J(t,bu),t}function Ko(){J(this,Ko)}function Pa(t){return new lo(t)}function U_(t,e){for(var n=t.length,r=e.length,a=0,o=e;a<n&&a<r;){var s=a,l=a;a=l+1|0,o[s]=t[l]}return e}function H_(t,e,n){var r=t.slice(0,e);t.$type$!==void 0&&(r.$type$=t.$type$);var a=t.length;if(e>a)for(r.length=e;a<e;){var o=a;a=o+1|0,r[o]=n}return r}function Ma(){}function mn(t){this.l7_1=t}i(mn).m7=function(){return this.l7_1};i(mn).equals=function(t){var e;return t instanceof Ii||t instanceof Ji?e=!1:t instanceof mn?e=R(this.m7(),t.m7()):e=!1,e};i(mn).hashCode=function(){var t=this.k7(),e=t==null?null:Je(t);return e==null?0:e};i(mn).toString=function(){return"class "+this.k7()};function Ii(){Xs=this,mn.call(this,Object),this.o7_1="Nothing"}i(Ii).k7=function(){return this.o7_1};i(Ii).m7=function(){throw Oh("There's no native JS class for Nothing type")};i(Ii).equals=function(t){return t===this};i(Ii).hashCode=function(){return 0};var Xs;function Hh(){return Xs==null&&new Ii,Xs}function Ji(){}i(Ji).equals=function(t){return t===this};i(Ji).hashCode=function(){return 0};function Ut(t,e,n){mn.call(this,t),this.q7_1=e,this.r7_1=n}i(Ut).equals=function(t){return t instanceof Ut?i(mn).equals.call(this,t)&&this.q7_1===t.q7_1:!1};i(Ut).k7=function(){return this.q7_1};function $o(t){mn.call(this,t);var e=this,n=t.$metadata$;e.t7_1=n==null?null:n.simpleName}i($o).k7=function(){return this.t7_1};function Uo(){}function ku(){}function Pc(){return hm(),Wh}var Wh;function W_(t){return t!=null}function V_(t){return nh(t)}function Q_(t){return t!=null?typeof t=="boolean":!1}function G_(t){return t!=null?typeof t=="number":!1}function J_(t){return t!=null?typeof t=="number":!1}function Y_(t){return t!=null?typeof t=="number":!1}function Z_(t){return t!=null?typeof t=="number":!1}function X_(t){return t!=null?typeof t=="number":!1}function tm(t){return t!=null?ta(t):!1}function em(t){return t!=null?typeof t=="string":!1}function nm(t){return t instanceof Error}function rm(t){return t!=null?rh(t):!1}function im(t){return t!=null?oh(t):!1}function am(t){return t!=null?ih(t):!1}function om(t){return t!=null?ah(t):!1}function sm(t){return t!=null?sh(t):!1}function lm(t){return t!=null?uh(t):!1}function um(t){return t!=null?lh(t):!1}function cm(t){return t!=null?ch(t):!1}function fm(t){return function(e){var n;return typeof e=="function"?n=e.length===t:n=!1,n}}function ne(){tl=this;var t=this,e=Object;t.anyClass=new Ut(e,"Any",W_);var n=this,r=Number;n.numberClass=new Ut(r,"Number",V_),this.nothingClass=Hh();var a=this,o=Boolean;a.booleanClass=new Ut(o,"Boolean",Q_);var s=this,l=Number;s.byteClass=new Ut(l,"Byte",G_);var c=this,f=Number;c.shortClass=new Ut(f,"Short",J_);var h=this,d=Number;h.intClass=new Ut(d,"Int",Y_);var p=this,v=Number;p.floatClass=new Ut(v,"Float",Z_);var _=this,m=Number;_.doubleClass=new Ut(m,"Double",X_);var w=this,b=Array;w.arrayClass=new Ut(b,"Array",tm);var q=this,S=String;q.stringClass=new Ut(S,"String",em);var y=this,C=Error;y.throwableClass=new Ut(C,"Throwable",nm);var E=this,k=Array;E.booleanArrayClass=new Ut(k,"BooleanArray",rm);var I=this,M=Uint16Array;I.charArrayClass=new Ut(M,"CharArray",im);var j=this,H=Int8Array;j.byteArrayClass=new Ut(H,"ByteArray",am);var W=this,Wt=Int16Array;W.shortArrayClass=new Ut(Wt,"ShortArray",om);var _t=this,Rt=Int32Array;_t.intArrayClass=new Ut(Rt,"IntArray",sm);var Lt=this,ve=Array;Lt.longArrayClass=new Ut(ve,"LongArray",lm);var re=this,et=Float32Array;re.floatArrayClass=new Ut(et,"FloatArray",um);var Xe=this,yt=Float64Array;Xe.doubleArrayClass=new Ut(yt,"DoubleArray",cm)}i(ne).u7=function(){return this.anyClass};i(ne).v7=function(){return this.numberClass};i(ne).w7=function(){return this.nothingClass};i(ne).x7=function(){return this.booleanClass};i(ne).y7=function(){return this.byteClass};i(ne).z7=function(){return this.shortClass};i(ne).a8=function(){return this.intClass};i(ne).b8=function(){return this.floatClass};i(ne).c8=function(){return this.doubleClass};i(ne).d8=function(){return this.arrayClass};i(ne).e8=function(){return this.stringClass};i(ne).f8=function(){return this.throwableClass};i(ne).g8=function(){return this.booleanArrayClass};i(ne).h8=function(){return this.charArrayClass};i(ne).i8=function(){return this.byteArrayClass};i(ne).j8=function(){return this.shortArrayClass};i(ne).k8=function(){return this.intArrayClass};i(ne).l8=function(){return this.longArrayClass};i(ne).m8=function(){return this.floatArrayClass};i(ne).n8=function(){return this.doubleArrayClass};i(ne).functionClass=function(t){var e=Pc()[t],n;if(e==null){var r=Function,a="Function"+t,o=new Ut(r,a,fm(t));Pc()[t]=o,n=o}else n=e;return n};var tl;function Ae(){return tl==null&&new ne,tl}var Mc;function hm(){Mc||(Mc=!0,Wh=nr(Array(0),null))}function dm(t){var e;return Array.isArray(t)?e=vm(t):e=xu(t),e}function vm(t){var e;switch(t.length){case 1:e=xu(t[0]);break;case 0:e=Hh();break;default:e=new Ji;break}return e}function xu(t){if(t===String)return Ae().stringClass;var e=t.$metadata$,n;if(e!=null){var r;if(e.$kClass$==null){var a=new $o(t);e.$kClass$=a,r=a}else r=e.$kClass$;n=r}else n=new $o(t);return n}function Eo(t){var e;switch(typeof t){case"string":e=Ae().stringClass;break;case"number":var n;(t|0)===t?n=Ae().intClass:n=Ae().doubleClass,e=n;break;case"boolean":e=Ae().booleanClass;break;case"function":var r=Ae();e=r.functionClass(t.length);break;default:var a;if(rh(t))a=Ae().booleanArrayClass;else if(oh(t))a=Ae().charArrayClass;else if(ih(t))a=Ae().byteArrayClass;else if(ah(t))a=Ae().shortArrayClass;else if(sh(t))a=Ae().intArrayClass;else if(uh(t))a=Ae().longArrayClass;else if(lh(t))a=Ae().floatArrayClass;else if(ch(t))a=Ae().doubleArrayClass;else if(st(t,Ma))a=dm(Ma);else if(ta(t))a=Ae().arrayClass;else{var o=Object.getPrototypeOf(t).constructor,s;if(o===Object)s=Ae().anyClass;else if(o===Error)s=Ae().throwableClass;else{var l=o;s=xu(l)}a=s}e=a;break}return e}function Vh(t){t.lastIndex=0}function pm(t,e){return Gh(e),e}function Qh(t){return pm(t,rt(i($n)))}function Gh(t){return $n.call(t,""),t}function Cu(){return Gh(rt(i($n)))}function $n(t){this.y5_1=t!==void 0?t:""}i($n).a=function(){return this.y5_1.length};i($n).b=function(t){var e=this.y5_1,n;if(0<=t&&t<=(z(e)-1|0))n=F(e,t);else throw Vn("index: "+t+", length: "+this.a()+"}");return n};i($n).c=function(t,e){return this.y5_1.substring(t,e)};i($n).b6=function(t){return this.y5_1=this.y5_1+Yt(t),this};i($n).e=function(t){return this.y5_1=this.y5_1+Xt(t),this};i($n).z5=function(t){return this.y5_1=this.y5_1+Xt(t),this};i($n).a6=function(t){var e=this,n=this.y5_1;return e.y5_1=n+(t==null?"null":t),this};i($n).toString=function(){return this.y5_1};function Rc(t){var e=Yt(t).toUpperCase();return e.length>1?t:F(e,0)}function Jh(t){return O0(t)}function Lc(t,e){return t.toString(Yh(e))}function Yh(t){if(!(2<=t&&t<=36))throw Ht("radix "+t+" was not in valid range 2..36");return t}function _m(t){var e=gd(t),n;return e==null?yd(t):n=e,n}function Oc(t,e){var n=Ou(t,e),r;return n==null?yd(t):r=n,r}function mm(t,e){var n=le(t,48)>=0&&le(t,57)<=0?ma(t,48):le(t,65)>=0&&le(t,90)<=0?ma(t,65)+10|0:le(t,97)>=0&&le(t,122)<=0?ma(t,97)+10|0:le(t,128)<0?-1:le(t,65313)>=0&&le(t,65338)<=0?ma(t,65313)+10|0:le(t,65345)>=0&&le(t,65370)<=0?ma(t,65345)+10|0:R0(t);return n>=e?-1:n}function gm(t,e){return eo.call(e,t,Ru()),e}function ym(t){return gm(t,rt(i(eo)))}function Zh(){el=this,this.o8_1=new RegExp("[\\\\^$*+?.()|[\\]{}]","g"),this.p8_1=new RegExp("[\\\\$]","g"),this.q8_1=new RegExp("\\$","g")}var el;function wm(){return el==null&&new Zh,el}function eo(t,e){wm(),this.r8_1=t,this.s8_1=bp(e),this.t8_1=new RegExp(t,bm(e,"gu")),this.u8_1=null,this.v8_1=null}i(eo).w8=function(t){Vh(this.t8_1);var e=this.t8_1.exec(U(t));return e!=null&&e.index===0&&this.t8_1.lastIndex===z(t)};i(eo).toString=function(){return this.t8_1.toString()};function bm(t,e){return An(t,"",e,u,u,u,km)}function km(t){return t.z8_1}function xm(t,e){return Xm(t,e)}function Su(t){this.a9_1=t}i(Su).b9=function(t,e){return this.a9_1(t,e)};i(Su).compare=function(t,e){return this.b9(t,e)};function $u(t,e,n){return n=n===u?!1:n,n?Ho(t,0,e,0,e.length,n):t.startsWith(e,0)}function Xh(t,e,n){return n=n===u?!1:n,n?Ho(t,t.length-e.length|0,e,0,e.length,n):t.endsWith(e)}function Cm(t,e,n,r){return r=r===u?!1:r,r?Ho(t,n,e,0,e.length,r):t.startsWith(e,n)}function Ho(t,e,n,r,a,o){return o=o===u?!1:o,so(t,e,n,r,a,o)}function Sm(t){return function(e){return e===t?"(this Collection)":Xt(e)}}function Cr(){}i(Cr).j1=function(t){var e;t:{var n;if(st(this,Pt)?n=this.l():n=!1,n){e=!1;break t}for(var r=this.h();r.i();){var a=r.j();if(R(a,t)){e=!0;break t}}e=!1}return e};i(Cr).k1=function(t){var e;t:{var n;if(st(t,Pt)?n=t.l():n=!1,n){e=!0;break t}for(var r=t.h();r.i();){var a=r.j();if(!this.j1(a)){e=!1;break t}}e=!0}return e};i(Cr).l=function(){return this.m()===0};i(Cr).toString=function(){return An(this,", ","[","]",u,u,Sm(this))};i(Cr).toArray=function(){return dh(this)};function Yr(){this.n2_1=2147483639}i(Yr).l3=function(t,e){if(t<0||t>=e)throw Vn("index: "+t+", size: "+e)};i(Yr).c3=function(t,e){if(t<0||t>e)throw Vn("index: "+t+", size: "+e)};i(Yr).o2=function(t,e,n){if(t<0||e>n)throw Vn("fromIndex: "+t+", toIndex: "+e+", size: "+n);if(t>e)throw Ht("fromIndex: "+t+" > toIndex: "+e)};i(Yr).d5=function(t,e){var n=t+(t>>1)|0;return(n-e|0)<0&&(n=e),(n-2147483639|0)>0&&(n=e>2147483639?2147483647:2147483639),n};i(Yr).p3=function(t){for(var e=1,n=t.h();n.i();){var r=n.j(),a=xt(31,e),o=r==null?null:ht(r);e=a+(o==null?0:o)|0}return e};i(Yr).o3=function(t,e){if(t.m()!==e.m())return!1;for(var n=e.h(),r=t.h();r.i();){var a=r.j(),o=n.j();if(!R(a,o))return!1}return!0};var gn;function jc(t,e){return e===t?"(this Map)":Xt(e)}function td(t,e){var n;t:{for(var r=t.u1().h();r.i();){var a=r.j();if(R(a.q1(),e)){n=a;break t}}n=null}return n}function $m(){}function Em(t){return function(e){return t.c9(e)}}function xn(){this.v3_1=null,this.w3_1=null}i(xn).s1=function(t){return td(this,t)!=null};i(xn).x3=function(t){if(!(t!=null&&st(t,wr)))return!1;var e=t.q1(),n=t.r1(),r=(st(this,br)?this:N()).t1(e);if(!R(n,r))return!1;var a;return r==null?a=!(st(this,br)?this:N()).s1(e):a=!1,!a};i(xn).equals=function(t){if(t===this)return!0;if(!(t!=null&&st(t,br))||this.m()!==t.m())return!1;var e;t:{var n=t.u1(),r;if(st(n,Pt)?r=n.l():r=!1,r){e=!0;break t}for(var a=n.h();a.i();){var o=a.j();if(!this.x3(o)){e=!1;break t}}e=!0}return e};i(xn).t1=function(t){var e=td(this,t);return e==null?null:e.r1()};i(xn).hashCode=function(){return ht(this.u1())};i(xn).m=function(){return this.u1().m()};i(xn).toString=function(){var t=this.u1();return An(t,", ","{","}",u,u,Em(this))};i(xn).c9=function(t){return jc(this,t.q1())+"="+jc(this,t.r1())};function Wo(){}i(Wo).z3=function(t){for(var e=0,n=t.h();n.i();){var r=n.j(),a=e,o=r==null?null:ht(r);e=a+(o==null?0:o)|0}return e};i(Wo).y3=function(t,e){return t.m()!==e.m()?!1:t.k1(e)};var Eu;function Im(t){if(t.l())return[];for(var e=t.m(),n=nr(Array(e),null),r=t.h(),a=0;r.i();){var o=a;a=o+1|0,n[o]=r.j()}return n}function Iu(t){return t.length>0?iu(t):la()}function ed(t){return t.length===0?jt():Ja(new Jn(t,!0))}function la(){return Tm()}function no(t){return t.m()-1|0}function qm(t,e,n,r){n=n===u?0:n,r=r===u?t.m():r,Pm(t.m(),n,r);for(var a=n,o=r-1|0;a<=o;){var s=(a+o|0)>>>1|0,l=t.k(s),c=is(l,e);if(c<0)a=s+1|0;else if(c>0)o=s-1|0;else return s}return-(a+1|0)|0}function Nm(t){return t.length===0?jt():Ja(new Jn(t,!0))}function Am(t){switch(t.m()){case 0:return la();case 1:return Qa(t.k(0));default:return t}}function Jn(t,e){this.d9_1=t,this.e9_1=e}i(Jn).m=function(){return this.d9_1.length};i(Jn).l=function(){return this.d9_1.length===0};i(Jn).f9=function(t){return Ds(this.d9_1,t)};i(Jn).g9=function(t){var e;t:{var n;if(st(t,Pt)?n=t.l():n=!1,n){e=!0;break t}for(var r=t.h();r.i();){var a=r.j();if(!this.f9(a)){e=!1;break t}}e=!0}return e};i(Jn).k1=function(t){return this.g9(t)};i(Jn).h=function(){return Lf(this.d9_1)};function de(){nl=this,this.h9_1=new mt(-1478467534,-1720727600)}i(de).equals=function(t){var e;return t!=null&&st(t,Gn)?e=t.l():e=!1,e};i(de).hashCode=function(){return 1};i(de).toString=function(){return"[]"};i(de).m=function(){return 0};i(de).l=function(){return!0};i(de).i9=function(t){return!1};i(de).j1=function(t){return!1};i(de).j9=function(t){return t.l()};i(de).k1=function(t){return this.j9(t)};i(de).k=function(t){throw Vn("Empty list doesn't contain element at index "+t+".")};i(de).k9=function(t){return-1};i(de).l1=function(t){return-1};i(de).l9=function(t){return-1};i(de).m1=function(t){return-1};i(de).h=function(){return ua};i(de).n1=function(){return ua};i(de).o1=function(t){if(t!==0)throw Vn("Index: "+t);return ua};i(de).p1=function(t,e){if(t===0&&e===0)return this;throw Vn("fromIndex: "+t+", toIndex: "+e)};var nl;function Tm(){return nl==null&&new de,nl}function Pm(t,e,n){if(e>n)throw Ht("fromIndex ("+e+") is greater than toIndex ("+n+").");if(e<0)throw Vn("fromIndex ("+e+") is less than zero.");if(n>t)throw Vn("toIndex ("+n+") is greater than size ("+t+").")}function qi(){}i(qi).i=function(){return!1};i(qi).d3=function(){return!1};i(qi).e3=function(){return 0};i(qi).j=function(){throw Ie()};i(qi).f3=function(){throw Ie()};var ua;function Mm(t){return new Jn(t,!1)}function Rm(){throw Uh("Index overflow has happened.")}function si(t,e){this.v_1=t,this.w_1=e}i(si).toString=function(){return"IndexedValue(index="+this.v_1+", value="+Xt(this.w_1)+")"};i(si).hashCode=function(){var t=this.v_1;return t=xt(t,31)+(this.w_1==null?0:ht(this.w_1))|0,t};i(si).equals=function(t){if(this===t)return!0;if(!(t instanceof si))return!1;var e=t instanceof si?t:N();return!(this.v_1!==e.v_1||!R(this.w_1,e.w_1))};function rl(t,e){var n;return st(t,Pt)?n=t.m():n=e,n}function Lm(t,e){return t.q(iu(e))}function Vo(t,e){if(st(e,Pt))return t.q(e);for(var n=!1,r=e.h();r.i();){var a=r.j();t.f(a)&&(n=!0)}return n}function Qo(){}i(Qo).j=function(){return this.m9()};function ro(){}i(ro).n9=function(){return this.o9()};i(ro).j=function(){return new ut(this.n9())};function io(t){return new qu(t)}function Sr(){}function Om(t){var e=new $r;return e.t9_1=S_(t,e,e),e}function jm(t){if(t.i())return t.j();throw Ie()}function nd(t){switch(t.q9_1){case 4:return Ie();case 5:return Hr("Iterator has failed.");default:return Hr("Unexpected state of the iterator: "+t.q9_1)}}function $r(){Sr.call(this),this.q9_1=0,this.r9_1=null,this.s9_1=null,this.t9_1=null}i($r).i=function(){for(;;){switch(this.q9_1){case 0:break;case 1:if(Re(this.s9_1).i())return this.q9_1=2,!0;this.s9_1=null;break;case 4:return!1;case 3:case 2:return!0;default:throw nd(this)}this.q9_1=5;var t=Re(this.t9_1);this.t9_1=null;var e=dt;t.t6(e)}};i($r).j=function(){switch(this.q9_1){case 0:case 1:return jm(this);case 2:return this.q9_1=1,Re(this.s9_1).j();case 3:this.q9_1=0;var t=this.r9_1,e=t==null||t!=null?t:N();return this.r9_1=null,e;default:throw nd(this)}};i($r).p9=function(t,e){return this.r9_1=t,this.q9_1=3,this.t9_1=e,Er()};i($r).u9=function(t){ig(t);var e=t;e==null||e!=null||N(),this.q9_1=4};i($r).t6=function(t){return this.u9(t)};i($r).o6=function(){return Km()};function qu(t){this.v9_1=t}i(qu).h=function(){return Om(this.v9_1)};function Ni(){return ns}function Go(t){this.x9_1=t,this.w9_1=t.y9_1.h()}i(Go).j=function(){return this.x9_1.z9_1(this.w9_1.j())};i(Go).i=function(){return this.w9_1.i()};function Nu(t,e){this.y9_1=t,this.z9_1=e}i(Nu).h=function(){return new Go(this)};function rd(t){for(;t.aa_1.i();){var e=t.aa_1.j();if(t.da_1.ga_1(e)===t.da_1.fa_1)return t.ca_1=e,t.ba_1=1,dt}t.ba_1=0}function Jo(t){this.da_1=t,this.aa_1=t.ea_1.h(),this.ba_1=-1,this.ca_1=null}i(Jo).j=function(){if(this.ba_1===-1&&rd(this),this.ba_1===0)throw Ie();var t=this.ca_1;return this.ca_1=null,this.ba_1=-1,t==null||t!=null?t:N()};i(Jo).i=function(){return this.ba_1===-1&&rd(this),this.ba_1===1};function Au(t,e,n){e=e===u?!0:e,this.ea_1=t,this.fa_1=e,this.ga_1=n}i(Au).h=function(){return new Jo(this)};function Yo(t){this.ha_1=t.ja_1.h(),this.ia_1=0}i(Yo).j=function(){var t=this.ia_1;return this.ia_1=t+1|0,new si(jo(t),this.ha_1.j())};i(Yo).i=function(){return this.ha_1.i()};function Tu(t){this.ja_1=t}i(Tu).h=function(){return new Yo(this)};function Ai(){}function Zo(t){this.ka_1=t.na_1,this.la_1=t.ma_1.h()}i(Zo).j=function(){if(this.ka_1===0)throw Ie();return this.ka_1=this.ka_1-1|0,this.la_1.j()};i(Zo).i=function(){return this.ka_1>0&&this.la_1.i()};function hi(t,e){if(this.ma_1=t,this.na_1=e,!(this.na_1>=0)){var n="count must be non-negative, but was "+this.na_1+".";throw Ht(U(n))}}i(hi).u=function(t){return t>=this.na_1?Ni():new Wr(this.ma_1,t,this.na_1)};i(hi).t=function(t){return t>=this.na_1?this:new hi(this.ma_1,t)};i(hi).h=function(){return new Zo(this)};function id(t){if(t.oa_1.i()){var e=t.oa_1.j();if(t.ra_1.ta_1(e))return t.pa_1=1,t.qa_1=e,dt}t.pa_1=0}function Xo(t){this.ra_1=t,this.oa_1=t.sa_1.h(),this.pa_1=-1,this.qa_1=null}i(Xo).j=function(){if(this.pa_1===-1&&id(this),this.pa_1===0)throw Ie();var t=this.qa_1,e=t==null||t!=null?t:N();return this.qa_1=null,this.pa_1=-1,e};i(Xo).i=function(){return this.pa_1===-1&&id(this),this.pa_1===1};function Pu(t,e){this.sa_1=t,this.ta_1=e}i(Pu).h=function(){return new Xo(this)};function ad(t){for(;t.va_1>0&&t.ua_1.i();)t.ua_1.j(),t.va_1=t.va_1-1|0}function ts(t){this.ua_1=t.wa_1.h(),this.va_1=t.xa_1}i(ts).j=function(){return ad(this),this.ua_1.j()};i(ts).i=function(){return ad(this),this.ua_1.i()};function li(t,e){if(this.wa_1=t,this.xa_1=e,!(this.xa_1>=0)){var n="count must be non-negative, but was "+this.xa_1+".";throw Ht(U(n))}}i(li).u=function(t){var e=this.xa_1+t|0;return e<0?new li(this,t):new li(this.wa_1,e)};i(li).t=function(t){var e=this.xa_1+t|0;return e<0?new hi(this,t):new Wr(this.wa_1,this.xa_1,e)};i(li).h=function(){return new ts(this)};function od(t){for(;t.ya_1.i();){var e=t.ya_1.j();if(!t.bb_1.db_1(e))return t.ab_1=e,t.za_1=1,dt}t.za_1=0}function es(t){this.bb_1=t,this.ya_1=t.cb_1.h(),this.za_1=-1,this.ab_1=null}i(es).j=function(){if(this.za_1===-1&&od(this),this.za_1===1){var t=this.ab_1,e=t==null||t!=null?t:N();return this.ab_1=null,this.za_1=0,e}return this.ya_1.j()};i(es).i=function(){return this.za_1===-1&&od(this),this.za_1===1||this.ya_1.i()};function Mu(t,e){this.cb_1=t,this.db_1=e}i(Mu).h=function(){return new es(this)};function ao(){}i(ao).h=function(){return ua};i(ao).u=function(t){return ns};i(ao).t=function(t){return ns};var ns;function sd(t){for(;t.fb_1<t.gb_1.ib_1&&t.eb_1.i();)t.eb_1.j(),t.fb_1=t.fb_1+1|0}function ld(t){return t.jb_1-t.ib_1|0}function rs(t){this.gb_1=t,this.eb_1=t.hb_1.h(),this.fb_1=0}i(rs).i=function(){return sd(this),this.fb_1<this.gb_1.jb_1&&this.eb_1.i()};i(rs).j=function(){if(sd(this),this.fb_1>=this.gb_1.jb_1)throw Ie();return this.fb_1=this.fb_1+1|0,this.eb_1.j()};function Wr(t,e,n){if(this.hb_1=t,this.ib_1=e,this.jb_1=n,!(this.ib_1>=0)){var r="startIndex should be non-negative, but is "+this.ib_1;throw Ht(U(r))}if(!(this.jb_1>=0)){var a="endIndex should be non-negative, but is "+this.jb_1;throw Ht(U(a))}if(!(this.jb_1>=this.ib_1)){var o="endIndex should be not less than startIndex, but was "+this.jb_1+" < "+this.ib_1;throw Ht(U(o))}}i(Wr).u=function(t){return t>=ld(this)?Ni():new Wr(this.hb_1,this.ib_1+t|0,this.jb_1)};i(Wr).t=function(t){return t>=ld(this)?this:new Wr(this.hb_1,this.ib_1,this.ib_1+t|0)};i(Wr).h=function(){return new rs(this)};function Ru(){return Dm()}function zm(t){return pp(t,i_(t.length))}function Bm(t){switch(t.m()){case 0:return Ru();case 1:return vh(t.h().j());default:return t}}function Yn(){il=this,this.kb_1=new mt(1993859828,793161749)}i(Yn).equals=function(t){var e;return t!=null&&st(t,Qr)?e=t.l():e=!1,e};i(Yn).hashCode=function(){return 0};i(Yn).toString=function(){return"[]"};i(Yn).m=function(){return 0};i(Yn).l=function(){return!0};i(Yn).j9=function(t){return t.l()};i(Yn).k1=function(t){return this.j9(t)};i(Yn).h=function(){return ua};var il;function Dm(){return il==null&&new Yn,il}function is(t,e){return t===e?0:t==null?-1:e==null?1:Uf(t!=null&&q0(t)?t:N(),e)}function ca(){}function ud(){}var cd;function Fm(){}function oo(){al=this,this.lb_1=new mt(0,0)}i(oo).u6=function(t){return null};i(oo).hashCode=function(){return 0};i(oo).toString=function(){return"EmptyCoroutineContext"};var al;function Km(){return al==null&&new oo,al}function Er(){return Hm()}var fd,zc;function Um(){if(zc)return dt;zc=!0,fd=new _o("COROUTINE_SUSPENDED",0),new _o("UNDECIDED",1),new _o("RESUMED",2)}function _o(t,e){kr.call(this,t,e)}function Hm(){return Um(),fd}function hd(t,e,n){var r;if(n>0)r=t>=e?e:e-Bc(e,t,n)|0;else if(n<0)r=t<=e?e:e+Bc(t,e,-n|0)|0;else throw Ht("Step is zero.");return r}function Bc(t,e,n){return Rs(Rs(t,n)-Rs(e,n)|0,n)}function Rs(t,e){var n=t%e|0;return n>=0?n:n+e|0}function dd(){ol=this,this.mb_1=new Vr(1,0)}var ol;function Wm(){return ol==null&&new dd,ol}function Vr(t,e){Wm(),Qn.call(this,t,e,1)}i(Vr).l=function(){return this.qb_1>this.rb_1};i(Vr).equals=function(t){var e;return t instanceof Vr?e=this.l()&&t.l()||this.qb_1===t.qb_1&&this.rb_1===t.rb_1:e=!1,e};i(Vr).hashCode=function(){return this.l()?-1:xt(31,this.qb_1)+this.rb_1|0};i(Vr).toString=function(){return""+this.qb_1+".."+this.rb_1};function vd(){sl=this,this.tb_1=new Ir(1,0)}var sl;function Vm(){return sl==null&&new vd,sl}function Ir(t,e){Vm(),qr.call(this,t,e,1)}i(Ir).xb=function(t){return le(this.yb_1,t)<=0&&le(t,this.zb_1)<=0};i(Ir).l=function(){return le(this.yb_1,this.zb_1)>0};i(Ir).equals=function(t){var e;return t instanceof Ir?e=this.l()&&t.l()||this.yb_1===t.yb_1&&this.zb_1===t.zb_1:e=!1,e};i(Ir).hashCode=function(){var t;if(this.l())t=-1;else{var e=this.yb_1,n=De(e),r=xt(31,n),a=this.zb_1;t=r+De(a)|0}return t};i(Ir).toString=function(){return Yt(this.yb_1)+".."+Yt(this.zb_1)};function as(t,e,n){Qo.call(this),this.bc_1=n,this.cc_1=e,this.dc_1=this.bc_1>0?t<=e:t>=e,this.ec_1=this.dc_1?t:this.cc_1}i(as).i=function(){return this.dc_1};i(as).m9=function(){var t=this.ec_1;if(t===this.cc_1){if(!this.dc_1)throw Ie();this.dc_1=!1}else this.ec_1=this.ec_1+this.bc_1|0;return t};function os(t,e,n){ro.call(this),this.fc_1=n;var r=this;r.gc_1=De(e),this.hc_1=this.fc_1>0?le(t,e)<=0:le(t,e)>=0;var a=this,o;this.hc_1?o=De(t):o=this.gc_1,a.ic_1=o}i(os).i=function(){return this.hc_1};i(os).o9=function(){var t=this.ic_1;if(t===this.gc_1){if(!this.hc_1)throw Ie();this.hc_1=!1}else this.ic_1=this.ic_1+this.fc_1|0;return Aa(t)};function Lu(){}i(Lu).s=function(t,e,n){return new Qn(t,e,n)};var pd;function Qn(t,e,n){if(n===0)throw Ht("Step must be non-zero.");if(n===-2147483648)throw Ht("Step must be greater than Int.MIN_VALUE to avoid overflow on negation.");this.qb_1=t,this.rb_1=hd(t,e,n),this.sb_1=n}i(Qn).h=function(){return new as(this.qb_1,this.rb_1,this.sb_1)};i(Qn).l=function(){return this.sb_1>0?this.qb_1>this.rb_1:this.qb_1<this.rb_1};i(Qn).equals=function(t){var e;return t instanceof Qn?e=this.l()&&t.l()||this.qb_1===t.qb_1&&this.rb_1===t.rb_1&&this.sb_1===t.sb_1:e=!1,e};i(Qn).hashCode=function(){return this.l()?-1:xt(31,xt(31,this.qb_1)+this.rb_1|0)+this.sb_1|0};i(Qn).toString=function(){return this.sb_1>0?""+this.qb_1+".."+this.rb_1+" step "+this.sb_1:""+this.qb_1+" downTo "+this.rb_1+" step "+(-this.sb_1|0)};function Qm(){}function qr(t,e,n){if(n===0)throw Ht("Step must be non-zero.");if(n===-2147483648)throw Ht("Step must be greater than Int.MIN_VALUE to avoid overflow on negation.");this.yb_1=t;var r=this,a=De(t),o=De(e);r.zb_1=Aa(hd(a,o,n)),this.ac_1=n}i(qr).h=function(){return new os(this.yb_1,this.zb_1,this.ac_1)};i(qr).l=function(){return this.ac_1>0?le(this.yb_1,this.zb_1)>0:le(this.yb_1,this.zb_1)<0};i(qr).equals=function(t){var e;return t instanceof qr?e=this.l()&&t.l()||this.yb_1===t.yb_1&&this.zb_1===t.zb_1&&this.ac_1===t.ac_1:e=!1,e};i(qr).hashCode=function(){var t;if(this.l())t=-1;else{var e=this.yb_1,n=De(e),r=xt(31,n),a=this.zb_1,o=De(a);t=xt(31,r+o|0)+this.ac_1|0}return t};i(qr).toString=function(){return this.ac_1>0?Yt(this.yb_1)+".."+Yt(this.zb_1)+" step "+this.ac_1:Yt(this.yb_1)+" downTo "+Yt(this.zb_1)+" step "+(-this.ac_1|0)};function _d(t,e,n){n!=null?t.e(n(e)):e==null||we(e)?t.e(e):e instanceof ut?t.b6(e.x_1):t.e(Xt(e))}function md(t,e,n){if(n=n===u?!1:n,t===e)return!0;if(!n)return!1;var r=Rc(t),a=Rc(e),o;if(r===a)o=!0;else{var s=Yt(r).toLowerCase(),l=F(s,0),c=Yt(a).toLowerCase();o=l===F(c,0)}return o}function gd(t){return Ou(t,10)}function Ou(t,e){Yh(e);var n=t.length;if(n===0)return null;var r,a,o,s=F(t,0);if(le(s,48)<0){if(n===1)return null;if(r=1,s===45)a=!0,o=-2147483648;else if(s===43)a=!1,o=-2147483647;else return null}else r=0,a=!1,o=-2147483647;var l=-59652323,c=l,f=0,h=r;if(h<n)do{var d=h;h=h+1|0;var p=mm(F(t,d),e);if(p<0)return null;if(f<c)if(c===l){if(c=o/e|0,f<c)return null}else return null;if(f=xt(f,e),f<(o+p|0))return null;f=f-p|0}while(h<n);return a?f:-f|0}function yd(t){throw Fh("Invalid number format: '"+t+"'")}function ju(t,e,n){n=n===u?!1:n;var r,a;return n?a=!1:a=typeof t=="string",a?r=typeof e=="string":r=!1,r?$u(t,e):so(t,0,e,0,z(e),n)}function zu(t,e,n){n=n===u?!1:n;var r;return typeof e=="string"?r=ll(t,e,u,n)>=0:r=wd(t,e,0,z(t),n)>=0,r}function ss(t,e,n){n=n===u?!1:n;var r,a;return n?a=!1:a=typeof t=="string",a?r=typeof e=="string":r=!1,r?Xh(t,e):so(t,z(t)-z(e)|0,e,0,z(e),n)}function Gm(t){var e;t:{for(var n=0;n<z(t);){var r=F(t,n);if(n=n+1|0,!Jh(r)){e=!1;break t}}e=!0}return e}function Ye(t,e,n){return n=n===u?!1:n,Ym(t,e,u,n)>=0}function ls(t,e,n,r){r=r===u?!1:r;var a,o;return r?o=!1:o=typeof t=="string",o?a=typeof e=="string":a=!1,a?Cm(t,e,n):so(t,n,e,0,z(e),r)}function ll(t,e,n,r){n=n===u?0:n,r=r===u?!1:r;var a,o;return r?o=!0:o=typeof t!="string",o?a=wd(t,e,n,z(t),r):a=t.indexOf(e,n),a}function so(t,e,n,r,a,o){if(r<0||e<0||e>(z(t)-a|0)||r>(z(n)-a|0))return!1;var s=0;if(s<a)do{var l=s;if(s=s+1|0,!md(F(t,e+l|0),F(n,r+l|0),o))return!1}while(s<a);return!0}function wd(t,e,n,r,a,o){o=o===u?!1:o;var s=o?kp($a(n,bd(t)),xo(r,0)):x0(xo(n,0),$a(r,z(t))),l;if(typeof t=="string"?l=typeof e=="string":l=!1,l){var c=s.qb_1,f=s.rb_1,h=s.sb_1;if(h>0&&c<=f||h<0&&f<=c)do{var d=c;if(c=c+h|0,Ho(e,0,t,d,z(e),a))return d}while(d!==f)}else{var p=s.qb_1,v=s.rb_1,_=s.sb_1;if(_>0&&p<=v||_<0&&v<=p)do{var m=p;if(p=p+_|0,so(e,0,t,m,z(e),a))return m}while(m!==v)}return-1}function Jm(t){var e=0,n=z(t)-1|0,r=!1;t:for(;e<=n;){var a=r?n:e,o=Jh(F(t,a));if(!r)o?e=e+1|0:r=!0;else if(o)n=n-1|0;else break t}return dn(t,e,n+1|0)}function Ym(t,e,n,r){n=n===u?0:n,r=r===u?!1:r;var a,o;if(r?o=!0:o=typeof t!="string",o){var s=Dp([e]);a=Zm(t,s,n,r)}else{var l=Yt(e);a=t.indexOf(l,n)}return a}function bd(t){return z(t)-1|0}function Zm(t,e,n,r){n=n===u?0:n,r=r===u?!1:r;var a;if(!r&&e.length===1?a=typeof t=="string":a=!1,a){var o=fp(e),s=Yt(o);return t.indexOf(s,n)}var l=xo(n,0),c=bd(t);if(l<=c)do{var f=l;l=l+1|0;var h=F(t,f),d;t:{for(var p=0,v=e.length;p<v;){var _=e[p];if(p=p+1|0,md(_,h,r)){d=!0;break t}}d=!1}if(d)return f}while(f!==c);return-1}function Xm(t,e){var n;if(t!=null&&typeof t=="string"?n=e!=null?typeof e=="string":!1:n=!1,n)return R(t,e);if(t===e)return!0;if(t==null||e==null||z(t)!==z(e))return!1;var r=0,a=z(t);if(r<a)do{var o=r;if(r=r+1|0,F(t,o)!==F(e,o))return!1}while(r<a);return!0}function lo(t){this.jc_1=t,this.kc_1=us}i(lo).r1=function(){this.kc_1===us&&(this.kc_1=Re(this.jc_1)(),this.jc_1=null);var t=this.kc_1;return t==null||t!=null?t:N()};i(lo).lc=function(){return this.kc_1!==us};i(lo).toString=function(){return this.lc()?Xt(this.r1()):"Lazy value not initialized yet."};function kd(){}var us;function tg(t){var e=t;return e instanceof Nr}function eg(t){var e;return t instanceof Nr?e=t.mc_1:e=null,e}function ng(){}function Nr(t){this.mc_1=t}i(Nr).equals=function(t){var e;return t instanceof Nr?e=R(this.mc_1,t.mc_1):e=!1,e};i(Nr).hashCode=function(){return ht(this.mc_1)};i(Nr).toString=function(){return"Failure("+this.mc_1.toString()+")"};function rg(t){return new Nr(t)}function ig(t){var e=t;if(e instanceof Nr)throw t.mc_1}function ul(t){t=t===u?"An operation is not implemented.":t,R_(t,this),J(this,ul)}function Pn(t,e){this.nc_1=t,this.oc_1=e}i(Pn).toString=function(){return"("+Xt(this.nc_1)+", "+Xt(this.oc_1)+")"};i(Pn).pc=function(){return this.nc_1};i(Pn).qc=function(){return this.oc_1};i(Pn).hashCode=function(){var t=this.nc_1==null?0:ht(this.nc_1);return t=xt(t,31)+(this.oc_1==null?0:ht(this.oc_1))|0,t};i(Pn).equals=function(t){if(this===t)return!0;if(!(t instanceof Pn))return!1;var e=t instanceof Pn?t:N();return!(!R(this.nc_1,e.nc_1)||!R(this.oc_1,e.oc_1))};function Dc(t,e){return new Pn(t,e)}i(ke).asJsReadonlyArrayView=xf;i(Ee).p4=up;i(de).asJsReadonlyArrayView=xf;dt=new Wl;po=null;Ya=new $h;qh=new ea;gn=new Yr;Eu=new Wo;ua=new qi;ns=new ao;cd=new ud;pd=new Lu;us=new kd;var Q=Math.imul;He(un,"Stringify");function Bu(){return this.uc()-this.tc()|0}He(ms,"Position",u,u,[un]);x(Ve,"Expression",u,u,[ms]);x(vt,"BinaryExpression",u,Ve);x(cs,"sam$kotlin_Comparator$0");xe(Ra);x(Z,"CompareOperator",u,u,[un]);ct(Un,"Equal",u,Z);ct(sr,"NotEqual",u,Z);ct(lr,"Start",u,Z);ct(ur,"NotStart",u,Z);ct(cr,"Include",u,Z);ct(fr,"NotInclude",u,Z);ct(hr,"End",u,Z);ct(dr,"NotEnd",u,Z);ct(vr,"Less",u,Z);ct(pr,"LessEqual",u,Z);ct(_r,"More",u,Z);ct(mr,"MoreEqual",u,Z);ct(gr,"Matches",u,Z);ct(yr,"NotMatches",u,Z);x(Ti,"ConnectExpression",u,u,[un]);x(ds,"sam$kotlin_Comparator$0");xe(La);x(Ce,"ConnectOperator",u,u,[un]);ct(Or,"BeforeBrother",u,Ce);ct(jr,"AfterBrother",u,Ce);ct(zr,"Ancestor",u,Ce);ct(Br,"Child",u,Ce);ct(Dr,"Descendant",u,Ce);x(ge,"ConnectSegment",ge,u,[un]);x(Te,"ConnectWrapper",u,u,[un]);x(ie,"Context");x(Ft,"SelectorCheckException",u,Sn);x(rn,"UnknownIdentifierException",u,Ft);x(an,"UnknownMemberException",u,Ft);x(Qe,"UnknownIdentifierMethodException",u,Ft);x(on,"UnknownIdentifierMethodParamsException",u,Ft);x(Ge,"UnknownMemberMethodException",u,Ft);x(sn,"UnknownMemberMethodParamsException",u,Ft);x(ce,"MismatchParamTypeException",u,Ft);x($e,"MismatchExpressionTypeException",u,Ft);x(ln,"MismatchOperatorTypeException",u,Ft);x(Fe,"FastQuery",u,u,[un]);x(vn,"Id",u,Fe);x(pn,"Vid",u,Fe);x(_n,"Text",u,Fe);x(pt,"LogicalExpression",u,Ve);x(_s,"sam$kotlin_Comparator$0");xe(Oa);x(Ln,"LogicalOperator",u,u,[un]);ct(Fr,"AndOperator",u,Ln);ct(Kr,"OrOperator",u,Ln);x(Ke,"MatchOption",Ke);x(ae,"NotExpression",u,Ve);x(Bt,"PolynomialExpression",Bt,Ti);x(Zt,"PositionImpl",u,u,[ms]);x(fe,"PropertySegment",u,u,[un]);x(oe,"PropertyWrapper",u,u,[un]);xe(gs);x(qe,"Selector",u,u,[un]);x(he,"SyntaxError",u,Sn);xe(Vu);Wa(di,Le,u,[1]);Wa(vi,Le,u,[1]);Wa(pi,Le,u,[1]);Wa(_i,Le,u,[1]);Wa(mi,Le,u,[1]);x($t,"Transform");x(Pe,"TupleExpression",u,Ti);x(cn,"PrimitiveType");ct(ui,"BooleanType",u,cn);ct(ci,"IntType",u,cn);ct(fi,"StringType",u,cn);x(Ue,"ObjectType",u,cn);x(X,"MethodInfo",u,u,[un]);x(it,"PropInfo");x(Jt,"TypeInfo",u,u,[un]);x(se,"ValueExpression",u,u,[ms]);x(Oe,"Variable",u,se);x(It,"Identifier",u,Oe);x(bt,"MemberExpression",u,Oe);x(qt,"CallExpression",u,Oe);x(Ze,"LiteralExpression",u,se);x(Me,"NullLiteral",u,Ze);x(ye,"BooleanLiteral",u,Ze);x(te,"IntLiteral",u,Ze);x(kt,"StringLiteral",u,Ze);x(Gt,"Parser");x(Dt,"ParserResult");ct(co,"ParserSet");x(Xr,"DefaultTypeInfo");function vt(t,e,n,r,a){Ve.call(this),this.rc_1=t,this.sc_1=e,this.left=n,this.operator=r,this.right=a}i(vt).tc=function(){return this.rc_1};i(vt).uc=function(){return this.sc_1};i(vt).vc=function(){return this.left};i(vt).wc=function(){return this.operator};i(vt).xc=function(){return this.right};i(vt).match=function(t,e){return this.operator.value.ad(t,e,this.left,this.right)};i(vt).bd=function(){return[this]};i(vt).stringify=function(){return this.left.stringify()+this.operator.stringify()+this.right.stringify()};i(vt).cd=function(){return rr([this.left.properties,this.right.properties])};i(vt).dd=function(){return rr([this.left.methods,this.right.methods])};i(vt).pc=function(){return this.rc_1};i(vt).qc=function(){return this.sc_1};i(vt).ed=function(){return this.left};i(vt).fd=function(){return this.operator};i(vt).gd=function(){return this.right};i(vt).hd=function(t,e,n,r,a){return new vt(t,e,n,r,a)};i(vt).copy=function(t,e,n,r,a,o){return t=t===u?this.rc_1:t,e=e===u?this.sc_1:e,n=n===u?this.left:n,r=r===u?this.operator:r,a=a===u?this.right:a,this.hd(t,e,n,r,a)};i(vt).toString=function(){return"BinaryExpression(start="+this.rc_1+", end="+this.sc_1+", left="+U(this.left)+", operator="+this.operator.toString()+", right="+U(this.right)+")"};i(vt).hashCode=function(){var t=this.rc_1;return t=Q(t,31)+this.sc_1|0,t=Q(t,31)+ht(this.left)|0,t=Q(t,31)+this.operator.hashCode()|0,t=Q(t,31)+ht(this.right)|0,t};i(vt).equals=function(t){if(this===t)return!0;if(!(t instanceof vt))return!1;var e=t instanceof vt?t:N();return!(this.rc_1!==e.rc_1||this.sc_1!==e.sc_1||!R(this.left,e.left)||!this.operator.equals(e.operator)||!R(this.right,e.right))};function ag(t,e,n){if(t===n)return!0;if(z(t)!==z(n))return!1;var r=z(t)-1|0;if(0<=r)do{var a=r;if(r=r+-1|0,F(t,a)!==F(n,a))return!1}while(0<=r);return!0}function cs(t){this.id_1=t}i(cs).b9=function(t,e){return this.id_1(t,e)};i(cs).compare=function(t,e){return this.b9(t,e)};function og(){var t=Iu([or(),xd(),Zr(),Cd(),Du(),Sd(),Fu(),$d(),uo(),Ed(),Id(),qd(),hs(),Ku()]),e=sg,n=new cs(e),r=Yl(t,n);return kn(r)}function sg(t,e){var n=-t.key.length|0,r=-e.key.length|0;return is(n,r)}function Ra(){cl=this;var t=this;t.jd_1=Pa(og)}i(Ra).kd=function(){var t=this.jd_1;return lg(),t.r1()};var cl;function fs(){return cl==null&&new Ra,cl}function Un(){fl=this,Z.call(this,"=")}i(Un).ad=function(t,e,n,r){var a=n.nd(t,e),o=r.nd(t,e);return this.compare(a,o)};i(Un).od=function(t,e){return!0};i(Un).compare=function(t,e){var n,r;return t!=null&&we(t)?r=e!=null?we(e):!1:r=!1,r?n=ag(t,fs(),e):n=R(t,e),n};i(Un).toString=function(){return"Equal"};i(Un).hashCode=function(){return 717536815};i(Un).equals=function(t){return this===t?!0:t instanceof Un?(t instanceof Un||N(),!0):!1};var fl;function or(){return fl==null&&new Un,fl}function sr(){hl=this,Z.call(this,"!=")}i(sr).ad=function(t,e,n,r){return!or().ad(t,e,n,r)};i(sr).od=function(t,e){return!0};i(sr).toString=function(){return"NotEqual"};i(sr).hashCode=function(){return 1058184006};i(sr).equals=function(t){return this===t?!0:t instanceof sr?(t instanceof sr||N(),!0):!1};var hl;function xd(){return hl==null&&new sr,hl}function lr(){dl=this,Z.call(this,"^=")}i(lr).ad=function(t,e,n,r){var a=n.nd(t,e),o=r.nd(t,e),s,l;return a!=null&&we(a)?l=o!=null?we(o):!1:l=!1,l?s=ju(a,o):s=!1,s};i(lr).od=function(t,e){var n,r;if(t instanceof kt?r=!0:r=t instanceof Oe,r){var a;e instanceof kt?a=!0:a=e instanceof Oe,n=a}else n=!1;return n};i(lr).toString=function(){return"Start"};i(lr).hashCode=function(){return 730536797};i(lr).equals=function(t){return this===t?!0:t instanceof lr?(t instanceof lr||N(),!0):!1};var dl;function Zr(){return dl==null&&new lr,dl}function ur(){vl=this,Z.call(this,"!^=")}i(ur).ad=function(t,e,n,r){var a=n.nd(t,e),o=r.nd(t,e),s,l;return a!=null&&we(a)?l=o!=null?we(o):!1:l=!1,l?s=!ju(a,o):s=!1,s};i(ur).od=function(t,e){return Zr().od(t,e)};i(ur).toString=function(){return"NotStart"};i(ur).hashCode=function(){return 1071183988};i(ur).equals=function(t){return this===t?!0:t instanceof ur?(t instanceof ur||N(),!0):!1};var vl;function Cd(){return vl==null&&new ur,vl}function cr(){pl=this,Z.call(this,"*=")}i(cr).ad=function(t,e,n,r){var a=n.nd(t,e),o=r.nd(t,e),s,l;return a!=null&&we(a)?l=o!=null?we(o):!1:l=!1,l?s=zu(a,o):s=!1,s};i(cr).od=function(t,e){return Zr().od(t,e)};i(cr).toString=function(){return"Include"};i(cr).hashCode=function(){return 1510988003};i(cr).equals=function(t){return this===t?!0:t instanceof cr?(t instanceof cr||N(),!0):!1};var pl;function Du(){return pl==null&&new cr,pl}function fr(){_l=this,Z.call(this,"!*=")}i(fr).ad=function(t,e,n,r){var a=n.nd(t,e),o=r.nd(t,e),s,l;return a!=null&&we(a)?l=o!=null?we(o):!1:l=!1,l?s=!zu(a,o):s=!1,s};i(fr).od=function(t,e){return Zr().od(t,e)};i(fr).toString=function(){return"NotInclude"};i(fr).hashCode=function(){return-1839543238};i(fr).equals=function(t){return this===t?!0:t instanceof fr?(t instanceof fr||N(),!0):!1};var _l;function Sd(){return _l==null&&new fr,_l}function hr(){ml=this,Z.call(this,"$=")}i(hr).ad=function(t,e,n,r){var a=n.nd(t,e),o=r.nd(t,e),s,l;return a!=null&&we(a)?l=o!=null?we(o):!1:l=!1,l?s=ss(a,o):s=!1,s};i(hr).od=function(t,e){return Zr().od(t,e)};i(hr).toString=function(){return"End"};i(hr).hashCode=function(){return 1234264726};i(hr).equals=function(t){return this===t?!0:t instanceof hr?(t instanceof hr||N(),!0):!1};var ml;function Fu(){return ml==null&&new hr,ml}function dr(){gl=this,Z.call(this,"!$=")}i(dr).ad=function(t,e,n,r){var a=n.nd(t,e),o=r.nd(t,e),s,l;return a!=null&&we(a)?l=o!=null?we(o):!1:l=!1,l?s=!ss(a,o):s=!1,s};i(dr).od=function(t,e){return Zr().od(t,e)};i(dr).toString=function(){return"NotEnd"};i(dr).hashCode=function(){return 1024563565};i(dr).equals=function(t){return this===t?!0:t instanceof dr?(t instanceof dr||N(),!0):!1};var gl;function $d(){return gl==null&&new dr,gl}function vr(){yl=this,Z.call(this,"<")}i(vr).ad=function(t,e,n,r){var a=n.nd(t,e),o=r.nd(t,e),s,l;return a!=null&&typeof a=="number"?l=o!=null?typeof o=="number":!1:l=!1,l?s=a<o:s=!1,s};i(vr).od=function(t,e){var n,r;if(t instanceof Oe?r=!0:r=t instanceof te,r){var a;e instanceof te?a=!0:a=e instanceof Oe,n=a}else n=!1;return n};i(vr).toString=function(){return"Less"};i(vr).hashCode=function(){return-392298690};i(vr).equals=function(t){return this===t?!0:t instanceof vr?(t instanceof vr||N(),!0):!1};var yl;function uo(){return yl==null&&new vr,yl}function pr(){wl=this,Z.call(this,"<=")}i(pr).ad=function(t,e,n,r){var a=n.nd(t,e),o=r.nd(t,e),s,l;return a!=null&&typeof a=="number"?l=o!=null?typeof o=="number":!1:l=!1,l?s=a<=o:s=!1,s};i(pr).od=function(t,e){return uo().od(t,e)};i(pr).toString=function(){return"LessEqual"};i(pr).hashCode=function(){return-2095624554};i(pr).equals=function(t){return this===t?!0:t instanceof pr?(t instanceof pr||N(),!0):!1};var wl;function Ed(){return wl==null&&new pr,wl}function _r(){bl=this,Z.call(this,">")}i(_r).ad=function(t,e,n,r){var a=n.nd(t,e),o=r.nd(t,e),s,l;return a!=null&&typeof a=="number"?l=o!=null?typeof o=="number":!1:l=!1,l?s=a>o:s=!1,s};i(_r).od=function(t,e){return uo().od(t,e)};i(_r).toString=function(){return"More"};i(_r).hashCode=function(){return-392259334};i(_r).equals=function(t){return this===t?!0:t instanceof _r?(t instanceof _r||N(),!0):!1};var bl;function Id(){return bl==null&&new _r,bl}function mr(){kl=this,Z.call(this,">=")}i(mr).ad=function(t,e,n,r){var a=n.nd(t,e),o=r.nd(t,e),s,l;return a!=null&&typeof a=="number"?l=o!=null?typeof o=="number":!1:l=!1,l?s=a>=o:s=!1,s};i(mr).od=function(t,e){return uo().od(t,e)};i(mr).toString=function(){return"MoreEqual"};i(mr).hashCode=function(){return-648189350};i(mr).equals=function(t){return this===t?!0:t instanceof mr?(t instanceof mr||N(),!0):!1};var kl;function qd(){return kl==null&&new mr,kl}function gr(){xl=this,Z.call(this,"~=")}i(gr).ad=function(t,e,n,r){var a=n.nd(t,e),o,s;return a!=null&&we(a)?s=r instanceof kt:s=!1,s?o=r.xd_1(a):o=!1,o};i(gr).od=function(t,e){var n;if(t instanceof Oe){var r;e instanceof kt?r=e.wd_1!=null:r=!1,n=r}else n=!1;return n};i(gr).toString=function(){return"Matches"};i(gr).hashCode=function(){return 409275758};i(gr).equals=function(t){return this===t?!0:t instanceof gr?(t instanceof gr||N(),!0):!1};var xl;function hs(){return xl==null&&new gr,xl}function yr(){Cl=this,Z.call(this,"!~=")}i(yr).ad=function(t,e,n,r){var a=n.nd(t,e),o,s;return a!=null&&we(a)?s=r instanceof kt:s=!1,s?o=!r.xd_1(a):o=!1,o};i(yr).od=function(t,e){return hs().od(t,e)};i(yr).toString=function(){return"NotMatches"};i(yr).hashCode=function(){return 1353711813};i(yr).equals=function(t){return this===t?!0:t instanceof yr?(t instanceof yr||N(),!0):!1};var Cl;function Ku(){return Cl==null&&new yr,Cl}function Z(t){fs(),this.key=t}i(Z).q1=function(){return this.key};i(Z).stringify=function(){return this.key};function lg(){return Va("allSubClasses",1,Uo,function(t){return t.allSubClasses},null)}function Ti(){}function ds(t){this.ae_1=t}i(ds).b9=function(t,e){return this.ae_1(t,e)};i(ds).compare=function(t,e){return this.b9(t,e)};function ug(){var t=Iu([Nd(),Ad(),Io(),Td(),ps()]),e=cg,n=new ds(e);return Yl(t,n)}function cg(t,e){var n=-t.key.length|0,r=-e.key.length|0;return is(n,r)}function La(){Sl=this;var t=this;t.be_1=Pa(ug)}i(La).kd=function(){var t=this.be_1;return fg(),t.r1()};var Sl;function vs(){return Sl==null&&new La,Sl}function Or(){$l=this,Ce.call(this,"+")}i(Or).ce=function(t,e,n){return e.traverseBeforeBrothers(t,n)};i(Or).toString=function(){return"BeforeBrother"};i(Or).hashCode=function(){return 1632618113};i(Or).equals=function(t){return this===t?!0:t instanceof Or?(t instanceof Or||N(),!0):!1};var $l;function Nd(){return $l==null&&new Or,$l}function jr(){El=this,Ce.call(this,"-")}i(jr).ce=function(t,e,n){return e.traverseAfterBrothers(t,n)};i(jr).toString=function(){return"AfterBrother"};i(jr).hashCode=function(){return 1215887620};i(jr).equals=function(t){return this===t?!0:t instanceof jr?(t instanceof jr||N(),!0):!1};var El;function Ad(){return El==null&&new jr,El}function zr(){Il=this,Ce.call(this,">")}i(zr).ce=function(t,e,n){return e.traverseAncestors(t,n)};i(zr).toString=function(){return"Ancestor"};i(zr).hashCode=function(){return 736770963};i(zr).equals=function(t){return this===t?!0:t instanceof zr?(t instanceof zr||N(),!0):!1};var Il;function Io(){return Il==null&&new zr,Il}function Br(){ql=this,Ce.call(this,"<")}i(Br).ce=function(t,e,n){return e.traverseChildren(t,n)};i(Br).toString=function(){return"Child"};i(Br).hashCode=function(){return-1105093796};i(Br).equals=function(t){return this===t?!0:t instanceof Br?(t instanceof Br||N(),!0):!1};var ql;function Td(){return ql==null&&new Br,ql}function Dr(){Nl=this,Ce.call(this,"<<")}i(Dr).ce=function(t,e,n){return e.traverseDescendants(t,n)};i(Dr).toString=function(){return"Descendant"};i(Dr).hashCode=function(){return 2093403837};i(Dr).equals=function(t){return this===t?!0:t instanceof Dr?(t instanceof Dr||N(),!0):!1};var Nl;function ps(){return Nl==null&&new Dr,Nl}function Ce(t){vs(),this.key=t}i(Ce).q1=function(){return this.key};i(Ce).stringify=function(){return this.key};function fg(){return Va("allSubClasses",1,Uo,function(t){return t.allSubClasses},null)}function ge(t,e){t=t===u?Io():t,e=e===u?new Bt:e,this.operator=t,this.connectExpression=e;var n=this,r,a,o;if(R(this.operator,Io())){var s=this.connectExpression;o=s instanceof Bt}else o=!1;o?a=this.connectExpression.a===1:a=!1,a?r=this.connectExpression.b===0:r=!1,n.isMatchAnyAncestor=r;var l=this,c,f,h;if(R(this.operator,ps())){var d=this.connectExpression;h=d instanceof Bt}else h=!1;h?f=this.connectExpression.a===1:f=!1,f?c=this.connectExpression.b===0:c=!1,l.isMatchAnyDescendant=c}i(ge).wc=function(){return this.operator};i(ge).he=function(){return this.connectExpression};i(ge).stringify=function(){return this.isMatchAnyAncestor?"":this.operator.stringify()+this.connectExpression.stringify()};i(ge).ie=function(t,e){return this.operator.ce(t,e,this.connectExpression)};i(ge).je=function(){return this.isMatchAnyAncestor};i(ge).ke=function(){return this.isMatchAnyDescendant};i(ge).pc=function(){return this.operator};i(ge).qc=function(){return this.connectExpression};i(ge).le=function(t,e){return new ge(t,e)};i(ge).copy=function(t,e,n){return t=t===u?this.operator:t,e=e===u?this.connectExpression:e,this.le(t,e)};i(ge).toString=function(){return"ConnectSegment(operator="+U(this.operator)+", connectExpression="+U(this.connectExpression)+")"};i(ge).hashCode=function(){var t=ht(this.operator);return t=Q(t,31)+ht(this.connectExpression)|0,t};i(ge).equals=function(t){if(this===t)return!0;if(!(t instanceof ge))return!1;var e=t instanceof ge?t:N();return!(!R(this.operator,e.operator)||!R(this.connectExpression,e.connectExpression))};function Te(t,e){this.segment=t,this.to=e,this.me_1=this.to.isMatchRoot&&this.segment.isMatchAnyAncestor;var n=this,r;this.segment.isMatchAnyDescendant?r=!this.to.fastQueryList.l():r=!1,n.canFq=r}i(Te).ne=function(){return this.segment};i(Te).oe=function(){return this.to};i(Te).stringify=function(){var t=this.to.stringify()+" "+this.segment.stringify();return U(Jm(we(t)?t:N()))};i(Te).matchContext=function(t,e,n){if(this.me_1){var r=e.getRoot(t.current),a;if(r==null)return null;a=r;var o=a;return this.to.matchContext(t.next(o),e,n)}if(this.canFq&&n.fastQuery)for(var s=e.traverseFastQueryDescendants(t.current,this.to.fastQueryList).h();s.i();){var l=s.j(),c=this.to.matchContext(t.next(l),e,n);if(c!=null)return c}else for(var f=this.segment.ie(t.current,e).h();f.i();){var h=f.j();t:{if(h==null)break t;var d=this.to.matchContext(t.next(h),e,n);if(d!=null)return d}}return null};i(Te).pe=function(){return this.canFq};i(Te).pc=function(){return this.segment};i(Te).qc=function(){return this.to};i(Te).qe=function(t,e){return new Te(t,e)};i(Te).copy=function(t,e,n){return t=t===u?this.segment:t,e=e===u?this.to:e,this.qe(t,e)};i(Te).toString=function(){return"ConnectWrapper(segment="+this.segment.toString()+", to="+this.to.toString()+")"};i(Te).hashCode=function(){var t=this.segment.hashCode();return t=Q(t,31)+this.to.hashCode()|0,t};i(Te).equals=function(t){if(this===t)return!0;if(!(t instanceof Te))return!1;var e=t instanceof Te?t:N();return!(!this.segment.equals(e.segment)||!this.to.equals(e.to))};function ie(t,e){e=e===u?null:e,this.current=t,this.prev=e}i(ie).re=function(){return this.current};i(ie).se=function(){return this.prev};i(ie).getPrev=function(t){if(t<0)return null;var e=this.prev,n;if(e==null)return null;n=e;var r=n,a=0;if(a<t)do{a=a+1|0;var o=r.prev,s;if(o==null)return null;s=o,r=s}while(a<t);return r};i(ie).get=function(t){if(t===0)return this;var e=this.getPrev(t-1|0),n;if(e==null)throw mu();return n=e,n};i(ie).toList=function(){for(var t=ed([this.current]),e=this.prev;e!=null;)t.f(e.current),e=e.prev;return t};i(ie).toArray=function(){var t=this.toList(),e=st(t,Gn)?t:N(),n=kn(e);return ta(n)?n:N()};i(ie).next=function(t){return new ie(t,this)};i(ie).pc=function(){return this.current};i(ie).qc=function(){return this.prev};i(ie).te=function(t,e){return new ie(t,e)};i(ie).copy=function(t,e,n){return t=t===u?this.current:t,e=e===u?this.prev:e,this.te(t,e)};i(ie).toString=function(){return"Context(current="+Xt(this.current)+", prev="+Xt(this.prev)+")"};i(ie).hashCode=function(){var t=this.current==null?0:ht(this.current);return t=Q(t,31)+(this.prev==null?0:this.prev.hashCode())|0,t};i(ie).equals=function(t){if(this===t)return!0;if(!(t instanceof ie))return!1;var e=t instanceof ie?t:N();return!(!R(this.current,e.current)||!R(this.prev,e.prev))};function Ft(t){zo(t,this),J(this,Ft),this.ue_1=t}i(Ft).i7=function(){return this.ue_1};function rn(t){Ft.call(this,"Unknown Identifier: "+t.stringify()),J(this,rn),this.value=t}i(rn).r1=function(){return this.value};i(rn).pc=function(){return this.value};i(rn).we=function(t){return new rn(t)};i(rn).copy=function(t,e){return t=t===u?this.value:t,this.we(t)};i(rn).toString=function(){return"UnknownIdentifierException(value="+this.value.toString()+")"};i(rn).hashCode=function(){return this.value.hashCode()};i(rn).equals=function(t){if(this===t)return!0;if(!(t instanceof rn))return!1;var e=t instanceof rn?t:N();return!!this.value.equals(e.value)};function an(t){Ft.call(this,"Unknown Member: "+t.stringify()),J(this,an),this.value=t}i(an).r1=function(){return this.value};i(an).pc=function(){return this.value};i(an).ye=function(t){return new an(t)};i(an).copy=function(t,e){return t=t===u?this.value:t,this.ye(t)};i(an).toString=function(){return"UnknownMemberException(value="+this.value.toString()+")"};i(an).hashCode=function(){return this.value.hashCode()};i(an).equals=function(t){if(this===t)return!0;if(!(t instanceof an))return!1;var e=t instanceof an?t:N();return!!this.value.equals(e.value)};function Qe(t){Ft.call(this,"Unknown Identifier Method: "+t.stringify()),J(this,Qe),this.value=t}i(Qe).r1=function(){return this.value};i(Qe).pc=function(){return this.value};i(Qe).we=function(t){return new Qe(t)};i(Qe).copy=function(t,e){return t=t===u?this.value:t,this.we(t)};i(Qe).toString=function(){return"UnknownIdentifierMethodException(value="+this.value.toString()+")"};i(Qe).hashCode=function(){return this.value.hashCode()};i(Qe).equals=function(t){if(this===t)return!0;if(!(t instanceof Qe))return!1;var e=t instanceof Qe?t:N();return!!this.value.equals(e.value)};function on(t){Ft.call(this,"Unknown Identifier Method Params: "+t.stringify()),J(this,on),this.value=t}i(on).r1=function(){return this.value};i(on).pc=function(){return this.value};i(on).bf=function(t){return new on(t)};i(on).copy=function(t,e){return t=t===u?this.value:t,this.bf(t)};i(on).toString=function(){return"UnknownIdentifierMethodParamsException(value="+this.value.toString()+")"};i(on).hashCode=function(){return this.value.hashCode()};i(on).equals=function(t){if(this===t)return!0;if(!(t instanceof on))return!1;var e=t instanceof on?t:N();return!!this.value.equals(e.value)};function Ge(t){Ft.call(this,"Unknown Member Method: "+t.stringify()),J(this,Ge),this.value=t}i(Ge).r1=function(){return this.value};i(Ge).pc=function(){return this.value};i(Ge).ye=function(t){return new Ge(t)};i(Ge).copy=function(t,e){return t=t===u?this.value:t,this.ye(t)};i(Ge).toString=function(){return"UnknownMemberMethodException(value="+this.value.toString()+")"};i(Ge).hashCode=function(){return this.value.hashCode()};i(Ge).equals=function(t){if(this===t)return!0;if(!(t instanceof Ge))return!1;var e=t instanceof Ge?t:N();return!!this.value.equals(e.value)};function sn(t){Ft.call(this,"Unknown Member Method Params: "+t.stringify()),J(this,sn),this.value=t}i(sn).r1=function(){return this.value};i(sn).pc=function(){return this.value};i(sn).bf=function(t){return new sn(t)};i(sn).copy=function(t,e){return t=t===u?this.value:t,this.bf(t)};i(sn).toString=function(){return"UnknownMemberMethodParamsException(value="+this.value.toString()+")"};i(sn).hashCode=function(){return this.value.hashCode()};i(sn).equals=function(t){if(this===t)return!0;if(!(t instanceof sn))return!1;var e=t instanceof sn?t:N();return!!this.value.equals(e.value)};function ce(t,e,n){Ft.call(this,"Mismatch Param Type: "+e.stringify()+" should be "+n.key),J(this,ce),this.call=t,this.argument=e,this.type=n}i(ce).ff=function(){return this.call};i(ce).gf=function(){return this.argument};i(ce).hf=function(){return this.type};i(ce).pc=function(){return this.call};i(ce).qc=function(){return this.argument};i(ce).ed=function(){return this.type};i(ce).if=function(t,e,n){return new ce(t,e,n)};i(ce).copy=function(t,e,n,r){return t=t===u?this.call:t,e=e===u?this.argument:e,n=n===u?this.type:n,this.if(t,e,n)};i(ce).toString=function(){return"MismatchParamTypeException(call="+this.call.toString()+", argument="+U(this.argument)+", type="+U(this.type)+")"};i(ce).hashCode=function(){var t=this.call.hashCode();return t=Q(t,31)+ht(this.argument)|0,t=Q(t,31)+ht(this.type)|0,t};i(ce).equals=function(t){if(this===t)return!0;if(!(t instanceof ce))return!1;var e=t instanceof ce?t:N();return!(!this.call.equals(e.call)||!R(this.argument,e.argument)||!R(this.type,e.type))};function $e(t,e,n){Ft.call(this,"Mismatch Expression Type: "+t.stringify()),J(this,$e),this.exception=t,this.leftType=e,this.rightType=n}i($e).kf=function(){return this.exception};i($e).lf=function(){return this.leftType};i($e).mf=function(){return this.rightType};i($e).pc=function(){return this.exception};i($e).qc=function(){return this.leftType};i($e).ed=function(){return this.rightType};i($e).nf=function(t,e,n){return new $e(t,e,n)};i($e).copy=function(t,e,n,r){return t=t===u?this.exception:t,e=e===u?this.leftType:e,n=n===u?this.rightType:n,this.nf(t,e,n)};i($e).toString=function(){return"MismatchExpressionTypeException(exception="+this.exception.toString()+", leftType="+U(this.leftType)+", rightType="+U(this.rightType)+")"};i($e).hashCode=function(){var t=this.exception.hashCode();return t=Q(t,31)+ht(this.leftType)|0,t=Q(t,31)+ht(this.rightType)|0,t};i($e).equals=function(t){if(this===t)return!0;if(!(t instanceof $e))return!1;var e=t instanceof $e?t:N();return!(!this.exception.equals(e.exception)||!R(this.leftType,e.leftType)||!R(this.rightType,e.rightType))};function ln(t){Ft.call(this,"Mismatch Operator Type: "+t.stringify()),J(this,ln),this.exception=t}i(ln).kf=function(){return this.exception};i(ln).pc=function(){return this.exception};i(ln).pf=function(t){return new ln(t)};i(ln).copy=function(t,e){return t=t===u?this.exception:t,this.pf(t)};i(ln).toString=function(){return"MismatchOperatorTypeException(exception="+this.exception.toString()+")"};i(ln).hashCode=function(){return this.exception.hashCode()};i(ln).equals=function(t){if(this===t)return!0;if(!(t instanceof ln))return!1;var e=t instanceof ln?t:N();return!!this.exception.equals(e.exception)};function Ve(){}function vn(t){Fe.call(this,t),this.rf_1=t}i(vn).r1=function(){return this.rf_1};i(vn).pc=function(){return this.rf_1};i(vn).sf=function(t){return new vn(t)};i(vn).copy=function(t,e){return t=t===u?this.rf_1:t,this.sf(t)};i(vn).toString=function(){return"Id(value="+this.rf_1+")"};i(vn).hashCode=function(){return Je(this.rf_1)};i(vn).equals=function(t){if(this===t)return!0;if(!(t instanceof vn))return!1;var e=t instanceof vn?t:N();return this.rf_1===e.rf_1};function pn(t){Fe.call(this,t),this.uf_1=t}i(pn).r1=function(){return this.uf_1};i(pn).pc=function(){return this.uf_1};i(pn).sf=function(t){return new pn(t)};i(pn).copy=function(t,e){return t=t===u?this.uf_1:t,this.sf(t)};i(pn).toString=function(){return"Vid(value="+this.uf_1+")"};i(pn).hashCode=function(){return Je(this.uf_1)};i(pn).equals=function(t){if(this===t)return!0;if(!(t instanceof pn))return!1;var e=t instanceof pn?t:N();return this.uf_1===e.uf_1};function _n(t){Fe.call(this,t),this.wf_1=t}i(_n).r1=function(){return this.wf_1};i(_n).pc=function(){return this.wf_1};i(_n).sf=function(t){return new _n(t)};i(_n).copy=function(t,e){return t=t===u?this.wf_1:t,this.sf(t)};i(_n).toString=function(){return"Text(value="+this.wf_1+")"};i(_n).hashCode=function(){return Je(this.wf_1)};i(_n).equals=function(t){if(this===t)return!0;if(!(t instanceof _n))return!1;var e=t instanceof _n?t:N();return this.wf_1===e.wf_1};function Fe(t){this.xf_1=t}i(Fe).r1=function(){return this.xf_1};i(Fe).stringify=function(){return this.value};function hg(t){var e=$f(t.expressions),n;if(e==null)return null;n=e;var r=n;if(r instanceof pt){if(!R(r.operator.value,Wu()))return null;var a=r.getSameExpressionArray(),o;if(a==null)return null;o=a;for(var s=o,l=jt(),c=0,f=s.length;c<f;){var h=s[c];c=c+1|0;var d=Fc(h),p;if(d==null)return null;p=d;var v=p;l.f(v)}return l}if(r instanceof vt){var _=Fc(r),m;if(_==null)return null;m=_;var w=m;return Qa(w)}return null}function Fc(t){var e=t.left;if(!(e instanceof It))return null;var n=t.right;if(!(n instanceof kt))return null;var r=t.right.vd_1;return z(r)===0?null:t.left.value==="id"&&R(t.operator.value,or())?new vn(t.right.vd_1):t.left.value==="vid"&&R(t.operator.value,or())?new pn(t.right.vd_1):t.left.value==="text"&&(R(t.operator.value,or())||R(t.operator.value,Zr())||R(t.operator.value,Du())||R(t.operator.value,Fu()))?new _n(t.right.vd_1):null}function pt(t,e,n,r,a){Ve.call(this),this.zf_1=t,this.ag_1=e,this.left=n,this.operator=r,this.right=a}i(pt).tc=function(){return this.zf_1};i(pt).uc=function(){return this.ag_1};i(pt).vc=function(){return this.left};i(pt).wc=function(){return this.operator};i(pt).xc=function(){return this.right};i(pt).match=function(t,e){return this.operator.value.compare(t,e,this.left,this.right)};i(pt).bd=function(){var t=this.left.binaryExpressions,e=this.right.binaryExpressions;return t.concat(e)};i(pt).stringify=function(){var t,e,n=this.left;n instanceof pt?e=!R(this.left.operator.value,this.operator.value):e=!1,e?t="("+this.left.stringify()+")":t=this.left.stringify();var r=t,a,o,s=this.right;s instanceof pt?o=!R(this.right.operator.value,this.operator.value):o=!1,o?a="("+this.right.stringify()+")":a=this.right.stringify();var l=a;return r+" "+this.operator.stringify()+" "+l};i(pt).getSameExpressionArray=function(){var t,e=this.left;if(e instanceof pt?t=!R(this.left.operator.value,this.operator.value):t=!1,t)return null;var n,r=this.right;if(r instanceof pt?n=!R(this.right.operator.value,this.operator.value):n=!1,n)return null;var a=this.left,o;if(a instanceof vt){var s=this.right,l;if(s instanceof vt)l=[this.left,this.right];else if(s instanceof pt){var c=[this.left],f=this.right.getSameExpressionArray(),h;if(f==null)return null;h=f;var d=h;l=c.concat(d)}else s instanceof ae?l=null:Tn();o=l}else if(a instanceof pt){var p=this.left.getSameExpressionArray(),v;if(p==null)return null;v=p;var _=v,m=this.right,w;if(m instanceof vt){var b=[this.right];w=_.concat(b)}else if(m instanceof pt){var q=this.right.getSameExpressionArray(),S;if(q==null)return null;S=q;var y=S;return _.concat(y)}else m instanceof ae?w=null:Tn();o=w}else a instanceof ae?o=null:Tn();return o};i(pt).pc=function(){return this.zf_1};i(pt).qc=function(){return this.ag_1};i(pt).ed=function(){return this.left};i(pt).fd=function(){return this.operator};i(pt).gd=function(){return this.right};i(pt).bg=function(t,e,n,r,a){return new pt(t,e,n,r,a)};i(pt).copy=function(t,e,n,r,a,o){return t=t===u?this.zf_1:t,e=e===u?this.ag_1:e,n=n===u?this.left:n,r=r===u?this.operator:r,a=a===u?this.right:a,this.bg(t,e,n,r,a)};i(pt).toString=function(){return"LogicalExpression(start="+this.zf_1+", end="+this.ag_1+", left="+U(this.left)+", operator="+this.operator.toString()+", right="+U(this.right)+")"};i(pt).hashCode=function(){var t=this.zf_1;return t=Q(t,31)+this.ag_1|0,t=Q(t,31)+ht(this.left)|0,t=Q(t,31)+this.operator.hashCode()|0,t=Q(t,31)+ht(this.right)|0,t};i(pt).equals=function(t){if(this===t)return!0;if(!(t instanceof pt))return!1;var e=t instanceof pt?t:N();return!(this.zf_1!==e.zf_1||this.ag_1!==e.ag_1||!R(this.left,e.left)||!this.operator.equals(e.operator)||!R(this.right,e.right))};function _s(t){this.cg_1=t}i(_s).b9=function(t,e){return this.cg_1(t,e)};i(_s).compare=function(t,e){return this.b9(t,e)};function dg(){var t=Iu([Hu(),Wu()]),e=vg,n=new _s(e);return Yl(t,n)}function vg(t,e){var n=-t.key.length|0,r=-e.key.length|0;return is(n,r)}function Oa(){Al=this;var t=this;t.dg_1=Pa(dg)}i(Oa).kd=function(){var t=this.dg_1;return pg(),t.r1()};var Al;function Uu(){return Al==null&&new Oa,Al}function Fr(){Tl=this,Ln.call(this,"&&")}i(Fr).compare=function(t,e,n,r){return n.match(t,e)&&r.match(t,e)};i(Fr).toString=function(){return"AndOperator"};i(Fr).hashCode=function(){return-772304006};i(Fr).equals=function(t){return this===t?!0:t instanceof Fr?(t instanceof Fr||N(),!0):!1};var Tl;function Hu(){return Tl==null&&new Fr,Tl}function Kr(){Pl=this,Ln.call(this,"||")}i(Kr).compare=function(t,e,n,r){return n.match(t,e)||r.match(t,e)};i(Kr).toString=function(){return"OrOperator"};i(Kr).hashCode=function(){return-302302232};i(Kr).equals=function(t){return this===t?!0:t instanceof Kr?(t instanceof Kr||N(),!0):!1};var Pl;function Wu(){return Pl==null&&new Kr,Pl}function Ln(t){Uu(),this.key=t}i(Ln).q1=function(){return this.key};i(Ln).stringify=function(){return this.key};function pg(){return Va("allSubClasses",1,Uo,function(t){return t.allSubClasses},null)}function fa(){return _g(),Pd}var Pd;function Ke(t,e){t=t===u?!1:t,e=e===u?!1:e,this.quickFind=t,this.fastQuery=e}i(Ke).eg=function(){return this.quickFind};i(Ke).fg=function(){return this.fastQuery};i(Ke).pc=function(){return this.quickFind};i(Ke).qc=function(){return this.fastQuery};i(Ke).gg=function(t,e){return new Ke(t,e)};i(Ke).copy=function(t,e,n){return t=t===u?this.quickFind:t,e=e===u?this.fastQuery:e,this.gg(t,e)};i(Ke).toString=function(){return"MatchOption(quickFind="+this.quickFind+", fastQuery="+this.fastQuery+")"};i(Ke).hashCode=function(){var t=Ea(this.quickFind);return t=Q(t,31)+Ea(this.fastQuery)|0,t};i(Ke).equals=function(t){if(this===t)return!0;if(!(t instanceof Ke))return!1;var e=t instanceof Ke?t:N();return!(this.quickFind!==e.quickFind||this.fastQuery!==e.fastQuery)};var Kc;function _g(){Kc||(Kc=!0,Pd=new Ke)}function ae(t,e){Ve.call(this),this.hg_1=t,this.expression=e}i(ae).tc=function(){return this.hg_1};i(ae).ig=function(){return this.expression};i(ae).uc=function(){return this.expression.uc()};i(ae).match=function(t,e){return!this.expression.match(t,e)};i(ae).bd=function(){return this.expression.binaryExpressions};i(ae).stringify=function(){return"!("+this.expression.stringify()+")"};i(ae).pc=function(){return this.hg_1};i(ae).qc=function(){return this.expression};i(ae).jg=function(t,e){return new ae(t,e)};i(ae).copy=function(t,e,n){return t=t===u?this.hg_1:t,e=e===u?this.expression:e,this.jg(t,e)};i(ae).toString=function(){return"NotExpression(start="+this.hg_1+", expression="+U(this.expression)+")"};i(ae).hashCode=function(){var t=this.hg_1;return t=Q(t,31)+ht(this.expression)|0,t};i(ae).equals=function(t){if(this===t)return!0;if(!(t instanceof ae))return!1;var e=t instanceof ae?t:N();return!(this.hg_1!==e.hg_1||!R(this.expression,e.expression))};function jn(t){var e="invalid PolynomialExpression: a="+t.a+", b="+t.b;throw Hr(U(e))}function mg(t){return function(e){return Q(t.a,e)+t.b|0}}function gg(t){return function(e){return Q(t.a,e)+t.b|0}}function yg(t,e){return function(n){return Q(t.a,e+n|0)+t.b|0}}function wg(t){return function(e){return e!==0&&jn(t),t.b}}function bg(t,e){return function(n){return Q(t.a,e-n|0)+t.b|0}}function Bt(t,e){t=t===u?0:t,e=e===u?1:e,Ti.call(this),this.a=t,this.b=e;var n=this,r;if(this.a>0){var a;if(this.b>0)a=this.a+this.b|0;else if(this.b===0)a=this.a;else{var o=((-this.b|0)/this.a|0)+1|0;a=Q(this.a,o)+this.b|0}r=a}else{var s;if(this.a===0){var l;this.b>0?l=this.b:jn(this),s=l}else{var c;if(this.b>0){var f;if(this.b<=(-this.a|0))jn(this);else{var h=((-this.b|0)/this.a|0)-(this.b%this.a|0?0:1)|0;f=Q(this.a,h)+this.b|0}c=f}else jn(this);s=c}r=s-1|0}n.de_1=r;var d=this,p;if(this.a>0)p=null;else{var v;if(this.a===0){var _;this.b>0?_=this.b:jn(this),v=_}else{var m;if(this.b>0){var w;this.b<=(-this.a|0)?jn(this):w=this.a+this.b|0,m=w}else jn(this);v=m}p=v-1|0}d.ee_1=p,this.fe_1=this.de_1===this.ee_1;var b=this,q;if(this.a>0){var S;if(this.b>0)S=mg(this);else if(this.b===0)S=gg(this);else{var y=((-this.b|0)/this.a|0)+1|0;S=yg(this,y)}q=S}else if(this.a===0){var C;this.b>0?C=wg(this):jn(this),q=C}else{var E;if(this.b>0){var k;if(this.b<=(-this.a|0))jn(this);else{var I=((-this.b|0)/this.a|0)-(this.b%this.a|0?0:1)|0;k=bg(this,I)}E=k}else jn(this);q=E}b.ge_1=q}i(Bt).kg=function(){return this.a};i(Bt).lg=function(){return this.b};i(Bt).stringify=function(){if(this.a>0&&this.b>0)return this.a===1?"(n+"+this.b+")":"("+this.a+"n+"+this.b+")";if(this.a<0&&this.b>0)return this.a===-1?"("+this.b+"-n)":"("+this.b+this.a+"n)";if(this.b===0){if(this.a===1)return"n";var t;return this.a>0?t=""+this.a+"n":t="("+this.a+"n)",t}if(this.a===0){if(this.b===1)return"";var e;return this.b>0?e=this.b.toString():e="("+this.b+")",e}var n=this.b>=0?"+":"";return"("+this.a+"n"+n+this.b+")"};i(Bt).yd=function(){return this.de_1};i(Bt).zd=function(){return this.ee_1};i(Bt).checkOffset=function(t){if(this.fe_1)return t===this.de_1;var e=(t+1|0)-this.b|0;return(e%this.a|0)===0&&(e/this.a|0)>=1};i(Bt).getOffset=function(t){return this.ge_1(t)-1|0};i(Bt).pc=function(){return this.a};i(Bt).qc=function(){return this.b};i(Bt).mg=function(t,e){return new Bt(t,e)};i(Bt).copy=function(t,e,n){return t=t===u?this.a:t,e=e===u?this.b:e,this.mg(t,e)};i(Bt).toString=function(){return"PolynomialExpression(a="+this.a+", b="+this.b+")"};i(Bt).hashCode=function(){var t=this.a;return t=Q(t,31)+this.b|0,t};i(Bt).equals=function(t){if(this===t)return!0;if(!(t instanceof Bt))return!1;var e=t instanceof Bt?t:N();return!(this.a!==e.a||this.b!==e.b)};function un(){}function Zt(t,e,n){this.yc_1=t,this.zc_1=e,this.value=n}i(Zt).tc=function(){return this.yc_1};i(Zt).uc=function(){return this.zc_1};i(Zt).r1=function(){return this.value};i(Zt).stringify=function(){return this.value.stringify()};i(Zt).pc=function(){return this.yc_1};i(Zt).qc=function(){return this.zc_1};i(Zt).ed=function(){return this.value};i(Zt).ng=function(t,e,n){return new Zt(t,e,n)};i(Zt).copy=function(t,e,n,r){return t=t===u?this.yc_1:t,e=e===u?this.zc_1:e,n=n===u?this.value:n,this.ng(t,e,n)};i(Zt).toString=function(){return"PositionImpl(start="+this.yc_1+", end="+this.zc_1+", value="+U(this.value)+")"};i(Zt).hashCode=function(){var t=this.yc_1;return t=Q(t,31)+this.zc_1|0,t=Q(t,31)+ht(this.value)|0,t};i(Zt).equals=function(t){if(this===t)return!0;if(!(t instanceof Zt))return!1;var e=t instanceof Zt?t:N();return!(this.yc_1!==e.yc_1||this.zc_1!==e.zc_1||!R(this.value,e.value))};function ms(){}function kg(t,e,n){if(t.yf_1)return!0;var r=n.getName(e),a;if(r==null)return!1;a=r;var o=a;return z(o)===t.name.length?xm(o,t.name):z(o)>t.name.length?F(o,(z(o)-t.name.length|0)-1|0)===46&&ss(o,t.name):!1}function xg(t){return"["+t.stringify()+"]"}function fe(t,e,n){this.at=t,this.name=e,this.expressions=n,this.yf_1=Gm(this.name)||this.name==="*"}i(fe).og=function(){return this.at};i(fe).pg=function(){return this.name};i(fe).qg=function(){return this.expressions};i(fe).bd=function(){for(var t=this.expressions,e=jt(),n=t.h();n.i();){var r=n.j(),a=Vl(r.binaryExpressions);Vo(e,a)}return kn(e)};i(fe).stringify=function(){var t=this.at?"@":"",e=t+this.name;return e+An(this.expressions,"",u,u,u,u,xg)};i(fe).match=function(t,e){var n;if(kg(this,t.current,e)){var r;t:{var a=this.expressions,o;if(st(a,Pt)?o=a.l():o=!1,o){r=!0;break t}for(var s=a.h();s.i();){var l=s.j();if(!l.match(t,e)){r=!1;break t}}r=!0}n=r}else n=!1;return n};i(fe).pc=function(){return this.at};i(fe).qc=function(){return this.name};i(fe).ed=function(){return this.expressions};i(fe).rg=function(t,e,n){return new fe(t,e,n)};i(fe).copy=function(t,e,n,r){return t=t===u?this.at:t,e=e===u?this.name:e,n=n===u?this.expressions:n,this.rg(t,e,n)};i(fe).toString=function(){return"PropertySegment(at="+this.at+", name="+this.name+", expressions="+U(this.expressions)+")"};i(fe).hashCode=function(){var t=Ea(this.at);return t=Q(t,31)+Je(this.name)|0,t=Q(t,31)+ht(this.expressions)|0,t};i(fe).equals=function(t){if(this===t)return!0;if(!(t instanceof fe))return!1;var e=t instanceof fe?t:N();return!(this.at!==e.at||this.name!==e.name||!R(this.expressions,e.expressions))};function oe(t,e){e=e===u?null:e,this.segment=t,this.to=e;var n=this,r;t:{var a=this.segment.expressions,o;if(st(a,Pt)?o=a.l():o=!1,o){r=!1;break t}for(var s=a.h();s.i();){var l=s.j(),c,f,h;if(l instanceof vt?h=R(l.operator.value,or()):h=!1,h?f=R(l.left.value,"parent"):f=!1,f?c=R(l.right.value,"null"):c=!1,c){r=!0;break t}}r=!1}n.isMatchRoot=r;var d=this,p=hg(this.segment);d.fastQueryList=p==null?la():p}i(oe).ne=function(){return this.segment};i(oe).oe=function(){return this.to};i(oe).stringify=function(){var t;return this.to!=null?t=this.to.stringify()+" ":t="",t+this.segment.stringify()};i(oe).matchContext=function(t,e,n){return this.segment.match(t,e)?this.to==null?t:this.to.matchContext(t,e,n):null};i(oe).sg=function(){return this.isMatchRoot};i(oe).tg=function(){return this.fastQueryList};i(oe).a=function(){return this.to==null?1:this.to.to.length+1|0};i(oe).pc=function(){return this.segment};i(oe).qc=function(){return this.to};i(oe).ug=function(t,e){return new oe(t,e)};i(oe).copy=function(t,e,n){return t=t===u?this.segment:t,e=e===u?this.to:e,this.ug(t,e)};i(oe).toString=function(){return"PropertyWrapper(segment="+this.segment.toString()+", to="+Xt(this.to)+")"};i(oe).hashCode=function(){var t=this.segment.hashCode();return t=Q(t,31)+(this.to==null?0:this.to.hashCode())|0,t};i(oe).equals=function(t){if(this===t)return!0;if(!(t instanceof oe))return!1;var e=t instanceof oe?t:N();return!(!this.segment.equals(e.segment)||!R(this.to,e.to))};function Md(){Pi();var t=Rd;return Eg(),t.r1()}var Rd;function Ld(){Pi();var t=Od;return Ig(),t.r1()}var Od;function gs(){}i(gs).parse=function(t){return Bd(t)};i(gs).parseOrNull=function(t){var e;try{e=Bd(t)}catch(r){var n;if(r instanceof Sn)n=null;else throw r;e=n}return e};var jd;function Cg(){return jd}function qe(t,e){this.source=t,this.propertyWrapper=e;var n=this,r;t:{for(var a=this.propertyWrapper.length,o=0,s=this.propertyWrapper;s!=null;){if(s.segment.at){r=(a-1|0)-o|0;break t}var l=s.to;s=l==null?null:l.to,o=o+1|0}r=a-1|0}n.targetIndex=r,this.fastQueryList=this.propertyWrapper.fastQueryList,this.quickFindValue=this.fastQueryList.m()===1?Vi(this.fastQueryList):null,this.isMatchRoot=this.propertyWrapper.isMatchRoot;for(var c=this,f=this.propertyWrapper.to,h=jt();f!=null;)h.f(f),f=f.to.to;c.connectWrappers=kn(h);for(var d=this,p=this.propertyWrapper,v=jt();p!=null;){var _=p.segment;Lm(v,_.binaryExpressions);var m=p.to;p=m==null?null:m.to}var w=mp(v);d.binaryExpressions=kn(w);var b=this,q;t:{if(this.connectWrappers.length!==0){q=!0;break t}for(var S=this.binaryExpressions,y=0,C=S.length;y<C;){var E=S[y];y=y+1|0;var k;e:{for(var I=E.properties,M=0,j=I.length;M<j;){var H=I[M];if(M=M+1|0,Ds(Md(),H)){k=!0;break e}}k=!1}if(k){q=!0;break t}var W;e:{for(var Wt=E.methods,_t=0,Rt=Wt.length;_t<Rt;){var Lt=Wt[_t];if(_t=_t+1|0,Ds(Ld(),Lt)){W=!0;break e}}W=!1}if(W){q=!0;break t}}q=!1}b.useCache=q}i(qe).vg=function(){return this.source};i(qe).wg=function(){return this.propertyWrapper};i(qe).stringify=function(){return this.propertyWrapper.stringify()};i(qe).xg=function(){return this.targetIndex};i(qe).matchContext=function(t,e,n){return this.propertyWrapper.matchContext(new ie(t),e,n)};i(qe).match=function(t,e,n){var r=this.matchContext(t,e,n),a;if(r==null)return null;a=r;var o=a;return o.get(this.targetIndex).current};i(qe).tg=function(){return this.fastQueryList};i(qe).yg=function(){return this.quickFindValue};i(qe).sg=function(){return this.isMatchRoot};i(qe).zg=function(){return this.connectWrappers};i(qe).bd=function(){return this.binaryExpressions};i(qe).ah=function(){return this.useCache};i(qe).isSlow=function(t){if(t.quickFind&&this.quickFindValue==null&&!this.isMatchRoot||(!t.fastQuery||this.propertyWrapper.fastQueryList.l())&&!this.isMatchRoot)return!0;var e;t:{for(var n=this.connectWrappers,r=0,a=n.length;r<a;){var o=n[r];if(r=r+1|0,R(o.segment.operator,ps())&&!(o.canFq&&t.fastQuery)){e=!0;break t}}e=!1}return!!e};i(qe).checkType=function(t){try{for(var e=this.binaryExpressions,n=0,r=e.length;n<r;){var a=e[n];if(n=n+1|0,!a.operator.value.od(a.left,a.right))throw new ln(a);var o=Uc(a.left,t),s=Uc(a.right,t);if(o!=null&&s!=null&&!R(o,s))throw new $e(a,o,s)}}catch(c){if(c instanceof Ft){var l=c;return l}else throw c}return null};function Uc(t,e){Pi();var n;return t instanceof Me?n=null:t instanceof ye?n=ja():t instanceof te?n=za():t instanceof kt?n=Ba():t instanceof Oe?n=qo(t,e,e).type:Tn(),n}function Hc(t,e,n){Pi();for(var r=0,a=t.params,o=0,s=a.length;o<s;){var l=a[o];o=o+1|0;var c=r;r=c+1|0;var f=e.arguments.k(c);if(!(f instanceof Me))if(f instanceof ye){if(!R(l.type,ja()))throw new ce(e,f,ja())}else if(f instanceof te){if(!R(l.type,za()))throw new ce(e,f,za())}else if(f instanceof kt){if(!R(l.type,Ba()))throw new ce(e,f,Ba())}else if(f instanceof Oe){var h=qo(f,l,n);if(!R(h.type,l.type))throw new ce(e,f,h.type)}else Tn()}return t.returnType}function qo(t,e,n){Pi();var r;if(t instanceof qt){var a=t.callee,o;if(a instanceof qt)throw Ht("Unsupported nested call");if(a instanceof It){for(var s=n.methods,l=jt(),c=0,f=s.length;c<f;){var h=s[c];c=c+1|0,h.name===t.callee.value&&l.f(h)}if(l.l())throw new Qe(t.callee);for(var d=jt(),p=l.h();p.i();){var v=p.j();v.params.length===t.arguments.m()&&d.f(v)}if(d.l())throw new on(t);o=d}else if(a instanceof bt){for(var _=qo(t.callee.object0,e,n).methods,m=jt(),w=0,b=_.length;w<b;){var q=_[w];w=w+1|0,q.name===t.callee.property&&m.f(q)}if(m.l())throw new Ge(t.callee);for(var S=jt(),y=m.h();y.i();){var C=y.j();C.params.length===t.arguments.m()&&S.f(C)}if(S.l())throw new sn(t);o=S}else Tn();var E=o;if(E.m()===1)return Hc(E.k(0),t,n),E.k(0).returnType;for(var k=0,I=E.h();I.i();){var M=I.j(),j=k;k=j+1|0;var H=jo(j);try{return Hc(M,t,n),M.returnType}catch(ti){if(ti instanceof Ft){var W=ti;if(H===(E.m()-1|0))throw W}else throw ti}}var Wt=t.callee;if(Wt instanceof It)throw new Qe(t.callee);var _t=t.callee;throw _t instanceof bt?new Ge(t.callee):Ht("Unsupported nested call")}else if(t instanceof It){var Rt=n.props,Lt;t:{for(var ve=0,re=Rt.length;ve<re;){var et=Rt[ve];if(ve=ve+1|0,et.name===t.value){Lt=et;break t}}Lt=null}var Xe=Lt,yt=Xe==null?null:Xe.type,En;if(yt==null)throw new rn(t);En=yt,r=En}else if(t instanceof bt){var B=qo(t.object0,e,n).props,ft;t:{for(var wt=0,Kt=B.length;wt<Kt;){var pe=B[wt];if(wt=wt+1|0,pe.name===t.property){ft=pe;break t}}ft=null}var Zn=ft,Xn=Zn==null?null:Zn.type,tr;if(Xn==null)throw new an(t);tr=Xn,r=tr}else Tn();return r}function Sg(){return Pi(),["index","parent","depth"]}function $g(){return Pi(),["getChild"]}function Eg(){return Va("useCacheProperties",0,ku,function(){return Md()},null)}function Ig(){return Va("useCacheMethods",0,ku,function(){return Ld()},null)}var Wc;function Pi(){Wc||(Wc=!0,Rd=Pa(Sg),Od=Pa($g))}function he(t,e,n,r){r=r===u?null:r;var a=nn(n,e);zo("expected "+t+" in selector at position "+e+", but got "+Xt(a==null?null:new ut(a)),this),J(this,he),this.expectedValue=t,this.position=e,this.source=n,this.lh_1=r}i(he).mh=function(){return this.expectedValue};i(he).nh=function(){return this.position};i(he).vg=function(){return this.source};i(he).j7=function(){return this.lh_1};i(he).pc=function(){return this.expectedValue};i(he).qc=function(){return this.position};i(he).ed=function(){return this.source};i(he).fd=function(){return this.lh_1};i(he).oh=function(t,e,n,r){return new he(t,e,n,r)};i(he).copy=function(t,e,n,r,a){return t=t===u?this.expectedValue:t,e=e===u?this.position:e,n=n===u?this.source:n,r=r===u?this.lh_1:r,this.oh(t,e,n,r)};i(he).toString=function(){return"SyntaxError(expectedValue="+this.expectedValue+", position="+this.position+", source="+this.source+", cause="+Xt(this.lh_1)+")"};i(he).hashCode=function(){var t=Je(this.expectedValue);return t=Q(t,31)+this.position|0,t=Q(t,31)+Je(this.source)|0,t=Q(t,31)+(this.lh_1==null?0:ht(this.lh_1))|0,t};i(he).equals=function(t){if(this===t)return!0;if(!(t instanceof he))return!1;var e=t instanceof he?t:N();return!(this.expectedValue!==e.expectedValue||this.position!==e.position||this.source!==e.source||!R(this.lh_1,e.lh_1))};function St(t,e,n,r){n=n===u?"":n,r=r===u?null:r;var a;if(e>=z(t))a=!0;else{var o;z(n)>0?o=!Ye(n,F(t,e)):o=!1,a=o}if(a)throw new he(r==null?n:r,e,U(t))}function ue(t,e,n,r){throw n=n===u?"":n,r=r===u?null:r,new he(n,e,U(t),r)}function qg(t){return function(e,n,r){return t(e,n,r)}}function Ng(t){return function(e){return cp(t(e))}}function Vu(){}i(Vu).multiplatformBuild=function(t,e,n,r,a){var o=qg(e);return new $t(t,o,n,Ng(r),a)};var zd;function Ag(){return zd}function Tg(t,e,n){return null}function Pg(t){return function(e){for(var n=t(e);n!=null;)n=t(Re(n));return n}}function di(t,e,n){this.xh_1=t,this.yh_1=e,Le.call(this,n)}i(di).di=function(t,e){var n=this.ei(t,e);return n.k6_1=dt,n.l6_1=null,n.q6()};i(di).h7=function(t,e){return this.di(t instanceof Sr?t:N(),e)};i(di).q6=function(){var t=this.k6_1;t:do try{var e=this.i6_1;switch(e){case 0:if(this.j6_1=4,this.ai_1=Xl(this.xh_1(this.yh_1)),this.ai_1.l())return dt;au(this.ai_1);var n=this;n.bi_1=jt(),this.i6_1=1;continue t;case 1:if(this.ci_1=this.ai_1.x2(no(this.ai_1)),this.i6_1=2,t=this.zh_1.p9(this.ci_1,this),t===Er())return t;continue t;case 2:for(var r=this.xh_1(this.ci_1).h();r.i();){var a=r.j();this.bi_1.f(a)}if(!this.bi_1.l()){var o=this.bi_1.m()-1|0;if(0<=o)do{var s=o;o=o+-1|0,this.ai_1.f(this.bi_1.k(s))}while(0<=o);this.bi_1.n3()}if(!this.ai_1.l()){this.i6_1=1;continue t}this.i6_1=3;continue t;case 3:return dt;case 4:throw this.l6_1}}catch(c){var l=c;if(this.j6_1===4)throw l;this.i6_1=this.j6_1,this.l6_1=l}while(!0)};i(di).ei=function(t,e){var n=new di(this.xh_1,this.yh_1,e);return n.zh_1=t,n};function Mg(t,e,n){var r=new di(t,e,n),a=function(o,s){return r.di(o,s)};return a.$arity=1,a}function Rg(t){return function(e){return io(Mg(t,e,null))}}function Lg(t){return function(e,n){return t.checkOffset(e)}}function Og(t){return function(e,n){var r=t(e),a;n.maxOffset!=null?a=Nf(r,Re(n.maxOffset)+1|0):a=r;var o=a;return tu(o,Lg(n))}}function vi(t,e,n,r){this.ni_1=t,this.oi_1=e,this.pi_1=n,Le.call(this,r)}i(vi).di=function(t,e){var n=this.ei(t,e);return n.k6_1=dt,n.l6_1=null,n.q6()};i(vi).h7=function(t,e){return this.di(t instanceof Sr?t:N(),e)};i(vi).q6=function(){var t=this.k6_1;t:do try{var e=this.i6_1;switch(e){case 0:this.j6_1=6;var n=this,r=this.ni_1(this.oi_1),a;if(r==null)return dt;a=r,n.ri_1=a,this.si_1=0,this.i6_1=1;continue t;case 1:if(this.ri_1==null){this.i6_1=5;continue t}if(this.ti_1=this.ri_1,this.ti_1==null){this.ui_1=null,this.i6_1=4;continue t}else{var o=this;o.vi_1=this.ti_1;var s=this;if(s.wi_1=this.vi_1,this.pi_1.checkOffset(this.si_1)){if(this.i6_1=2,t=this.qi_1.p9(this.wi_1,this),t===Er())return t;continue t}else{this.i6_1=3;continue t}}case 2:this.i6_1=3;continue t;case 3:this.si_1=this.si_1+1|0;var l=this.pi_1.maxOffset;if(l!=null){if(this.si_1>l)return dt}var c=this;this.ri_1=this.ni_1(this.wi_1),c.ui_1=dt,this.i6_1=4;continue t;case 4:this.i6_1=1;continue t;case 5:return dt;case 6:throw this.l6_1}}catch(h){var f=h;if(this.j6_1===6)throw f;this.i6_1=this.j6_1,this.l6_1=f}while(!0)};i(vi).ei=function(t,e){var n=new vi(this.ni_1,this.oi_1,this.pi_1,e);return n.qi_1=t,n};function jg(t,e,n,r){var a=new vi(t,e,n,r),o=function(s,l){return a.di(s,l)};return o.$arity=1,o}function zg(t){return function(e,n){return io(jg(t,e,n,null))}}function Bg(t){return function(e){return!R(e,t)}}function Dg(t){return function(e,n){return t.checkOffset(e)}}function Fg(t,e){return function(n,r){var a=t(n),o;if(a!=null){var s=e(a),l=Xl(xp(s,Bg(n)));au(l);var c=gp(l);o=tu(c,Dg(r))}else o=Ni();return o}}function Kg(t){return function(e){return!R(e,t)}}function Ug(t){return function(e,n){return t.checkOffset(e)}}function Hg(t,e){return function(n,r){var a=t(n),o;if(a!=null){var s=e(a),l=Cp(Sp(s,Kg(n)),1),c;r.maxOffset!=null?c=Nf(l,Re(r.maxOffset)+1|0):c=l;var f=c;o=tu(f,Ug(r))}else o=Ni();return o}}function pi(t,e,n,r){this.fj_1=t,this.gj_1=e,this.hj_1=n,Le.call(this,r)}i(pi).di=function(t,e){var n=this.ei(t,e);return n.k6_1=dt,n.l6_1=null,n.q6()};i(pi).h7=function(t,e){return this.di(t instanceof Sr?t:N(),e)};i(pi).q6=function(){var t=this.k6_1;t:do try{var e=this.i6_1;switch(e){case 0:if(this.j6_1=5,this.jj_1=Xl(this.fj_1(this.gj_1)),this.jj_1.l())return dt;au(this.jj_1);var n=this;n.kj_1=jt(),this.lj_1=0,this.i6_1=1;continue t;case 1:if(this.mj_1=this.jj_1.x2(no(this.jj_1)),this.hj_1.checkOffset(this.lj_1)){if(this.i6_1=2,t=this.ij_1.p9(this.mj_1,this),t===Er())return t;continue t}else{this.i6_1=3;continue t}case 2:this.i6_1=3;continue t;case 3:this.lj_1=this.lj_1+1|0;var r=this.hj_1.maxOffset;if(r!=null){if(this.lj_1>r)return dt}for(var a=this.fj_1(this.mj_1).h();a.i();){var o=a.j();this.kj_1.f(o)}if(!this.kj_1.l()){var s=this.kj_1.m()-1|0;if(0<=s)do{var l=s;s=s+-1|0,this.jj_1.f(this.kj_1.k(l))}while(0<=s);this.kj_1.n3()}if(!this.jj_1.l()){this.i6_1=1;continue t}this.i6_1=4;continue t;case 4:return dt;case 5:throw this.l6_1}}catch(f){var c=f;if(this.j6_1===5)throw c;this.i6_1=this.j6_1,this.l6_1=c}while(!0)};i(pi).ei=function(t,e){var n=new pi(this.fj_1,this.gj_1,this.hj_1,e);return n.ij_1=t,n};function Wg(t,e,n,r){var a=new pi(t,e,n,r),o=function(s,l){return a.di(s,l)};return o.$arity=1,o}function Vg(t){return function(e,n){return io(Wg(t,e,n,null))}}function Qg(t,e){return Ni()}function _i(t,e,n,r,a){this.vj_1=t,this.wj_1=e,this.xj_1=n,this.yj_1=r,Le.call(this,a)}i(_i).di=function(t,e){var n=this.ei(t,e);return n.k6_1=dt,n.l6_1=null,n.q6()};i(_i).h7=function(t,e){return this.di(t instanceof Sr?t:N(),e)};i(_i).q6=function(){var t=this.k6_1;t:do try{var e=this.i6_1;switch(e){case 0:if(this.j6_1=7,this.ak_1=this.vj_1.match(this.wj_1,this.xj_1,this.yj_1),this.ak_1==null){this.bk_1=null,this.i6_1=2;continue t}else{var n=this;n.ck_1=this.ak_1;var r=this;if(r.dk_1=this.ck_1,this.i6_1=1,t=this.zj_1.p9(this.dk_1,this),t===Er())return t;continue t}case 1:var a=this;a.bk_1=dt,this.i6_1=2;continue t;case 2:var o=this;o.ek_1=this.xj_1.getDescendants(this.wj_1),this.fk_1=this.ek_1.h(),this.i6_1=3;continue t;case 3:if(!this.fk_1.i()){this.i6_1=6;continue t}this.gk_1=this.fk_1.j();var s=this;if(s.hk_1=this.gk_1,this.ik_1=this.vj_1.match(this.hk_1,this.xj_1,this.yj_1),this.ik_1==null){this.jk_1=null,this.i6_1=5;continue t}else{var l=this;l.kk_1=this.ik_1;var c=this;if(c.lk_1=this.kk_1,this.i6_1=4,t=this.zj_1.p9(this.lk_1,this),t===Er())return t;continue t}case 4:var f=this;f.jk_1=dt,this.i6_1=5;continue t;case 5:this.i6_1=3;continue t;case 6:return dt;case 7:throw this.l6_1}}catch(d){var h=d;if(this.j6_1===7)throw h;this.i6_1=this.j6_1,this.l6_1=h}while(!0)};i(_i).ei=function(t,e){var n=new _i(this.vj_1,this.wj_1,this.xj_1,this.yj_1,e);return n.zj_1=t,n};function Gg(t,e,n,r,a){var o=new _i(t,e,n,r,a),s=function(l,c){return o.di(l,c)};return s.$arity=1,s}function mi(t,e,n,r,a){this.uk_1=t,this.vk_1=e,this.wk_1=n,this.xk_1=r,Le.call(this,a)}i(mi).ll=function(t,e){var n=this.ml(t,e);return n.k6_1=dt,n.l6_1=null,n.q6()};i(mi).h7=function(t,e){return this.ll(t instanceof Sr?t:N(),e)};i(mi).q6=function(){var t=this.k6_1;t:do try{var e=this.i6_1;switch(e){case 0:if(this.j6_1=7,this.zk_1=this.uk_1.matchContext(this.vk_1,this.wk_1,this.xk_1),this.zk_1==null){this.al_1=null,this.i6_1=2;continue t}else{var n=this;n.bl_1=this.zk_1;var r=this;if(r.cl_1=this.bl_1,this.i6_1=1,t=this.yk_1.p9(this.cl_1,this),t===Er())return t;continue t}case 1:var a=this;a.al_1=dt,this.i6_1=2;continue t;case 2:var o=this;o.dl_1=this.wk_1.getDescendants(this.vk_1),this.el_1=this.dl_1.h(),this.i6_1=3;continue t;case 3:if(!this.el_1.i()){this.i6_1=6;continue t}this.fl_1=this.el_1.j();var s=this;if(s.gl_1=this.fl_1,this.hl_1=this.uk_1.matchContext(this.gl_1,this.wk_1,this.xk_1),this.hl_1==null){this.il_1=null,this.i6_1=5;continue t}else{var l=this;l.jl_1=this.hl_1;var c=this;if(c.kl_1=this.jl_1,this.i6_1=4,t=this.yk_1.p9(this.kl_1,this),t===Er())return t;continue t}case 4:var f=this;f.il_1=dt,this.i6_1=5;continue t;case 5:this.i6_1=3;continue t;case 6:return dt;case 7:throw this.l6_1}}catch(d){var h=d;if(this.j6_1===7)throw h;this.i6_1=this.j6_1,this.l6_1=h}while(!0)};i(mi).ml=function(t,e){var n=new mi(this.uk_1,this.vk_1,this.wk_1,this.xk_1,e);return n.yk_1=t,n};function Jg(t,e,n,r,a){var o=new mi(t,e,n,r,a),s=function(l,c){return o.ll(l,c)};return s.$arity=1,s}function $t(t,e,n,r,a,o,s,l,c,f,h,d,p){var v;e===u?v=Tg:v=e,e=v;var _;o===u?_=Pg(a):_=o,o=_;var m;s===u?m=Rg(r):m=s,s=m;var w;l===u?w=Og(r):w=l,l=w;var b;c===u?b=zg(a):b=c,c=b;var q;f===u?q=Fg(a,r):q=f,f=q;var S;h===u?S=Hg(a,r):S=h,h=S;var y;d===u?y=Vg(r):y=d,d=y;var C;p===u?C=Qg:C=p,p=C,this.getAttr=t,this.getInvoke=e,this.getName=n,this.getChildren=r,this.getParent=a,this.getRoot=o,this.getDescendants=s,this.traverseChildren=l,this.traverseAncestors=c,this.traverseBeforeBrothers=f,this.traverseAfterBrothers=h,this.traverseDescendants=d,this.traverseFastQueryDescendants=p}i($t).nl=function(){return this.getAttr};i($t).ol=function(){return this.getInvoke};i($t).pl=function(){return this.getName};i($t).ql=function(){return this.getChildren};i($t).rl=function(){return this.getParent};i($t).sl=function(){return this.getRoot};i($t).tl=function(){return this.getDescendants};i($t).ul=function(){return this.traverseChildren};i($t).vl=function(){return this.traverseAncestors};i($t).wl=function(){return this.traverseBeforeBrothers};i($t).xl=function(){return this.traverseAfterBrothers};i($t).yl=function(){return this.traverseDescendants};i($t).zl=function(){return this.traverseFastQueryDescendants};i($t).am=function(t,e,n){return io(Gg(e,t,this,n,null))};i($t).querySelectorAll$default=function(t,e,n,r){return n=n===u?fa():n,r===u?this.am(t,e,n):r.am.call(this,t,e,n)};i($t).bm=function(t,e,n){return Af(this.am(t,e,n))};i($t).querySelector=function(t,e,n,r){return n=n===u?fa():n,this.bm(t,e,n)};i($t).cm=function(t,e,n){return io(Jg(e,t,this,n,null))};i($t).querySelectorAllContext$default=function(t,e,n,r){return n=n===u?fa():n,r===u?this.cm(t,e,n):r.cm.call(this,t,e,n)};i($t).dm=function(t,e,n){return Af(this.cm(t,e,n))};i($t).querySelectorContext=function(t,e,n,r){return n=n===u?fa():n,this.dm(t,e,n)};i($t).em=function(t,e,n){var r=Tf(this.am(t,e,n)),a=st(r,Gn)?r:N(),o=kn(a);return ta(o)?o:N()};i($t).querySelectorAllArray=function(t,e,n,r){return n=n===u?fa():n,this.em(t,e,n)};i($t).fm=function(t,e,n){var r=Tf(this.cm(t,e,n));return kn(r)};i($t).querySelectorAllContextArray=function(t,e,n,r){return n=n===u?fa():n,this.fm(t,e,n)};function Pe(t){Ti.call(this),this.numbers=t;var e=this,n=$f(this.numbers);e.gm_1=(n==null?1:n)-1|0,this.hm_1=yp(this.numbers);for(var r=this,a=this.numbers,o=Qi(rl(a,10)),s=a.h();s.i();){var l=s.j(),c=l-1|0;o.f(c)}r.im_1=o}i(Pe).jm=function(){return this.numbers};i(Pe).yd=function(){return this.gm_1};i(Pe).zd=function(){return this.hm_1};i(Pe).checkOffset=function(t){return qm(this.im_1,t)>=0};i(Pe).getOffset=function(t){return this.numbers.k(t)};i(Pe).stringify=function(){if(this.numbers.m()===1){var t;return Vi(this.numbers)===1?t="":t=Vi(this.numbers).toString(),t}return"("+An(this.numbers,",")+")"};i(Pe).pc=function(){return this.numbers};i(Pe).km=function(t){return new Pe(t)};i(Pe).copy=function(t,e){return t=t===u?this.numbers:t,this.km(t)};i(Pe).toString=function(){return"TupleExpression(numbers="+U(this.numbers)+")"};i(Pe).hashCode=function(){return ht(this.numbers)};i(Pe).equals=function(t){if(this===t)return!0;if(!(t instanceof Pe))return!1;var e=t instanceof Pe?t:N();return!!R(this.numbers,e.numbers)};function ui(){Ml=this,cn.call(this,"boolean")}i(ui).toString=function(){return"BooleanType"};i(ui).hashCode=function(){return 1452179029};i(ui).equals=function(t){return this===t?!0:t instanceof ui?(t instanceof ui||N(),!0):!1};var Ml;function ja(){return Ml==null&&new ui,Ml}function ci(){Rl=this,cn.call(this,"int")}i(ci).toString=function(){return"IntType"};i(ci).hashCode=function(){return-1601449956};i(ci).equals=function(t){return this===t?!0:t instanceof ci?(t instanceof ci||N(),!0):!1};var Rl;function za(){return Rl==null&&new ci,Rl}function fi(){Ll=this,cn.call(this,"string")}i(fi).toString=function(){return"StringType"};i(fi).hashCode=function(){return 1719560632};i(fi).equals=function(t){return this===t?!0:t instanceof fi?(t instanceof fi||N(),!0):!1};var Ll;function Ba(){return Ll==null&&new fi,Ll}function Ue(t){cn.call(this,"object"),this.name=t}i(Ue).pg=function(){return this.name};i(Ue).pc=function(){return this.name};i(Ue).sf=function(t){return new Ue(t)};i(Ue).copy=function(t,e){return t=t===u?this.name:t,this.sf(t)};i(Ue).toString=function(){return"ObjectType(name="+this.name+")"};i(Ue).hashCode=function(){return Je(this.name)};i(Ue).equals=function(t){if(this===t)return!0;if(!(t instanceof Ue))return!1;var e=t instanceof Ue?t:N();return this.name===e.name};function cn(t){this.key=t}i(cn).q1=function(){return this.key};function Yg(t){return t.stringify()}function X(t,e,n){var r;n===u?r=[]:r=n,n=r,this.name=t,this.returnType=e,this.params=n}i(X).pg=function(){return this.name};i(X).lm=function(){return this.returnType};i(X).mm=function(){return this.params};i(X).stringify=function(){return this.name+"("+Cf(this.params,", ",u,u,u,u,Yg)+"): "+this.returnType.stringify()};i(X).equals=function(t){return this===t?!0:!(t==null||!Eo(this).equals(Eo(t))||(t instanceof X||N(),this.name!==t.name)||!this.returnType.equals(t.returnType)||!Qs(this.params,t.params))};i(X).hashCode=function(){var t=Je(this.name);return t=Q(31,t)+this.returnType.hashCode()|0,t=Q(31,t)+Gs(this.params)|0,t};i(X).pc=function(){return this.name};i(X).qc=function(){return this.returnType};i(X).ed=function(){return this.params};i(X).nm=function(t,e,n){return new X(t,e,n)};i(X).copy=function(t,e,n,r){return t=t===u?this.name:t,e=e===u?this.returnType:e,n=n===u?this.params:n,this.nm(t,e,n)};i(X).toString=function(){return"MethodInfo(name="+this.name+", returnType="+this.returnType.toString()+", params="+U(this.params)+")"};function it(t,e){this.name=t,this.type=e}i(it).pg=function(){return this.name};i(it).hf=function(){return this.type};i(it).pc=function(){return this.name};i(it).qc=function(){return this.type};i(it).om=function(t,e){return new it(t,e)};i(it).copy=function(t,e,n){return t=t===u?this.name:t,e=e===u?this.type:e,this.om(t,e)};i(it).toString=function(){return"PropInfo(name="+this.name+", type="+this.type.toString()+")"};i(it).hashCode=function(){var t=Je(this.name);return t=Q(t,31)+this.type.hashCode()|0,t};i(it).equals=function(t){if(this===t)return!0;if(!(t instanceof it))return!1;var e=t instanceof it?t:N();return!(this.name!==e.name||!this.type.equals(e.type))};function Jt(t,e,n){var r;e===u?r=[]:r=e,e=r;var a;n===u?a=[]:a=n,n=a,this.type=t,this.props=e,this.methods=n}i(Jt).hf=function(){return this.type};i(Jt).pm=function(t){this.props=t};i(Jt).qm=function(){return this.props};i(Jt).rm=function(t){this.methods=t};i(Jt).dd=function(){return this.methods};i(Jt).stringify=function(){var t,e=this.type;return e instanceof Ue?t=this.type.name:t=this.type.key,t};i(Jt).equals=function(t){return this===t?!0:!(t==null||!Eo(this).equals(Eo(t))||(t instanceof Jt||N(),!R(this.type,t.type))||!Qs(this.props,t.props)||!Qs(this.methods,t.methods))};i(Jt).hashCode=function(){var t=ht(this.type);return t=Q(31,t)+Gs(this.props)|0,t=Q(31,t)+Gs(this.methods)|0,t};i(Jt).pc=function(){return this.type};i(Jt).qc=function(){return this.props};i(Jt).ed=function(){return this.methods};i(Jt).sm=function(t,e,n){return new Jt(t,e,n)};i(Jt).copy=function(t,e,n,r){return t=t===u?this.type:t,e=e===u?this.props:e,n=n===u?this.methods:n,this.sm(t,e,n)};i(Jt).toString=function(){return"TypeInfo(type="+U(this.type)+", props="+U(this.props)+", methods="+U(this.methods)+")"};function Zg(t){return t.stringify()}function Xg(t){return!1}function Oe(t){se.call(this,t,"var"),this.vm_1=t}i(Oe).r1=function(){return this.vm_1};function It(t,e){Oe.call(this,e),this.zm_1=t,this.name=e,this.an_1=this.zm_1+this.value.length|0,this.isEqual=this.name==="equal",this.isNotEqual=this.name==="notEqual"}i(It).tc=function(){return this.zm_1};i(It).pg=function(){return this.name};i(It).uc=function(){return this.an_1};i(It).nd=function(t,e){return e.getAttr(t,this.value)};i(It).cd=function(){return[this.value]};i(It).dd=function(){return[]};i(It).bn=function(){return this.isEqual};i(It).cn=function(){return this.isNotEqual};i(It).pc=function(){return this.zm_1};i(It).qc=function(){return this.name};i(It).dn=function(t,e){return new It(t,e)};i(It).copy=function(t,e,n){return t=t===u?this.zm_1:t,e=e===u?this.name:e,this.dn(t,e)};i(It).toString=function(){return"Identifier(start="+this.zm_1+", name="+this.name+")"};i(It).hashCode=function(){var t=this.zm_1;return t=Q(t,31)+Je(this.name)|0,t};i(It).equals=function(t){if(this===t)return!0;if(!(t instanceof It))return!1;var e=t instanceof It?t:N();return!(this.zm_1!==e.zm_1||this.name!==e.name)};function bt(t,e,n,r){Oe.call(this,n.stringify()+"."+r),this.jh_1=t,this.kh_1=e,this.object0=n,this.property=r,this.isPropertyOr=this.property==="or",this.isPropertyAnd=this.property==="and",this.isPropertyIfElse=this.property==="ifElse"}i(bt).tc=function(){return this.jh_1};i(bt).uc=function(){return this.kh_1};i(bt).en=function(){return this.object0};i(bt).fn=function(){return this.property};i(bt).nd=function(t,e){var n=this.object0.nd(t,e);return n==null?null:e.getAttr(n,this.property)};i(bt).cd=function(){return rr([this.object0.properties,[this.property]])};i(bt).dd=function(){return this.object0.methods};i(bt).gn=function(){return this.isPropertyOr};i(bt).hn=function(){return this.isPropertyAnd};i(bt).in=function(){return this.isPropertyIfElse};i(bt).pc=function(){return this.jh_1};i(bt).qc=function(){return this.kh_1};i(bt).ed=function(){return this.object0};i(bt).fd=function(){return this.property};i(bt).jn=function(t,e,n,r){return new bt(t,e,n,r)};i(bt).copy=function(t,e,n,r,a){return t=t===u?this.jh_1:t,e=e===u?this.kh_1:e,n=n===u?this.object0:n,r=r===u?this.property:r,this.jn(t,e,n,r)};i(bt).toString=function(){return"MemberExpression(start="+this.jh_1+", end="+this.kh_1+", object0="+U(this.object0)+", property="+this.property+")"};i(bt).hashCode=function(){var t=this.jh_1;return t=Q(t,31)+this.kh_1|0,t=Q(t,31)+ht(this.object0)|0,t=Q(t,31)+Je(this.property)|0,t};i(bt).equals=function(t){if(this===t)return!0;if(!(t instanceof bt))return!1;var e=t instanceof bt?t:N();return!(this.jh_1!==e.jh_1||this.kh_1!==e.kh_1||!R(this.object0,e.object0)||this.property!==e.property)};function qt(t,e,n,r){var a=n.stringify();Oe.call(this,a+"("+An(r,",",u,u,u,u,Zg)+")"),this.eh_1=t,this.fh_1=e,this.callee=n,this.arguments=r}i(qt).tc=function(){return this.eh_1};i(qt).uc=function(){return this.fh_1};i(qt).kn=function(){return this.callee};i(qt).ln=function(){return this.arguments};i(qt).nd=function(t,e){var n=this.callee,r;if(n instanceof qt)r=null;else if(n instanceof It){var a;if(this.callee.isEqual)a=or().compare(this.arguments.k(0).nd(t,e),this.arguments.k(1).nd(t,e));else if(this.callee.isNotEqual)a=!or().compare(this.arguments.k(0).nd(t,e),this.arguments.k(1).nd(t,e));else{for(var o=this.arguments,s=Qi(rl(o,10)),l=o.h();l.i();){var c=l.j(),f=c.nd(t,e);if(f==null)return null;s.f(f)}a=e.getInvoke(t,this.callee.name,s)}r=a}else if(n instanceof bt){var h=this.callee.object0.nd(t,e);if(h==null)return null;var d=h,p;if(this.callee.isPropertyOr){var v;if(typeof d=="boolean"?d:N())v=!0;else{var _=this.arguments.k(0).nd(t,e);if(_==null)return null;var m=_;v=typeof m=="boolean"?m:N()}p=v}else if(this.callee.isPropertyAnd){var w;if(typeof d=="boolean"?d:N()){var b=this.arguments.k(0).nd(t,e);if(b==null)return null;var q=b;w=typeof q=="boolean"?q:N()}else w=!1;p=w}else if(this.callee.isPropertyIfElse){var S;(typeof d=="boolean"?d:N())?S=this.arguments.k(0).nd(t,e):S=this.arguments.k(1).nd(t,e),p=S}else{for(var y=this.arguments,C=Qi(rl(y,10)),E=y.h();E.i();){var k=E.j(),I=k.nd(t,e);if(I==null)return null;C.f(I)}p=e.getInvoke(d,this.callee.property,C)}r=p}else Tn();return r};i(qt).cd=function(){for(var t=Ql(this.callee.properties),e=this.arguments,n=jt(),r=e.h();r.i();){var a=r.j(),o=Vl(a.properties);Vo(n,o)}var s=Ef(t,n);return kn(s)};i(qt).dd=function(){var t=this.callee,e;t instanceof qt?e=this.callee.methods:t instanceof It?e=[this.callee.name]:t instanceof bt?e=rr([this.callee.object0.methods,[this.callee.property]]):Tn();for(var n=Ql(e),r=this.arguments,a=jt(),o=r.h();o.i();){var s=o.j(),l=Vl(s.methods);Vo(a,l)}var c=Ef(n,a);return kn(c)};i(qt).pc=function(){return this.eh_1};i(qt).qc=function(){return this.fh_1};i(qt).ed=function(){return this.callee};i(qt).fd=function(){return this.arguments};i(qt).mn=function(t,e,n,r){return new qt(t,e,n,r)};i(qt).copy=function(t,e,n,r,a){return t=t===u?this.eh_1:t,e=e===u?this.fh_1:e,n=n===u?this.callee:n,r=r===u?this.arguments:r,this.mn(t,e,n,r)};i(qt).toString=function(){return"CallExpression(start="+this.eh_1+", end="+this.fh_1+", callee="+U(this.callee)+", arguments="+U(this.arguments)+")"};i(qt).hashCode=function(){var t=this.eh_1;return t=Q(t,31)+this.fh_1|0,t=Q(t,31)+ht(this.callee)|0,t=Q(t,31)+ht(this.arguments)|0,t};i(qt).equals=function(t){if(this===t)return!0;if(!(t instanceof qt))return!1;var e=t instanceof qt?t:N();return!(this.eh_1!==e.eh_1||this.fh_1!==e.fh_1||!R(this.callee,e.callee)||!R(this.arguments,e.arguments))};function Ze(t,e){se.call(this,t,e),this.pn_1=t,this.qn_1=e}i(Ze).r1=function(){return this.pn_1};i(Ze).hf=function(){return this.qn_1};i(Ze).nd=function(t,e){return this.value};i(Ze).cd=function(){return[]};i(Ze).dd=function(){return[]};function Me(t){Ze.call(this,null,"null"),this.vn_1=t,this.wn_1=this.vn_1+4|0}i(Me).tc=function(){return this.vn_1};i(Me).uc=function(){return this.wn_1};i(Me).pc=function(){return this.vn_1};i(Me).xn=function(t){return new Me(t)};i(Me).copy=function(t,e){return t=t===u?this.vn_1:t,this.xn(t)};i(Me).toString=function(){return"NullLiteral(start="+this.vn_1+")"};i(Me).hashCode=function(){return this.vn_1};i(Me).equals=function(t){if(this===t)return!0;if(!(t instanceof Me))return!1;var e=t instanceof Me?t:N();return this.vn_1===e.vn_1};function ye(t,e){Ze.call(this,e,"boolean"),this.co_1=t,this.do_1=e,this.eo_1=this.co_1+(this.do_1?4:5)|0}i(ye).tc=function(){return this.co_1};i(ye).r1=function(){return this.do_1};i(ye).uc=function(){return this.eo_1};i(ye).pc=function(){return this.co_1};i(ye).qc=function(){return this.do_1};i(ye).fo=function(t,e){return new ye(t,e)};i(ye).copy=function(t,e,n){return t=t===u?this.co_1:t,e=e===u?this.do_1:e,this.fo(t,e)};i(ye).toString=function(){return"BooleanLiteral(start="+this.co_1+", value="+this.do_1+")"};i(ye).hashCode=function(){var t=this.co_1;return t=Q(t,31)+Ea(this.do_1)|0,t};i(ye).equals=function(t){if(this===t)return!0;if(!(t instanceof ye))return!1;var e=t instanceof ye?t:N();return!(this.co_1!==e.co_1||this.do_1!==e.do_1)};function te(t,e,n){Ze.call(this,n,"int"),this.ko_1=t,this.lo_1=e,this.mo_1=n}i(te).tc=function(){return this.ko_1};i(te).uc=function(){return this.lo_1};i(te).r1=function(){return this.mo_1};i(te).pc=function(){return this.ko_1};i(te).qc=function(){return this.lo_1};i(te).ed=function(){return this.mo_1};i(te).no=function(t,e,n){return new te(t,e,n)};i(te).copy=function(t,e,n,r){return t=t===u?this.ko_1:t,e=e===u?this.lo_1:e,n=n===u?this.mo_1:n,this.no(t,e,n)};i(te).toString=function(){return"IntLiteral(start="+this.ko_1+", end="+this.lo_1+", value="+this.mo_1+")"};i(te).hashCode=function(){var t=this.ko_1;return t=Q(t,31)+this.lo_1|0,t=Q(t,31)+this.mo_1|0,t};i(te).equals=function(t){if(this===t)return!0;if(!(t instanceof te))return!1;var e=t instanceof te?t:N();return!(this.ko_1!==e.ko_1||this.lo_1!==e.lo_1||this.mo_1!==e.mo_1)};function kt(t,e,n,r){r=r===u?null:r,Ze.call(this,n,"string"),this.td_1=t,this.ud_1=e,this.vd_1=n,this.wd_1=r;var a=this,o=this.wd_1,s;if(o==null)s=null;else{var l=qy(this.vd_1);s=l==null?o:l}var c=s,f;c==null?f=Xg:f=c,a.xd_1=f}i(kt).tc=function(){return this.td_1};i(kt).uc=function(){return this.ud_1};i(kt).r1=function(){return this.vd_1};i(kt).oo=function(){return this.wd_1};i(kt).stringify=function(){return Iy(this.vd_1)};i(kt).po=function(){return this.xd_1};i(kt).pc=function(){return this.td_1};i(kt).qc=function(){return this.ud_1};i(kt).ed=function(){return this.vd_1};i(kt).qo=function(){return this.wd_1};i(kt).ro=function(t,e,n,r){return new kt(t,e,n,r)};i(kt).copy=function(t,e,n,r,a){return t=t===u?this.td_1:t,e=e===u?this.ud_1:e,n=n===u?this.vd_1:n,r=r===u?this.wd_1:r,this.ro(t,e,n,r)};i(kt).toString=function(){return"StringLiteral(start="+this.td_1+", end="+this.ud_1+", value="+this.vd_1+", matches="+Xt(this.wd_1)+")"};i(kt).hashCode=function(){var t=this.td_1;return t=Q(t,31)+this.ud_1|0,t=Q(t,31)+Je(this.vd_1)|0,t=Q(t,31)+(this.wd_1==null?0:ht(this.wd_1))|0,t};i(kt).equals=function(t){if(this===t)return!0;if(!(t instanceof kt))return!1;var e=t instanceof kt?t:N();return!(this.td_1!==e.td_1||this.ud_1!==e.ud_1||this.vd_1!==e.vd_1||!R(this.wd_1,e.wd_1))};function se(t,e){this.ld_1=t,this.md_1=e}i(se).r1=function(){return this.ld_1};i(se).hf=function(){return this.md_1};i(se).stringify=function(){return Xt(this.value)};function Gt(t,e){t=t===u?"":t,this.so_1=t,this.uo_1=e}i(Gt).vo=function(t,e){return this.uo_1(t,e,this.so_1)};i(Gt).toString=function(){return"Parser(prefix="+this.so_1+", temp="+U(this.uo_1)+")"};i(Gt).hashCode=function(){var t=Je(this.so_1);return t=Q(t,31)+ht(this.uo_1)|0,t};i(Gt).equals=function(t){if(this===t)return!0;if(!(t instanceof Gt))return!1;var e=t instanceof Gt?t:N();return!(this.so_1!==e.so_1||!R(this.uo_1,e.uo_1))};function Dt(t,e){e=e===u?0:e,this.wo_1=t,this.xo_1=e}i(Dt).toString=function(){return"ParserResult(data="+Xt(this.wo_1)+", length="+this.xo_1+")"};i(Dt).hashCode=function(){var t=this.wo_1==null?0:ht(this.wo_1);return t=Q(t,31)+this.xo_1|0,t};i(Dt).equals=function(t){if(this===t)return!0;if(!(t instanceof Dt))return!1;var e=t instanceof Dt?t:N();return!(!R(this.wo_1,e.wo_1)||this.xo_1!==e.xo_1)};function ty(t,e){var n=0,r=nn(e,n);if(!R(r==null?null:new ut(r),new ut(40)))return!1;n=n+1|0,n=n+t.yo_1.vo(e,n).xo_1|0;var a=ai(48,57),o=nn(e,n),s,l=o;if((l==null?null:new ut(l))!=null?s=a.xb(o):s=!1,!s)return!1;n=n+t.cp_1.vo(e,n).xo_1|0,n=n+t.yo_1.vo(e,n).xo_1|0;var c=nn(e,n);return R(c==null?null:new ut(c),new ut(44))}function ey(t,e,n){var r=fs().allSubClasses,a;t:{for(var o=0,s=r.length;o<s;){var l=r[o];if(o=o+1|0,ls(e,l.key,n)){a=l;break t}}a=null}var c=a,f;c==null?ue(e,n,"CompareOperator"):f=c;var h=f;return new Zt(n,n+h.key.length|0,h)}function Ol(t,e,n){var r=e;if((r==null?null:new ut(r))==null)return!1;var a,o,s,l=e;return R(l==null?null:new ut(l),new ut(95))?s=!0:s=ai(97,122).xb(e),s?o=!0:o=ai(65,90).xb(e),o?a=!0:a=!n&&ai(48,57).xb(e),a}function Vc(t,e,n,r){return n=n===u?!1:n,Ol(t,e,n)}function Ls(t,e,n,r){if(ls(e,r,n)){var a=nn(e,n+r.length|0),o,s=a;if((s==null?null:new ut(s))==null)return!0;o=a;var l=o;return!(l===95||97<=l&&l<=122||65<=l&&l<=90||48<=l&&l<=57)}return!1}function Qc(t,e,n){var r="tfn-"+t.ip_1.so_1+t.cp_1.so_1+t.jp_1;St(e,n,r);var a=t.qp(e,n);return a}function ny(t,e,n){var r=n,a=Qc(t,e,r);r=r+a.a()|0,r=r+t.yo_1.vo(e,r).xo_1|0;var o=ey(t,e,r);r=r+o.a()|0,r=r+t.yo_1.vo(e,r).xo_1|0;var s=Qc(t,e,r),l,c;if(R(o.value,hs())||R(o.value,Ku())?c=s instanceof kt:c=!1,c){var f;try{f=Ry(s.vd_1)}catch(_){var h;if(_ instanceof Sn){var d=_;ue(e,r,"valid primitive string regex",d)}else throw _;f=h}var p=f;l=s.copy(u,u,u,p)}else l=s;var v=l;return r=r+v.a()|0,new vt(n,r,a,o,v)}function ry(t,e,n){var r=n;r=r+t.yo_1.vo(e,r).xo_1|0;var a=Uu().allSubClasses,o;t:{for(var s=a.h();s.i();){var l=s.j();if(ls(e,l.key,n)){o=l;break t}}o=null}var c=o,f;c==null?ue(e,n,"LogicalOperator"):f=c;var h=f;return new Zt(r,r+h.key.length|0,h)}function iy(t,e,n){var r=n;r=r+t.yo_1.vo(e,r).xo_1|0,St(e,r,"!");var a=r;r=r+1|0,St(e,r,"(");var o=t.rp(e,r,!0);return r=r+o.a()|0,new ae(a,o)}function ay(t,e,n){for(var r=e,a="";r<z(t)&&Ye(n,F(t,r));)a=a+Yt(F(t,r)),r=r+1|0;return new Dt(a,r-e|0)}function oy(t,e,n){return St(t,e,n,"whitespace"),ot().yo_1.vo(t,e)}function sy(t,e,n){var r=e,a=nn(t,r),o,s=a;if((s==null?null:new ut(s))!=null?o=!Ye(n,a):o=!1,o)return new Dt("");St(t,r,n,"*0-9a-zA-Z_");var l=Yt(F(t,r));if(r=r+1|0,l==="*")return new Dt(l,r-e|0);var c="1234567890qwertyuiopasdfghjklzxcvbnmQWERTYUIOPASDFGHJKLZXCVBNM_.";t:for(;r<z(t);){if(F(l,(r-e|0)-1|0)===46&&St(t,r,n,"[0-9a-zA-Z_]"),Ye(c,F(t,r)))l=l+Yt(F(t,r));else break t;r=r+1|0}return new Dt(l,r-e|0)}function ly(t){return t.key}function uy(t,e,n){var r=vs().allSubClasses,a;t:{for(var o=r.h();o.i();){var s=o.j();if(ls(t,s.key,e)){a=s;break t}}a=null}var l=a,c;l==null?ue(t,e,"ConnectOperator"):c=l;var f=c;return new Dt(f,f.key.length)}function cy(t,e,n){var r=e;St(t,r,n,"number");for(var a="";r<z(t)&&Ye(n,F(t,r));)a=a+Yt(F(t,r)),r=r+1|0;var o;try{o=_m(a)}catch(l){var s;if(l instanceof Ei)ue(t,e,"valid format number");else throw l;o=s}return new Dt(o,r-e|0)}function fy(t,e,n){var r=e;St(t,r,n);var a=F(t,r),o;a===43?(r=r+1|0,o=1):a===45?(r=r+1|0,o=-1):o=1;var s=o;r=r+ot().yo_1.vo(t,r).xo_1|0,St(t,r,ot().cp_1.so_1+"n");var l;if(Ye(ot().cp_1.so_1,F(t,r))){var c=ot().cp_1.vo(t,r);r=r+c.xo_1|0,l=c.wo_1}else l=1;var f=Q(l,s);return r<z(t)&&F(t,r)===110?(r=r+1|0,new Dt(new Pn(1,f),r-e|0)):new Dt(new Pn(0,f),r-e|0)}function hy(t,e,n){var r=e;St(t,r,n);var a=jt();if(F(t,r)===40){for(r=r+1|0,r=r+ot().yo_1.vo(t,r).xo_1|0,St(t,r,ot().dp_1.so_1);F(t,r)!==41;){a.m()>0&&St(t,r,"+-");var o=ot().dp_1.vo(t,r);a.f(o),r=r+o.xo_1|0,r=r+ot().yo_1.vo(t,r).xo_1|0,r>=z(t)&&St(t,r,")")}r=r+1|0}else{var s=ot().dp_1.vo(t,r);a.f(s),r=r+s.xo_1|0}for(var l=Ih(),c=a.h();c.i();){var f=c.j(),h=f.wo_1,d=h.pc(),p=h.qc(),v=l.t1(d),_=(v==null?0:v)+p|0;l.u3(d,_)}for(var m=g_(l.m()),w=l.u1().h();w.i();){var b=w.j();b.q1()>1&&ue(t,e,"power must be 0 or 1");var q=b.r1();m.u3(dt,q)}var S;try{var y=l.t1(1),C=y==null?0:y,E=l.t1(0);S=new Bt(C,E==null?0:E)}catch(M){var k;if(M instanceof Sn)ue(t,e,"valid polynomialExpression");else throw M;S=k}var I=S;return new Dt(I,r-e|0)}function dy(t,e,n){var r=e;St(t,r,"("),r=r+1|0;for(var a=jt();r<z(t)&&F(t,r)!==41;){r=r+ot().yo_1.vo(t,r).xo_1|0;var o=ot().cp_1.vo(t,r);a.l()?o.wo_1<=0&&ue(t,r,"positive integer"):o.wo_1<=Sa(a)&&ue(t,r,">"+Sa(a)),r=r+o.xo_1|0,a.f(o.wo_1),r=r+ot().yo_1.vo(t,r).xo_1|0;var s=nn(t,r);R(s==null?null:new ut(s),new ut(44))&&(r=r+1|0,r=r+ot().yo_1.vo(t,r).xo_1|0,St(t,r,ot().cp_1.so_1+")"))}return St(t,r,")"),r=r+1|0,new Dt(new Pe(a),r-e|0)}function vy(t,e,n){var r=e,a;if(ty(ot(),dn(t,e,z(t)))){var o=ot().fp_1.vo(t,r);r=r+o.xo_1|0,a=new Dt(o.wo_1,r-e|0)}else{var s=ot().ep_1.vo(t,e);r=r+s.xo_1|0,a=new Dt(s.wo_1,r-e|0)}return a}function py(t,e,n){var r=e,a=ot().bp_1.vo(t,r);r=r+a.xo_1|0;var o=null;r<z(t)&&Ye(ot().gp_1.so_1,F(t,r))&&(o=ot().gp_1.vo(t,r),r=r+o.xo_1|0);var s=o,l=s==null?null:s.wo_1;return new Dt(new ge(a.wo_1,l==null?new Bt:l),r-e|0)}function _y(t,e,n){var r=e;St(t,r,n);var a=F(t,r);r=r+1|0,r>=z(t)&&ue(t,r,"any char");var o="";t:for(;F(t,r)!==a;){if(r>=(z(t)-1|0)){St(t,r,Yt(a));break t}var s=F(t,r),l=De(s);if(0<=l&&l<=31&&ue(t,r,"0-1f escape char"),F(t,r)===92){r=r+1|0,St(t,r);var c=o,f=F(t,r),h;if(f===92)h=92;else if(f===39)h=39;else if(f===34)h=34;else if(f===96)h=96;else if(f===110)h=10;else if(f===114)h=13;else if(f===116)h=9;else if(f===98)h=8;else if(f===120){var d=0;if(d<2)do d=d+1|0,r=r+1|0,St(t,r,"0123456789abcdefABCDEF");while(d<2);var p=(r-2|0)+1|0,v=r+1|0,_=U(dn(t,p,v));h=Aa(Oc(_,16))}else if(f===117){var m=0;if(m<4)do m=m+1|0,r=r+1|0,St(t,r,"0123456789abcdefABCDEF");while(m<4);var w=(r-4|0)+1|0,b=r+1|0,q=U(dn(t,w,b));h=Aa(Oc(q,16))}else ue(t,r,"escape char");o=c+Yt(h)}else o=o+Yt(F(t,r));r=r+1|0}return r=r+1|0,new Dt(o,r-e|0)}function my(t,e,n){var r=e;St(t,r,n);var a=Yt(F(t,r));for(r=r+1|0;r<z(t)&&Ye(ot().kp_1,F(t,r));)F(t,r)===46&&St(t,r+1|0,n),a=a+Yt(F(t,r)),r=r+1|0;return new Dt(a,r-e|0)}function gy(t,e,n){var r=e;St(t,r,n),r=r+1|0,r=r+ot().yo_1.vo(t,r).xo_1|0;var a=ot().sp(t,r);return r=r+a.a()|0,St(t,r,"]"),r=r+1|0,new Dt(a,r-e|0)}function yy(t,e,n){var r=e,a=!1,o=nn(t,r);R(o==null?null:new ut(o),new ut(64))&&(a=!0,r=r+1|0);var s=ot().ap_1.vo(t,r);r=r+s.xo_1|0;for(var l=jt();r<z(t)&&F(t,r)===91;){var c=ot().mp_1.vo(t,r);r=r+c.xo_1|0,l.f(c.wo_1)}return s.xo_1===0&&l.m()===0&&ue(t,r,"["),new Dt(new fe(a,s.wo_1,l),r-e|0)}function wy(t,e,n){var r=e;r=r+ot().yo_1.vo(t,r).xo_1|0;var a=ot().np_1.vo(t,r);r=r+a.xo_1|0;var o=jt();t:for(;r<z(t)&&Ye(ot().yo_1.so_1,F(t,r));){if(r=r+ot().zo_1.vo(t,r).xo_1|0,r>=z(t))break t;var s;if(Ye(ot().hp_1.so_1,F(t,r))){var l=ot().hp_1.vo(t,r);r=r+l.xo_1|0,r=r+ot().zo_1.vo(t,r).xo_1|0,s=l.wo_1}else s=new ge(u,new Bt(1,0));var c=s,f=ot().np_1.vo(t,r);r=r+f.xo_1|0,o.f(Dc(c,f.wo_1))}return new Dt(Dc(a.wo_1,o),r-e|0)}function by(t,e,n){return e!==z(t)&&ue(t,e,"EOF"),new Dt(dt,0)}function co(){jl=this;var t=this;t.yo_1=new Gt(` \r
|
|
258
258
|
`,ay);var e=this;e.zo_1=new Gt(` \r
|
|
259
|
-
`,oy);var n=this;n.ap_1=new Gt("*1234567890qwertyuiopasdfghjklzxcvbnmQWERTYUIOPASDFGHJKLZXCVBNM_",sy);var r=this,a=vs().allSubClasses,o=An(a,"",u,u,u,u,ly);r.bp_1=new Gt(o,uy);var s=this;s.cp_1=new Gt("1234567890",cy);var l=this;l.dp_1=new Gt("+-1234567890n",fy);var c=this;c.ep_1=new Gt("(0123456789n",hy);var f=this;f.fp_1=new Gt(u,dy);var h=this;h.gp_1=new Gt(this.ep_1.so_1,vy);var d=this;d.hp_1=new Gt(this.bp_1.so_1,py);var p=this;p.ip_1=new Gt("`'\"",_y),this.jp_1="_"+An(ai(97,122),"")+An(ai(65,90),""),this.kp_1=this.jp_1+Zt(46)+An(ai(48,57),"");var v=this;v.lp_1=new Gt(this.jp_1,my);var _=this;_.mp_1=new Gt("[",gy);var m=this;m.np_1=new Gt(u,yy);var w=this;w.op_1=new Gt(u,wy);var b=this;b.pp_1=new Gt(u,by)}i(co).qp=function(t,e){var n=e;if(n=n+this.yo_1.vo(t,n).xo_1|0,n>=z(t)&&ue(t,n,"Variable"),Ls(this,t,n,"true"))return new ye(n,!0);if(Ls(this,t,n,"false"))return new ye(n,!1);if(Ls(this,t,n,"null"))return new Pe(n);if(Ze(this.ip_1.so_1,F(t,n))){var r=this.ip_1.vo(t,n);return n=n+r.xo_1|0,new bt(n-r.xo_1|0,n,r.wo_1)}if(F(t,n)===45){n=n+1|0;var a=this.cp_1.vo(t,n);return n=n+a.xo_1|0,new te((n-a.xo_1|0)-1|0,n,-a.wo_1|0)}if(Ze(this.cp_1.so_1,F(t,n))){var o=this.cp_1.vo(t,n);return n=n+o.xo_1|0,new te(n-o.xo_1|0,n,o.wo_1)}var s=null;t:for(;n<z(t);){n=n+this.yo_1.vo(t,n).xo_1|0;var l=nn(t,n),c=l;if(R(c==null?null:new lt(c),new lt(40))){var f=n;if(n=n+1|0,n=n+this.yo_1.vo(t,n).xo_1|0,s!=null){s instanceof qt&&ue(t,n,"Variable");for(var h=jt();n<z(t)&&F(t,n)!==41;){var d=this.qp(t,n);h.f(d),n=n+d.a()|0;var p=nn(t,n);R(p==null?null:new lt(p),new lt(44))&&(n=n+1|0,n=n+this.yo_1.vo(t,n).xo_1|0)}n=n+this.yo_1.vo(t,n).xo_1|0,St(t,n,")"),n=n+1|0,s=new qt(s.tc(),n,s,h)}else{var v=this.qp(t,n);n=n+v.a()|0,n=n+this.yo_1.vo(t,n).xo_1|0,St(t,n,")"),n=n+1|0;var _=n,m;return v instanceof ye?m=v.copy(f):v instanceof te?m=v.copy(f,_):v instanceof Pe?m=v.copy(f):v instanceof bt||v instanceof qt?m=v.copy(f,_):v instanceof It?m=v.copy(f):v instanceof wt?m=v.copy(f,_):Tn(),m}}else{var w=l;if(R(w==null?null:new lt(w),new lt(46))){n=n+1|0,s instanceof Oe||ue(t,n,"Variable"),Ol(this,nn(t,n),!0)||ue(t,n,"Variable");var b;e:{var q=yc(t,n),S=0,g=z(q);if(S<g)do{var C=S;S=S+1|0;var E=F(q,C);if(!Ol(ot(),E,!1)){b=dn(q,0,C);break e}}while(S<g);b=dn(q,0,z(q))}var k=U(b);s=new wt(s.tc(),n+k.length|0,s,k),n=n+k.length|0}else if(Vc(this,l)){var I;e:{var P=yc(t,n),j=0,W=z(P);if(j<W)do{var H=j;j=j+1|0;var Ht=F(P,H);if(!Vc(ot(),Ht)){I=dn(P,0,H);break e}}while(j<W);I=dn(P,0,z(P))}var _t=U(I);s=new It(n,_t),n=n+_t.length|0}else break t}}return s==null&&ue(t,n,"Variable"),s};i(co).rp=function(t,e,n){var r=e;r=r+this.yo_1.vo(t,r).xo_1|0;var a=jt();t:for(;r<z(t)&&F(t,r)!==93&&F(t,r)!==41;){var o=F(t,r);if(o===40){var s=r;if(!a.l()){var l=Sa(a),c;if(l instanceof Yt){var f=l.value;c=f instanceof Ln}else c=!1;if(!c){for(var h=0;(r-1|0)>=h&&Ze(this.yo_1.so_1,F(t,(r-1|0)-h|0));)h=h+1|0;ue(t,(r-h|0)-l.a()|0,"LogicalOperator")}}r=r+1|0;var d=this.sp(t,r);r=r+d.a()|0;var p=d;St(t,r,")"),r=r+1|0;var v=r,_;if(p instanceof vt||p instanceof pt?_=p.copy(s,v):p instanceof ae?_=p.copy(s):Tn(),a.f(_),n)break t}else if(Ze("|&",o)){var m=ry(this,t,r);r=r+m.a()|0,a.f(m),r=r+this.yo_1.vo(t,r).xo_1|0,St(t,r,"(!"+this.lp_1.so_1)}else if(o===33){var w=iy(this,t,r);r=r+w.a()|0,a.f(w),r=r+this.yo_1.vo(t,r).xo_1|0}else{var b=ny(this,t,r);r=r+b.a()|0,a.f(b)}r=r+this.yo_1.vo(t,r).xo_1|0}if(a.l()&&ue(t,r-e|0,"Expression"),a.m()===1){var q=Vi(a);return q instanceof He?q:N()}for(var S=Jl(a),g=0;g<S.m();){var C=S.k(g),E;if(C instanceof Yt?E=R(C.value,Wu()):E=!1,E){var k=S.k(g-1|0),I=k instanceof He?k:N(),P=S.k(g+1|0),j=P instanceof He?P:N(),W=C instanceof Yt?C:N();S.p2(g,new pt(I.tc(),j.uc(),I,W,j)),S.x2(g-1|0),S.x2((g+1|0)-1|0)}else g=g+1|0}for(;S.m()>1;){var H=S.k(0),Ht=H instanceof He?H:N(),_t=S.k(1),Rt=_t instanceof Yt?_t:N(),Lt=S.k(2),ve=Lt instanceof He?Lt:N();S.p2(1,new pt(Ht.tc(),ve.uc(),Ht,Rt,ve)),S.x2(0),S.x2(1)}var re=Vi(S);return re instanceof He?re:N()};i(co).sp=function(t,e,n,r){return n=n===u?!1:n,r===u?this.rp(t,e,n):r.rp.call(this,t,e,n)};var jl;function ot(){return jl==null&&new co,jl}function zd(t){var e=0;e=e+ot().yo_1.vo(t,e).xo_1|0;var n=ot().op_1.vo(t,e);e=e+n.xo_1|0,e=e+ot().yo_1.vo(t,e).xo_1|0,e=e+ot().pp_1.vo(t,e).xo_1|0;var r=n.wo_1,a=jt(),o=jt();a.f(r.nc_1);for(var s=r.oc_1.h();s.i();){var l=s.j();a.f(l.oc_1),o.f(l.nc_1)}for(var c=td([new oe(Vi(a))]),f=0,h=o.h();h.i();){var d=h.j(),p=f;f=p+1|0;var v=jo(p),_=new Te(d,Sa(c)),m=new oe(a.k(v+1|0),_);c.f(m)}return new qe(t,Sa(c))}function ky(t){Ly(t)}function Xr(t,e,n,r,a,o){this.booleanType=t,this.intType=e,this.stringType=n,this.contextType=r,this.nodeType=a,this.globalType=o}i(Xr).tp=function(){return this.booleanType};i(Xr).up=function(){return this.intType};i(Xr).vp=function(){return this.stringType};i(Xr).wp=function(){return this.contextType};i(Xr).xp=function(){return this.nodeType};i(Xr).yp=function(){return this.globalType};function xy(t){t=t===u?!1:t;var e=new Jt(ja()),n=new Jt(za()),r=new Jt(Ba()),a=new Jt(new Ke("node")),o=new Jt(new Ke("context")),s=new Jt(new Ke("global")),l=e,c=new X("toInt",n),f=[e],h=new X("or",e,f),d=[e];l.methods=rr([[c,h,new X("and",e,d),new X("not",e)],js(e,n,r,a,o,"ifElse",e,2)]);var p=n,v=new X("toString",r),_=[n],m=new X("toString",r,_),w=[n],b=new X("plus",n,w),q=[n],S=new X("minus",n,q),g=[n],C=new X("times",n,g),E=[n],k=new X("div",n,E),I=[n],P=new X("rem",n,I),j=[n],W=new X("more",e,j),H=[n],Ht=new X("moreEqual",e,H),_t=[n],Rt=new X("less",e,_t),Lt=[n];p.methods=[v,m,b,S,C,k,P,W,Ht,Rt,new X("lessEqual",e,Lt)];var ve=r;ve.props=[new it("length",n)];var re=r,et=[n],Xe=new X("get",r,et),gt=[n],En=new X("at",r,gt),B=[n],ft=new X("substring",r,B),yt=[n,n],Kt=new X("substring",r,yt),pe=new X("toInt",n),Yn=[n],Xn=new X("toInt",n,Yn),tr=[r],ti=new X("indexOf",n,tr),ha=[r,n];re.methods=[Xe,En,ft,Kt,pe,Xn,ti,new X("indexOf",n,ha)];var da=a,ei;t?ei=[new it("_id",n),new it("_pid",n)]:ei=[],da.props=rr([ei,[new it("id",r),new it("vid",r),new it("name",r),new it("text",r),new it("desc",r),new it("clickable",e),new it("focusable",e),new it("checkable",e),new it("checked",e),new it("editable",e),new it("longClickable",e),new it("visibleToUser",e),new it("left",n),new it("top",n),new it("right",n),new it("bottom",n),new it("width",n),new it("height",n),new it("childCount",n),new it("index",n),new it("depth",n),new it("parent",a)]]);var ni=a,fo=[n];ni.methods=[new X("getChild",a,fo)];var Tr=o,On=a.methods,ys=[n];Tr.methods=rr([On,[new X("getPrev",o,ys)]]);var ws=o;ws.props=rr([a.props,[new it("prev",o),new it("current",a)]]);var Pi=s;Pi.methods=rr([o.methods,js(e,n,r,a,o,"equal",e,2),js(e,n,r,a,o,"notEqual",e,2)]);var bs=s;return bs.props=o.props.slice(),new Xr(e,n,r,o,a,s)}function Cy(t,e,n){var r;switch(e){case"plus":r=t+ze(n)|0;break;case"minus":r=t-ze(n)|0;break;case"times":r=Q(t,ze(n));break;case"div":var a=ze(n);if(a===0)return null;r=t/a|0;break;case"rem":var o=ze(n);if(o===0)return null;r=t%o|0;break;case"more":r=t>ze(n);break;case"moreEqual":r=t>=ze(n);break;case"less":r=t<ze(n);break;case"lessEqual":r=t<=ze(n);break;default:r=null;break}return r}function Sy(t,e,n){return Ny(t,e,n)}function $y(t,e,n){switch(e){case"toInt":return t?1:0;case"not":return!t;default:return null}}function Ey(t,e){return Ay(t,e)}function Iy(t,e){e=e===u?34:e;var n=Vh(t.length+2|0);n.b6(e);for(var r=0;r<z(t);){var a=F(t,r);r=r+1|0;var o=a===e?e:a===10?110:a===13?114:a===9?116:a===8?98:a===92?92:null,s=o;if((s==null?null:new lt(s))!=null){var l=o;n.a6("\\"+Xt(l==null?null:new lt(l)))}else{var c=Be(a);if(0<=c&&c<=15){var f=Be(a);n.a6("\\x0"+Lc(f,16))}else if(16<=c&&c<=31){var h=Be(a);n.a6("\\x"+Lc(h,16))}else n.b6(a)}}return n.b6(e),n.toString()}function Os(t,e,n){if($u(t,e)&&Yh(t,n)&&t.length>=(e.length+n.length|0)){var r=e.length,a=t.length-n.length|0;if(r<a)do{var o=r;if(r=r+1|0,Ze("\\^$.?*|+()[]{}",F(t,o)))return null}while(r<a);return U(dn(t,e.length,t.length-n.length|0))}return null}function qy(t){var e=Os(t,"(?is)",".*");if(e!=null)return Ty(e);var n=Os(t,"(?is).*",".*");if(n!=null)return My(n);var r=Os(t,"(?is).*","");return r!=null?Py(r):null}function ze(t,e){e=e===u?0:e;var n=t.k(e);return typeof n=="number"?n:N()}function Ny(t,e,n){var r;switch(e){case"get":var a=nn(t,ze(n));r=Xt(a==null?null:new lt(a));break;case"at":var o=ze(n),s;if(o<0){var l=nn(t,z(t)+o|0);s=Xt(l==null?null:new lt(l))}else{var c=nn(t,o);s=Xt(c==null?null:new lt(c))}r=s;break;case"substring":var f;switch(n.m()){case 1:var h=ze(n);if(h<0)return null;if(h>=z(t))return"";var d=z(t);f=U(dn(t,h,d));break;case 2:var p=ze(n);if(p<0)return null;if(p>=z(t))return"";var v=ze(n,1);if(v<p)return null;var _=$a(v,z(t));f=U(dn(t,p,_));break;default:f=null;break}r=f;break;case"toInt":var m;switch(n.m()){case 0:m=md(U(t));break;case 1:var w=ze(n);if(!(2<=w&&w<=36))return null;m=Ou(U(t),w);break;default:m=null;break}r=m;break;case"indexOf":var b;switch(n.m()){case 1:var q=n.k(0),S=we(q)?q:null,g;if(S==null)return null;g=S;var C=g;b=ll(t,U(C));break;case 2:var E=n.k(0),k=we(E)?E:null,I;if(k==null)return null;I=k;var P=I,j=ze(n,1);b=ll(t,U(P),j);break;default:b=null;break}r=b;break;default:r=null;break}return r}function Ay(t,e){return e==="length"?z(t):null}function js(t,e,n,r,a,o,s,l){for(var c=0,f=nr(Array(l),null);c<l;)f[c]=t,c=c+1|0;for(var h=new X(o,s,f),d=0,p=nr(Array(l),null);d<l;)p[d]=e,d=d+1|0;for(var v=new X(o,s,p),_=0,m=nr(Array(l),null);_<l;)m[_]=n,_=_+1|0;for(var w=new X(o,s,m),b=0,q=nr(Array(l),null);b<l;)q[b]=r,b=b+1|0;for(var S=new X(o,s,q),g=0,C=nr(Array(l),null);g<l;)C[g]=a,g=g+1|0;return[h,v,w,S,new X(o,s,C)]}function Ty(t){return function(e){return ju(e,t,!0)}}function My(t){return function(e){return zu(e,t,!0)}}function Py(t){return function(e){return ss(e,t,!0)}}var No;function Ry(t){if(No!==null){var e=Re(No)(t);return Oy(e)}if(t.length>=4&&$u(t,"(?")){var n=2,r=t.length;if(n<r)t:do{var a=n;n=n+1|0;var o=F(t,a);if(!(97<=o&&o<=122)&&!(65<=o&&o<=90))if(o===41){var s=qp(dn(t,2,a));s.f(new lt(103)),s.f(new lt(117));var l=An(s,""),c=a+1|0,f=t.substring(c),h=new RegExp(f,l);return jy(h)}else break t}while(n<r)}var d=ym(t);return zy(d)}function Ly(t){No=t}function Oy(t){return function(e){return t(U(e))}}function jy(t){return function(e){Hh(t);var n=t.exec(U(e));return n!=null&&n.index===0&&t.lastIndex===z(e)}}function zy(t){return function(e){return t.w8(e)}}i(He).a=Bu;Z(i(He),"binaryExpressions",function(){return this.bd()});Z(i(vt),"properties",i(vt).cd);Z(i(vt),"methods",i(vt).dd);Z(i(Ra),"allSubClasses",i(Ra).kd);Z(i(Ti),"minOffset",function(){return this.yd()});Z(i(Ti),"maxOffset",function(){return this.zd()});Z(i(La),"allSubClasses",i(La).kd);Z(i(Ft),"message",function(){return this.i7()});Z(i(De),"value",function(){return this.r1()});Z(i(Oa),"allSubClasses",i(Oa).kd);i(Yt).a=Bu;Z(i(fe),"binaryExpressions",i(fe).bd);Z(i(oe),"length",i(oe).a);Z(i(he),"cause",function(){return this.j7()});i(se).a=Bu;Z(i(se),"value",function(){return this.r1()});Z(i(se),"type",function(){return this.hf()});Z(i(se),"properties",function(){return this.cd()});Z(i(se),"methods",function(){return this.dd()});Od=new gs;jd=new Vu;No=null;Z(Y,"Companion",fs);Z(Y,"Equal",or);Z(Y,"NotEqual",kd);Z(Y,"Start",Yr);Z(Y,"NotStart",xd);Z(Y,"Include",Du);Z(Y,"NotInclude",Cd);Z(Y,"End",Fu);Z(Y,"NotEnd",Sd);Z(Y,"Less",uo);Z(Y,"LessEqual",$d);Z(Y,"More",Ed);Z(Y,"MoreEqual",Id);Z(Y,"Matches",hs);Z(Y,"NotMatches",Ku);Z(xe,"Companion",vs);Z(xe,"BeforeBrother",qd);Z(xe,"AfterBrother",Nd);Z(xe,"Ancestor",Io);Z(xe,"Child",Ad);Z(xe,"Descendant",ps);De.Id=vn;De.Vid=pn;De.Text=_n;Z(Ln,"Companion",Uu);Z(Ln,"AndOperator",Wu);Z(Ln,"OrOperator",Hu);Z(qe,"Companion",Cg);Z($t,"Companion",Ag);Z(cn,"BooleanType",ja);Z(cn,"IntType",za);Z(cn,"StringType",Ba);cn.ObjectType=Ke;se.Variable=Oe;se.Identifier=It;se.MemberExpression=wt;se.CallExpression=qt;se.LiteralExpression=Ye;se.NullLiteral=Pe;se.BooleanLiteral=ye;se.IntLiteral=te;se.StringLiteral=bt;async function By(t){t instanceof Promise&&(t=await t);const e={"kotlin.captureStackTrace":()=>new Error().stack,"kotlin.wasm.internal.throwJsError":(o,s,l)=>{const c=new Error;throw c.message=o,c.name=s,c.stack=l,c},"kotlin.wasm.internal.stringLength":o=>o.length,"kotlin.wasm.internal.jsExportStringToWasm":(o,s,l,c)=>{const f=new Uint16Array(r.memory.buffer,c,l);let h=0,d=s;for(;h<l;)f.set([o.charCodeAt(d)],h),d++,h++},"kotlin.wasm.internal.importStringFromWasm":(o,s,l)=>{const c=new Uint16Array(r.memory.buffer,o,s),f=String.fromCharCode.apply(null,c);return l==null?f:l+f},"kotlin.wasm.internal.getJsEmptyString":()=>"","kotlin.wasm.internal.isNullish":o=>o==null,"kotlin.wasm.internal.getJsTrue":()=>!0,"kotlin.wasm.internal.getJsFalse":()=>!1,"kotlin.random.initialSeed":()=>Math.random()*Math.pow(2,32)|0,"li.songe.matches.__convertKotlinClosureToJsClosure_((String)->Boolean)":o=>s=>r["__callFunction_((String)->Boolean)"](o,s)};let n,r;const a={js_code:e};try{if(t instanceof Response)n=(await WebAssembly.instantiateStreaming(t,a)).instance;else{const o=new WebAssembly.Module(t);n=new WebAssembly.Instance(o,a)}}catch(o){throw o instanceof WebAssembly.CompileError&&console.error(`Please make sure that your runtime environment supports the latest version of Wasm GC and Exception-Handling proposals.
|
|
259
|
+
`,oy);var n=this;n.ap_1=new Gt("*1234567890qwertyuiopasdfghjklzxcvbnmQWERTYUIOPASDFGHJKLZXCVBNM_",sy);var r=this,a=vs().allSubClasses,o=An(a,"",u,u,u,u,ly);r.bp_1=new Gt(o,uy);var s=this;s.cp_1=new Gt("1234567890",cy);var l=this;l.dp_1=new Gt("+-1234567890n",fy);var c=this;c.ep_1=new Gt("(0123456789n",hy);var f=this;f.fp_1=new Gt(u,dy);var h=this;h.gp_1=new Gt(this.ep_1.so_1,vy);var d=this;d.hp_1=new Gt(this.bp_1.so_1,py);var p=this;p.ip_1=new Gt("`'\"",_y),this.jp_1="_"+An(ai(97,122),"")+An(ai(65,90),""),this.kp_1=this.jp_1+Yt(46)+An(ai(48,57),"");var v=this;v.lp_1=new Gt(this.jp_1,my);var _=this;_.mp_1=new Gt("[",gy);var m=this;m.np_1=new Gt(u,yy);var w=this;w.op_1=new Gt(u,wy);var b=this;b.pp_1=new Gt(u,by)}i(co).qp=function(t,e){var n=e;if(n=n+this.yo_1.vo(t,n).xo_1|0,n>=z(t)&&ue(t,n,"Variable"),Ls(this,t,n,"true"))return new ye(n,!0);if(Ls(this,t,n,"false"))return new ye(n,!1);if(Ls(this,t,n,"null"))return new Me(n);if(Ye(this.ip_1.so_1,F(t,n))){var r=this.ip_1.vo(t,n);return n=n+r.xo_1|0,new kt(n-r.xo_1|0,n,r.wo_1)}if(F(t,n)===45){n=n+1|0;var a=this.cp_1.vo(t,n);return n=n+a.xo_1|0,new te((n-a.xo_1|0)-1|0,n,-a.wo_1|0)}if(Ye(this.cp_1.so_1,F(t,n))){var o=this.cp_1.vo(t,n);return n=n+o.xo_1|0,new te(n-o.xo_1|0,n,o.wo_1)}var s=null;t:for(;n<z(t);){n=n+this.yo_1.vo(t,n).xo_1|0;var l=nn(t,n),c=l;if(R(c==null?null:new ut(c),new ut(40))){var f=n;if(n=n+1|0,n=n+this.yo_1.vo(t,n).xo_1|0,s!=null){s instanceof qt&&ue(t,n,"Variable");for(var h=jt();n<z(t)&&F(t,n)!==41;){var d=this.qp(t,n);h.f(d),n=n+d.a()|0;var p=nn(t,n);R(p==null?null:new ut(p),new ut(44))&&(n=n+1|0,n=n+this.yo_1.vo(t,n).xo_1|0)}n=n+this.yo_1.vo(t,n).xo_1|0,St(t,n,")"),n=n+1|0,s=new qt(s.tc(),n,s,h)}else{var v=this.qp(t,n);n=n+v.a()|0,n=n+this.yo_1.vo(t,n).xo_1|0,St(t,n,")"),n=n+1|0;var _=n,m;return v instanceof ye?m=v.copy(f):v instanceof te?m=v.copy(f,_):v instanceof Me?m=v.copy(f):v instanceof kt||v instanceof qt?m=v.copy(f,_):v instanceof It?m=v.copy(f):v instanceof bt?m=v.copy(f,_):Tn(),m}}else{var w=l;if(R(w==null?null:new ut(w),new ut(46))){n=n+1|0,s instanceof Oe||ue(t,n,"Variable"),Ol(this,nn(t,n),!0)||ue(t,n,"Variable");var b;e:{var q=yc(t,n),S=0,y=z(q);if(S<y)do{var C=S;S=S+1|0;var E=F(q,C);if(!Ol(ot(),E,!1)){b=dn(q,0,C);break e}}while(S<y);b=dn(q,0,z(q))}var k=U(b);s=new bt(s.tc(),n+k.length|0,s,k),n=n+k.length|0}else if(Vc(this,l)){var I;e:{var M=yc(t,n),j=0,H=z(M);if(j<H)do{var W=j;j=j+1|0;var Wt=F(M,W);if(!Vc(ot(),Wt)){I=dn(M,0,W);break e}}while(j<H);I=dn(M,0,z(M))}var _t=U(I);s=new It(n,_t),n=n+_t.length|0}else break t}}return s==null&&ue(t,n,"Variable"),s};i(co).rp=function(t,e,n){var r=e;r=r+this.yo_1.vo(t,r).xo_1|0;var a=jt();t:for(;r<z(t)&&F(t,r)!==93&&F(t,r)!==41;){var o=F(t,r);if(o===40){var s=r;if(!a.l()){var l=Sa(a),c;if(l instanceof Zt){var f=l.value;c=f instanceof Ln}else c=!1;if(!c){for(var h=0;(r-1|0)>=h&&Ye(this.yo_1.so_1,F(t,(r-1|0)-h|0));)h=h+1|0;ue(t,(r-h|0)-l.a()|0,"LogicalOperator")}}r=r+1|0;var d=this.sp(t,r);r=r+d.a()|0;var p=d;St(t,r,")"),r=r+1|0;var v=r,_;if(p instanceof vt||p instanceof pt?_=p.copy(s,v):p instanceof ae?_=p.copy(s):Tn(),a.f(_),n)break t}else if(Ye("|&",o)){var m=ry(this,t,r);r=r+m.a()|0,a.f(m),r=r+this.yo_1.vo(t,r).xo_1|0,St(t,r,"(!"+this.lp_1.so_1)}else if(o===33){var w=iy(this,t,r);r=r+w.a()|0,a.f(w),r=r+this.yo_1.vo(t,r).xo_1|0}else{var b=ny(this,t,r);r=r+b.a()|0,a.f(b)}r=r+this.yo_1.vo(t,r).xo_1|0}if(a.l()&&ue(t,r-e|0,"Expression"),a.m()===1){var q=Vi(a);return q instanceof Ve?q:N()}for(var S=Jl(a),y=0;y<S.m();){var C=S.k(y),E;if(C instanceof Zt?E=R(C.value,Hu()):E=!1,E){var k=S.k(y-1|0),I=k instanceof Ve?k:N(),M=S.k(y+1|0),j=M instanceof Ve?M:N(),H=C instanceof Zt?C:N();S.p2(y,new pt(I.tc(),j.uc(),I,H,j)),S.x2(y-1|0),S.x2((y+1|0)-1|0)}else y=y+1|0}for(;S.m()>1;){var W=S.k(0),Wt=W instanceof Ve?W:N(),_t=S.k(1),Rt=_t instanceof Zt?_t:N(),Lt=S.k(2),ve=Lt instanceof Ve?Lt:N();S.p2(1,new pt(Wt.tc(),ve.uc(),Wt,Rt,ve)),S.x2(0),S.x2(1)}var re=Vi(S);return re instanceof Ve?re:N()};i(co).sp=function(t,e,n,r){return n=n===u?!1:n,r===u?this.rp(t,e,n):r.rp.call(this,t,e,n)};var jl;function ot(){return jl==null&&new co,jl}function Bd(t){var e=0;e=e+ot().yo_1.vo(t,e).xo_1|0;var n=ot().op_1.vo(t,e);e=e+n.xo_1|0,e=e+ot().yo_1.vo(t,e).xo_1|0,e=e+ot().pp_1.vo(t,e).xo_1|0;var r=n.wo_1,a=jt(),o=jt();a.f(r.nc_1);for(var s=r.oc_1.h();s.i();){var l=s.j();a.f(l.oc_1),o.f(l.nc_1)}for(var c=ed([new oe(Vi(a))]),f=0,h=o.h();h.i();){var d=h.j(),p=f;f=p+1|0;var v=jo(p),_=new Te(d,Sa(c)),m=new oe(a.k(v+1|0),_);c.f(m)}return new qe(t,Sa(c))}function ky(t){Ly(t)}function Xr(t,e,n,r,a,o){this.booleanType=t,this.intType=e,this.stringType=n,this.contextType=r,this.nodeType=a,this.globalType=o}i(Xr).tp=function(){return this.booleanType};i(Xr).up=function(){return this.intType};i(Xr).vp=function(){return this.stringType};i(Xr).wp=function(){return this.contextType};i(Xr).xp=function(){return this.nodeType};i(Xr).yp=function(){return this.globalType};function xy(t){t=t===u?!1:t;var e=new Jt(ja()),n=new Jt(za()),r=new Jt(Ba()),a=new Jt(new Ue("node")),o=new Jt(new Ue("context")),s=new Jt(new Ue("global")),l=e,c=new X("toInt",n),f=[e],h=new X("or",e,f),d=[e];l.methods=rr([[c,h,new X("and",e,d),new X("not",e)],js(e,n,r,a,o,"ifElse",e,2)]);var p=n,v=new X("toString",r),_=[n],m=new X("toString",r,_),w=[n],b=new X("plus",n,w),q=[n],S=new X("minus",n,q),y=[n],C=new X("times",n,y),E=[n],k=new X("div",n,E),I=[n],M=new X("rem",n,I),j=[n],H=new X("more",e,j),W=[n],Wt=new X("moreEqual",e,W),_t=[n],Rt=new X("less",e,_t),Lt=[n];p.methods=[v,m,b,S,C,k,M,H,Wt,Rt,new X("lessEqual",e,Lt)];var ve=r;ve.props=[new it("length",n)];var re=r,et=[n],Xe=new X("get",r,et),yt=[n],En=new X("at",r,yt),B=[n],ft=new X("substring",r,B),wt=[n,n],Kt=new X("substring",r,wt),pe=new X("toInt",n),Zn=[n],Xn=new X("toInt",n,Zn),tr=[r],ti=new X("indexOf",n,tr),ha=[r,n];re.methods=[Xe,En,ft,Kt,pe,Xn,ti,new X("indexOf",n,ha)];var da=a,ei;t?ei=[new it("_id",n),new it("_pid",n)]:ei=[],da.props=rr([ei,[new it("id",r),new it("vid",r),new it("name",r),new it("text",r),new it("desc",r),new it("clickable",e),new it("focusable",e),new it("checkable",e),new it("checked",e),new it("editable",e),new it("longClickable",e),new it("visibleToUser",e),new it("left",n),new it("top",n),new it("right",n),new it("bottom",n),new it("width",n),new it("height",n),new it("childCount",n),new it("index",n),new it("depth",n),new it("parent",a)]]);var ni=a,fo=[n];ni.methods=[new X("getChild",a,fo)];var Tr=o,On=a.methods,ys=[n];Tr.methods=rr([On,[new X("getPrev",o,ys)]]);var ws=o;ws.props=rr([a.props,[new it("prev",o),new it("current",a)]]);var Mi=s;Mi.methods=rr([o.methods,js(e,n,r,a,o,"equal",e,2),js(e,n,r,a,o,"notEqual",e,2)]);var bs=s;return bs.props=o.props.slice(),new Xr(e,n,r,o,a,s)}function Cy(t,e,n){var r;switch(e){case"plus":r=t+ze(n)|0;break;case"minus":r=t-ze(n)|0;break;case"times":r=Q(t,ze(n));break;case"div":var a=ze(n);if(a===0)return null;r=t/a|0;break;case"rem":var o=ze(n);if(o===0)return null;r=t%o|0;break;case"more":r=t>ze(n);break;case"moreEqual":r=t>=ze(n);break;case"less":r=t<ze(n);break;case"lessEqual":r=t<=ze(n);break;default:r=null;break}return r}function Sy(t,e,n){return Ny(t,e,n)}function $y(t,e,n){switch(e){case"toInt":return t?1:0;case"not":return!t;default:return null}}function Ey(t,e){return Ay(t,e)}function Iy(t,e){e=e===u?34:e;var n=Qh(t.length+2|0);n.b6(e);for(var r=0;r<z(t);){var a=F(t,r);r=r+1|0;var o=a===e?e:a===10?110:a===13?114:a===9?116:a===8?98:a===92?92:null,s=o;if((s==null?null:new ut(s))!=null){var l=o;n.a6("\\"+Xt(l==null?null:new ut(l)))}else{var c=De(a);if(0<=c&&c<=15){var f=De(a);n.a6("\\x0"+Lc(f,16))}else if(16<=c&&c<=31){var h=De(a);n.a6("\\x"+Lc(h,16))}else n.b6(a)}}return n.b6(e),n.toString()}function Os(t,e,n){if($u(t,e)&&Xh(t,n)&&t.length>=(e.length+n.length|0)){var r=e.length,a=t.length-n.length|0;if(r<a)do{var o=r;if(r=r+1|0,Ye("\\^$.?*|+()[]{}",F(t,o)))return null}while(r<a);return U(dn(t,e.length,t.length-n.length|0))}return null}function qy(t){var e=Os(t,"(?is)",".*");if(e!=null)return Ty(e);var n=Os(t,"(?is).*",".*");if(n!=null)return Py(n);var r=Os(t,"(?is).*","");return r!=null?My(r):null}function ze(t,e){e=e===u?0:e;var n=t.k(e);return typeof n=="number"?n:N()}function Ny(t,e,n){var r;switch(e){case"get":var a=nn(t,ze(n));r=Xt(a==null?null:new ut(a));break;case"at":var o=ze(n),s;if(o<0){var l=nn(t,z(t)+o|0);s=Xt(l==null?null:new ut(l))}else{var c=nn(t,o);s=Xt(c==null?null:new ut(c))}r=s;break;case"substring":var f;switch(n.m()){case 1:var h=ze(n);if(h<0)return null;if(h>=z(t))return"";var d=z(t);f=U(dn(t,h,d));break;case 2:var p=ze(n);if(p<0)return null;if(p>=z(t))return"";var v=ze(n,1);if(v<p)return null;var _=$a(v,z(t));f=U(dn(t,p,_));break;default:f=null;break}r=f;break;case"toInt":var m;switch(n.m()){case 0:m=gd(U(t));break;case 1:var w=ze(n);if(!(2<=w&&w<=36))return null;m=Ou(U(t),w);break;default:m=null;break}r=m;break;case"indexOf":var b;switch(n.m()){case 1:var q=n.k(0),S=we(q)?q:null,y;if(S==null)return null;y=S;var C=y;b=ll(t,U(C));break;case 2:var E=n.k(0),k=we(E)?E:null,I;if(k==null)return null;I=k;var M=I,j=ze(n,1);b=ll(t,U(M),j);break;default:b=null;break}r=b;break;default:r=null;break}return r}function Ay(t,e){return e==="length"?z(t):null}function js(t,e,n,r,a,o,s,l){for(var c=0,f=nr(Array(l),null);c<l;)f[c]=t,c=c+1|0;for(var h=new X(o,s,f),d=0,p=nr(Array(l),null);d<l;)p[d]=e,d=d+1|0;for(var v=new X(o,s,p),_=0,m=nr(Array(l),null);_<l;)m[_]=n,_=_+1|0;for(var w=new X(o,s,m),b=0,q=nr(Array(l),null);b<l;)q[b]=r,b=b+1|0;for(var S=new X(o,s,q),y=0,C=nr(Array(l),null);y<l;)C[y]=a,y=y+1|0;return[h,v,w,S,new X(o,s,C)]}function Ty(t){return function(e){return ju(e,t,!0)}}function Py(t){return function(e){return zu(e,t,!0)}}function My(t){return function(e){return ss(e,t,!0)}}var No;function Ry(t){if(No!==null){var e=Re(No)(t);return Oy(e)}if(t.length>=4&&$u(t,"(?")){var n=2,r=t.length;if(n<r)t:do{var a=n;n=n+1|0;var o=F(t,a);if(!(97<=o&&o<=122)&&!(65<=o&&o<=90))if(o===41){var s=qp(dn(t,2,a));s.f(new ut(103)),s.f(new ut(117));var l=An(s,""),c=a+1|0,f=t.substring(c),h=new RegExp(f,l);return jy(h)}else break t}while(n<r)}var d=ym(t);return zy(d)}function Ly(t){No=t}function Oy(t){return function(e){return t(U(e))}}function jy(t){return function(e){Vh(t);var n=t.exec(U(e));return n!=null&&n.index===0&&t.lastIndex===z(e)}}function zy(t){return function(e){return t.w8(e)}}i(Ve).a=Bu;Y(i(Ve),"binaryExpressions",function(){return this.bd()});Y(i(vt),"properties",i(vt).cd);Y(i(vt),"methods",i(vt).dd);Y(i(Ra),"allSubClasses",i(Ra).kd);Y(i(Ti),"minOffset",function(){return this.yd()});Y(i(Ti),"maxOffset",function(){return this.zd()});Y(i(La),"allSubClasses",i(La).kd);Y(i(Ft),"message",function(){return this.i7()});Y(i(Fe),"value",function(){return this.r1()});Y(i(Oa),"allSubClasses",i(Oa).kd);i(Zt).a=Bu;Y(i(fe),"binaryExpressions",i(fe).bd);Y(i(oe),"length",i(oe).a);Y(i(he),"cause",function(){return this.j7()});i(se).a=Bu;Y(i(se),"value",function(){return this.r1()});Y(i(se),"type",function(){return this.hf()});Y(i(se),"properties",function(){return this.cd()});Y(i(se),"methods",function(){return this.dd()});jd=new gs;zd=new Vu;No=null;Y(Z,"Companion",fs);Y(Z,"Equal",or);Y(Z,"NotEqual",xd);Y(Z,"Start",Zr);Y(Z,"NotStart",Cd);Y(Z,"Include",Du);Y(Z,"NotInclude",Sd);Y(Z,"End",Fu);Y(Z,"NotEnd",$d);Y(Z,"Less",uo);Y(Z,"LessEqual",Ed);Y(Z,"More",Id);Y(Z,"MoreEqual",qd);Y(Z,"Matches",hs);Y(Z,"NotMatches",Ku);Y(Ce,"Companion",vs);Y(Ce,"BeforeBrother",Nd);Y(Ce,"AfterBrother",Ad);Y(Ce,"Ancestor",Io);Y(Ce,"Child",Td);Y(Ce,"Descendant",ps);Fe.Id=vn;Fe.Vid=pn;Fe.Text=_n;Y(Ln,"Companion",Uu);Y(Ln,"AndOperator",Hu);Y(Ln,"OrOperator",Wu);Y(qe,"Companion",Cg);Y($t,"Companion",Ag);Y(cn,"BooleanType",ja);Y(cn,"IntType",za);Y(cn,"StringType",Ba);cn.ObjectType=Ue;se.Variable=Oe;se.Identifier=It;se.MemberExpression=bt;se.CallExpression=qt;se.LiteralExpression=Ze;se.NullLiteral=Me;se.BooleanLiteral=ye;se.IntLiteral=te;se.StringLiteral=kt;async function By(t){t instanceof Promise&&(t=await t);const e={"kotlin.captureStackTrace":()=>new Error().stack,"kotlin.wasm.internal.throwJsError":(o,s,l)=>{const c=new Error;throw c.message=o,c.name=s,c.stack=l,c},"kotlin.wasm.internal.stringLength":o=>o.length,"kotlin.wasm.internal.jsExportStringToWasm":(o,s,l,c)=>{const f=new Uint16Array(r.memory.buffer,c,l);let h=0,d=s;for(;h<l;)f.set([o.charCodeAt(d)],h),d++,h++},"kotlin.wasm.internal.importStringFromWasm":(o,s,l)=>{const c=new Uint16Array(r.memory.buffer,o,s),f=String.fromCharCode.apply(null,c);return l==null?f:l+f},"kotlin.wasm.internal.getJsEmptyString":()=>"","kotlin.wasm.internal.isNullish":o=>o==null,"kotlin.wasm.internal.getJsTrue":()=>!0,"kotlin.wasm.internal.getJsFalse":()=>!1,"kotlin.random.initialSeed":()=>Math.random()*Math.pow(2,32)|0,"li.songe.matches.__convertKotlinClosureToJsClosure_((String)->Boolean)":o=>s=>r["__callFunction_((String)->Boolean)"](o,s)};let n,r;const a={js_code:e};try{if(t instanceof Response)n=(await WebAssembly.instantiateStreaming(t,a)).instance;else{const o=new WebAssembly.Module(t);n=new WebAssembly.Instance(o,a)}}catch(o){throw o instanceof WebAssembly.CompileError&&console.error(`Please make sure that your runtime environment supports the latest version of Wasm GC and Exception-Handling proposals.
|
|
260
260
|
For more information, see https://kotl.in/wasm-help
|
|
261
|
-
`),o}return r=n.exports,r._initialize(),{instance:n,exports:r}}const Dy="https://registry.npmmirror.com/@gkd-kit/inspect/0.0.
|
|
262
|
-
错误: ${
|
|
263
|
-
错误: ${
|
|
264
|
-
错误: ${
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
)`,"background-position-y":"1.5px"}},null,-1))],4),[[nf,$(p)]])]))])):Ve("",!0)}});var ya={},wa={},Zc;function iw(){if(Zc)return wa;Zc=1,Object.defineProperty(wa,"__esModule",{value:!0});function t(a){return String.fromCharCode(parseInt(a.slice(1),16))}function e(a){return btoa(encodeURIComponent(a).replace(/%[0-9A-F]{2}/g,t))}wa.encode=e;function n(a){return`%${`00${a.charCodeAt(0).toString(16)}`.slice(-2)}`}function r(a){return decodeURIComponent(Array.from(atob(a),n).join(""))}return wa.decode=r,wa}var Yc;function aw(){if(Yc)return ya;Yc=1,Object.defineProperty(ya,"__esModule",{value:!0});const t=iw();function e(r){return t.decode(r.replace(/\-/g,"+").replace(/_/g,"/"))}ya.decode=e;function n(r){return t.encode(r).replace(/\//g,"_").replace(/\+/g,"-").replace(/=+$/,"")}return ya.encode=n,ya}var Xc=aw();const ow={"bg-white":"","b-1px":"","b-solid":"","b-gray-200":"","rounded-4px":"","p-8px":""},sw={flex:"","m-b-4px":"","pr-4px":""},lw={key:0,underline:"","decoration-1":"","m-r-4px":"",title:"查询数量"},uw=["title"],cw=Tt({__name:"SearchCard",props:{show:{type:Boolean},onUpdateShow:{type:Function,default:To}},setup(t){const e=lf(),{snapshotImportId:n,snapshotImageId:r}=ff(),a=bi(),{updateFocusNode:o}=a,s=wi(a),l=s.snapshot,c=s.rootNode,{focusNode:f,track:h}=s,d=At(""),p=Kl([]),v=At([]),_=E=>{const k=lv(()=>mo(E),P=>typeof P=="string"?P:P instanceof Error&&P.cause instanceof Ft?P.message:"非法选择器");if(p.find(P=>typeof P.selector=="object"&&P.selector.toString()==k.toString())){Pr.warning("不可重复选择");return}const I=k.querySelectorTrackAll(c.value);if(I.length==0){Pr.success("没有选择到节点");return}return Pr.success(`选择到 ${I.length} 个节点`),p.unshift({selector:k,nodes:I,key:Date.now()}),I.length},m=E=>{if(p.find(P=>typeof P.selector=="string"&&P.selector.toString()==E)){Pr.warning("不可重复搜索");return}const k=[],I=[c.value];for(;I.length>0;){const P=I.pop();Hi(P).includes(E)&&k.push(P),I.push(...[...P.children].reverse())}if(k.length==0){Pr.success("没有搜索到节点");return}return Pr.success(`搜索到 ${k.length} 个节点`),p.unshift({selector:E,nodes:k,key:Date.now()}),k.length},w=()=>{const E=p[0],k=E.nodes[0];Array.isArray(k)?typeof E.selector=="object"&&Array.isArray(k)&&o(k[E.selector.targetIndex]):o(k);const I=new Set(p.map(j=>j.key)),P=v.value.filter(j=>I.has(j));P.push(E.key),v.value=P},b=vc(()=>{const E=d.value.trim();if(E){if(S.value){if(!_(E))return}else if(!m(E))return;w()}});Ao(async()=>{await Fy;let E=0;e.query.gkd&&(E+=_(Xc.decode(e.query.gkd))||0),e.query.str&&(E+=m(e.query.str)||0),E>0&&w()});const q=vc(async E=>{var Rt,Lt,ve;const k=r[l.value.id],I=n[l.value.id],P=I?ac(I):void 0,j=k?B1(k):void 0,W=E.selector,H=E.nodes[0].at(-1),Ht=[((Rt=H.quickFind)!=null?Rt:H.idQf)&&H.attr.id&&W.qfIdValue,((Lt=H.quickFind)!=null?Lt:H.idQf)&&H.attr.vid&&W.qfVidValue,((ve=H.quickFind)!=null?ve:H.textQf)&&H.attr.text&&W.qfTextValue].some(Boolean),_t={id:l.value.appId,name:zn(l.value).name,groups:[{key:1,name:`[ChangeMe]规则名称-${tv().format("YYYY-MM-DD HH:mm:ss")}`,desc:"[ChangeMe]本规则由GKD网页端审查工具生成",rules:[{fastQuery:Ht||void 0,activityIds:l.value.activityId,matches:W.toString(),exampleUrls:j,snapshotUrls:P}]}]};Dn(df.stringify(_t,void 0,2))}),S=At(!0),g=G(()=>n[l.value.id]),C=E=>{if(!g.value)return;const k=new URL(ac(n[l.value.id]));typeof E.selector=="object"?k.searchParams.set("gkd",Xc.encode(E.selector.toString())):k.searchParams.set("str",E.selector.toString()),Dn(k.toString())};return(E,k)=>{const I=Z1,P=hf,j=Y1,W=Zi,H=Ka,Ht=vf,_t=X1,Rt=dv,Lt=bv,ve=gv;return ut(),Se(Mo,{initialValue:{top:40,right:Math.max(315,12*$(Bd)+135),width:Math.max(480,$(Dd)*.3)},minWidth:300,sizeDraggable:"",class:"box-shadow-dim",show:E.show},{default:T(({onRef:re})=>[M("div",ow,[M("div",sw,[L(j,{value:$(S),"onUpdate:value":k[0]||(k[0]=et=>ii(S)?S.value=et:null)},{default:T(()=>[L(P,null,{default:T(()=>[L(I,{value:!1},{default:T(()=>k[4]||(k[4]=[zt(" 字符搜索 ")])),_:1}),L(I,{value:!0},{default:T(()=>k[5]||(k[5]=[zt(" 选择器查询 ")])),_:1})]),_:1})]),_:1},8,["value"]),M("div",{"flex-1":"","cursor-move":"",ref:re},null,512),L(H,{onClick:k[1]||(k[1]=et=>E.onUpdateShow(!E.show)),text:"",title:"最小化"},{icon:T(()=>[L(W,null,{default:T(()=>k[6]||(k[6]=[M("svg",{viewBox:"0 0 24 24"},[M("path",{fill:"currentColor",d:"M6 13v-2h12v2z"})],-1)])),_:1})]),_:1})]),L(_t,null,{default:T(()=>[L(Ht,{value:$(d),"onUpdate:value":k[2]||(k[2]=et=>ii(d)?d.value=et:null),placeholder:$(S)?"请输入选择器":"请输入字符",onKeyup:z1($(b),["enter"]),inputProps:{class:"gkd_code"}},null,8,["value","placeholder","onKeyup"]),L(H,{onClick:$(b)},{icon:T(()=>[L(W,null,{default:T(()=>k[7]||(k[7]=[M("svg",{viewBox:"0 0 32 32"},[M("path",{d:"M29 27.586l-7.552-7.552a11.018 11.018 0 1 0-1.414 1.414L27.586 29zM4 13a9 9 0 1 1 9 9a9.01 9.01 0 0 1-9-9z",fill:"currentColor"})],-1)])),_:1})]),_:1},8,["onClick"])]),_:1}),k[14]||(k[14]=M("div",{"p-5px":""},null,-1)),L(ve,{expandedNames:$(v),"onUpdate:expandedNames":k[3]||(k[3]=et=>ii(v)?v.value=et:null)},{default:T(()=>[(ut(!0),me(ar,null,xa($(p),(et,Xe)=>(ut(),Se(Lt,{key:et.key,name:et.key},{header:T(()=>[et.nodes.length>1?(ut(),me("span",lw,xt(et.nodes.length),1)):Ve("",!0),M("span",{"break-all":"",title:typeof et.selector=="object"?"选择器":"搜索字符"},xt(et.selector.toString()),9,uw)]),"header-extra":T(()=>[typeof et.selector=="object"&&et.selector.canCopy?(ut(),Se(H,{key:0,size:"small",onClick:qs(gt=>$(q)(et),["stop"]),title:"复制规则"},{icon:T(()=>[L(W,null,{default:T(()=>k[8]||(k[8]=[M("svg",{viewBox:"0 0 24 24"},[M("path",{d:"M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12V1zm3 4H8c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm0 16H8V7h11v14z",fill:"currentColor"})],-1)])),_:1})]),_:2},1032,["onClick"])):Ve("",!0),k[11]||(k[11]=M("div",{"p-l-4px":""},null,-1)),$(g)?(ut(),Se(H,{key:1,size:"small",title:typeof et.selector=="object"?"复制查询链接":"复制搜索链接",onClick:qs(gt=>C(et),["stop"])},{icon:T(()=>[L(W,null,{default:T(()=>k[9]||(k[9]=[M("svg",{xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 24 24"},[M("path",{d:"M18 16.08c-.76 0-1.44.3-1.96.77L8.91 12.7c.05-.23.09-.46.09-.7s-.04-.47-.09-.7l7.05-4.11c.54.5 1.25.81 2.04.81c1.66 0 3-1.34 3-3s-1.34-3-3-3s-3 1.34-3 3c0 .24.04.47.09.7L8.04 9.81C7.5 9.31 6.79 9 6 9c-1.66 0-3 1.34-3 3s1.34 3 3 3c.79 0 1.5-.31 2.04-.81l7.12 4.16c-.05.21-.08.43-.08.65c0 1.61 1.31 2.92 2.92 2.92s2.92-1.31 2.92-2.92s-1.31-2.92-2.92-2.92z",fill:"currentColor"})],-1)])),_:1})]),_:2},1032,["title","onClick"])):Ve("",!0),k[12]||(k[12]=M("div",{"p-l-4px":""},null,-1)),L(H,{size:"small",onClick:qs(gt=>$(p).splice(Xe,1),["stop"]),title:"删除记录"},{icon:T(()=>[L(W,null,{default:T(()=>k[10]||(k[10]=[M("svg",{viewBox:"0 0 24 24"},[M("g",{fill:"none"},[M("path",{d:"M12 1.75a3.25 3.25 0 0 1 3.245 3.066L15.25 5h5.25a.75.75 0 0 1 .102 1.493L20.5 6.5h-.796l-1.28 13.02a2.75 2.75 0 0 1-2.561 2.474l-.176.006H8.313a2.75 2.75 0 0 1-2.714-2.307l-.023-.174L4.295 6.5H3.5a.75.75 0 0 1-.743-.648L2.75 5.75a.75.75 0 0 1 .648-.743L3.5 5h5.25A3.25 3.25 0 0 1 12 1.75zm6.197 4.75H5.802l1.267 12.872a1.25 1.25 0 0 0 1.117 1.122l.127.006h7.374c.6 0 1.109-.425 1.225-1.002l.02-.126L18.196 6.5zM13.75 9.25a.75.75 0 0 1 .743.648L14.5 10v7a.75.75 0 0 1-1.493.102L13 17v-7a.75.75 0 0 1 .75-.75zm-3.5 0a.75.75 0 0 1 .743.648L11 10v7a.75.75 0 0 1-1.493.102L9.5 17v-7a.75.75 0 0 1 .75-.75zm1.75-6a1.75 1.75 0 0 0-1.744 1.606L10.25 5h3.5A1.75 1.75 0 0 0 12 3.25z",fill:"currentColor"})])],-1)])),_:1})]),_:2},1032,["onClick"])]),default:T(()=>[L(P,{style:{"max-height":"400px","overflow-y":"scroll","padding-bottom":"10px"}},{default:T(()=>[typeof et.selector=="string"||et.selector.connectKeys.length===0?(ut(!0),me(ar,{key:0},xa(et.nodes.map(gt=>Array.isArray(gt)?gt[0]:gt),gt=>(ut(),Se(H,{key:gt.id,onClick:En=>$(o)(gt),size:"small",style:Lr($(Ca)(gt,$(f)))},{default:T(()=>[zt(xt($(Hi)(gt)),1)]),_:2},1032,["onClick","style"]))),128)):(ut(!0),me(ar,{key:1},xa(et.nodes.map(gt=>Array.isArray(gt)?gt:[gt]),(gt,En)=>(ut(),Se(Rt,{key:En},{default:T(()=>[L(H,{size:"small",onClick:B=>h.value={nodes:gt,selector:et.selector}},{default:T(()=>[L(W,null,{default:T(()=>k[13]||(k[13]=[M("svg",{viewBox:"0 0 24 24"},[M("path",{fill:"currentColor",d:"M5 21V8.825Q4.125 8.5 3.563 7.738T3 6q0-1.25.875-2.125T6 3q1.25 0 2.125.875T9 6q0 .975-.562 1.738T7 8.825V19h4V3h8v12.175q.875.325 1.438 1.088T21 18q0 1.25-.875 2.125T18 21q-1.25 0-2.125-.875T15 18q0-.975.563-1.75T17 15.175V5h-4v16zM6 7q.425 0 .713-.288T7 6q0-.425-.288-.712T6 5q-.425 0-.712.288T5 6q0 .425.288.713T6 7m12 12q.425 0 .713-.288T19 18q0-.425-.288-.712T18 17q-.425 0-.712.288T17 18q0 .425.288.713T18 19m0-1"})],-1)])),_:1})]),_:2},1032,["onClick"]),L(H,{onClick:B=>$(o)(gt[et.selector.targetIndex]),size:"small",style:Lr($(Ca)(gt[et.selector.targetIndex],$(f)))},{default:T(()=>[zt(xt($(Hi)(gt[et.selector.targetIndex])),1)]),_:2},1032,["onClick","style"])]),_:2},1024))),128))]),_:2},1024)]),_:2},1032,["name"]))),128))]),_:1},8,["expandedNames"])])]),_:1},8,["initialValue","show"])}}}),tf=[],fw=Tt((t,e)=>{const n=G(()=>t.tag||"div");return()=>{var o,s,l,c;const r=(((s=(o=e.slots).default)==null?void 0:s.call(o))||tf).filter(f=>typeof f.type!="symbol"),a=[];if(r.length>0&&a.push(r[0]),r.length>1)for(let f=1;f<r.length;f++){const h=((c=(l=e.slots).gap)==null?void 0:c.call(l,{index:f-1}))||tf;a.push(...h),a.push(r[f])}return t.virtual?a:D(n.value,t,a)}},{props:["tag","virtual"]}),hw={flex:"","flex-col":"","overflow-hidden":""},dw={flex:"","items-center":"","px-8px":""},vw={flex:"","items-center":"","gap-2px":"","max-w-120px":""},pw=Tt({__name:"WindowCard",setup(t){const e=uf(),n=bi(),{updateFocusNode:r}=n,a=wi(n),o=a.snapshot,s=a.rootNode,{focusNode:l,focusTime:c}=a;let f=Number.NaN;const h=At([]),d=At([]);Rr([()=>l.value,()=>c.value],async()=>{if(!l.value)return;const g=l.value.id;Ui().then(async()=>{var k;if(await oc(300),g===((k=l.value)==null?void 0:k.id)){if(f===g){f=Number.NaN;return}const I=document.querySelector(`[data-node-id="${g}"]`);if(!I)return;d.value=[g],I.scrollIntoView({behavior:"smooth",block:"center"})}});let C=l.value.parent;if(!C)return;const E=new Set(h.value);for(;C;)E.add(C.id),C=C.parent;E.size==h.value.length&&h.value.every(k=>E.has(k))||(h.value=[...E])});const p=At(),v=(g,C)=>{var E;return C.id===((E=l.value)==null?void 0:E.id)},_=g=>{const C=Ca(g.option,l.value);return{onClick:()=>{f=g.option.id,r(g.option)},style:{"--n-node-text-color":C.color,...C},class:"whitespace-nowrap","data-node-id":String(g.option.id)}},m=g=>Hi(g.option),w=G(()=>`${hc(o.value).manufacturer} Android ${hc(o.value).release||""}`),b=G(()=>zn(o.value).isSystem),q=G(()=>{const g=o.value.activityId,C=o.value.appId;return!g||!C?"":g.startsWith(C)&&g[C.length]==="."?g.substring(C.length):g}),S=async()=>{Pr.success("删除成功,即将回到首页"),await oc(2e3),e.replace({path:"/"})};return(g,C)=>{const E=Ul,k=Zi,I=Qv,P=Iv;return ut(),me("div",hw,[M("div",dw,[L($(fw),{flex:"","flex-wrap":"","items-center":"","gap-8px":"",gkd_code:""},{gap:T(()=>C[8]||(C[8]=[M("div",{"w-1px":"","bg-gray":"","h-12px":""},null,-1)])),default:T(()=>[L(E,null,{trigger:T(()=>[M("div",{onClick:C[0]||(C[0]=j=>$(Dn)($(w)))},xt($(w)),1)]),default:T(()=>[C[9]||(C[9]=zt(" 设备名称 "))]),_:1}),L(E,null,{trigger:T(()=>[M("div",{class:yo({"opacity-50":!$(dc)($(o)).versionName})},xt($(dc)($(o)).versionName||"null"),3)]),default:T(()=>[C[10]||(C[10]=zt(" GKD 版本 "))]),_:1}),M("div",vw,[$(b)?(ut(),Se(E,{key:0},{trigger:T(()=>[L(k,null,{default:T(()=>C[11]||(C[11]=[M("svg",{viewBox:"0 -960 960 960"},[M("path",{d:"m438-338 226-226-57-57-169 169-84-84-57 57 141 141Zm42 258q-139-35-229.5-159.5T160-516v-244l320-120 320 120v244q0 152-90.5 276.5T480-80Zm0-84q104-33 172-132t68-220v-189l-240-90-240 90v189q0 121 68 220t172 132Zm0-316Z"})],-1)])),_:1})]),default:T(()=>[zt(" "+xt(`${$(zn)($(o)).name} 是一个系统应用`),1)]),_:1})):Ve("",!0),L(E,null,{trigger:T(()=>[M("div",{onClick:C[1]||(C[1]=j=>$(Dn)($(zn)($(o)).name))},xt($(zn)($(o)).name),1)]),default:T(()=>[C[12]||(C[12]=zt(" 应用名称 "))]),_:1})]),L(E,null,{trigger:T(()=>[M("div",{onClick:C[2]||(C[2]=j=>$(Dn)($(zn)($(o)).versionName))},xt($(zn)($(o)).versionName),1)]),default:T(()=>[C[13]||(C[13]=zt(" 版本名称 "))]),_:1}),L(E,null,{trigger:T(()=>[M("div",{onClick:C[3]||(C[3]=j=>$(Dn)($(zn)($(o)).versionCode.toString()))},xt($(zn)($(o)).versionCode),1)]),default:T(()=>[C[14]||(C[14]=zt(" 版本代码 "))]),_:1}),L(E,null,{trigger:T(()=>[M("div",{onClick:C[4]||(C[4]=j=>$(Dn)($(o).appId))},xt($(o).appId),1)]),default:T(()=>[C[15]||(C[15]=zt(" 应用ID "))]),_:1}),L(E,null,{trigger:T(()=>[M("div",{onClick:C[5]||(C[5]=j=>$(Dn)($(q))),class:yo({"opacity-50":!$(q)})},xt($(q)||"null"),3)]),default:T(()=>[C[16]||(C[16]=zt(" 界面ID "))]),_:1})]),_:1}),C[17]||(C[17]=M("div",{"flex-1":""},null,-1)),L(iv,{class:"ml-8px",snapshot:$(o),onDelete:S,showPreview:!1},null,8,["snapshot"])]),C[18]||(C[18]=M("div",{"h-1px":"","mt-4px":"",bg:"#efeff5"},null,-1)),L(P,{xScrollable:"",class:"flex-1"},{default:T(()=>[L(I,{class:"mb-24px mr-24px",ref_key:"treeRef",ref:p,virtualScroll:"",showLine:"",blockLine:"",keyField:"id",expandedKeys:$(h),"onUpdate:expandedKeys":C[6]||(C[6]=j=>ii(h)?h.value=j:null),selectedKeys:$(d),"onUpdate:selectedKeys":C[7]||(C[7]=j=>ii(d)?d.value=j:null),data:[$(s)],filter:v,nodeProps:_,renderLabel:m},null,8,["expandedKeys","selectedKeys","data","filter","nodeProps","renderLabel"])]),_:1})])}}}),_w={"h-full":"",flex:"","gap-5px":"","p-5px":"","box-border":""},mw={"w-28px":"","py-8px":"",flex:"","flex-col":"","gap-16px":""},gw={flex:"","justify-center":"",href:"https://gkd.li/guide/snapshot#share-note",target:"_blank",rel:"noopener noreferrer"},yw={key:1,flex:"","justify-center":"","pt-80px":""},Ew=Tt({__name:"SnapshotPage",setup(t){const e=bi(),n=wi(e),{snapshot:r,rootNode:a,track:o,loading:s,redirected:l}=n;Nn(()=>{s.value?sc.start():sc.finish()});const c=Ns("searchShow",!0,sessionStorage),f=Ns("ruleShow",!1,sessionStorage),h=Ns("attrShow",!0,sessionStorage),d=()=>{Pr.info("暂未实现")};return(p,v)=>{const _=Zi,m=D1("RouterLink"),w=Ka,b=Ul;return $(r)&&$(a)?(ut(),me(ar,{key:0},[M("div",_w,[M("div",mw,[L(b,{placement:"right"},{trigger:T(()=>[L(w,{text:""},{icon:T(()=>[L(m,{to:"/",title:"",color:"inherit"},{default:T(()=>[L(_,{size:"24"},{default:T(()=>v[7]||(v[7]=[M("svg",{viewBox:"0 0 32 32"},[M("path",{d:"M16.612 2.214a1.01 1.01 0 0 0-1.242 0L1 13.419l1.243 1.572L4 13.621V26a2.004 2.004 0 0 0 2 2h20a2.004 2.004 0 0 0 2-2V13.63L29.757 15L31 13.428zM18 26h-4v-8h4zm2 0v-8a2.002 2.002 0 0 0-2-2h-4a2.002 2.002 0 0 0-2 2v8H6V12.062l10-7.79l10 7.8V26z",fill:"currentColor"})],-1)])),_:1})]),_:1})]),_:1})]),default:T(()=>[v[8]||(v[8]=zt(" 回到首页 "))]),_:1}),L(b,{placement:"right"},{trigger:T(()=>[L(w,{onClick:d,text:""},{icon:T(()=>[L(_,{size:"24"},{default:T(()=>v[9]||(v[9]=[M("svg",{viewBox:"0 0 24 24"},[M("g",{fill:"currentColor","fill-rule":"evenodd","clip-rule":"evenodd"},[M("path",{d:"M12 8.25a3.75 3.75 0 1 0 0 7.5a3.75 3.75 0 0 0 0-7.5M9.75 12a2.25 2.25 0 1 1 4.5 0a2.25 2.25 0 0 1-4.5 0"}),M("path",{d:"M11.975 1.25c-.445 0-.816 0-1.12.02a2.8 2.8 0 0 0-.907.19a2.75 2.75 0 0 0-1.489 1.488c-.145.35-.184.72-.2 1.122a.87.87 0 0 1-.415.731a.87.87 0 0 1-.841-.005c-.356-.188-.696-.339-1.072-.389a2.75 2.75 0 0 0-2.033.545a2.8 2.8 0 0 0-.617.691c-.17.254-.356.575-.578.96l-.025.044c-.223.385-.408.706-.542.98c-.14.286-.25.568-.29.88a2.75 2.75 0 0 0 .544 2.033c.231.301.532.52.872.734a.87.87 0 0 1 .426.726a.87.87 0 0 1-.426.726c-.34.214-.64.433-.872.734a2.75 2.75 0 0 0-.545 2.033c.041.312.15.594.29.88c.135.274.32.595.543.98l.025.044c.222.385.408.706.578.96c.177.263.367.5.617.69a2.75 2.75 0 0 0 2.033.546c.376-.05.716-.2 1.072-.389a.87.87 0 0 1 .84-.005a.86.86 0 0 1 .417.731c.015.402.054.772.2 1.122a2.75 2.75 0 0 0 1.488 1.489c.29.12.59.167.907.188c.304.021.675.021 1.12.021h.05c.445 0 .816 0 1.12-.02c.318-.022.617-.069.907-.19a2.75 2.75 0 0 0 1.489-1.488c.145-.35.184-.72.2-1.122a.87.87 0 0 1 .415-.732a.87.87 0 0 1 .841.006c.356.188.696.339 1.072.388a2.75 2.75 0 0 0 2.033-.544c.25-.192.44-.428.617-.691c.17-.254.356-.575.578-.96l.025-.044c.223-.385.408-.706.542-.98c.14-.286.25-.569.29-.88a2.75 2.75 0 0 0-.544-2.033c-.231-.301-.532-.52-.872-.734a.87.87 0 0 1-.426-.726c0-.278.152-.554.426-.726c.34-.214.64-.433.872-.734a2.75 2.75 0 0 0 .545-2.033a2.8 2.8 0 0 0-.29-.88a18 18 0 0 0-.543-.98l-.025-.044a18 18 0 0 0-.578-.96a2.8 2.8 0 0 0-.617-.69a2.75 2.75 0 0 0-2.033-.546c-.376.05-.716.2-1.072.389a.87.87 0 0 1-.84.005a.87.87 0 0 1-.417-.731c-.015-.402-.054-.772-.2-1.122a2.75 2.75 0 0 0-1.488-1.489c-.29-.12-.59-.167-.907-.188c-.304-.021-.675-.021-1.12-.021zm-1.453 1.595c.077-.032.194-.061.435-.078c.247-.017.567-.017 1.043-.017s.796 0 1.043.017c.241.017.358.046.435.078c.307.127.55.37.677.677c.04.096.073.247.086.604c.03.792.439 1.555 1.165 1.974s1.591.392 2.292.022c.316-.167.463-.214.567-.227a1.25 1.25 0 0 1 .924.247c.066.051.15.138.285.338c.139.206.299.483.537.895s.397.69.506.912c.107.217.14.333.15.416a1.25 1.25 0 0 1-.247.924c-.064.083-.178.187-.48.377c-.672.422-1.128 1.158-1.128 1.996s.456 1.574 1.128 1.996c.302.19.416.294.48.377c.202.263.29.595.247.924c-.01.083-.044.2-.15.416c-.109.223-.268.5-.506.912s-.399.689-.537.895c-.135.2-.219.287-.285.338a1.25 1.25 0 0 1-.924.247c-.104-.013-.25-.06-.567-.227c-.7-.37-1.566-.398-2.292.021s-1.135 1.183-1.165 1.975c-.013.357-.046.508-.086.604a1.25 1.25 0 0 1-.677.677c-.077.032-.194.061-.435.078c-.247.017-.567.017-1.043.017s-.796 0-1.043-.017c-.241-.017-.358-.046-.435-.078a1.25 1.25 0 0 1-.677-.677c-.04-.096-.073-.247-.086-.604c-.03-.792-.439-1.555-1.165-1.974s-1.591-.392-2.292-.022c-.316.167-.463.214-.567.227a1.25 1.25 0 0 1-.924-.247c-.066-.051-.15-.138-.285-.338a17 17 0 0 1-.537-.895c-.238-.412-.397-.69-.506-.912c-.107-.217-.14-.333-.15-.416a1.25 1.25 0 0 1 .247-.924c.064-.083.178-.187.48-.377c.672-.422 1.128-1.158 1.128-1.996s-.456-1.574-1.128-1.996c-.302-.19-.416-.294-.48-.377a1.25 1.25 0 0 1-.247-.924c.01-.083.044-.2.15-.416c.109-.223.268-.5.506-.912s.399-.689.537-.895c.135-.2.219-.287.285-.338a1.25 1.25 0 0 1 .924-.247c.104.013.25.06.567.227c.7.37 1.566.398 2.292-.022c.726-.419 1.135-1.182 1.165-1.974c.013-.357.046-.508.086-.604c.127-.307.37-.55.677-.677"})])],-1)])),_:1})]),_:1})]),default:T(()=>[v[10]||(v[10]=zt(" 设置 "))]),_:1}),v[19]||(v[19]=M("div",null,null,-1)),L(b,{placement:"right"},{trigger:T(()=>[L(w,{text:"",onClick:v[0]||(v[0]=q=>c.value=!$(c))},{icon:T(()=>[L(_,{size:"24"},{default:T(()=>v[11]||(v[11]=[M("svg",{viewBox:"0 0 24 24"},[M("path",{fill:"currentColor",d:"M2 19v-2h10v2zm0-5v-2h5v2zm0-5V7h5v2zm18.6 10l-3.85-3.85q-.6.425-1.312.638T14 16q-2.075 0-3.537-1.463T9 11t1.463-3.537T14 6t3.538 1.463T19 11q0 .725-.213 1.438t-.637 1.312L22 17.6zM14 14q1.25 0 2.125-.875T17 11t-.875-2.125T14 8t-2.125.875T11 11t.875 2.125T14 14"})],-1)])),_:1})]),_:1})]),default:T(()=>[v[12]||(v[12]=zt(" 搜索面板 "))]),_:1}),L(b,{placement:"right"},{trigger:T(()=>[L(w,{onClick:v[1]||(v[1]=q=>h.value=!$(h)),text:""},{icon:T(()=>[L(_,{size:"24"},{default:T(()=>v[13]||(v[13]=[M("svg",{viewBox:"0 0 24 24"},[M("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"1.5",d:"M2.5 12c0-4.478 0-6.718 1.391-8.109S7.521 2.5 12.001 2.5c4.478 0 6.717 0 8.108 1.391S21.5 7.521 21.5 12c0 4.478 0 6.718-1.391 8.109S16.479 21.5 12 21.5c-4.478 0-6.717 0-8.109-1.391c-1.39-1.392-1.39-3.63-1.39-8.109M2.5 8h19M11 17h6M7 17h1m3-4h6M7 13h1",color:"currentColor"})],-1)])),_:1})]),_:1})]),default:T(()=>[v[14]||(v[14]=zt(" 属性面板 "))]),_:1}),L(b,{placement:"right"},{trigger:T(()=>[L(w,{onClick:v[2]||(v[2]=q=>f.value=!$(f)),text:""},{icon:T(()=>[L(_,{size:"24"},{default:T(()=>v[15]||(v[15]=[M("svg",{viewBox:"0 0 24 24"},[M("path",{fill:"currentColor",d:"M14.4 20L13 18.6l2.6-2.6l-2.6-2.6l1.4-1.4l2.6 2.6l2.6-2.6l1.4 1.4l-2.6 2.6l2.6 2.6l-1.4 1.4l-2.6-2.6zm1.975-9l-3.55-3.55l1.4-1.4l2.125 2.125l4.25-4.25L22 5.35zM2 17v-2h9v2zm0-8V7h9v2z"})],-1)])),_:1})]),_:1})]),default:T(()=>[v[16]||(v[16]=zt(" 测试规则 "))]),_:1}),v[20]||(v[20]=M("div",null,null,-1)),L(b,{placement:"right"},{trigger:T(()=>[M("a",gw,[L(w,{text:""},{icon:T(()=>[L(_,{size:"24"},{default:T(()=>v[17]||(v[17]=[M("svg",{viewBox:"0 0 24 24"},[M("path",{fill:"currentColor",d:"M1 21L12 2l11 19zm3.45-2h15.1L12 6zM12 18q.425 0 .713-.288T13 17t-.288-.712T12 16t-.712.288T11 17t.288.713T12 18m-1-3h2v-5h-2zm1-2.5"})],-1)])),_:1})]),_:1})])]),default:T(()=>[v[18]||(v[18]=zt(" 分享须知 "))]),_:1})]),L(rw),L(pw,{class:"flex-1"})]),L(cw,{show:$(c),onUpdateShow:v[3]||(v[3]=q=>c.value=q)},null,8,["show"]),L(Jy,{show:$(f),onUpdateShow:v[4]||(v[4]=q=>f.value=q)},null,8,["show"]),L(ap,{show:$(h),onUpdateShow:v[5]||(v[5]=q=>h.value=q)},null,8,["show"]),L(sp),L(Jv,{track:$(o),onUpdateTrack:v[6]||(v[6]=q=>o.value=q)},null,8,["track"])],64)):!$(s)&&!$(l)?(ut(),me("div",yw,v[21]||(v[21]=[M("div",null,"快照数据缺失",-1)]))):Ve("",!0)}}});export{Ew as default};
|
|
277
|
-
//# sourceMappingURL=SnapshotPage-
|
|
261
|
+
`),o}return r=n.exports,r._initialize(),{instance:n,exports:r}}const Dy="https://registry.npmmirror.com/@gkd-kit/inspect/0.0.1739258661249/files/dist/assets/mod-BHC4TAjm.wasm",Fy=By(fetch(Dy)).then(t=>{const e=t.exports.toMatches;ky(e),wo().wasmSupported=!0,console.log("use wasm matches")}).catch(t=>{wo().wasmSupported=!1,console.error(t),console.log("use js matches")}),Gc=(t,e)=>{var n,r;return e=="_id"?t.id:e=="_pid"?t.pid:e=="parent"?(n=t.parent)!=null?n:null:(r=Reflect.get(t.attr,e))!=null?r:null},Jc=(t,e,n)=>{var r;if(e==="getChild"){const a=n.asJsReadonlyArrayView()[0];return(r=t.children[a])!=null?r:null}return null},zs=$t.Companion.multiplatformBuild((t,e)=>typeof t=="string"?Ey(t,e):t instanceof ie?e==="prev"?t.prev:e==="current"?t.current:Gc(t.current,e):fc(t)?Gc(t,e):null,(t,e,n)=>{if(typeof t=="number")return Cy(t,e,n);if(typeof t=="boolean")return $y(t,e);if(typeof t=="string")return Sy(t,e,n);if(t instanceof ie){if(e==="getPrev"){const r=n.asJsReadonlyArrayView()[0];return Number.isSafeInteger(r)?t.getPrev(r):null}return Jc(t.current,e,n)}return fc(t)?Jc(t,e,n):null},t=>t.attr.name,t=>t.children,t=>t.parent),Ky=xy(!0).globalType,Uy=new Ke(!1,!1),mo=t=>{var r;const e=qe.Companion.parse(t);for(const a of e.binaryExpressions)if(a.operator.value.key=="~="&&!wo().wasmSupported&&!cf().ignoreWasmWarn){wo().wasmErrorDlgVisible=!0;break}return Hy(e),{s:e,targetIndex:e.targetIndex,connectKeys:e.connectWrappers.map(a=>a.segment.operator.key),canQf:!!((r=e.quickFindValue)!=null&&r.value),qfIdValue:e.quickFindValue instanceof Fe.Id?e.quickFindValue.value:null,qfVidValue:e.quickFindValue instanceof Fe.Vid?e.quickFindValue.value:null,qfTextValue:e.quickFindValue instanceof Fe.Text?e.quickFindValue.value:null,canCopy:!e.binaryExpressions.some(a=>a.properties.some(o=>o.startsWith("_"))),toString:()=>e.stringify(),match:a=>{var o;return(o=e.match(a,zs,Uy))!=null?o:void 0},querySelectorAll:a=>a?zs.querySelectorAllArray(a,e):[],querySelectorTrackAll:a=>a?zs.querySelectorAllContextArray(a,e).map(o=>o.toArray()):[]}},Hy=t=>{const e=t.checkType(Ky);if(e!=null)throw e instanceof $e?new Error("不匹配表达式类型:"+e.exception.stringify(),{cause:e}):e instanceof ln?new Error("不匹配操作符类型:"+e.exception.stringify(),{cause:e}):e instanceof ce?new Error("不匹配参数类型:"+e.call.stringify(),{cause:e}):e instanceof rn?new Error("未知属性:"+e.value.stringify(),{cause:e}):e instanceof Qe?new Error("未知方法:"+e.value.stringify(),{cause:e}):e instanceof an?new Error("未知属性:"+e.value.stringify(),{cause:e}):e instanceof Ge?new Error("未知方法:"+e.value.property,{cause:e}):e instanceof on?new Error("未知方法参数:"+e.value.stringify(),{cause:e}):e instanceof sn?new Error("未知方法参数:"+e.value.stringify(),{cause:e}):new Error("未知错误:"+e.message,{cause:e})},Qu=L1(),Dd=G(()=>Qu.width.value/100),Fd=G(()=>Math.max(1200,Qu.width.value));G(()=>Math.max(700,Qu.height.value));const Wy={"bg-white":"","b-1px":"","b-solid":"","b-gray-200":"","rounded-4px":"","p-8px":""},Vy={flex:"","m-b-4px":"","pr-4px":""},Qy={"min-h-24px":""},Gy={key:0,"color-red":"","whitespace-pre":""},Jy=Nt({__name:"RuleCard",props:{show:{type:Boolean},onUpdateShow:{type:Function,default:To}},setup(t){const e=bi(),n=wi(e),{rootNode:r,focusNode:a}=n,o=n.snapshot,s=Tt(""),l=O1(s,500),c=_=>{if(_==null)return[];if(typeof _=="string")return[_];if(Array.isArray(_)&&_.every(m=>typeof m=="string"))return _},f=_=>{const m=c(_.matches);if(!m)return"非法格式: matches";const w=c(_.anyMatches);if(!w)return"非法格式: anyMatches";const b=c(_.excludeMatches);if(!b)return"非法格式: excludeMatches";const q=[];for(let I=0;I<m.length;I++){const M=m[I];try{q.push(mo(M))}catch(j){const H=j instanceof Error?j.message:String(j);return`非法选择器: matches[${I}]
|
|
262
|
+
错误: ${H}`}}const S=q.map(I=>I.querySelectorAll(r.value));if(q.length){const I=S.findIndex(M=>M.length===0);if(I>=0)return`无法匹配: matches[${I}] 查找结果为空`}const y=[];for(let I=0;I<w.length;I++){const M=w[I];try{y.push(mo(M))}catch(j){const H=j instanceof Error?j.message:String(j);return`非法选择器: anyMatches[${I}]
|
|
263
|
+
错误: ${H}`}}const C=y.map(I=>I.querySelectorAll(r.value));if(y.length&&C.every(I=>I.length===0))return"无法匹配: anyMatches 查找结果为空";if(!m.length&&!w.length)return"非法规则: matches 和 anyMatches 至少存在一个";const E=[];for(let I=0;I<b.length;I++){const M=b[I];try{E.push(mo(M))}catch(j){const H=j instanceof Error?j.message:String(j);return`非法选择器: excludeMatches[${I}]
|
|
264
|
+
错误: ${H}`}}const k=E.map(I=>I.querySelectorAll(r.value));if(E.length){const I=k.findIndex(M=>M.length!==0);if(I>=0)return`无法匹配: excludeMatches[${I}] 查找结果不为空`}return S.length?S.at(-1)[0]:C[0][0]},h=_=>typeof _=="object"&&_!==null&&!Array.isArray(_),d=G(()=>{if(!l.value)return"";const _=(()=>{try{return vf.parse(l.value)}catch(m){return m}})();if(_ instanceof Error)return`非法格式: ${_.message}`;if(!h(_))return"非法格式: 请使用对象格式";if(typeof _.id=="string"){if(_.id!==o.value.appId)return"非法格式: id 不匹配 appId";if(!Array.isArray(_.groups))return"非法格式: groups 不是数组";if(_.groups.length!==1)return"非法格式: groups 长度不为 1";const m=_.groups[0];if(!(m!=null&&m.rules))return"非法格式: groups[0].rules 非法";const w=Array.isArray(m.rules)?m.rules:[m.rules];if(w.length!==1)return"非法格式: groups[0].rules 长度不为 1";const b=typeof w[0]=="string"?{matches:w[0]}:w[0];return h(b)?f(b):"非法格式: rules[0] 非法"}if(_.rules){const m=Array.isArray(_.rules)?_.rules:[_.rules];if(m.length!==1)return"非法格式: rules 长度不为 1";const w=typeof m[0]=="string"?{matches:m[0]}:m[0];return h(w)?f(w):"非法格式: rules[0] 非法"}return f(_)}),p=G(()=>s.value&&l.value&&typeof d.value=="string"?d.value:""),v=G(()=>typeof d.value=="string"?null:d.value);return(_,m)=>{const w=Yi,b=Ka,q=pf;return lt(),be(Po,{initialValue:{top:40,right:Math.max(315,12*$(Dd)+135),width:Math.max(480,$(Fd)*.3)},minWidth:300,sizeDraggable:"",class:"box-shadow-dim",show:_.show},{default:T(({onRef:S})=>[P("div",Wy,[P("div",Vy,[m[4]||(m[4]=P("div",null,"测试规则",-1)),P("div",{"flex-1":"","cursor-move":"",ref:S},null,512),L(b,{onClick:m[0]||(m[0]=y=>_.onUpdateShow(!_.show)),text:"",title:"最小化"},{icon:T(()=>[L(w,null,{default:T(()=>m[3]||(m[3]=[P("svg",{viewBox:"0 0 24 24"},[P("path",{fill:"currentColor",d:"M6 13v-2h12v2z"})],-1)])),_:1})]),_:1})]),L(q,{value:$(s),"onUpdate:value":m[1]||(m[1]=y=>ii(s)?s.value=y:null),type:"textarea",placeholder:"请输入单个规则测试",size:"small",class:"gkd_code m-b-4px",autosize:{minRows:10,maxRows:20}},null,8,["value"]),P("div",Qy,[$(p)?(lt(),me("div",Gy,gt($(p)),1)):$(v)?(lt(),be(b,{key:1,onClick:m[2]||(m[2]=y=>$(e).updateFocusNode($(v))),size:"small",style:Ur($(Ca)($(v),$(a)))},{default:T(()=>[zt(gt($(Wi)($(v))),1)]),_:1},8,["style"])):Be("",!0)])])]),_:1},8,["initialValue","show"])}}}),Yy=["src"],Zy={absolute:"","left-2px":"","top-2px":"","p-1px":"","z-1":"","text-13px":"",class:"leading-[1] bg-[rgba(256,256,256,0.7)]"},Xy={key:0,absolute:"","left-2px":"","bottom-2px":"","p-1px":"","z-1":"","text-12px":"",class:"leading-[1] bg-[rgba(256,256,256,0.7)]",flex:"","flex-col":"","flex-items-center":""},tw={key:1,absolute:"","right-2px":"","bottom-2px":"","p-1px":"","z-1":"","text-12px":"",class:"leading-[1] bg-[rgba(256,256,256,0.7)]",flex:"","flex-col":"","flex-items-center":""},ew=Nt({__name:"MiniHoverImg",props:{imgRef:{},imgHover:{type:Boolean},screenshotUrl:{},hoverPosition:{},hoverPositionStyle:{},boxHoverPosition:{},boxHoverPerPosition:{}},setup(t){const e=t,n=j1(G(()=>e.imgRef));return(r,a)=>(lt(),be(sf,{to:"body"},[ef(P("div",{style:Ur({left:$(n).right.value+4+"px",top:$(n).top.value+"px"}),"pointer-events-none":"",fixed:"","overflow-hidden":"","z-2":"","bg-white":"","h-200px":"","w-200px":"","border-1px":"","border-indigo-600":"","border-dashed":""},[P("img",{src:r.screenshotUrl,"object-contain":"",absolute:"","left-0":"","top-0":"",style:Ur(r.hoverPositionStyle),"w-1000px":""},null,12,Yy),P("div",Zy,gt(`${r.hoverPosition.ox.toFixed(0)},${r.hoverPosition.oy.toFixed(0)}`),1),r.boxHoverPosition?(lt(),me("div",Xy,[P("div",null,gt(r.boxHoverPosition.top.toFixed(0)),1),P("div",null,gt(r.boxHoverPosition.left.toFixed(0)+","+r.boxHoverPosition.right.toFixed(0)),1),P("div",null,gt(r.boxHoverPosition.bottom.toFixed(0)),1)])):Be("",!0),r.boxHoverPerPosition?(lt(),me("div",tw,[P("div",null,gt(r.boxHoverPerPosition.top),1),P("div",null,gt(r.boxHoverPerPosition.left+","+r.boxHoverPerPosition.right),1),P("div",null,gt(r.boxHoverPerPosition.bottom),1)])):Be("",!0),a[0]||(a[0]=P("div",{class:"top-[calc(50%-1px)] bg-[length:10px_1px]",absolute:"","left-0":"","right-0":"","h-1px":"","bg-repeat-x":"","mix-blend-difference":"",style:{"background-image":`linear-gradient(
|
|
265
|
+
to left,
|
|
266
|
+
transparent 0%,
|
|
267
|
+
transparent 50%,
|
|
268
|
+
#fff 50%,
|
|
269
|
+
#fff 100%
|
|
270
|
+
)`,"background-position-x":"1.5px"}},null,-1)),a[1]||(a[1]=P("div",{class:"left-[calc(50%-1px)] bg-[length:1px_10px]",absolute:"","top-0":"","bottom-0":"","w-1px":"","bg-repeat-y":"","mix-blend-difference":"",style:{"background-image":`linear-gradient(
|
|
271
|
+
to top,
|
|
272
|
+
transparent 0%,
|
|
273
|
+
transparent 50%,
|
|
274
|
+
#fff 50%,
|
|
275
|
+
#fff 100%
|
|
276
|
+
)`,"background-position-y":"1.5px"}},null,-1))],4),[[nf,r.imgHover]])]))}}),nw={key:0,flex:"","flex-col":"",relative:"","h-full":"","p-2px":"","box-border":"","overflow-hidden":""},rw=["src"],iw={"pointer-events-none":"",absolute:"","left-2px":"","top-2px":"",size:"[calc(100%-4px)]"},aw={absolute:"","z-4":"","pointer-events-none":"","left-0":"","top-0":"","text-12px":"",leading:"100%",flex:"","gap-4px":""},ow={"p-1px":"",bg:"#ffffff70"},sw={"p-1px":"",bg:"#ffffff70"},lw=Nt({__name:"ScreenshotCard",setup(t){const e=bi(),{updatePosition:n}=e,r=wi(e),{focusNode:a,screenshotUrl:o}=r,s=G(()=>e.snapshot),l=Tt(),c=Tt(!1),f=S=>{const y=l.value;if(!y)return;const C=y.getBoundingClientRect(),E=C.width/y.naturalWidth*y.naturalHeight,k=(C.height-E)/2,I=(S.clientX-C.left)/C.width*y.naturalWidth,M=(S.clientY-C.top-k)/E*y.naturalHeight;n({x:I,y:M})},h=S=>`${S*100}%`,d=z1(l),p=G(()=>{var I;const S=l.value,y=(I=a.value)==null?void 0:I.attr;if(!a.value||!S||!y||!c.value)return"";const C=d.width.value,E=d.height.value,k=C/S.naturalWidth*S.naturalHeight;return{left:`calc(${h(y.left/S.naturalWidth)} - 2px)`,width:`calc(${h((y.right-y.left)/S.naturalWidth)} + 2px)`,top:`calc(${h((y.top/S.naturalHeight*k+(E-k)/2)/E)} - 2px)`,height:`calc(${h((y.bottom-y.top)/S.naturalHeight*k/E)} + 2px)`}}),v=Tt(!1),_=Tt({ox:0,oy:0}),m=G(()=>{var E;const S=(E=a.value)==null?void 0:E.attr;if(!S)return;const{ox:y,oy:C}=_.value;return{left:y-S.left,right:S.right-y,top:C-S.top,bottom:S.bottom-C}}),w=G(()=>{var I;if(!((I=a.value)==null?void 0:I.attr)||!m.value)return;const{bottom:y,left:C,right:E,top:k}=m.value;return{left:(C/(E+C)).toFixed(3),right:(E/(E+C)).toFixed(3),top:(k/(k+y)).toFixed(3),bottom:(y/(k+y)).toFixed(3)}}),b=Tt({left:"0",top:"0"}),q=S=>{const y=l.value;if(!y)return;const C=y.getBoundingClientRect(),E=C.width/y.naturalWidth*y.naturalHeight,k=(C.height-E)/2,I=(S.clientX-C.left)/C.width*y.naturalWidth,M=(S.clientY-C.top-k)/E*y.naturalHeight;_.value={ox:I,oy:M},b.value={left:-(I-.1*y.naturalWidth)/y.naturalWidth*1e3+"px",top:-(M-.1*y.naturalWidth)/y.naturalWidth*1e3+"px"}};return(S,y)=>$(o)?(lt(),me("div",nw,[P("img",{ref_key:"imgRef",ref:l,src:$(o),onClick:f,"cursor-crosshair":"","object-contain":"","h-full":"",class:"max-w-[calc(var(--gkd-w)*0.35)]",onMouseover:y[0]||(y[0]=C=>v.value=!0),onMouseleave:y[1]||(y[1]=C=>v.value=!1),onMousemove:q,onLoad:y[2]||(y[2]=C=>c.value=!0)},null,40,rw),P("div",iw,[P("div",{style:Ur($(p)),absolute:"","transition-all-300":"","b-1px":"","b-blue":"","b-solid":""},y[3]||(y[3]=[P("div",{absolute:"","left-0":"","top-0":"","bottom-0":"","right-0":"","b-solid":"","b-1px":"","b-red":""},null,-1)]),4)]),P("div",aw,[P("div",ow,gt(`${$(s).screenWidth}x${$(s).screenHeight}`),1),P("div",sw,gt($(df)($(s).id).format("YYYY-MM-DD HH:mm:ss")),1)]),$(l)?(lt(),be(ew,{key:0,imgHover:$(v),imgRef:$(l),boxHoverPerPosition:$(w),boxHoverPosition:$(m),hoverPositionStyle:$(b),hoverPosition:$(_),screenshotUrl:$(o)},null,8,["imgHover","imgRef","boxHoverPerPosition","boxHoverPosition","hoverPositionStyle","hoverPosition","screenshotUrl"])):Be("",!0)])):Be("",!0)}});var ya={},wa={},Yc;function uw(){if(Yc)return wa;Yc=1,Object.defineProperty(wa,"__esModule",{value:!0});function t(a){return String.fromCharCode(parseInt(a.slice(1),16))}function e(a){return btoa(encodeURIComponent(a).replace(/%[0-9A-F]{2}/g,t))}wa.encode=e;function n(a){return`%${`00${a.charCodeAt(0).toString(16)}`.slice(-2)}`}function r(a){return decodeURIComponent(Array.from(atob(a),n).join(""))}return wa.decode=r,wa}var Zc;function cw(){if(Zc)return ya;Zc=1,Object.defineProperty(ya,"__esModule",{value:!0});const t=uw();function e(r){return t.decode(r.replace(/\-/g,"+").replace(/_/g,"/"))}ya.decode=e;function n(r){return t.encode(r).replace(/\//g,"_").replace(/\+/g,"-").replace(/=+$/,"")}return ya.encode=n,ya}var Xc=cw();const fw={"bg-white":"","b-1px":"","b-solid":"","b-gray-200":"","rounded-4px":"","p-8px":""},hw={flex:"","m-b-4px":"","pr-4px":""},dw={key:0,underline:"","decoration-1":"","m-r-4px":"",title:"查询数量"},vw=["title"],pw=Nt({__name:"SearchCard",props:{show:{type:Boolean},onUpdateShow:{type:Function,default:To}},setup(t){const e=lf(),{snapshotImportId:n,snapshotImageId:r}=ff(),a=bi(),{updateFocusNode:o}=a,s=wi(a),l=s.snapshot,c=s.rootNode,{focusNode:f,track:h}=s,d=Tt(""),p=Kl([]),v=Tt([]),_=E=>{const k=lv(()=>mo(E),M=>typeof M=="string"?M:M instanceof Error&&M.cause instanceof Ft?M.message:"非法选择器");if(p.find(M=>typeof M.selector=="object"&&M.selector.toString()==k.toString())){Mr.warning("不可重复选择");return}const I=k.querySelectorTrackAll(c.value);if(I.length==0){Mr.success("没有选择到节点");return}return Mr.success(`选择到 ${I.length} 个节点`),p.unshift({selector:k,nodes:I,key:Date.now()}),I.length},m=E=>{if(p.find(M=>typeof M.selector=="string"&&M.selector.toString()==E)){Mr.warning("不可重复搜索");return}const k=[],I=[c.value];for(;I.length>0;){const M=I.pop();Wi(M).includes(E)&&k.push(M),I.push(...[...M.children].reverse())}if(k.length==0){Mr.success("没有搜索到节点");return}return Mr.success(`搜索到 ${k.length} 个节点`),p.unshift({selector:E,nodes:k,key:Date.now()}),k.length},w=()=>{const E=p[0],k=E.nodes[0];Array.isArray(k)?typeof E.selector=="object"&&Array.isArray(k)&&o(k[E.selector.targetIndex]):o(k);const I=new Set(p.map(j=>j.key)),M=v.value.filter(j=>I.has(j));M.push(E.key),v.value=M},b=vc(()=>{const E=d.value.trim();if(E){if(S.value){if(!_(E))return}else if(!m(E))return;w()}});Ao(async()=>{await Fy;let E=0;e.query.gkd&&(E+=_(Xc.decode(e.query.gkd))||0),e.query.str&&(E+=m(e.query.str)||0),E>0&&w()});const q=vc(async E=>{var Rt,Lt,ve;const k=r[l.value.id],I=n[l.value.id],M=I?ac(I):void 0,j=k?D1(k):void 0,H=E.selector,W=E.nodes[0].at(-1),Wt=[((Rt=W.quickFind)!=null?Rt:W.idQf)&&W.attr.id&&H.qfIdValue,((Lt=W.quickFind)!=null?Lt:W.idQf)&&W.attr.vid&&H.qfVidValue,((ve=W.quickFind)!=null?ve:W.textQf)&&W.attr.text&&H.qfTextValue].some(Boolean),_t={id:l.value.appId,name:zn(l.value).name,groups:[{key:1,name:`[ChangeMe]规则名称-${df().format("YYYY-MM-DD HH:mm:ss")}`,desc:"[ChangeMe]本规则由GKD网页端审查工具生成",rules:[{fastQuery:Wt||void 0,activityIds:l.value.activityId,matches:H.toString(),exampleUrls:j,snapshotUrls:M}]}]};Dn(vf.stringify(_t,void 0,2))}),S=Tt(!0),y=G(()=>n[l.value.id]),C=E=>{if(!y.value)return;const k=new URL(ac(n[l.value.id]));typeof E.selector=="object"?k.searchParams.set("gkd",Xc.encode(E.selector.toString())):k.searchParams.set("str",E.selector.toString()),Dn(k.toString())};return(E,k)=>{const I=Z1,M=hf,j=X1,H=Yi,W=Ka,Wt=pf,_t=tv,Rt=dv,Lt=bv,ve=gv;return lt(),be(Po,{initialValue:{top:40,right:Math.max(315,12*$(Dd)+135),width:Math.max(480,$(Fd)*.3)},minWidth:300,sizeDraggable:"",class:"box-shadow-dim",show:E.show},{default:T(({onRef:re})=>[P("div",fw,[P("div",hw,[L(j,{value:$(S),"onUpdate:value":k[0]||(k[0]=et=>ii(S)?S.value=et:null)},{default:T(()=>[L(M,null,{default:T(()=>[L(I,{value:!1},{default:T(()=>k[4]||(k[4]=[zt(" 字符搜索 ")])),_:1}),L(I,{value:!0},{default:T(()=>k[5]||(k[5]=[zt(" 选择器查询 ")])),_:1})]),_:1})]),_:1},8,["value"]),P("div",{"flex-1":"","cursor-move":"",ref:re},null,512),L(W,{onClick:k[1]||(k[1]=et=>E.onUpdateShow(!E.show)),text:"",title:"最小化"},{icon:T(()=>[L(H,null,{default:T(()=>k[6]||(k[6]=[P("svg",{viewBox:"0 0 24 24"},[P("path",{fill:"currentColor",d:"M6 13v-2h12v2z"})],-1)])),_:1})]),_:1})]),L(_t,null,{default:T(()=>[L(Wt,{value:$(d),"onUpdate:value":k[2]||(k[2]=et=>ii(d)?d.value=et:null),placeholder:$(S)?"请输入选择器":"请输入字符",onKeyup:B1($(b),["enter"]),inputProps:{class:"gkd_code"}},null,8,["value","placeholder","onKeyup"]),L(W,{onClick:$(b)},{icon:T(()=>[L(H,null,{default:T(()=>k[7]||(k[7]=[P("svg",{viewBox:"0 0 32 32"},[P("path",{d:"M29 27.586l-7.552-7.552a11.018 11.018 0 1 0-1.414 1.414L27.586 29zM4 13a9 9 0 1 1 9 9a9.01 9.01 0 0 1-9-9z",fill:"currentColor"})],-1)])),_:1})]),_:1},8,["onClick"])]),_:1}),k[14]||(k[14]=P("div",{"p-5px":""},null,-1)),L(ve,{expandedNames:$(v),"onUpdate:expandedNames":k[3]||(k[3]=et=>ii(v)?v.value=et:null)},{default:T(()=>[(lt(!0),me(ar,null,xa($(p),(et,Xe)=>(lt(),be(Lt,{key:et.key,name:et.key},{header:T(()=>[et.nodes.length>1?(lt(),me("span",dw,gt(et.nodes.length),1)):Be("",!0),P("span",{"break-all":"",title:typeof et.selector=="object"?"选择器":"搜索字符"},gt(et.selector.toString()),9,vw)]),"header-extra":T(()=>[typeof et.selector=="object"&&et.selector.canCopy?(lt(),be(W,{key:0,size:"small",onClick:qs(yt=>$(q)(et),["stop"]),title:"复制规则"},{icon:T(()=>[L(H,null,{default:T(()=>k[8]||(k[8]=[P("svg",{viewBox:"0 0 24 24"},[P("path",{d:"M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12V1zm3 4H8c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm0 16H8V7h11v14z",fill:"currentColor"})],-1)])),_:1})]),_:2},1032,["onClick"])):Be("",!0),k[11]||(k[11]=P("div",{"p-l-4px":""},null,-1)),$(y)?(lt(),be(W,{key:1,size:"small",title:typeof et.selector=="object"?"复制查询链接":"复制搜索链接",onClick:qs(yt=>C(et),["stop"])},{icon:T(()=>[L(H,null,{default:T(()=>k[9]||(k[9]=[P("svg",{xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 24 24"},[P("path",{d:"M18 16.08c-.76 0-1.44.3-1.96.77L8.91 12.7c.05-.23.09-.46.09-.7s-.04-.47-.09-.7l7.05-4.11c.54.5 1.25.81 2.04.81c1.66 0 3-1.34 3-3s-1.34-3-3-3s-3 1.34-3 3c0 .24.04.47.09.7L8.04 9.81C7.5 9.31 6.79 9 6 9c-1.66 0-3 1.34-3 3s1.34 3 3 3c.79 0 1.5-.31 2.04-.81l7.12 4.16c-.05.21-.08.43-.08.65c0 1.61 1.31 2.92 2.92 2.92s2.92-1.31 2.92-2.92s-1.31-2.92-2.92-2.92z",fill:"currentColor"})],-1)])),_:1})]),_:2},1032,["title","onClick"])):Be("",!0),k[12]||(k[12]=P("div",{"p-l-4px":""},null,-1)),L(W,{size:"small",onClick:qs(yt=>$(p).splice(Xe,1),["stop"]),title:"删除记录"},{icon:T(()=>[L(H,null,{default:T(()=>k[10]||(k[10]=[P("svg",{viewBox:"0 0 24 24"},[P("g",{fill:"none"},[P("path",{d:"M12 1.75a3.25 3.25 0 0 1 3.245 3.066L15.25 5h5.25a.75.75 0 0 1 .102 1.493L20.5 6.5h-.796l-1.28 13.02a2.75 2.75 0 0 1-2.561 2.474l-.176.006H8.313a2.75 2.75 0 0 1-2.714-2.307l-.023-.174L4.295 6.5H3.5a.75.75 0 0 1-.743-.648L2.75 5.75a.75.75 0 0 1 .648-.743L3.5 5h5.25A3.25 3.25 0 0 1 12 1.75zm6.197 4.75H5.802l1.267 12.872a1.25 1.25 0 0 0 1.117 1.122l.127.006h7.374c.6 0 1.109-.425 1.225-1.002l.02-.126L18.196 6.5zM13.75 9.25a.75.75 0 0 1 .743.648L14.5 10v7a.75.75 0 0 1-1.493.102L13 17v-7a.75.75 0 0 1 .75-.75zm-3.5 0a.75.75 0 0 1 .743.648L11 10v7a.75.75 0 0 1-1.493.102L9.5 17v-7a.75.75 0 0 1 .75-.75zm1.75-6a1.75 1.75 0 0 0-1.744 1.606L10.25 5h3.5A1.75 1.75 0 0 0 12 3.25z",fill:"currentColor"})])],-1)])),_:1})]),_:2},1032,["onClick"])]),default:T(()=>[L(M,{style:{"max-height":"400px","overflow-y":"scroll","padding-bottom":"10px"}},{default:T(()=>[typeof et.selector=="string"||et.selector.connectKeys.length===0?(lt(!0),me(ar,{key:0},xa(et.nodes.map(yt=>Array.isArray(yt)?yt[0]:yt),yt=>(lt(),be(W,{key:yt.id,onClick:En=>$(o)(yt),size:"small",style:Ur($(Ca)(yt,$(f)))},{default:T(()=>[zt(gt($(Wi)(yt)),1)]),_:2},1032,["onClick","style"]))),128)):(lt(!0),me(ar,{key:1},xa(et.nodes.map(yt=>Array.isArray(yt)?yt:[yt]),(yt,En)=>(lt(),be(Rt,{key:En},{default:T(()=>[L(W,{size:"small",onClick:B=>h.value={nodes:yt,selector:et.selector}},{default:T(()=>[L(H,null,{default:T(()=>k[13]||(k[13]=[P("svg",{viewBox:"0 0 24 24"},[P("path",{fill:"currentColor",d:"M5 21V8.825Q4.125 8.5 3.563 7.738T3 6q0-1.25.875-2.125T6 3q1.25 0 2.125.875T9 6q0 .975-.562 1.738T7 8.825V19h4V3h8v12.175q.875.325 1.438 1.088T21 18q0 1.25-.875 2.125T18 21q-1.25 0-2.125-.875T15 18q0-.975.563-1.75T17 15.175V5h-4v16zM6 7q.425 0 .713-.288T7 6q0-.425-.288-.712T6 5q-.425 0-.712.288T5 6q0 .425.288.713T6 7m12 12q.425 0 .713-.288T19 18q0-.425-.288-.712T18 17q-.425 0-.712.288T17 18q0 .425.288.713T18 19m0-1"})],-1)])),_:1})]),_:2},1032,["onClick"]),L(W,{onClick:B=>$(o)(yt[et.selector.targetIndex]),size:"small",style:Ur($(Ca)(yt[et.selector.targetIndex],$(f)))},{default:T(()=>[zt(gt($(Wi)(yt[et.selector.targetIndex])),1)]),_:2},1032,["onClick","style"])]),_:2},1024))),128))]),_:2},1024)]),_:2},1032,["name"]))),128))]),_:1},8,["expandedNames"])])]),_:1},8,["initialValue","show"])}}}),tf=[],_w=Nt((t,e)=>{const n=G(()=>t.tag||"div");return()=>{var o,s,l,c;const r=(((s=(o=e.slots).default)==null?void 0:s.call(o))||tf).filter(f=>typeof f.type!="symbol"),a=[];if(r.length>0&&a.push(r[0]),r.length>1)for(let f=1;f<r.length;f++){const h=((c=(l=e.slots).gap)==null?void 0:c.call(l,{index:f-1}))||tf;a.push(...h),a.push(r[f])}return t.virtual?a:D(n.value,t,a)}},{props:["tag","virtual"]}),mw={flex:"","flex-col":"","overflow-hidden":""},gw={flex:"","items-center":"","px-8px":""},yw={flex:"","items-center":"","gap-2px":"","max-w-120px":""},ww=Nt({__name:"WindowCard",setup(t){const e=uf(),n=bi(),{updateFocusNode:r}=n,a=wi(n),o=a.snapshot,s=a.rootNode,{focusNode:l,focusTime:c}=a;let f=Number.NaN;const h=Tt([]),d=Tt([]);Rr([()=>l.value,()=>c.value],async()=>{if(!l.value)return;const y=l.value.id;Ui().then(async()=>{var k;if(await oc(300),y===((k=l.value)==null?void 0:k.id)){if(f===y){f=Number.NaN;return}const I=document.querySelector(`[data-node-id="${y}"]`);if(!I)return;d.value=[y],I.scrollIntoView({behavior:"smooth",block:"center"})}});let C=l.value.parent;if(!C)return;const E=new Set(h.value);for(;C;)E.add(C.id),C=C.parent;E.size==h.value.length&&h.value.every(k=>E.has(k))||(h.value=[...E])});const p=Tt(),v=(y,C)=>{var E;return C.id===((E=l.value)==null?void 0:E.id)},_=y=>{const C=Ca(y.option,l.value);return{onClick:()=>{f=y.option.id,r(y.option)},style:{"--n-node-text-color":C.color,...C},class:"whitespace-nowrap","data-node-id":String(y.option.id)}},m=y=>Wi(y.option),w=G(()=>`${hc(o.value).manufacturer} Android ${hc(o.value).release||""}`),b=G(()=>zn(o.value).isSystem),q=G(()=>{const y=o.value.activityId,C=o.value.appId;return!y||!C?"":y.startsWith(C)&&y[C.length]==="."?y.substring(C.length):y}),S=async()=>{Mr.success("删除成功,即将回到首页"),await oc(2e3),e.replace({path:"/"})};return(y,C)=>{const E=Ul,k=Yi,I=Qv,M=Iv;return lt(),me("div",mw,[P("div",gw,[L($(_w),{flex:"","flex-wrap":"","items-center":"","gap-8px":"",gkd_code:""},{gap:T(()=>C[8]||(C[8]=[P("div",{"w-1px":"","bg-gray":"","h-12px":""},null,-1)])),default:T(()=>[L(E,null,{trigger:T(()=>[P("div",{onClick:C[0]||(C[0]=j=>$(Dn)($(w)))},gt($(w)),1)]),default:T(()=>[C[9]||(C[9]=zt(" 设备名称 "))]),_:1}),L(E,null,{trigger:T(()=>[P("div",{class:yo({"opacity-50":!$(dc)($(o)).versionName})},gt($(dc)($(o)).versionName||"null"),3)]),default:T(()=>[C[10]||(C[10]=zt(" GKD 版本 "))]),_:1}),P("div",yw,[$(b)?(lt(),be(E,{key:0},{trigger:T(()=>[L(k,null,{default:T(()=>C[11]||(C[11]=[P("svg",{viewBox:"0 -960 960 960"},[P("path",{d:"m438-338 226-226-57-57-169 169-84-84-57 57 141 141Zm42 258q-139-35-229.5-159.5T160-516v-244l320-120 320 120v244q0 152-90.5 276.5T480-80Zm0-84q104-33 172-132t68-220v-189l-240-90-240 90v189q0 121 68 220t172 132Zm0-316Z"})],-1)])),_:1})]),default:T(()=>[zt(" "+gt(`${$(zn)($(o)).name} 是一个系统应用`),1)]),_:1})):Be("",!0),L(E,null,{trigger:T(()=>[P("div",{onClick:C[1]||(C[1]=j=>$(Dn)($(zn)($(o)).name))},gt($(zn)($(o)).name),1)]),default:T(()=>[C[12]||(C[12]=zt(" 应用名称 "))]),_:1})]),L(E,null,{trigger:T(()=>[P("div",{onClick:C[2]||(C[2]=j=>$(Dn)($(zn)($(o)).versionName))},gt($(zn)($(o)).versionName),1)]),default:T(()=>[C[13]||(C[13]=zt(" 版本名称 "))]),_:1}),L(E,null,{trigger:T(()=>[P("div",{onClick:C[3]||(C[3]=j=>$(Dn)($(zn)($(o)).versionCode.toString()))},gt($(zn)($(o)).versionCode),1)]),default:T(()=>[C[14]||(C[14]=zt(" 版本代码 "))]),_:1}),L(E,null,{trigger:T(()=>[P("div",{onClick:C[4]||(C[4]=j=>$(Dn)($(o).appId))},gt($(o).appId),1)]),default:T(()=>[C[15]||(C[15]=zt(" 应用ID "))]),_:1}),L(E,null,{trigger:T(()=>[P("div",{onClick:C[5]||(C[5]=j=>$(Dn)($(q))),class:yo({"opacity-50":!$(q)})},gt($(q)||"null"),3)]),default:T(()=>[C[16]||(C[16]=zt(" 界面ID "))]),_:1})]),_:1}),C[17]||(C[17]=P("div",{"flex-1":""},null,-1)),L(iv,{class:"ml-8px",snapshot:$(o),onDelete:S,showPreview:!1},null,8,["snapshot"])]),C[18]||(C[18]=P("div",{"h-1px":"","mt-4px":"",bg:"#efeff5"},null,-1)),L(M,{xScrollable:"",class:"flex-1"},{default:T(()=>[L(I,{class:"mb-24px mr-24px",ref_key:"treeRef",ref:p,virtualScroll:"",showLine:"",blockLine:"",keyField:"id",expandedKeys:$(h),"onUpdate:expandedKeys":C[6]||(C[6]=j=>ii(h)?h.value=j:null),selectedKeys:$(d),"onUpdate:selectedKeys":C[7]||(C[7]=j=>ii(d)?d.value=j:null),data:[$(s)],filter:v,nodeProps:_,renderLabel:m},null,8,["expandedKeys","selectedKeys","data","filter","nodeProps","renderLabel"])]),_:1})])}}}),bw={"h-full":"",flex:"","gap-5px":""},kw={"w-28px":"","py-8px":"",flex:"","flex-col":"","gap-16px":""},xw={flex:"","justify-center":"",href:"https://gkd.li/guide/snapshot#share-note",target:"_blank",rel:"noopener noreferrer"},Cw={key:1,flex:"","justify-center":"","pt-80px":""},Tw=Nt({__name:"SnapshotPage",setup(t){const e=bi(),n=wi(e),{snapshot:r,rootNode:a,track:o,loading:s,redirected:l}=n;Nn(()=>{s.value?sc.start():sc.finish()});const c=Ns("searchShow",!0,sessionStorage),f=Ns("ruleShow",!1,sessionStorage),h=Ns("attrShow",!0,sessionStorage),d=()=>{Mr.info("暂未实现")};return(p,v)=>{const _=Yi,m=F1("RouterLink"),w=Ka,b=Ul;return $(r)&&$(a)?(lt(),me(ar,{key:0},[P("div",bw,[P("div",kw,[L(b,{placement:"right"},{trigger:T(()=>[L(w,{text:""},{icon:T(()=>[L(m,{to:"/",title:"",color:"inherit"},{default:T(()=>[L(_,{size:"24"},{default:T(()=>v[7]||(v[7]=[P("svg",{viewBox:"0 0 32 32"},[P("path",{d:"M16.612 2.214a1.01 1.01 0 0 0-1.242 0L1 13.419l1.243 1.572L4 13.621V26a2.004 2.004 0 0 0 2 2h20a2.004 2.004 0 0 0 2-2V13.63L29.757 15L31 13.428zM18 26h-4v-8h4zm2 0v-8a2.002 2.002 0 0 0-2-2h-4a2.002 2.002 0 0 0-2 2v8H6V12.062l10-7.79l10 7.8V26z",fill:"currentColor"})],-1)])),_:1})]),_:1})]),_:1})]),default:T(()=>[v[8]||(v[8]=zt(" 回到首页 "))]),_:1}),L(b,{placement:"right"},{trigger:T(()=>[L(w,{onClick:d,text:""},{icon:T(()=>[L(_,{size:"24"},{default:T(()=>v[9]||(v[9]=[P("svg",{viewBox:"0 0 24 24"},[P("g",{fill:"currentColor","fill-rule":"evenodd","clip-rule":"evenodd"},[P("path",{d:"M12 8.25a3.75 3.75 0 1 0 0 7.5a3.75 3.75 0 0 0 0-7.5M9.75 12a2.25 2.25 0 1 1 4.5 0a2.25 2.25 0 0 1-4.5 0"}),P("path",{d:"M11.975 1.25c-.445 0-.816 0-1.12.02a2.8 2.8 0 0 0-.907.19a2.75 2.75 0 0 0-1.489 1.488c-.145.35-.184.72-.2 1.122a.87.87 0 0 1-.415.731a.87.87 0 0 1-.841-.005c-.356-.188-.696-.339-1.072-.389a2.75 2.75 0 0 0-2.033.545a2.8 2.8 0 0 0-.617.691c-.17.254-.356.575-.578.96l-.025.044c-.223.385-.408.706-.542.98c-.14.286-.25.568-.29.88a2.75 2.75 0 0 0 .544 2.033c.231.301.532.52.872.734a.87.87 0 0 1 .426.726a.87.87 0 0 1-.426.726c-.34.214-.64.433-.872.734a2.75 2.75 0 0 0-.545 2.033c.041.312.15.594.29.88c.135.274.32.595.543.98l.025.044c.222.385.408.706.578.96c.177.263.367.5.617.69a2.75 2.75 0 0 0 2.033.546c.376-.05.716-.2 1.072-.389a.87.87 0 0 1 .84-.005a.86.86 0 0 1 .417.731c.015.402.054.772.2 1.122a2.75 2.75 0 0 0 1.488 1.489c.29.12.59.167.907.188c.304.021.675.021 1.12.021h.05c.445 0 .816 0 1.12-.02c.318-.022.617-.069.907-.19a2.75 2.75 0 0 0 1.489-1.488c.145-.35.184-.72.2-1.122a.87.87 0 0 1 .415-.732a.87.87 0 0 1 .841.006c.356.188.696.339 1.072.388a2.75 2.75 0 0 0 2.033-.544c.25-.192.44-.428.617-.691c.17-.254.356-.575.578-.96l.025-.044c.223-.385.408-.706.542-.98c.14-.286.25-.569.29-.88a2.75 2.75 0 0 0-.544-2.033c-.231-.301-.532-.52-.872-.734a.87.87 0 0 1-.426-.726c0-.278.152-.554.426-.726c.34-.214.64-.433.872-.734a2.75 2.75 0 0 0 .545-2.033a2.8 2.8 0 0 0-.29-.88a18 18 0 0 0-.543-.98l-.025-.044a18 18 0 0 0-.578-.96a2.8 2.8 0 0 0-.617-.69a2.75 2.75 0 0 0-2.033-.546c-.376.05-.716.2-1.072.389a.87.87 0 0 1-.84.005a.87.87 0 0 1-.417-.731c-.015-.402-.054-.772-.2-1.122a2.75 2.75 0 0 0-1.488-1.489c-.29-.12-.59-.167-.907-.188c-.304-.021-.675-.021-1.12-.021zm-1.453 1.595c.077-.032.194-.061.435-.078c.247-.017.567-.017 1.043-.017s.796 0 1.043.017c.241.017.358.046.435.078c.307.127.55.37.677.677c.04.096.073.247.086.604c.03.792.439 1.555 1.165 1.974s1.591.392 2.292.022c.316-.167.463-.214.567-.227a1.25 1.25 0 0 1 .924.247c.066.051.15.138.285.338c.139.206.299.483.537.895s.397.69.506.912c.107.217.14.333.15.416a1.25 1.25 0 0 1-.247.924c-.064.083-.178.187-.48.377c-.672.422-1.128 1.158-1.128 1.996s.456 1.574 1.128 1.996c.302.19.416.294.48.377c.202.263.29.595.247.924c-.01.083-.044.2-.15.416c-.109.223-.268.5-.506.912s-.399.689-.537.895c-.135.2-.219.287-.285.338a1.25 1.25 0 0 1-.924.247c-.104-.013-.25-.06-.567-.227c-.7-.37-1.566-.398-2.292.021s-1.135 1.183-1.165 1.975c-.013.357-.046.508-.086.604a1.25 1.25 0 0 1-.677.677c-.077.032-.194.061-.435.078c-.247.017-.567.017-1.043.017s-.796 0-1.043-.017c-.241-.017-.358-.046-.435-.078a1.25 1.25 0 0 1-.677-.677c-.04-.096-.073-.247-.086-.604c-.03-.792-.439-1.555-1.165-1.974s-1.591-.392-2.292-.022c-.316.167-.463.214-.567.227a1.25 1.25 0 0 1-.924-.247c-.066-.051-.15-.138-.285-.338a17 17 0 0 1-.537-.895c-.238-.412-.397-.69-.506-.912c-.107-.217-.14-.333-.15-.416a1.25 1.25 0 0 1 .247-.924c.064-.083.178-.187.48-.377c.672-.422 1.128-1.158 1.128-1.996s-.456-1.574-1.128-1.996c-.302-.19-.416-.294-.48-.377a1.25 1.25 0 0 1-.247-.924c.01-.083.044-.2.15-.416c.109-.223.268-.5.506-.912s.399-.689.537-.895c.135-.2.219-.287.285-.338a1.25 1.25 0 0 1 .924-.247c.104.013.25.06.567.227c.7.37 1.566.398 2.292-.022c.726-.419 1.135-1.182 1.165-1.974c.013-.357.046-.508.086-.604c.127-.307.37-.55.677-.677"})])],-1)])),_:1})]),_:1})]),default:T(()=>[v[10]||(v[10]=zt(" 设置 "))]),_:1}),v[19]||(v[19]=P("div",null,null,-1)),L(b,{placement:"right"},{trigger:T(()=>[L(w,{text:"",onClick:v[0]||(v[0]=q=>c.value=!$(c))},{icon:T(()=>[L(_,{size:"24"},{default:T(()=>v[11]||(v[11]=[P("svg",{viewBox:"0 0 24 24"},[P("path",{fill:"currentColor",d:"M2 19v-2h10v2zm0-5v-2h5v2zm0-5V7h5v2zm18.6 10l-3.85-3.85q-.6.425-1.312.638T14 16q-2.075 0-3.537-1.463T9 11t1.463-3.537T14 6t3.538 1.463T19 11q0 .725-.213 1.438t-.637 1.312L22 17.6zM14 14q1.25 0 2.125-.875T17 11t-.875-2.125T14 8t-2.125.875T11 11t.875 2.125T14 14"})],-1)])),_:1})]),_:1})]),default:T(()=>[v[12]||(v[12]=zt(" 搜索面板 "))]),_:1}),L(b,{placement:"right"},{trigger:T(()=>[L(w,{onClick:v[1]||(v[1]=q=>h.value=!$(h)),text:""},{icon:T(()=>[L(_,{size:"24"},{default:T(()=>v[13]||(v[13]=[P("svg",{viewBox:"0 0 24 24"},[P("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"1.5",d:"M2.5 12c0-4.478 0-6.718 1.391-8.109S7.521 2.5 12.001 2.5c4.478 0 6.717 0 8.108 1.391S21.5 7.521 21.5 12c0 4.478 0 6.718-1.391 8.109S16.479 21.5 12 21.5c-4.478 0-6.717 0-8.109-1.391c-1.39-1.392-1.39-3.63-1.39-8.109M2.5 8h19M11 17h6M7 17h1m3-4h6M7 13h1",color:"currentColor"})],-1)])),_:1})]),_:1})]),default:T(()=>[v[14]||(v[14]=zt(" 属性面板 "))]),_:1}),L(b,{placement:"right"},{trigger:T(()=>[L(w,{onClick:v[2]||(v[2]=q=>f.value=!$(f)),text:""},{icon:T(()=>[L(_,{size:"24"},{default:T(()=>v[15]||(v[15]=[P("svg",{viewBox:"0 0 24 24"},[P("path",{fill:"currentColor",d:"M14.4 20L13 18.6l2.6-2.6l-2.6-2.6l1.4-1.4l2.6 2.6l2.6-2.6l1.4 1.4l-2.6 2.6l2.6 2.6l-1.4 1.4l-2.6-2.6zm1.975-9l-3.55-3.55l1.4-1.4l2.125 2.125l4.25-4.25L22 5.35zM2 17v-2h9v2zm0-8V7h9v2z"})],-1)])),_:1})]),_:1})]),default:T(()=>[v[16]||(v[16]=zt(" 测试规则 "))]),_:1}),v[20]||(v[20]=P("div",null,null,-1)),L(b,{placement:"right"},{trigger:T(()=>[P("a",xw,[L(w,{text:""},{icon:T(()=>[L(_,{size:"24"},{default:T(()=>v[17]||(v[17]=[P("svg",{viewBox:"0 0 24 24"},[P("path",{fill:"currentColor",d:"M1 21L12 2l11 19zm3.45-2h15.1L12 6zM12 18q.425 0 .713-.288T13 17t-.288-.712T12 16t-.712.288T11 17t.288.713T12 18m-1-3h2v-5h-2zm1-2.5"})],-1)])),_:1})]),_:1})])]),default:T(()=>[v[18]||(v[18]=zt(" 分享须知 "))]),_:1})]),L(lw),L(ww,{class:"flex-1"})]),L(pw,{show:$(c),onUpdateShow:v[3]||(v[3]=q=>c.value=q)},null,8,["show"]),L(Jy,{show:$(f),onUpdateShow:v[4]||(v[4]=q=>f.value=q)},null,8,["show"]),L(ap,{show:$(h),onUpdateShow:v[5]||(v[5]=q=>h.value=q)},null,8,["show"]),L(sp),L(Jv,{track:$(o),onUpdateTrack:v[6]||(v[6]=q=>o.value=q)},null,8,["track"])],64)):!$(s)&&!$(l)?(lt(),me("div",Cw,v[21]||(v[21]=[P("div",null,"快照数据缺失",-1)]))):Be("",!0)}}});export{Tw as default};
|
|
277
|
+
//# sourceMappingURL=SnapshotPage-Dy9W95Uc.js.map
|