PageSourceSearch

https://api.octoperf.com/ui/main-KV7Z7WSL.js

js octoperf.com collected 2026-10-02 16:40:45 UTC 1,531,088 bytes, 1,828 lines download raw bytes

1import{i as u$9,n as s$6,o as w$6,t as r$4}from"./chunk-DxqKAYlM.js";import{$ as Iw,$n as ds$1,A as F$6,Ai as we$3,An as Ze$1,Ar as kl$1,B as Gr$1,Br as md$1,Bt as Qo$1,Cr as jg$1,Di as vw,Dt as Ob,E as Ee$3,Ei as vv,Fi as xb,Fn as _g$1,Fr as lm$1,Ft as QH,Gn as bw,Gt as Su$1,H as HH,Hi as yr$1,Hn as bT,Hr as mm$1,Ht as Rl$1,I as Fu,Ii as xd$1,Ir as lt$3,Ji as zr$1,Jn as ce$3,Jr as nr$1,K as Hu$1,Kr as nm$1,Li as xl$1,Ln as _m$1,Lr as lw,Mi as ww,Mn as Zi$1,Mr as kv,Mt as Pp,N as Fm$1,Nn as Zw,Oi as w$7,On as ZH,Or as kg$1,Ot as Ol$1,P as Fn$1,Pi as x$2,Pn as _c$1,R as GH,S as Dw,Sr as jH,St as Nn$1,Ti as vn$1,Tt as Ny,U as He$1,Ui as yy,Un as bb,Ut as Sb,Vi as yn$1,Vn as ay,Vr as me$4,Wi as zE,Wn as be$3,Wt as Si$1,X as Ie$3,Xn as cy,Xt as Tw,Yn as cm$1,Yr as nw,Yt as Tb,Z as Im$1,_r as gy,an as VH,at as K$4,bn as Xv,bt as Ni$1,ci as sm$1,cr as fs$1,ct as Ka$1,dr as gd$1,dt as Ll$1,f as BH,fr as ge$5,gi as tw,gn as Xb,gr as gw,gt as Ms$1,hr as gv,ht as Mm$1,i as $r$1,jt as Pm$1,ki as wT,l as Ar,ln as Vw,lt as Kp$1,m as Bu,mi as tm$1,mt as Mb,nr as ee$5,o as Ad$1,on as Vg$1,pt as M$6,qn as cT,qt as T$9,r as $d$1,ri as qg$1,rr as et$3,rt as Jb,s as Al$1,si as rw,sr as fm$1,ti as pm$1,tn as Ue$3,ui as sy,ut as Li$2,vn as Xh,wi as vm$1,wr as jl$1,wt as Nu$1,x as Dm$1,xr as id$1,yi as um$1,yr as he$5,zn as am$1}from"./chunk-CGTVwlES.js";import{l as Tt$2,m as vt$3,n as Be$1,p as mt$4,t as $e$1,u as We$1}from"./chunk-BSciR7IC.js";import{n as v$5,r as w$8,t as j$5}from"./chunk-XoIzMTmp.js";import{i as l$8,r as f$6,t as G$4}from"./chunk-qmt_8Z_k.js";import{C as x$3,S as t$4,_ as n$8,b as r$5,c as N$6,d as R$6,f as S$5,g as e$5,h as c$6,i as G$5,l as O$7,m as _$10,n as D$7,o as L$4,p as T$10,r as E$10,s as M$7,t as A$9,u as P$7,x as s$7,y as p$6}from"./chunk-DJxg8YdL.js";import{d as bs$1,i as In$2,n as Ai$2,o as Ms$2}from"./chunk-LtUQm4vI.js";import{a as K$5,d as Uo$1,h as sr$1,i as Ie$4,m as qn$1,n as Eo$1,s as Mo$2,u as Se$2}from"./chunk-DAHutKIl.js";import{a as x$4,i as w$9,n as U$4,r as Y$5,t as L$5}from"./chunk-Bogn4067.js";import{t as $$4}from"./chunk-BU93oWN-.js";import{t as s$8}from"./chunk-ozBVCxst.js";import{t as s$9}from"./chunk-BsHuS96u.js";import{$ as E6,$a as f6,Bc as tc$1,Bn as O4,Bt as I8,Dn as N0,Ec as s7,Ft as I3,Ga as e9,Hl as z3,Ht as J0,I as C8,Ia as e$6,In as Nc$1,Lo as j0,Mi as Z0,Nc as t3,Nl as y4,Nn as N7,Pn as N8,Ps as o0,Qa as f5,Qi as a0,Qt as K2,Ss as n$9,Tn as Mc$1,Tr as S4,Un as O7,Ur as U3,Vn as O5,Vs as o8,Wa as e8,Wo as j8,Wr as U4,Xc as u9,Yo as k4,Ys as p6,Zs as p8,_n as M2,_o as h3,_t as G5,ai as W2,al as v7,b as B0,br as R8,bt as G8,cn as L3,cr as Q6,da as b4,di as W8,dt as F8,fc as r3,fo as g9,gc as r7,gs as m5,hc as r6,is as l4,it as F0,jn as N5,kn as N3,lo as g6,ls as l9,o as $6,pi as X0,po as gc$1,qr as U7,ri as V9,sc as q8,ta as a4,tl as v3,ts as l0,ut as F7,va as c3,xo as h7,yi as X7,yl as wc$1,zl as z0,zn as O3}from"./chunk-DVlA4VI-.js";import{t as n$10}from"./chunk-D8_2rfnK.js";import{c as c$7,i as M$8,n as C$6,p as l$9,r as L$6,s as a$6}from"./chunk-CXTGD8XD.js";import{Hr as v0,Jn as k2,L as H3,N as G1,St as R3,d as B0$1,o as A1,p as B2,rn as a$7,yn as d3}from"./chunk-CnJ45xb8.js";import{$t as ka$1,Cn as tr$2,Dt as ar$1,In as xt$2,Kt as hr$1,Rt as et$4,U as Nr$1,Ut as gi$1,V as Mr$1,Y as Pr$1,Zt as jr$1,_n as rr$1,an as mr$1,en as kr$1,f as Dr,gt as Xt$2,jt as bt$3,l as Cr$1,ln as nt$2,o as Ba$1,on as mt$5,s as Bi$2,st as Ur$1,tn as kt$4,tt as Sr$1,ut as Vr$1,v as Fr$1,w as Ha$1,xn as st$2,xt as Zr$1}from"./chunk-ClYAkPjN.js";import{t as l$10}from"./chunk-C5XtJp3T.js";import{i as S$6,l as p$7,o as Te$3,r as M$9,s as V$6}from"./chunk-BcalcR_q.js";import{n as S$7,r as U$5}from"./chunk-BiL0t-xu.js";import{a as y$3,i as x$5,r as v$6}from"./chunk-BrYYMfzq.js";import{t as h$8}from"./chunk-nKSv3BIi.js";import{A as Wc$1,K as hg$1,O as Vc$1,P as Zs$1,T as Tp$1,j as Wx,k as Vr$2,nt as sc$1,ot as w$10,st as wb,z as cb}from"./chunk-D7iqn6bM.js";import{n as u$10,t as n$11}from"./chunk-BlsnZsDl.js";import"./chunk-C53Sn7yY.js";import"./chunk-CkBF0cbG.js";import{i as ee$6,r as S$8,t as D$8}from"./chunk-BRjFwpMO.js";import"./chunk-PO4ywgkn.js";import{a as a$8,i as V$7,o as x$6,r as J$6}from"./chunk-ByQg-XFM.js";import"./chunk-D2HHB9Tk.js";import{n as h$9,t as c$8}from"./chunk-C9bO5mby.js";import"./chunk-d4on1Aja.js";import{t as b$3}from"./chunk-BS2l4cXh.js";import{t as P$8}from"./chunk-Ox2Ozj6q.js";import{t as b$4}from"./chunk-BaRcla0O.js";import{r as q$2}from"./chunk-Bmbt3-zX.js";import{n as m$10,t as f$7}from"./chunk-B93mG0ti2.js";import{n as N$7}from"./chunk-Bj79Cxm-2.js";import{a as _$11,i as T$11,o as o$6,r as R$7,s as t$5,t as E$11}from"./chunk-CkXDrqS22.js";import{t as c$9}from"./chunk-DYkmEPgJ2.js";import{A as u$11,C as i$6,D as r$6,O as s$10,S as h$10,_ as _$12,a as G$6,b as d$13,c as L$7,f as P$9,g as U$6,h as T$12,
1i as E$12,j as x$7,l as M$10,n as C$7,o as H$3,r as D$9,u as N$8,v as a$9,w as n$12,y as c$10}from"./chunk-uwK_aqRQ2.js";import{t as h$11}from"./chunk-C4HlRD_52.js";import{C as i$7,D as p$8,E as o$7,M as v$7,N as x$8,O as r$7,S as e$7,T as n$13,_ as V$8,a as E$13,b as c$11,c as I$10,d as O$8,f as P$10,g as U$7,i as D$10,j as u$12,k as s$11,l as L$8,m as S$9,n as B$4,o as F$7,p as R$8,r as C$8,s as G$7,u as N$9,v as _$13,w as l$11,x as d$14,y as a$10}from"./chunk-Cg70cjO12.js";import{a as V$9,n as C$9,o as ge$6,r as De$3}from"./chunk-CQIqZjtR2.js";import{D as bt$4,H as wa$2,R as tn$3,c as Ge$1,g as Ot$2,i as Cn$2,j as ii$1,l as I$11,p as Ln$1,s as Ft$2,w as Ye$2,y as Re$3}from"./chunk-Dt9kVpNQ2.js";import{g as Xi$1,l as Hi$1,n as At$3,r as B$5,u as I$12}from"./chunk-BS8DyUDz2.js";import"./chunk-Di_hYotE2.js";import"./chunk-DXgaYFFs2.js";import{r as yn$2}from"./chunk-BHuleWpJ2.js";import{t as b$5}from"./chunk-C-aV-gfb2.js";import{t as B$6}from"./chunk-DVbRicRD2.js";import{d as Vr$3,i as K$6,o as Nt$1}from"./chunk-D-vVYriz2.js";import"./chunk-BRAMUREE2.js";import{n as Af$1,r as H$4}from"./chunk-FpdnWEvq2.js";import{T as yn$3,f as Vn$1,s as Ie$5,y as ja$1}from"./chunk-BBkm_RrQ2.js";import{t as v$8}from"./chunk-ChyD1VQg2.js";import"./chunk-D85KQoKT2.js";import"./chunk-C9pFFx_l2.js";import"./chunk-BesAX_rk2.js";import{A as mo$2,L as wo$1,R as xo$1,S as bo$2,t as Ao$1}from"./chunk-Bwe_kbFq2.js";import"./chunk-D1aI4z7Q2.js";import"./chunk-8bbRntLt2.js";import{_ as w$11,d as la$2,g as v$9,i as S$10,l as ha$2,n as D$11,s as fi$1,t as $t$3,v as z$5}from"./chunk-bEH9XlgB.js";import{t as O$9}from"./chunk-BaT4D6zw.js";import"./chunk-Bj6WiBUb.js";import{n as h$12}from"./chunk-B3daAtXK.js";import{t as c$12}from"./chunk-DXSdszJI.js";import"./chunk-P9EoVrHO.js";import"./chunk-Cy2Hqkmv.js";import{n as r$8}from"./chunk-BkXXFodk.js";import{n as k$2}from"./chunk-5t6YQ7rl.js";import"./chunk-D0Gr6mSd.js";import"./chunk-CJaAWnnX.js";import"./chunk-CLvjFfcC.js";import"./chunk-BBSmYLkJ.js";import{n as z$6}from"./chunk-BgHOa08h.js";import{n as _t$4,t as Ct$4}from"./chunk-Dpndbr1b.js";import{t as J$7}from"./chunk-F3wYj5g_.js";import{d as wr$1}from"./chunk-Du09_ekr.js";import{t as E$14}from"./chunk-B3D1DFpn.js";import{a as O$10,c as _$14,d as n$14,f as o$8,i as I$13,l as c$13,m as t$6,n as C$10,o as P$11,p as r$9,r as E$15,s as T$13,t as A$10,u as e$8}from"./chunk-DNeIh4-B.js";import{t as E$16}from"./chunk-CeUnqubA.js";import"./chunk-BoD-Bd4Z.js";import{C as x$9,S as t$7,_ as n$15,a as I$14,b as r$10,c as P$12,d as T$14,f as _$15,g as i$8,h as e$9,i as G$8,l as R$9,m as c$14,n as C$11,o as N$10,p as a$11,r as E$17,s as O$11,t as A$11,u as S$11,v as o$9,x as s$12,y as p$9}from"./chunk-cgTbIIOe.js";import"./chunk-BAMWQj_7.js";import{i as N$11,s as ge$7}from"./chunk-Ba9_fv9A.js";import{t as v$10}from"./chunk-B5wQUoyY.js";import"./chunk-HOBkZT82.js";import{c as n$16,r as Jt$4}from"./chunk-BgoaXLrk.js";import{t as D$12}from"./chunk-CVkmhBT5.js";import{t as A$12}from"./chunk-1VvmzA6Z.js";import{t as H$5}from"./chunk-BMwUqnr2.js";import{c as e$10,d as p$10,f as r$11,l as n$17,n as E$18,o as T$15,p as t$8,t as D$13,u as o$10}from"./chunk-DEOQFney.js";import{r as q$3}from"./chunk-g8RBRR44.js";var n$7=(()=>{class e extends f$6{static{this.CHANNEL=`open-side-sheet`}constructor(s,r,i){super(e.CHANNEL),this.side=s,this.size=r,this.portal=i}}return e})();var p$5=(()=>{class e extends f$6{static{this.CHANNEL=`close-side-sheet`}constructor(){super(e.CHANNEL)}}return e})();var U$3=(()=>{class e{constructor(){this.routerHelper=T$9(Y$5),this.destroyRef=T$9(ge$5),this.reportItemIdSelected=new nr$1(void 0)}initialize(){this.routerHelper.urlObservable().pipe($$4(this.destroyRef)).subscribe(this._onUrlChanged.bind(this))}_onUrlChanged(r){r.includes(`/`+`analysis`)&&this.reportItemIdSelected.next(this._extractExportableItemIdFromUrl(r))}_extractExportableItemIdFromUrl(r){return new K$5().parse(r).queryParamMap.get(`reportItemId`)??void 0}static{this.ɵfac=function(c){return new(c||e)}}static{this.ɵprov=ce$3({token:e,factory:e.ɵfac,providedIn:`root`})}}return e})();var P$6=(()=>{class t{constructor(){this.pages=T$9(Te$3),this.label=`Template`,this.icon=Xt$2,this.listIcon=Xt$2}transform(e){return new n$10(e).label(`Report template`).name(e.name).description(e.description).icon(this.icon).link(this.pages.resolveLink(N$6,[P$7,e.id])).build()}static{this.ɵfac=function(m){return new(m||t)}}static{this.ɵpipe=Sb({name:`reportTemplateToView`,type:t,pure:!0})}static{this.ɵprov=ce$3({token:t,factory:t.ɵfac,providedIn:`root`})}}return t})();var m$9=(()=>{class r extends h$8{constructor(){let e=T$9(We$1),t=T$9(w$8);super(t,e,`/analysis/threshold-alarms`)}static{this.ɵfac=function(t){return new(t||r)}}static{this.ɵprov=ce$3({token:r,factory:r.ɵfac,providedIn:`root`})}}return r})();var j$4=(()=>{class r extends x$5{constructor(){let e=T$9(G$4),t=T$9(m$9);super(t,e,`ThresholdAlarmCrudService`),this.alarmsByResultMap=new Map}getAlarmsByResultId(e){return this.alarmsByResultMap.get(e)??[]}getSeverityCount(e,t){return this.getAlarmsByResultId(e).filter(o=>o.severity===t).length}setEntities(e){new Set(e.map(t=>
1t.benchResultId)).forEach(t=>this.alarmsByResultMap.set(t,[])),e.forEach(t=>{let o=this.alarmsByResultMap.get(t.benchResultId);o.push(t),this.alarmsByResultMap.set(t.benchResultId,o)}),super.setEntities(e)}static{this.ɵfac=function(t){return new(t||r)}}static{this.ɵprov=ce$3({token:r,factory:r.ɵfac,providedIn:`root`})}}return r})();var e$4={CREATED:{icon:new e$6().icon(f6).build(),min:4,max:10,increment:2,step:0,delay:1e3,state:`STARTING`,color:`primary`},PENDING:{icon:new e$6().icon(f6).build(),min:11,max:21,increment:4,step:0,delay:1e3,state:`STARTING`,color:`primary`},SCALING:{icon:new e$6().icon(c3).build(),min:22,max:55,increment:3,step:0,delay:2e3,state:`STARTING`,color:`primary`},PREPARING:{icon:new e$6().icon(c3).build(),min:56,max:73,increment:4,step:0,delay:1e3,state:`STARTING`,color:`primary`},INITIALIZING:{icon:new e$6().icon(N8).build(),min:74,max:84,increment:4,step:0,delay:1e3,state:`STARTING`,color:`primary`},RUNNING:{icon:new e$6().icon(Z0).build(),min:85,max:100,increment:1,step:0,delay:5e3,state:`RUNNING`,color:`success`},FINISHED:{icon:new e$6().icon(l4).build(),min:100,max:100,increment:0,step:0,state:`FINISHED`,color:`unset`},ABORTED:{icon:new e$6().icon(C8).build(),min:100,max:100,increment:0,step:0,state:`FINISHED`,color:`unset`},ERROR:{icon:new e$6().icon(B0).build(),min:100,max:100,increment:0,step:0,state:`FINISHED`,color:`error`}};var n$6=class{constructor(i){this.batchState=i,this.simpleState=Tp$1(e$4[i].state),this.icon=e$4[i].icon,this.color=e$4[i].color}};var I$9=class extends n$6{constructor(i,E=100){super(i),this.batchState=i,this.progress=E}};var u$8=(()=>{class e{constructor(){this.resultCrud=T$9(q$2),this.allResults=new Map}get(t){return this.allResults.get(t)}initialize(){this.allResults.clear(),this.resultCrud.entities().sort((t,r)=>t.created-r.created).forEach((t,r)=>{this.allResults.set(t.id,r+1)})}static{this.ɵfac=function(r){return new(r||e)}}static{this.ɵprov=ce$3({token:e,factory:e.ɵfac,providedIn:`root`})}}return e})();var E$9=(function(n){return n.SIMPLE=`SIMPLE`,n.COMPARISON=`COMPARISON`,n.TREND=`TREND`,n})(E$9||{});var t$3=new x$2(`BenchReportType`);var u$7=class extends s$8{constructor(t,e,s,r,l,n,N,v,_,W,L,y,O,k,w,x,D,G,B,j){super(O,k,w,x,D,G,B,j),this.results=t,this.type=e,this.thresholdAlarmsPassed=s,this.thresholdAlarmsWarning=r,this.thresholdAlarmsCritical=l,this.thresholdAlarms=n,this.worstThresholdAlarmLevel=N,this.numberOfItems=v,this.oldestResultCreated=_,this.lastExecuted=W,this.oldestResultNumberId=L,this.resultState=y}};var o$5=class extends n$10{constructor(t){super(t),this.sourceValue=t,this.resultsValue=[],this.thresholdAlarmsPassedValue=0,this.thresholdAlarmsWarningValue=0,this.thresholdAlarmsCriticalValue=0,this.oldestResultNumberIdValue=-1}results(t){return this.resultsValue=t,this}thresholdAlarmsPassed(t){return this.thresholdAlarmsPassedValue=t,this}thresholdAlarmsWarning(t){return this.thresholdAlarmsWarningValue=t,this}thresholdAlarmsCritical(t){return this.thresholdAlarmsCriticalValue=t,this}oldestResultNumberId(t){return this.oldestResultNumberIdValue=t,this}build(){let t=this.resultsValue.map(l=>l.created).sort((l,n)=>l-n).find(()=>!0)??-1,e=Math.max(0,...this.resultsValue.map(l=>l.created)),s=this.sourceValue.items.length,r=this._getReportType(this.sourceValue.benchResultIds);return new u$7(this.resultsValue,r,this.thresholdAlarmsPassedValue,this.thresholdAlarmsWarningValue,this.thresholdAlarmsCriticalValue,this.thresholdAlarmsPassedValue+this.thresholdAlarmsWarningValue+this.thresholdAlarmsCriticalValue,this._getWorstSeverity(),s,t,e,this.oldestResultNumberIdValue,r===E$9.SIMPLE&&this.resultsValue.length?this.resultsValue[0].state:void 0,this.sourceValue,this.labelValue,this.nameValue,this.descriptionValue,this.iconValue,this.colorValue,this.listLinkValue,this.linkValue)}_getReportType(t){return t.length>1?E$9.COMPARISON:N$7(this.sourceValue.configs)?E$9.TREND:E$9.SIMPLE}_getWorstSeverity(){return this.thresholdAlarmsCriticalValue>0?`CRITICAL`:this.thresholdAlarmsWarningValue>0?`WARNING`:`PASSED`}};var ae$4=(()=>{class i{constructor(){this.pages=T$9(Te$3),this.resultCrud=T$9(q$2),this.alarmCrud=T$9(j$4),this.allResultViewWithNumberIds=T$9(u$8),this.label=`Report`,this.icon=kt$4,this.listIcon=kt$4}transform(e){let s=this._resolveResults(e),r=s.length?s[0].id:``;return new o$5(e).results(s).oldestResultNumberId(this.allResultViewWithNumberIds.get(r)??-1).thresholdAlarmsPassed(this.alarmCrud.getSeverityCount(r,`PASSED`)).thresholdAlarmsWarning(this.alarmCrud.getSeverityCount(r,`WARNING`)).thresholdAlarmsCritical(this.alarmCrud.getSeverityCount(r,`CRITICAL`)).label(this.label).name(e.name).description(e.description).icon(this.icon).listLink(this.pages.resolveLink(n$8)).link(this._resolveLink(e,s)).build()}_resolveResults(e){return e.benchResultIds.map(s=>this.resultCrud.getById(s)).filter(s=>s!==void 0)}_resolveLink(e,s){let r=this._isEditable(s)?L$4:x$3;return this.pages.resolveLink(r,[T$10,e.id],[T$11,e.projectId])}_isEditable(e){return e.length>1?!0:e.length===1&&new I$9(e[0].state).simpleState!==`STARTING`}static{this.ɵfac=function(s){return new(s||i)}}static{this.ɵpipe=Sb({name:`benchReportToView`,type:i,pure:!0})}static{this.ɵprov=ce$3({token:i,factory:i.ɵfac,providedIn:`root`})}}return i})();function re$2(i){return i+.5|0}var _t$3=(i,e,t)=>Math.max(Math.min(i,t),e);function oe$3(i){return _t$3(re$2(i*2.55),0,255)}function yt$2(i){return _t$3(re$2(i*255),0,255)}function dt$3(i){return _t$3(re$2(i/2.55)/100,0,1)}function Ss(i){return _t$3(re$2(i*100),0,100)}var et$2={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15};var gi=[...`0123456789ABCDEF`];var zo=i=>gi[i&15];var Bo=i=>gi[(i&240)>>4]+gi[i&15];var Oe$3=i=>(i&240)>>4===(i&15);var Vo=i=>Oe$3(i.r)&&Oe$3(i.g)&&Oe$3(i.b)&&Oe$3(i.a);function Wo(i){var e=i.length,t;return i[0]===`#`&&(e===4||e===5?t={r:255&et$2[i[1]]*17,g:255&et$2[i[2]]*17,b:255&et$2[i[3]]*17,a:e===5?et$2[i[4]]*17:255}:(e===7||e===9)&&(t={r:et$2[i[1]]<<4|et$2[i[2]],g:et$2[i[3]]<<4|et$2[i[4]],b:et$2[i[5]]<<4|et$2[i[6]],a:e===9?et$2[i[7]]<<4|et$2[i[8]]:255})),t}var No=(i,e)=>i<255?e(i):``;function Ho(i){var e=Vo(i)?zo:Bo;return i?`#`+e(i.r)+e(i.g)+e(i.b)+No(i.a,e):void 0}var jo=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function Cs(i,e,t){let s=e*Math.min(t,1-t),n=(o,a=(o+i/30)%12)=>t-s*Math.max(Math.min(a-3,9-a,1),-1);return[n(0),n(8),n(4)]}function Yo(i,e,t){let s=(n,o=(n+i/60)%6)=>t-t*e*Math.max(Math.min(o,4-o,1),0);return[s(5),s(3),s(1)]}function $o(i,e,t){let s=Cs(i,1,.5),n;for(e+t>1&&(n=1/(e+t),e*=n,t*=n),n=0;n<3;n++)s[n]*=1-e-t,s[n]+=e;return s}function Uo(i,e,t,s,n){return i===n?(e-t)/s+(e<t?6:0):e===n?(t-i)/s+2:(i-e)/s+4}function pi(i){let t=i.r/255,s=i.g/255,n=i.b/255,o=Math.max(t,s,n),a=Math.min(t,s,n),r=(o+a)/2,l,c,h;return o!==a&&(h=o-a,c=r>.5?h/(2-o-a):h/(o+a),l=Uo(t,s,n,h,o),l=l*60+.5),[l|0,c||0,r]}function mi(i,e,t,s){return(Array.isArray(e)?i(e[0],e[1],e[2]):i(e,t,s)).map(yt$2)}function bi(i,e,t){return mi(Cs,i,e,t)}function Xo(i,e,t){return mi($o,i,e,t)}function Ko(i,e,t){return mi(Yo,i,e,t)}function Ds(i){return(i%360+360)%360}function qo(i){let e=jo.exec(i),t=255,s;if(!e)return;e[5]!==s&&(t=e[6]?oe$3(+e[5]):yt$2(+e[5]));let n=Ds(+e[2]),o=+e[3]/100,a=+e[4]/100;return e[1]===`hwb`?s=Xo(n,o,a):e[1]===`hsv`?s=Ko(n,o,a):s=bi(n,o,a),{r:s[0],g:s[1],b:s[2],a:t}}function Go(i,e){var t=pi(i);t[0]=Ds(t[0]+e),t=bi(t),i.r=t[0],i.g=t[1],i.b=t[2]}function Jo(i){if(!i)return;let e=pi(i),t=e[0],s=Ss(e[1]),n=Ss(e[2]);return i.a<255?`hsla(${t}, ${s}%, ${n}%, ${dt$3(i.a)})`:`hsl(${t}, ${s}%, ${n}%)`}var ks$1={x:`dark`,Z:`light`,Y:`re`,X:`blu`,W:`gr`,V:`medium`,U:`slate`,A:`ee`,T:`ol`,S:`or`,B:`ra`,C:`lateg`,D:`ights`,R:`in`,Q:`turquois`,E:`hi`,P:`ro`,O:`al`,N:`le`,M:`de`,L:`yello`,F:`en`,K:`ch`,G:`arks`,H:`ea`,I:`ightg`,J:`wh`};var ws={OiceXe:`f0f8ff`,antiquewEte:`faebd7`,aqua:`ffff`,aquamarRe:`7fffd4`,azuY:`f0ffff`,beige:`f5f5dc`,bisque:`ffe4c4`,black:`0`,blanKedOmond:`ffebcd`,Xe:`ff`,XeviTet:`8a2be2`,bPwn:`a52a2a`,burlywood:`deb887`,caMtXe:`5f9ea0`,KartYuse:`7fff00`,KocTate:`d2691e`,cSO:`ff7f50`,cSnflowerXe:`6495ed`,cSnsilk:`fff8dc`,crimson:`dc143c`,cyan:`ffff`,xXe:`8b`,xcyan:`8b8b`,xgTMnPd:`b8860b`,xWay:`a9a9a9`,xgYF:`6400`,xgYy:`a9a9a9`,xkhaki:`bdb76b`,xmagFta:`8b008b`,xTivegYF:`556b2f`,xSange:`ff8c00`,xScEd:`9932cc`,xYd:`8b0000`,xsOmon:`e9967a`,xsHgYF:`8fbc8f`,xUXe:`483d8b`,xUWay:`2f4f4f`,xUgYy:`2f4f4f`,xQe:`ced1`,xviTet:`9400d3`,dAppRk:`ff1493`,dApskyXe:`bfff`,dimWay:`696969`,dimgYy:`696969`,dodgerXe:`1e90ff`,fiYbrick:`b22222`,flSOwEte:`fffaf0`,foYstWAn:`228b22`,fuKsia:`ff00ff`,gaRsbSo:`dcdcdc`,ghostwEte:`f8f8ff`,gTd:`ffd700`,gTMnPd:`daa520`,Way:`808080`,gYF:`8000`,gYFLw:`adff2f`,gYy:`808080`,honeyMw:`f0fff0`,hotpRk:`ff69b4`,RdianYd:`cd5c5c`,Rdigo:`4b0082`,ivSy:`fffff0`,khaki:`f0e68c`,lavFMr:`e6e6fa`,lavFMrXsh:`fff0f5`,lawngYF:`7cfc00`,NmoncEffon:`fffacd`,ZXe:`add8e6`,ZcSO:`f08080`,Zcyan:`e0ffff`,ZgTMnPdLw:`fafad2`,ZWay:`d3d3d3`,ZgYF:`90ee90`,ZgYy:`d3d3d3`,ZpRk:`ffb6c1`,ZsOmon:`ffa07a`,ZsHgYF:`20b2aa`,ZskyXe:`87cefa`,ZUWay:`778899`,ZUgYy:`778899`,ZstAlXe:`b0c4de`,ZLw:`ffffe0`,lime:`ff00`,limegYF:`32cd32`,lRF:`faf0e6`,magFta:`ff00ff`,maPon:`800000`,VaquamarRe:`66cdaa`,VXe:`cd`,VScEd:`ba55d3`,VpurpN:`9370db`,VsHgYF:`3cb371`,VUXe:`7b68ee`,VsprRggYF:`fa9a`,VQe:`48d1cc`,VviTetYd:`c71585`,midnightXe:`191970`,mRtcYam:`f5fffa`,mistyPse:`ffe4e1`,moccasR:`ffe4b5`,navajowEte:`ffdead`,navy:`80`,Tdlace:`fdf5e6`,Tive:`808000`,TivedBb:`6b8e23`,Sange:`ffa500`,SangeYd:`ff4500`,ScEd:`da70d6`,pOegTMnPd:`eee8aa`,pOegYF:`98fb98`,pOeQe:`afeeee`,pOeviTetYd:`db7093`,papayawEp:`ffefd5`,pHKpuff:`ffdab9`,peru:`cd853f`,pRk:`ffc0cb`,plum:`dda0dd`,powMrXe:`b0e0e6`,purpN:`800080`,YbeccapurpN:`663399`,Yd:`ff0000`,Psybrown:`bc8f8f`,PyOXe:`4169e1`,saddNbPwn:`8b4513`,sOmon:`fa8072`,sandybPwn:`f4a460`,sHgYF:`2e8b57`,sHshell:`fff5ee`,siFna:`a0522d`,silver:`c0c0c0`,skyXe:`87ceeb`,UXe:`6a5acd`,UWay:`708090`,UgYy:`708090`,snow:`fffafa`,sprRggYF:`ff7f`,stAlXe:`4682b4`,tan:`d2b48c`,teO:`8080`,tEstN:`d8bfd8`,tomato:`ff6347`,Qe:`40e0d0`,viTet:`ee82ee`,JHt:`f5deb3`,wEte:`ffffff`,wEtesmoke:`f5f5f5`,Lw:`ffff00`,LwgYF:`9acd32`};function Zo(){let i={},e=Object.keys(ws),t=Object.keys(ks$1),s,n,o,a,r;for(s=0;s<e.length;s++){for(a=r=e[s],n=0;n<t.length;n++)o=t[n],r=r.replace(o,ks$1[o]);o=parseInt(ws[a],16),i[r]=[o>>16&255,o>>8&255,o&255]}return i}var Ae$2;function Qo(i){Ae$2||(Ae$2=Zo(),Ae$2.transparent=[0,0,0,0]);let e=Ae$2[i.toLowerCase()];return e&&{r:e[0],g:e[1],b:e[2],a:e.length===4?e[3]:255}}var ta=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/;function ea(i){let e=ta.exec(i),t=255,s,n,o;if(e){if(e[7]!==s){let a=+e[7];t=e[8]?oe$3(a):_t$3(a*255,0,255)}return s=+e[1],n=+e[3],o=+e[5],s=255&(e[2]?oe$3(s):_t$3(s,0,255)),n=255&(e[4]?oe$3(n):_t$3(n,0,255)),o=255&(e[6]?oe$3(o):_t$3(o,0,255)),{r:s,g:n,b:o,a:t}}}function ia$1(i){return i&&(i.a<255?`rgba(${i.r}, ${i.g}, ${i.b}, ${dt$3(i.a)})`:`rgb(${i.r}, ${i.g}, ${i.b})`)}var fi=i=>i<=.0031308?i*12.92:Math.pow(i,1/2.4)*1.055-.055;var Ht$1=i=>i<=.04045?i/12.92:Math.pow((i+.055)/1.055,2.4);function sa$1(i,e,t){let s=Ht$1(dt$3(i.r)),n=Ht$1(dt$3(i.g)),o=Ht$1(dt$3(i.b));return{r:yt$2(fi(s+t*(Ht$1(dt$3(e.r))-s))),g:yt$2(fi(n+t*(Ht$1(dt$3(e.g))-n))),b:yt$2(fi(o+t*(Ht$1(dt$3(e.b))-o))),a:i.a+t*(e.a-i.a)}}function Te$2(i,e,t){if(i){let s=pi(i);s[e]=Math.max(0,Math.min(s[e]+s[e]*t,e===0?360:1)),s=bi(s),i.r=s[0],i.g=s[1],i.b=s[2]}}function Os(i,e){return i&&Object.assign(e||{},i)}function Ps(i){var e={r:0,g:0,b:0,a:255};return Array.isArray(i)?i.length>=3&&(e={r:i[0],g:i[1],b:i[2],a:255},i.length>3&&(e.a=yt$2(i[3]))):(e=Os(i,{r:0,g:0,b:0,a:1}),e.a=yt$2(e.a)),e}function na(i){return i.charAt(0)===`r`?ea(i):qo(i)}var ae$3=class i{constructor(e){if(e instanceof i)return e;let t=typeof e,s;t===`object`?s=Ps(e):t===`string`&&(s=Wo(e)||Qo(e)||na(e)),this._rgb=s,this._val
vendor: 5,799 bytes, line 1
1id=!!s}get valid(){return this._valid}get rgb(){var e=Os(this._rgb);return e&&(e.a=dt$3(e.a)),e}set rgb(e){this._rgb=Ps(e)}rgbString(){return this._valid?ia$1(this._rgb):void 0}hexString(){return this._valid?Ho(this._rgb):void 0}hslString(){return this._valid?Jo(this._rgb):void 0}mix(e,t){if(e){let s=this.rgb,n=e.rgb,o,a=t===o?.5:t,r=2*a-1,l=s.a-n.a,c=((r*l===-1?r:(r+l)/(1+r*l))+1)/2;o=1-c,s.r=255&c*s.r+o*n.r+.5,s.g=255&c*s.g+o*n.g+.5,s.b=255&c*s.b+o*n.b+.5,s.a=a*s.a+(1-a)*n.a,this.rgb=s}return this}interpolate(e,t){return e&&(this._rgb=sa$1(this._rgb,e._rgb,t)),this}clone(){return new i(this.rgb)}alpha(e){return this._rgb.a=yt$2(e),this}clearer(e){let t=this._rgb;return t.a*=1-e,this}greyscale(){let e=this._rgb;return e.r=e.g=e.b=re$2(e.r*.3+e.g*.59+e.b*.11),this}opaquer(e){let t=this._rgb;return t.a*=1+e,this}negate(){let e=this._rgb;return e.r=255-e.r,e.g=255-e.g,e.b=255-e.b,this}lighten(e){return Te$2(this._rgb,2,e),this}darken(e){return Te$2(this._rgb,2,-e),this}saturate(e){return Te$2(this._rgb,1,e),this}desaturate(e){return Te$2(this._rgb,1,-e),this}rotate(e){return Go(this._rgb,e),this}};function rt$2(){}var Ws=(()=>{let i=0;return()=>i++})();function O$6(i){return i==null}function F$5(i){if(Array.isArray&&Array.isArray(i))return!0;let e=Object.prototype.toString.call(i);return e.slice(0,7)===`[object`&&e.slice(-6)===`Array]`}function A$8(i){return i!==null&&Object.prototype.toString.call(i)===`[object Object]`}function W$2(i){return(typeof i==`number`||i instanceof Number)&&isFinite(+i)}function J$5(i,e){return W$2(i)?i:e}function P$5(i,e){return typeof i>`u`?e:i}var Ns=(i,e)=>typeof i==`string`&&i.endsWith(`%`)?parseFloat(i)/100:+i/e;var vi=(i,e)=>typeof i==`string`&&i.endsWith(`%`)?parseFloat(i)/100*e:+i;function I$8(i,e,t){if(i&&typeof i.call==`function`)return i.apply(t,e)}function R$5(i,e,t,s){let n,o,a;if(F$5(i))if(o=i.length,s)for(n=o-1;n>=0;n--)e.call(t,i[n],n);else for(n=0;n<o;n++)e.call(t,i[n],n);else if(A$8(i))for(a=Object.keys(i),o=a.length,n=0;n<o;n++)e.call(t,i[a[n]],a[n])}function he$4(i,e){let t,s,n,o;if(!i||!e||i.length!==e.length)return!1;for(t=0,s=i.length;t<s;++t)if(n=i[t],o=e[t],n.datasetIndex!==o.datasetIndex||n.index!==o.index)return!1;return!0}function Ie$2(i){if(F$5(i))return i.map(Ie$2);if(A$8(i)){let e=Object.create(null),t=Object.keys(i),s=t.length,n=0;for(;n<s;++n)e[t[n]]=Ie$2(i[t[n]]);return e}return i}function Hs(i){return[`__proto__`,`prototype`,`constructor`].indexOf(i)===-1}function oa$1(i,e,t,s){if(!Hs(i))return;let n=e[i],o=t[i];A$8(n)&&A$8(o)?Yt$1(n,o,s):e[i]=Ie$2(o)}function Yt$1(i,e,t){let s=F$5(e)?e:[e],n=s.length;if(!A$8(i))return i;t=t||{};let o=t.merger||oa$1,a;for(let r=0;r<n;++r){if(a=s[r],!A$8(a))continue;let l=Object.keys(a);for(let c=0,h=l.length;c<h;++c)o(l[c],i,a,t)}return i}function Ut$2(i,e){return Yt$1(i,e,{merger:aa$1})}function aa$1(i,e,t){if(!Hs(i))return;let s=e[i],n=t[i];A$8(s)&&A$8(n)?Ut$2(s,n):Object.prototype.hasOwnProperty.call(e,i)||(e[i]=Ie$2(n))}var As={"":i=>i,x:i=>i.x,y:i=>i.y};function ra$1(i){let e=i.split(`.`),t=[],s=``;for(let n of e)s+=n,s.endsWith(`\\`)?s=s.slice(0,-1)+`.`:(t.push(s),s=``);return t}function la$1(i){let e=ra$1(i);return t=>{for(let s of e){if(s===``)break;t=t&&t[s]}return t}}function gt$2(i,e){return(As[e]||(As[e]=la$1(e)))(i)}function Ve$1(i){return i.charAt(0).toUpperCase()+i.slice(1)}var Xt$1=i=>typeof i<`u`;var ut$2=i=>typeof i==`function`;var Mi=(i,e)=>{if(i.size!==e.size)return!1;for(let t of i)if(!e.has(t))return!1;return!0};function js(i){return i.type===`mouseup`||i.type===`click`||i.type===`contextmenu`}var L$3=Math.PI;var z$4=2*L$3;var ca$1=z$4+L$3;var Fe=Number.POSITIVE_INFINITY;var ha$1=L$3/180;var N$5=L$3/2;var Lt$2=L$3/4;var Ts=L$3*2/3;var ft$1=Math.log10;var nt$1=Math.sign;function Kt$2(i,e,t){return Math.abs(i-e)<t}function Si(i){let e=Math.round(i);i=Kt$2(i,e,i/1e3)?e:i;let t=Math.pow(10,Math.floor(ft$1(i))),s=i/t;return(s<=1?1:s<=2?2:s<=5?5:10)*t}function Ys(i){let e=[],t=Math.sqrt(i),s;for(s=1;s<t;s++)i%s===0&&(e.push(s),e.push(i/s));return t===(t|0)&&e.push(t),e.sort((n,o)=>n-o).pop(),e}function da$1(i){return typeof i==`symbol`||typeof i==`object`&&i!==null&&!(Symbol.toPrimitive in i||`toString`in i||`valueOf`in i)}function It(i){return!da$1(i)&&!isNaN(parseFloat(i))&&isFinite(i)}function $s(i,e){let t=Math.round(i);return t-e<=i&&t+e>=i}function ki$1(i,e,t){let s,n,o;for(s=0,n=i.length;s<n;s++)o=i[s][t],isNaN(o)||(e.min=Math.min(e.min,o),e.max=Math.max(e.max,o))}function it$2(i){return i*(L$3/180)}function We(i){return i*(180/L$3)}function wi$1(i){if(!W$2(i))return;let e=1,t=0;for(;Math.round(i*e)/e!==i;)e*=10,t++;return t}function Pi(i,e){let t=e.x-i.x,s=e.y-i.y,n=Math.sqrt(t*t+s*s),o=Math.atan2(s,t);return o<-.5*L$3&&(o+=z$4),{angle:o,distance:n}}function ze$1(i,e){return Math.sqrt(Math.pow(e.x-i.x,2)+Math.pow(e.y-i.y,2))}function ua$1(i,e){return(i-e+ca$1)%z$4-L$3}function U$2(i){return(i%z$4+z$4)%z$4}function qt$2(i,e,t,s){let n=U$2(i),o=U$2(e),a=U$2(t),r=U$2(o-n),l=U$2(a-n),c=U$2(n-o),h=U$2(n-a);return n===o||n===a||s&&o===a||r>l&&c<h}function Y$4(i,e,t){return Math.max(e,Math.min(t,i))}function Us(i){return Y$4(i,-32768,32767)}function lt$2(i,e,t,s=1e-6){return i>=Math.min(e,t)-s&&i<=Math.max(e,t)+s}function Ne$1(i,e,t){t=t||(a=>i[a]<e);let s=i.length-1,n=0,o;for(;s-n>1;)o=n+s>>1,t(o)?n=o:s=o;return{lo:n,hi:s}}var ot$2=(i,e,t,s)=>Ne$1(i,t,s?n=>{let o=i[n][e];return o<t||o===t&&i[n+1][e]===t}:n=>i[n][e]<t);var Xs=(i,e,t)=>Ne$1(i,t,s=>i[s][e]>=t);function Ks(i,e,t){let s=0,n=i.length;for(;s<n&&i[s]<e;)s++;for(;n>s&&i[n-1]>t;)n--;return s>0||n<i.length?i.slice(s,n):i}var qs=[`push`,`pop`,`shift`,`splice`,`unshift`];function Gs(i,e){if(i._chartjs){i._chartjs.listeners.push(e);return}Object.defineProperty(i,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[e]}}
1),qs.forEach(t=>{let s=`_onData`+Ve$1(t),n=i[t];Object.defineProperty(i,t,{configurable:!0,enumerable:!1,value(...o){let a=n.apply(this,o);return i._chartjs.listeners.forEach(r=>{typeof r[s]==`function`&&r[s](...o)}),a}})})}function Ci(i,e){let t=i._chartjs;if(!t)return;let s=t.listeners,n=s.indexOf(e);n!==-1&&s.splice(n,1),!(s.length>0)&&(qs.forEach(o=>{delete i[o]}),delete i._chartjs)}function Di$1(i){let e=new Set(i);return e.size===i.length?i:Array.from(e)}var Oi$1=(function(){return typeof window>`u`?function(i){return i()}:window.requestAnimationFrame})();function Ai$1(i,e){let t=[],s=!1;return function(...n){t=n,s||(s=!0,Oi$1.call(window,()=>{s=!1,i.apply(e,t)}))}}function Js(i,e){let t;return function(...s){return e?(clearTimeout(t),t=setTimeout(i,e,s)):i.apply(this,s),e}}var He=i=>i===`start`?`left`:i===`end`?`right`:`center`;var X$2=(i,e,t)=>i===`start`?e:i===`end`?t:(e+t)/2;var Zs=(i,e,t,s)=>i===(s?`left`:`right`)?t:i===`center`?(e+t)/2:e;function Ti$1(i,e,t){let s=e.length,n=0,o=s;if(i._sorted){let{iScale:a,vScale:r,_parsed:l}=i,c=i.dataset&&i.dataset.options?i.dataset.options.spanGaps:null,h=a.axis,{min:d,max:u,minDefined:f,maxDefined:g}=a.getUserBounds();if(f){if(n=Math.min(ot$2(l,h,d).lo,t?s:ot$2(e,h,a.getPixelForValue(d)).lo),c){let p=l.slice(0,n+1).reverse().findIndex(m=>!O$6(m[r.axis]));n-=Math.max(0,p)}n=Y$4(n,0,s-1)}if(g){let p=Math.max(ot$2(l,a.axis,u,!0).hi+1,t?0:ot$2(e,h,a.getPixelForValue(u),!0).hi+1);if(c){let m=l.slice(p-1).findIndex(x=>!O$6(x[r.axis]));p+=Math.max(0,m)}o=Y$4(p,n,s)-n}else o=s-n}return{start:n,count:o}}function Li$1(i){let{xScale:e,yScale:t,_scaleRanges:s}=i,n={xmin:e.min,xmax:e.max,ymin:t.min,ymax:t.max};if(!s)return i._scaleRanges=n,!0;let o=s.xmin!==e.min||s.xmax!==e.max||s.ymin!==t.min||s.ymax!==t.max;return Object.assign(s,n),o}var Le$1=i=>i===0||i===1;var Ls=(i,e,t)=>-(Math.pow(2,10*(i-=1))*Math.sin((i-e)*z$4/t));var Rs=(i,e,t)=>Math.pow(2,-10*i)*Math.sin((i-e)*z$4/t)+1;var jt$1={linear:i=>i,easeInQuad:i=>i*i,easeOutQuad:i=>-i*(i-2),easeInOutQuad:i=>(i/=.5)<1?.5*i*i:-.5*(--i*(i-2)-1),easeInCubic:i=>i*i*i,easeOutCubic:i=>(i-=1)*i*i+1,easeInOutCubic:i=>(i/=.5)<1?.5*i*i*i:.5*((i-=2)*i*i+2),easeInQuart:i=>i*i*i*i,easeOutQuart:i=>-((i-=1)*i*i*i-1),easeInOutQuart:i=>(i/=.5)<1?.5*i*i*i*i:-.5*((i-=2)*i*i*i-2),easeInQuint:i=>i*i*i*i*i,easeOutQuint:i=>(i-=1)*i*i*i*i+1,easeInOutQuint:i=>(i/=.5)<1?.5*i*i*i*i*i:.5*((i-=2)*i*i*i*i+2),easeInSine:i=>-Math.cos(i*N$5)+1,easeOutSine:i=>Math.sin(i*N$5),easeInOutSine:i=>-.5*(Math.cos(L$3*i)-1),easeInExpo:i=>i===0?0:Math.pow(2,10*(i-1)),easeOutExpo:i=>i===1?1:-Math.pow(2,-10*i)+1,easeInOutExpo:i=>Le$1(i)?i:i<.5?.5*Math.pow(2,10*(i*2-1)):.5*(-Math.pow(2,-10*(i*2-1))+2),easeInCirc:i=>i>=1?i:-(Math.sqrt(1-i*i)-1),easeOutCirc:i=>Math.sqrt(1-(i-=1)*i),easeInOutCirc:i=>(i/=.5)<1?-.5*(Math.sqrt(1-i*i)-1):.5*(Math.sqrt(1-(i-=2)*i)+1),easeInElastic:i=>Le$1(i)?i:Ls(i,.075,.3),easeOutElastic:i=>Le$1(i)?i:Rs(i,.075,.3),easeInOutElastic(i){return Le$1(i)?i:i<.5?.5*Ls(i*2,.1125,.45):.5+.5*Rs(i*2-1,.1125,.45)},easeInBack(i){return i*i*(2.70158*i-1.70158)},easeOutBack(i){return(i-=1)*i*(2.70158*i+1.70158)+1},easeInOutBack(i){let e=1.70158;return(i/=.5)<1?.5*(i*i*(((e*=1.525)+1)*i-e)):.5*((i-=2)*i*(((e*=1.525)+1)*i+e)+2)},easeInBounce:i=>1-jt$1.easeOutBounce(1-i),easeOutBounce(i){return i<1/2.75?7.5625*i*i:i<2/2.75?7.5625*(i-=1.5/2.75)*i+.75:i<2.5/2.75?7.5625*(i-=2.25/2.75)*i+.9375:7.5625*(i-=2.625/2.75)*i+.984375},easeInOutBounce:i=>i<.5?jt$1.easeInBounce(i*2)*.5:jt$1.easeOutBounce(i*2-1)*.5+.5};function Ri$1(i){if(i&&typeof i==`object`){let e=i.toString();return e===`[object CanvasPattern]`||e===`[object CanvasGradient]`}return!1}function Ei$1(i){return Ri$1(i)?i:new ae$3(i)}function xi(i){return Ri$1(i)?i:new ae$3(i).saturate(.5).darken(.1).hexString()}var fa$1=[`x`,`y`,`borderWidth`,`radius`,`tension`];var ga$1=[`color`,`borderColor`,`backgroundColor`];function pa$1(i){i.set(`animation`,{delay:void 0,duration:1e3,easing:`easeOutQuart`,fn:void 0,from:void 0,loop:void 0,to:void 0,type:void 0}),i.describe(`animation`,{_fallback:!1,_indexable:!1,_scriptable:e=>e!==`onProgress`&&e!==`onComplete`&&e!==`fn`}
vendor: 3,791 bytes, line 1
1),i.set(`animations`,{colors:{type:`color`,properties:ga$1},numbers:{type:`number`,properties:fa$1}}),i.describe(`animations`,{_fallback:`animation`}),i.set(`transitions`,{active:{animation:{duration:400}},resize:{animation:{duration:0}},show:{animations:{colors:{from:`transparent`},visible:{type:`boolean`,duration:0}}},hide:{animations:{colors:{to:`transparent`},visible:{type:`boolean`,easing:`linear`,fn:e=>e|0}}}})}function ma$1(i){i.set(`layout`,{autoPadding:!0,padding:{top:0,right:0,bottom:0,left:0}})}var Es=new Map;function ba$1(i,e){e=e||{};let t=i+JSON.stringify(e),s=Es.get(t);return s||(s=new Intl.NumberFormat(i,e),Es.set(t,s)),s}function Gt$2(i,e,t){return ba$1(e,t).format(i)}var Qs={values(i){return F$5(i)?i:``+i},numeric(i,e,t){if(i===0)return`0`;let s=this.chart.options.locale,n,o=i;if(t.length>1){let c=Math.max(Math.abs(t[0].value),Math.abs(t[t.length-1].value));(c<1e-4||c>0x38d7ea4c68000)&&(n=`scientific`),o=xa$1(i,t)}let a=ft$1(Math.abs(o)),r=isNaN(a)?1:Math.max(Math.min(-1*Math.floor(a),20),0),l={notation:n,minimumFractionDigits:r,maximumFractionDigits:r};return Object.assign(l,this.options.ticks.format),Gt$2(i,s,l)},logarithmic(i,e,t){if(i===0)return`0`;let s=t[e].significand||i/Math.pow(10,Math.floor(ft$1(i)));return[1,2,3,5,10,15].includes(s)||e>.8*t.length?Qs.numeric.call(this,i,e,t):``}};function xa$1(i,e){let t=e.length>3?e[2].value-e[1].value:e[1].value-e[0].value;return Math.abs(t)>=1&&i!==Math.floor(i)&&(t=i-Math.floor(i)),t}var de$3={formatters:Qs};function _a$1(i){i.set(`scale`,{display:!0,offset:!1,reverse:!1,beginAtZero:!1,bounds:`ticks`,clip:!0,grace:0,grid:{display:!0,lineWidth:1,drawOnChartArea:!0,drawTicks:!0,tickLength:8,tickWidth:(e,t)=>t.lineWidth,tickColor:(e,t)=>t.color,offset:!1},border:{display:!0,dash:[],dashOffset:0,width:1},title:{display:!1,text:``,padding:{top:4,bottom:4}},ticks:{minRotation:0,maxRotation:50,mirror:!1,textStrokeWidth:0,textStrokeColor:``,padding:3,display:!0,autoSkip:!0,autoSkipPadding:3,labelOffset:0,callback:de$3.formatters.values,minor:{},major:{},align:`center`,crossAlign:`near`,showLabelBackdrop:!1,backdropColor:`rgba(255, 255, 255, 0.75)`,backdropPadding:2}}),i.route(`scale.ticks`,`color`,``,`color`),i.route(`scale.grid`,`color`,``,`borderColor`),i.route(`scale.border`,`color`,``,`borderColor`),i.route(`scale.title`,`color`,``,`color`),i.describe(`scale`,{_fallback:!1,_scriptable:e=>!e.startsWith(`before`)&&!e.startsWith(`after`)&&e!==`callback`&&e!==`parser`,_indexable:e=>e!==`borderDash`&&e!==`tickBorderDash`&&e!==`dash`}),i.describe(`scales`,{_fallback:`scale`}),i.describe(`scale.ticks`,{_scriptable:e=>e!==`backdropPadding`&&e!==`callback`,_indexable:e=>e!==`backdropPadding`})}var St=Object.create(null);var je$1=Object.create(null);function le$2(i,e){if(!e)return i;let t=e.split(`.`);for(let s=0,n=t.length;s<n;++s){let o=t[s];i=i[o]||(i[o]=Object.create(null))}return i}function _i(i,e,t){return typeof e==`string`?Yt$1(le$2(i,e),t):Yt$1(le$2(i,``),e)}var yi=class{constructor(e,t){this.animation=void 0,this.backgroundColor=`rgba(0,0,0,0.1)`,this.borderColor=`rgba(0,0,0,0.1)`,this.color=`#666`,this.datasets={},this.devicePixelRatio=s=>s.chart.platform.getDevicePixelRatio(),this.elements={},this.events=[`mousemove`,`mouseout`,`click`,`touchstart`,`touchmove`],this.font={family:`'Helvetica Neue', 'Helvetica', 'Arial', sans-serif`,size:12,style:`normal`,lineHeight:1.2,weight:null},this.hover={},this.hoverBackgroundColor=(s,n)=>xi(n.backgroundColor),this.hoverBorderColor=(s,n)=>xi(n.borderColor),this.hoverColor=(s,n)=>xi(n.color),this.indexAxis=`x`,this.interaction={mode:`nearest`,intersect:!0,includeInvisible:!1},this.maintainAspectRatio=!0,this.onHover=null,this.onClick=null,this.parsing=!0,this.plugins={},this.responsive=!0,this.scale=void 0,this.scales={}
vendor: 4,408 bytes, line 1
1,this.showLine=!0,this.drawActiveElementsOnTop=!0,this.describe(e),this.apply(t)}set(e,t){return _i(this,e,t)}get(e){return le$2(this,e)}describe(e,t){return _i(je$1,e,t)}override(e,t){return _i(St,e,t)}route(e,t,s,n){let o=le$2(this,e),a=le$2(this,s),r=`_`+t;Object.defineProperties(o,{[r]:{value:o[t],writable:!0},[t]:{enumerable:!0,get(){let l=this[r],c=a[n];return A$8(l)?Object.assign({},c,l):P$5(l,c)},set(l){this[r]=l}}})}apply(e){e.forEach(t=>t(this))}};var B$3=new yi({_scriptable:i=>!i.startsWith(`on`),_indexable:i=>i!==`events`,hover:{_fallback:`interaction`},interaction:{_scriptable:!1,_indexable:!1}},[pa$1,ma$1,_a$1]);function ya$1(i){return!i||O$6(i.size)||O$6(i.family)?null:(i.style?i.style+` `:``)+(i.weight?i.weight+` `:``)+i.size+`px `+i.family}function ce$2(i,e,t,s,n){let o=e[n];return o||(o=e[n]=i.measureText(n).width,t.push(n)),o>s&&(s=o),s}function tn$2(i,e,t,s){s=s||{};let n=s.data=s.data||{},o=s.garbageCollect=s.garbageCollect||[];s.font!==e&&(n=s.data={},o=s.garbageCollect=[],s.font=e),i.save(),i.font=e;let a=0,r=t.length,l,c,h,d,u;for(l=0;l<r;l++)if(d=t[l],d!=null&&!F$5(d))a=ce$2(i,n,o,a,d);else if(F$5(d))for(c=0,h=d.length;c<h;c++)u=d[c],u!=null&&!F$5(u)&&(a=ce$2(i,n,o,a,u));i.restore();let f=o.length/2;if(f>t.length){for(l=0;l<f;l++)delete n[o[l]];o.splice(0,f)}return a}function kt$3(i,e,t){let s=i.currentDevicePixelRatio,n=t!==0?Math.max(t/2,.5):0;return Math.round((e-n)*s)/s+n}function Ii$1(i,e){!e&&!i||(e=e||i.getContext(`2d`),e.save(),e.resetTransform(),e.clearRect(0,0,i.width,i.height),e.restore())}function Ye$1(i,e,t,s){Fi$1(i,e,t,s,null)}function Fi$1(i,e,t,s,n){let o,a,r,l,c,h,d,u,f=e.pointStyle,g=e.rotation,p=e.radius,m=(g||0)*ha$1;if(f&&typeof f==`object`&&(o=f.toString(),o===`[object HTMLImageElement]`||o===`[object HTMLCanvasElement]`)){i.save(),i.translate(t,s),i.rotate(m),i.drawImage(f,-f.width/2,-f.height/2,f.width,f.height),i.restore();return}if(!(isNaN(p)||p<=0)){switch(i.beginPath(),f){default:n?i.ellipse(t,s,n/2,p,0,0,z$4):i.arc(t,s,p,0,z$4),i.closePath();break;case`triangle`:h=n?n/2:p,i.moveTo(t+Math.sin(m)*h,s-Math.cos(m)*p),m+=Ts,i.lineTo(t+Math.sin(m)*h,s-Math.cos(m)*p),m+=Ts,i.lineTo(t+Math.sin(m)*h,s-Math.cos(m)*p),i.closePath();break;case`rectRounded`:c=p*.516,l=p-c,a=Math.cos(m+Lt$2)*l,d=Math.cos(m+Lt$2)*(n?n/2-c:l),r=Math.sin(m+Lt$2)*l,u=Math.sin(m+Lt$2)*(n?n/2-c:l),i.arc(t-d,s-r,c,m-L$3,m-N$5),i.arc(t+u,s-a,c,m-N$5,m),i.arc(t+d,s+r,c,m,m+N$5),i.arc(t-u,s+a,c,m+N$5,m+L$3),i.closePath();break;case`rect`:if(!g){l=Math.SQRT1_2*p,h=n?n/2:l,i.rect(t-h,s-l,2*h,2*l);break}m+=Lt$2;case`rectRot`:d=Math.cos(m)*(n?n/2:p),a=Math.cos(m)*p,r=Math.sin(m)*p,u=Math.sin(m)*(n?n/2:p),i.moveTo(t-d,s-r),i.lineTo(t+u,s-a),i.lineTo(t+d,s+r),i.lineTo(t-u,s+a),i.closePath();break;case`crossRot`:m+=Lt$2;case`cross`:d=Math.cos(m)*(n?n/2:p),a=Math.cos(m)*p,r=Math.sin(m)*p,u=Math.sin(m)*(n?n/2:p),i.moveTo(t-d,s-r),i.lineTo(t+d,s+r),i.moveTo(t+u,s-a),i.lineTo(t-u,s+a);break;case`star`:d=Math.cos(m)*(n?n/2:p),a=Math.cos(m)*p,r=Math.sin(m)*p,u=Math.sin(m)*(n?n/2:p),i.moveTo(t-d,s-r),i.lineTo(t+d,s+r),i.moveTo(t+u,s-a),i.lineTo(t-u,s+a),m+=Lt$2,d=Math.cos(m)*(n?n/2:p),a=Math.cos(m)*p,r=Math.sin(m)*p,u=Math.sin(m)*(n?n/2:p),i.moveTo(t-d,s-r),i.lineTo(t+d,s+r),i.moveTo(t+u,s-a),i.lineTo(t-u,s+a);break;case`line`:a=n?n/2:Math.cos(m)*p,r=Math.sin(m)*p,i.moveTo(t-a,s-r),i.lineTo(t+a,s+r);break;case`dash`:i.moveTo(t,s),i.lineTo(t+Math.cos(m)*(n?n/2:p),s+Math.sin(m)*p);break;case!1:i.closePath();break}i.fill(),e.borderWidth>0&&i.stroke()}}function at$3(i,e,t){return t=t||.5,!e||i&&i.x>e.left-t&&i.x<e.right+t&&i.y>e.top-t&&i.y<e.bottom+t}function ue$2(i,e){i.save(),i.beginPath(),i.rect(e.left,e.top,e.right-e.left,e.bottom-e.top),i.clip()}function fe$3(i){i.restore()}function en$2(i,e,t,s,n){if(!e)return i.lineTo(t.x,t.y);if(n===`middle`){let o=(e.x+t.x)/2;i.lineTo(o,e.y),i.lineTo(o,t.y)}else n===`after`!=!!s?i.lineTo(e.x,t.y):i.lineTo(t.x,e.y);i.lineTo(t.x,t.y)}function sn$1(i,e,t,s){if(!e)return i.lineTo(t.x,t.y);i.bezierCurveTo(s?e.cp1x:e.cp2x,s?e.cp1y:e.cp2y,s?t.cp2x:t.cp1x,s?t.cp2y:t.cp1y,t.x,t.y)}function va$1(i,e){e.translation&&i.translate(e.translation[0],e.translation[1]),O$6(e.rotation)||i.rotate(e.rotation),e.color&&(i.fillStyle=e.color),e.textAlign&&(i.textAlign=e.textAlign),e.textBaseline&&(i.textBaseline=e.textBaseline)}function Ma$1(i,e,t,s,n){if(n.strikethrough||n.underline){let o=i.measureText(s),a=e-
vendor: 5,135 bytes, line 1
1o.actualBoundingBoxLeft,r=e+o.actualBoundingBoxRight,l=t-o.actualBoundingBoxAscent,c=t+o.actualBoundingBoxDescent,h=n.strikethrough?(l+c)/2:c;i.strokeStyle=i.fillStyle,i.beginPath(),i.lineWidth=n.decorationWidth||2,i.moveTo(a,h),i.lineTo(r,h),i.stroke()}}function Sa$1(i,e){let t=i.fillStyle;i.fillStyle=e.color,i.fillRect(e.left,e.top,e.width,e.height),i.fillStyle=t}function wt$2(i,e,t,s,n,o={}){let a=F$5(e)?e:[e],r=o.strokeWidth>0&&o.strokeColor!==``,l,c;for(i.save(),i.font=n.string,va$1(i,o),l=0;l<a.length;++l)c=a[l],o.backdrop&&Sa$1(i,o.backdrop),r&&(o.strokeColor&&(i.strokeStyle=o.strokeColor),O$6(o.strokeWidth)||(i.lineWidth=o.strokeWidth),i.strokeText(c,t,s,o.maxWidth)),i.fillText(c,t,s,o.maxWidth),Ma$1(i,t,s,c,o),s+=Number(n.lineHeight);i.restore()}function Jt$3(i,e){let{x:t,y:s,w:n,h:o,radius:a}=e;i.arc(t+a.topLeft,s+a.topLeft,a.topLeft,1.5*L$3,L$3,!0),i.lineTo(t,s+o-a.bottomLeft),i.arc(t+a.bottomLeft,s+o-a.bottomLeft,a.bottomLeft,L$3,N$5,!0),i.lineTo(t+n-a.bottomRight,s+o),i.arc(t+n-a.bottomRight,s+o-a.bottomRight,a.bottomRight,N$5,0,!0),i.lineTo(t+n,s+a.topRight),i.arc(t+n-a.topRight,s+a.topRight,a.topRight,0,-N$5,!0),i.lineTo(t+a.topLeft,s)}var ka=/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/;var wa$1=/^(normal|italic|initial|inherit|unset|(oblique( -?[0-9]?[0-9]deg)?))$/;function Pa$1(i,e){let t=(``+i).match(ka);if(!t||t[1]===`normal`)return e*1.2;switch(i=+t[2],t[3]){case`px`:return i;case`%`:i/=100;break}return e*i}var Ca$1=i=>+i||0;function $e(i,e){let t={},s=A$8(e),n=s?Object.keys(e):e,o=A$8(i)?s?a=>P$5(i[a],i[e[a]]):a=>i[a]:()=>i;for(let a of n)t[a]=Ca$1(o(a));return t}function zi$1(i){return $e(i,{top:`y`,right:`x`,bottom:`y`,left:`x`})}function Pt$3(i){return $e(i,[`topLeft`,`topRight`,`bottomLeft`,`bottomRight`])}function K$3(i){let e=zi$1(i);return e.width=e.left+e.right,e.height=e.top+e.bottom,e}function j$3(i,e){i=i||{},e=e||B$3.font;let t=P$5(i.size,e.size);typeof t==`string`&&(t=parseInt(t,10));let s=P$5(i.style,e.style);s&&!(``+s).match(wa$1)&&(console.warn(`Invalid font style specified: "`+s+`"`),s=void 0);let n={family:P$5(i.family,e.family),lineHeight:Pa$1(P$5(i.lineHeight,e.lineHeight),t),size:t,style:s,weight:P$5(i.weight,e.weight),string:``};return n.string=ya$1(n),n}function Zt$2(i,e,t,s){let n=!0,o,a,r;for(o=0,a=i.length;o<a;++o)if(r=i[o],r!==void 0&&(e!==void 0&&typeof r==`function`&&(r=r(e),n=!1),t!==void 0&&F$5(r)&&(r=r[t%r.length],n=!1),r!==void 0))return s&&!n&&(s.cacheable=!1),r}function nn$2(i,e,t){let{min:s,max:n}=i,o=vi(e,(n-s)/2),a=(r,l)=>t&&r===0?0:r+l;return{min:a(s,-Math.abs(o)),max:a(n,o)}}function pt$1(i,e){return Object.assign(Object.create(i),e)}function Ue$2(i,e=[``],t,s,n=()=>i[0]){let o=t||i;typeof s>`u`&&(s=rn$2(`_fallback`,i));return new Proxy({[Symbol.toStringTag]:`Object`,_cacheable:!0,_scopes:i,_rootScopes:o,_fallback:s,_getTarget:n,override:r=>Ue$2([r,...i],e,o,s)},{deleteProperty(r,l){return delete r[l],delete r._keys,delete i[0][l],!0},get(r,l){return on$1(r,l,()=>Ia(l,e,i,r))},getOwnPropertyDescriptor(r,l){return Reflect.getOwnPropertyDescriptor(r._scopes[0],l)},getPrototypeOf(){return Reflect.getPrototypeOf(i[0])},has(r,l){return Fs(r).includes(l)},ownKeys(r){return Fs(r)},set(r,l,c){let h=r._storage||(r._storage=n());return r[l]=h[l]=c,delete r._keys,!0}})}function Et$1(i,e,t,s){let n={_cacheable:!1,_proxy:i,_context:e,_subProxy:t,_stack:new Set,_descriptors:Bi$1(i,s),setContext:o=>Et$1(i,o,t,s),override:o=>Et$1(i.override(o),e,t,s)};return new Proxy(n,{deleteProperty(o,a){return delete o[a],delete i[a],!0},get(o,a,r){return on$1(o,a,()=>Oa$1(o,a,r))},getOwnPropertyDescriptor(o,a){return o._descriptors.allKeys?Reflect.has(i,a)?{enumerable:!0,configurable:!0}:void 0:Reflect.getOwnPropertyDescriptor(i,a)},getPrototypeOf(){return Reflect.getPrototypeOf(i)},has(o,a){return Reflect.has(i,a)},ownKeys(){return Reflect.ownKeys(i)},set(o,a,r){return i[a]=r,delete o[a],!0}})}function Bi$1(i,e={scriptable:!0,indexable:!0}){let{_scriptable:t=e.scriptable,_indexable:s=e.indexable,_allKeys:n=e.allKeys}=i;return{allKeys:n,scriptable:t,indexable:s,isScriptable:ut$2(t)?t:()=>t,isIndexable:ut$2(s)?s:()=>s}}var Da=(i,e)=>i?i+Ve$1(e):e;var Vi=(i,e)=>A$8(e)&&i!==`adapters`&&(Object.getPrototypeOf(e)===null||e.constructor===Object);function on$1(i,e,t){if(Object.prototype.hasOwnProperty.call(i,e)||e===`constructor`)return i[e];let s=t();return i[e]=s,s}function Oa$1(i,e,t){let{_proxy:s,_context:n,_subProxy:o,_descriptors:a}=i,r=s[e];return ut$2(r)&&a.isScriptable(e)&&(r=Aa(e,r,i,t)),F$5(r)&&r.length&&(r=Ta(e,r,i,a.isIndexable)),Vi(e,r)&&(r=Et$1(r,n,o&&o[e],a)),r}function Aa(i,e,t,s){let{_proxy:n,_context:o,_subProxy:a,_stack:r}=t;if(r.has(i))throw new Error(`Recursion detected: `+Array.from(r).join(`->`)+`->`+i);r.add(i);let l=e(o,a||s);return r.delete(i),Vi(i,l)&&(l=Wi$1(n._scopes,n,i,l)),l}function Ta(i,e,t,s){let{_proxy:n,_context:o,_subProxy:a,_descriptors:r}=t;if(typeof o.index<`u`&&s(i))return e[o.index%e.length];if(A$8(e[0])){let l=e,c=n._scopes.filter(h=>h!==l);e=[];for(let h of l){let d=Wi$1(c,n,i,h);e.push(Et$1(d,o,a&&a[i],r))}}return e}function an$1(i,e,t){return ut$2(i)?i(e,t):i}var La=(i,e)=>
1i===!0?e:typeof i==`string`?gt$2(e,i):void 0;function Ra(i,e,t,s,n){for(let o of e){let a=La(t,o);if(a){i.add(a);let r=an$1(a._fallback,t,n);if(typeof r<`u`&&r!==t&&r!==s)return r}else if(a===!1&&typeof s<`u`&&t!==s)return null}return!1}function Wi$1(i,e,t,s){let n=e._rootScopes,o=an$1(e._fallback,t,s),a=[...i,...n],r=new Set;r.add(s);let l=Is(r,a,t,o||t,s);return l===null||typeof o<`u`&&o!==t&&(l=Is(r,a,o,l,s),l===null)?!1:Ue$2(Array.from(r),[``],n,o,()=>Ea$1(e,t,s))}function Is(i,e,t,s,n){for(;t;)t=Ra(i,e,t,s,n);return t}function Ea$1(i,e,t){let s=i._getTarget();e in s||(s[e]={});let n=s[e];return F$5(n)&&A$8(t)?t:n||{}}function Ia(i,e,t,s){let n;for(let o of e)if(n=rn$2(Da(o,i),t),typeof n<`u`)return Vi(i,n)?Wi$1(t,s,i,n):n}function rn$2(i,e){for(let t of e){if(!t)continue;let s=t[i];if(typeof s<`u`)return s}}function Fs(i){let e=i._keys;return e||(e=i._keys=Fa(i._scopes)),e}function Fa(i){let e=new Set;for(let t of i)for(let s of Object.keys(t).filter(n=>!n.startsWith(`_`)))e.add(s);return Array.from(e)}function Ni(i,e,t,s){let{iScale:n}=i,{key:o=`r`}=this._parsing,a=new Array(s),r,l,c,h;for(r=0,l=s;r<l;++r)c=r+t,h=e[c],a[r]={r:n.parse(gt$2(h,o),c)};return a}var za=Number.EPSILON||1e-14;var $t$2=(i,e)=>e<i.length&&!i[e].skip&&i[e];var ln$1=i=>i===`x`?`y`:`x`;function Ba(i,e,t,s){let n=i.skip?e:i,o=e,a=t.skip?e:t,r=ze$1(o,n),l=ze$1(a,o),c=r/(r+l),h=l/(r+l);c=isNaN(c)?0:c,h=isNaN(h)?0:h;let d=s*c,u=s*h;return{previous:{x:o.x-d*(a.x-n.x),y:o.y-d*(a.y-n.y)},next:{x:o.x+u*(a.x-n.x),y:o.y+u*(a.y-n.y)}}}function Va(i,e,t){let s=i.length,n,o,a,r,l,c=$t$2(i,0);for(let h=0;h<s-1;++h)if(l=c,c=$t$2(i,h+1),!(!l||!c)){if(Kt$2(e[h],0,za)){t[h]=t[h+1]=0;continue}n=t[h]/e[h],o=t[h+1]/e[h],r=Math.pow(n,2)+Math.pow(o,2),!(r<=9)&&(a=3/Math.sqrt(r),t[h]=n*a*e[h],t[h+1]=o*a*e[h])}}function Wa(i,e,t=`x`){let s=ln$1(t),n=i.length,o,a,r,l=$t$2(i,0);for(let c=0;c<n;++c){if(a=r,r=l,l=$t$2(i,c+1),!r)continue;let h=r[t],d=r[s];a&&(o=(h-a[t])/3,r[`cp1${t}`]=h-o,r[`cp1${s}`]=d-o*e[c]),l&&(o=(l[t]-h)/3,r[`cp2${t}`]=h+o,r[`cp2${s}`]=d+o*e[c])}}function Na$1(i,e=`x`){let t=ln$1(e),s=i.length,n=Array(s).fill(0),o=Array(s),a,r,l,c=$t$2(i,0);for(a=0;a<s;++a)if(r=l,l=c,c=$t$2(i,a+1),!!l){if(c){let h=c[e]-l[e];n[a]=h!==0?(c[t]-l[t])/h:0}o[a]=r?c?nt$1(n[a-1])!==nt$1(n[a])?0:(n[a-1]+n[a])/2:n[a-1]:n[a]}Va(i,n,o),Wa(i,o,e)}function Re$2(i,e,t){return Math.max(Math.min(i,t),e)}function Ha(i,e){let t,s,n,o,a,r=at$3(i[0],e);for(t=0,s=i.length;t<s;++t)a=o,o=r,r=t<s-1&&at$3(i[t+1],e),o&&(n=i[t],a&&(n.cp1x=Re$2(n.cp1x,e.left,e.right),n.cp1y=Re$2(n.cp1y,e.top,e.bottom)),r&&(n.cp2x=Re$2(n.cp2x,e.left,e.right),n.cp2y=Re$2(n.cp2y,e.top,e.bottom)))}function cn(i,e,t,s,n){let o,a,r,l;if(e.spanGaps&&(i=i.filter(c=>!c.skip)),e.cubicInterpolationMode===`monotone`)Na$1(i,n);else{let c=s?i[i.length-1]:i[0];for(o=0,a=i.length;o<a;++o)r=i[o],l=Ba(c,r,i[Math.min(o+1,a-(s?0:1))%a],e.tension),r.cp1x=l.previous.x,r.cp1y=l.previous.y,r.cp2x=l.next.x,r.cp2y=l.next.y,c=r}e.capBezierPoints&&Ha(i,t)}function Xe(){return typeof window<`u`&&typeof document<`u`}function Ke(i){let e=i.parentNode;return e&&e.toString()===`[object ShadowRoot]`&&(e=e.host),e}function Be(i,e,t){let s;return typeof i==`string`?(s=parseInt(i,10),i.indexOf(`%`)!==-1&&(s=s/100*e.parentNode[t])):s=i,s}var qe=i=>i.ownerDocument.defaultView.getComputedStyle(i,null);function ja(i,e){return qe(i).getPropertyValue(e)}var Ya=[`top`,`right`,`bottom`,`left`];function Rt$1(i,e,t){let s={};t=t?`-`+t:``;for(let n=0;n<4;n++){let o=Ya[n];s[o]=parseFloat(i[e+`-`+o+t])||0}return s.width=s.left+s.right,s.height=s.top+s.bottom,s}var $a=(i,e,t)=>(i>0||e>0)&&(!t||!t.shadowRoot);function Ua(i,e){let t=i.touches,s=t&&t.length?t[0]:i,{offsetX:n,offsetY:o}=s,a=!1,r,l;if($a(n,o,i.target))r=n,l=o;else{let c=e.getBoundingClientRect();r=s.clientX-c.left,l=s.clientY-c.top,a=!0}return{x:r,y:l,box:a}}function Ct$3(i,e){if(`native`in i)return i;let{canvas:t,currentDevicePixelRatio:s}=e,n=qe(t),o=n.boxSizing===`border-box`,a=Rt$1(n,`padding`),r=Rt$1(n,`border`,`width`),{x:l,y:c,box:h}=Ua(i,t),d=a.left+(h&&r.left),u=a.top+(h&&r.top),{width:f,height:g}=e;return o&&(f-=a.width+r.width,g-=a.height+r.height),{x:Math.round((l-d)/f*t.
vendor: 7,709 bytes, line 1
1width/s),y:Math.round((c-u)/g*t.height/s)}}function Xa(i,e,t){let s,n;if(e===void 0||t===void 0){let o=i&&Ke(i);if(!o)e=i.clientWidth,t=i.clientHeight;else{let a=o.getBoundingClientRect(),r=qe(o),l=Rt$1(r,`border`,`width`),c=Rt$1(r,`padding`);e=a.width-c.width-l.width,t=a.height-c.height-l.height,s=Be(r.maxWidth,o,`clientWidth`),n=Be(r.maxHeight,o,`clientHeight`)}}return{width:e,height:t,maxWidth:s||Fe,maxHeight:n||Fe}}var Mt$2=i=>Math.round(i*10)/10;function hn$1(i,e,t,s){let n=qe(i),o=Rt$1(n,`margin`),a=Be(n.maxWidth,i,`clientWidth`)||Fe,r=Be(n.maxHeight,i,`clientHeight`)||Fe,l=Xa(i,e,t),{width:c,height:h}=l;if(n.boxSizing===`content-box`){let u=Rt$1(n,`border`,`width`),f=Rt$1(n,`padding`);c-=f.width+u.width,h-=f.height+u.height}return c=Math.max(0,c-o.width),h=Math.max(0,s?c/s:h-o.height),c=Mt$2(Math.min(c,a,l.maxWidth)),h=Mt$2(Math.min(h,r,l.maxHeight)),c&&!h&&(h=Mt$2(c/2)),(e!==void 0||t!==void 0)&&s&&l.height&&h>l.height&&(h=l.height,c=Mt$2(Math.floor(h*s))),{width:c,height:h}}function Hi(i,e,t){let s=e||1,n=Mt$2(i.height*s),o=Mt$2(i.width*s);i.height=Mt$2(i.height),i.width=Mt$2(i.width);let a=i.canvas;return a.style&&(t||!a.style.height&&!a.style.width)&&(a.style.height=`${i.height}px`,a.style.width=`${i.width}px`),i.currentDevicePixelRatio!==s||a.height!==n||a.width!==o?(i.currentDevicePixelRatio=s,a.height=n,a.width=o,i.ctx.setTransform(s,0,0,s,0,0),!0):!1}var dn$2=(function(){let i=!1;try{let e={get passive(){return i=!0,!1}};Xe()&&(window.addEventListener(`test`,null,e),window.removeEventListener(`test`,null,e))}catch{}return i})();function ji$1(i,e){let t=ja(i,e),s=t&&t.match(/^(\d+)(\.\d+)?px$/);return s?+s[1]:void 0}function vt$2(i,e,t,s){return{x:i.x+t*(e.x-i.x),y:i.y+t*(e.y-i.y)}}function un$1(i,e,t,s){return{x:i.x+t*(e.x-i.x),y:s===`middle`?t<.5?i.y:e.y:s===`after`?t<1?i.y:e.y:t>0?e.y:i.y}}function fn$1(i,e,t,s){let n={x:i.cp2x,y:i.cp2y},o={x:e.cp1x,y:e.cp1y},a=vt$2(i,n,t),r=vt$2(n,o,t),l=vt$2(o,e,t);return vt$2(vt$2(a,r,t),vt$2(r,l,t),t)}var Ka=function(i,e){return{x(t){return i+i+e-t},setWidth(t){e=t},textAlign(t){return t===`center`?t:t===`right`?`left`:`right`},xPlus(t,s){return t-s},leftForLtr(t,s){return t-s}}};var qa=function(){return{x(i){return i},setWidth(i){},textAlign(i){return i},xPlus(i,e){return i+e},leftForLtr(i,e){return i}}};function Ft$1(i,e,t){return i?Ka(e,t):qa()}function Yi$1(i,e){let t,s;(e===`ltr`||e===`rtl`)&&(t=i.canvas.style,s=[t.getPropertyValue(`direction`),t.getPropertyPriority(`direction`)],t.setProperty(`direction`,e,`important`),i.prevTextDirection=s)}function $i(i,e){e!==void 0&&(delete i.prevTextDirection,i.canvas.style.setProperty(`direction`,e[0],e[1]))}function gn$1(i){return i===`angle`?{between:qt$2,compare:ua$1,normalize:U$2}:{between:lt$2,compare:(e,t)=>e-t,normalize:e=>e}}function zs({start:i,end:e,count:t,loop:s,style:n}){return{start:i%t,end:e%t,loop:s&&(e-i+1)%t===0,style:n}}function Ga(i,e,t){let{property:s,start:n,end:o}=t,{between:a,normalize:r}=gn$1(s),l=e.length,{start:c,end:h,loop:d}=i,u,f;if(d){for(c+=l,h+=l,u=0,f=l;u<f&&a(r(e[c%l][s]),n,o);++u)c--,h--;c%=l,h%=l}return h<c&&(h+=l),{start:c,end:h,loop:d,style:i.style}}function Ui$1(i,e,t){if(!t)return[i];let{property:s,start:n,end:o}=t,a=e.length,{compare:r,between:l,normalize:c}=gn$1(s),{start:h,end:d,loop:u,style:f}=Ga(i,e,t),g=[],p=!1,m=null,x,b,y,M=()=>l(n,y,x)&&r(n,y)!==0,_=()=>r(o,x)===0||l(o,y,x),v=()=>p||M(),k=()=>!p||_();for(let S=h,w=h;S<=d;++S)b=e[S%a],!b.skip&&(x=c(b[s]),x!==y&&(p=l(x,n,o),m===null&&v()&&(m=r(x,n)===0?S:w),m!==null&&k()&&(g.push(zs({start:m,end:S,loop:u,count:a,style:f})),m=null),w=S,y=x));return m!==null&&g.push(zs({start:m,end:d,loop:u,count:a,style:f})),g}function Xi(i,e){let t=[],s=i.segments;for(let n=0;n<s.length;n++){let o=Ui$1(s[n],i.points,e);o.length&&t.push(...o)}return t}function Ja(i,e,t,s){let n=0,o=e-1;if(t&&!s)for(;n<e&&!i[n].skip;)n++;for(;n<e&&i[n].skip;)n++;for(n%=e,t&&(o+=n);o>n&&i[o%e].skip;)o--;return o%=e,{start:n,end:o}}function Za(i,e,t,s){let n=i.length,o=[],a=e,r=i[e],l;for(l=e+1;l<=t;++l){let c=i[l%n];c.skip||c.stop?r.skip||(s=!1,o.push({start:e%n,end:(l-1)%n,loop:s}),e=a=c.stop?l:null):(a=l,r.skip&&(e=l)),r=c}return a!==null&&o.push({start:e%n,end:a%n,loop:s}),o}function pn$1(i,e){let t=i.points,s=i.options.spanGaps,n=t.length;if(!n)return[];let o=!!i._loop,{start:a,end:r}=Ja(t,n,o,s);if(s===!0)return Bs(i,[{start:a,end:r,loop:o}],t,e);return Bs(i,Za(t,a,r<a?r+n:r,!!i._fullLoop&&a===0&&r===n-1),t,e)}function Bs(i,e,t,s){return!s||!s.setContext||!t?e:Qa(i,e,t,s)}function Qa(i,e,t,s){let n=i._chart.getContext(),o=Vs(i.options),{_datasetIndex:a,options:{spanGaps:r}}=i,l=t.length,c=[],h=o,d=e[0].start,u=d;function f(g,p,m,x){let b=r?-1:1;if(g!==p){for(g+=l;t[g%l].skip;)g-=b;for(;t[p%l].skip;)p+=b;g%l!==p%l&&(c.push({start:g%l,end:p%l,loop:m,style:x}),h=x,d=p%l)}}for(let g of e){d=r?d:g.start;let p=t[d%l],m;for(u=d+1;u<=g.end;u++){let x=t[u%l];m=Vs(s.setContext(pt$1(n,{type:`segment`,p0:p,p1:x,p0DataIndex:(u-1)%l,p1DataIndex:u%l,datasetIndex:a}))),tr$1(m,h)&&f(d,u-1,g.loop,h),p=x,h=m}d<u-1&&f(d,u-1,g.loop,h)}return c}function Vs(i){return{backgroundColor:i.backgroundColor,borderCapStyle:i.borderCapStyle,borderDash:i.borderDash,borderDashOffset:i.borderDashOffset,borderJoinStyle:i.borderJoinStyle,borderWidth:i.borderWidth,borderColor:i.borderColor}}function tr$1(i,e){if(!e)return!1;let t=[],s=function(n,o){return Ri$1(o)?(t.includes(o)||t.push(o),t.indexOf(o)):o};return JSON.stringify(i,s)!==JSON.stringify(e,s)}function Ee$2(i,e,t){return i.options.clip?i[t]:e[t]}function er(i,e){let{xScale:t,yScale:s}=i;return t&&s?{left:Ee$2(t,e,`left`),right:Ee$2(t,e,`right`),top:Ee$2(s,e,`top`),bottom:Ee$2(s,e,`bottom`)}:e}function Ki(i,e){let t=e._clip;if(t.disabled)return!1;let s=er(e,i.chartArea);return{left:t.left===!1?0:s.left-(t.left===!0?0:t.left),right:t.right===!1?i.width:s.right+(t.right===!0?0:t.right),top:t.top===!1?0:s.top-(t.top===!0?0:t.top),bottom:t.bottom===!1?i.height:s.bottom+(t.bottom===!0?0:t.bottom)}}var as=class{constructor(){this._request=null,this._charts=new Map,this._running=!1,this._lastDate=void 0}_notify(e,t,s,n){let o=t.listeners[n],a=t.duration;o.forEach(r=>r({chart:e,initial:t.initial,numSteps:a,currentStep:Math.min(s-t.start,a)}))}_refresh(){this._request||(this._running=!0,this._request=Oi$1.call(window,()=>{this._update(),this._request=null,this._running&&this._refresh()}))}_update(e=Date.now()){let t=0;this._charts.forEach((s,n)=>{if(!s.running||!s.items.length)return;let o=s.items,a=o.length-1,r=!1,l;for(;a>=0;--a)l=o[a],l._active?(l._total>s.duration&&(s.duration=l._total),l.tick(e),r=!0):(o[a]=o[o.length-1],o.pop());r&&(n.draw(),this._notify(n,s,e,`progress`)),o.length||(s.running=!1,this._notify(n,s,e,`complete`),s.initial=!1),t+=o.length}),this._lastDate=e,t===0&&(this._running=!1)}_getAnims(e){let t=this._charts,s=t.get(e);return s||(s={running:!1,initial:!0,items:[],listeners:{complete:[],progress:[]}},t.set(e,s)),s}listen(e,t,s){this._getAnims(e).listeners[t].push(s)}add(e,t){!t||!t.length||this._getAnims(e).items.push(...t)}has(e){return this._getAnims(e).items.length>0}start(e){let t=this._charts.get(e);t&&(t.running=!0,t.start=Date.now(),t.duration=t.items.reduce((s,n)=>Math.max(s,n._duration),0),this._refresh())}running(e){if(!this._running)return!1;let t=this._charts.get(e);return!(!t||!t.running||!t.items.length)}stop(e){let t=this._charts.get(e);if(!t||!t.items.length)return;let s=t.items,n=s.length-1;for(;n>=0;--n)s[n].cancel();t.items=[],this._notify(e,t,Date.now(),`complete`)}remove(e){return this._charts.delete(e)}};var mt$3=new as;var mn$1=`transparent`;var ir={boolean(i,e,t){return t>.5?e:i},color(i,e,t){let s=Ei$1(i||mn$1),n=s.valid&&Ei$1(e||mn$1);
vendor: 9,692 bytes, line 1
1return n&&n.valid?n.mix(s,t).hexString():e},number(i,e,t){return i+(e-i)*t}};var rs=class{constructor(e,t,s,n){let o=t[s];n=Zt$2([e.to,n,o,e.from]);let a=Zt$2([e.from,o,n]);this._active=!0,this._fn=e.fn||ir[e.type||typeof a],this._easing=jt$1[e.easing]||jt$1.linear,this._start=Math.floor(Date.now()+(e.delay||0)),this._duration=this._total=Math.floor(e.duration),this._loop=!!e.loop,this._target=t,this._prop=s,this._from=a,this._to=n,this._promises=void 0}active(){return this._active}update(e,t,s){if(this._active){this._notify(!1);let n=this._target[this._prop],o=s-this._start,a=this._duration-o;this._start=s,this._duration=Math.floor(Math.max(a,e.duration)),this._total+=o,this._loop=!!e.loop,this._to=Zt$2([e.to,t,n,e.from]),this._from=Zt$2([e.from,n,t])}}cancel(){this._active&&(this.tick(Date.now()),this._active=!1,this._notify(!1))}tick(e){let t=e-this._start,s=this._duration,n=this._prop,o=this._from,a=this._loop,r=this._to,l;if(this._active=o!==r&&(a||t<s),!this._active){this._target[n]=r,this._notify(!0);return}if(t<0){this._target[n]=o;return}l=t/s%2,l=a&&l>1?2-l:l,l=this._easing(Math.min(1,Math.max(0,l))),this._target[n]=this._fn(o,r,l)}wait(){let e=this._promises||(this._promises=[]);return new Promise((t,s)=>{e.push({res:t,rej:s})})}_notify(e){let t=e?`res`:`rej`,s=this._promises||[];for(let n=0;n<s.length;n++)s[n][t]()}};var ni=class{constructor(e,t){this._chart=e,this._properties=new Map,this.configure(t)}configure(e){if(!A$8(e))return;let t=Object.keys(B$3.animation),s=this._properties;Object.getOwnPropertyNames(e).forEach(n=>{let o=e[n];if(!A$8(o))return;let a={};for(let r of t)a[r]=o[r];(F$5(o.properties)&&o.properties||[n]).forEach(r=>{(r===n||!s.has(r))&&s.set(r,a)})})}_animateOptions(e,t){let s=t.options,n=nr(e,s);if(!n)return[];let o=this._createAnimations(n,s);return s.$shared&&sr(e.options.$animations,s).then(()=>{e.options=s},()=>{}),o}_createAnimations(e,t){let s=this._properties,n=[],o=e.$animations||(e.$animations={}),a=Object.keys(t),r=Date.now(),l;for(l=a.length-1;l>=0;--l){let c=a[l];if(c.charAt(0)===`$`)continue;if(c===`options`){n.push(...this._animateOptions(e,t));continue}let h=t[c],d=o[c],u=s.get(c);if(d)if(u&&d.active()){d.update(u,h,r);continue}else d.cancel();if(!u||!u.duration){e[c]=h;continue}o[c]=d=new rs(u,e,c,h),n.push(d)}return n}update(e,t){if(this._properties.size===0){Object.assign(e,t);return}let s=this._createAnimations(e,t);if(s.length)return mt$3.add(this._chart,s),!0}};function sr(i,e){let t=[],s=Object.keys(e);for(let n=0;n<s.length;n++){let o=i[s[n]];o&&o.active()&&t.push(o.wait())}return Promise.all(t)}function nr(i,e){if(!e)return;let t=i.options;if(!t){i.options=e;return}return t.$shared&&(i.options=t=Object.assign({},t,{$shared:!1,$animations:{}})),t}function bn(i,e){let t=i&&i.options||{},s=t.reverse,n=t.min===void 0?e:0,o=t.max===void 0?e:0;return{start:s?o:n,end:s?n:o}}function or(i,e,t){if(t===!1)return!1;let s=bn(i,t),n=bn(e,t);return{top:n.end,right:s.end,bottom:n.start,left:s.start}}function ar(i){let e,t,s,n;return A$8(i)?(e=i.top,t=i.right,s=i.bottom,n=i.left):e=t=s=n=i,{top:e,right:t,bottom:s,left:n,disabled:i===!1}}function bo$1(i,e){let t=[],s=i._getSortedDatasetMetas(e),n,o;for(n=0,o=s.length;n<o;++n)t.push(s[n].index);return t}function xn(i,e,t,s={}){let n=i.keys,o=s.mode===`single`,a,r,l,c;if(e===null)return;let h=!1;for(a=0,r=n.length;a<r;++a){if(l=+n[a],l===t){if(h=!0,s.all)continue;break}c=i.values[l],W$2(c)&&(o||e===0||nt$1(e)===nt$1(c))&&(e+=c)}return!h&&!s.all?0:e}function rr(i,e){let{iScale:t,vScale:s}=e,n=t.axis===`x`?`x`:`y`,o=s.axis===`x`?`x`:`y`,a=Object.keys(i),r=new Array(a.length),l,c,h;for(l=0,c=a.length;l<c;++l)h=a[l],r[l]={[n]:h,[o]:i[h]};return r}function qi(i,e){let t=i&&i.options.stacked;return t||t===void 0&&e.stack!==void 0}function lr(i,e,t){return`${i.id}.${e.id}.${t.stack||t.type}`}function cr(i){let{min:e,max:t,minDefined:s,maxDefined:n}=i.getUserBounds();return{min:s?e:Number.NEGATIVE_INFINITY,max:n?t:Number.POSITIVE_INFINITY}}function hr(i,e,t){let s=i[e]||(i[e]={});return s[t]||(s[t]={})}function _n$1(i,e,t,s){for(let n of e.getMatchingVisibleMetas(s).reverse()){let o=i[n.index];if(t&&o>0||!t&&o<0)return n.index}return null}function yn(i,e){let{chart:t,_cachedMeta:s}=i,n=t._stacks||(t._stacks={}),{iScale:o,vScale:a,index:r}=s,l=o.axis,c=a.axis,h=lr(o,a,s),d=e.length,u;for(let f=0;f<d;++f){let g=e[f],{[l]:p,[c]:m}=g,x=g._stacks||(g._stacks={});u=x[c]=hr(n,h,p),u[r]=m,u._top=_n$1(u,a,!0,s.type),u._bottom=_n$1(u,a,!1,s.type);let b=u._visualValues||(u._visualValues={});b[r]=m}}function Gi(i,e){let t=i.scales;return Object.keys(t).filter(s=>t[s].axis===e).shift()}function dr(i,e){return pt$1(i,{active:!1,dataset:void 0,datasetIndex:e,index:e,mode:`default`,type:`dataset`})}function ur(i,e,t){return pt$1(i,{active:!1,dataIndex:e,parsed:void 0,raw:void 0,element:t,index:e,mode:`default`,type:`data`})}function ge$4(i,e){let t=i.controller.index,s=i.vScale&&i.vScale.axis;if(s){e=e||i._parsed;for(let n of e){let o=n._stacks;if(!o||o[s]===void 0||o[s][t]===void 0)return;delete o[s][t],o[s]._visualValues!==void 0&&o[s]._visualValues[t]!==void 0&&delete o[s]._visualValues[t]}}}var Ji$1=i=>i===`reset`||i===`none`;var vn=(i,e)=>e?i:Object.assign({},i);var fr=(i,e,t)=>i&&!e.hidden&&e._stacked&&{keys:bo$1(t,!0),values:null};var Ot$1=(()=>{class i{static defaults={};static datasetElementType=null;static dataElementType=null;constructor(t,s){this.chart=t,this._ctx=t.ctx,this.index=s,this._cachedDataOpts={},this._cachedMeta=this.getMeta(),this._type=this._cachedMeta.type,this.options=void 0,this._parsing=!1,this._data=void 0,this._objectData=void 0,this._sharedOptions=void 0,this._drawStart=void 0,this._drawCount=void 0,this.enableOptionSharing=!1,this.supportsDecimation=!1,this.$context=void 0,this._syncList=[],this.datasetElementType=new.target.datasetElementType,this.dataElementType=new.target.dataElementType,this.initialize()}initialize(){let t=this._cachedMeta;this.configure(),this.linkScales(),t._stacked=qi(t.vScale,t),this.addElements(),this.options.fill&&!this.chart.isPluginEnabled(`filler`)&&console.warn(`Tried to use the 'fill' option without the 'Filler' plugin enabled. Please import and register the 'Filler' plugin and make sure it is not disabled in the options`)}updateIndex(t){this.index!==t&&ge$4(this._cachedMeta),this.index=t}linkScales(){let t=this.chart,s=this._cachedMeta,n=this.getDataset(),o=(u,f,g,p)=>u===`x`?f:u===`r`?p:g,a=s.xAxisID=P$5(n.xAxisID,Gi(t,`x`)),r=s.yAxisID=P$5(n.yAxisID,Gi(t,`y`)),l=s.rAxisID=P$5(n.rAxisID,Gi(t,`r`)),c=s.indexAxis,h=s.iAxisID=o(c,a,r,l),d=s.vAxisID=o(c,r,a,l);s.xScale=this.getScaleForId(a),s.yScale=this.getScaleForId(r),s.rScale=this.getScaleForId(l),s.iScale=this.getScaleForId(h),s.vScale=this.getScaleForId(d)}getDataset(){return this.chart.data.datasets[this.index]}getMeta(){return this.chart.getDatasetMeta(this.index)}getScaleForId(t){return this.chart.scales[t]}_getOtherScale(t){let s=this._cachedMeta;return t===s.iScale?s.vScale:s.iScale}reset(){this._update(`reset`)}_destroy(){let t=this._cachedMeta;this._data&&Ci(this._data,this),t._stacked&&ge$4(t)}_dataCheck(){let t=this.getDataset(),s=t.data||(t.data=[]),n=this._data;if(A$8(s)){let o=this._cachedMeta;this._data=rr(s,o)}else if(n!==s){if(n){Ci(n,this);let o=this._cachedMeta;ge$4(o),o._parsed=[]}s&&Object.isExtensible(s)&&Gs(s,this),this._syncList=[],this._data=s}}addElements(){let t=this._cachedMeta;this._dataCheck(),this.datasetElementType&&(t.dataset=new this.datasetElementType)}buildOrUpdateElements(t){let s=this._cachedMeta,n=this.getDataset(),o=!1;this._dataCheck();let a=s._stacked;s._stacked=qi(s.vScale,s),s.stack!==n.stack&&(o=!0,ge$4(s),s.stack=n.stack),this._resyncElements(t),(o||a!==s._stacked)&&(yn(this,s._parsed),s._stacked=qi(s.vScale,s))}configure(){let t=this.chart.config,s=t.datasetScopeKeys(this._type),n=t.getOptionScopes(this.getDataset(),s,!0);this.options=t.createResolver(n,this.getContext()),this._parsing=this.options.parsing,this._cachedDataOpts={}}parse(t,s){let{_cachedMeta:n,_data:o}=this,{iScale:a,_stacked:r}=n,l=a.axis,c=t===0&&s===o.length?!0:n._sorted,h=t>0&&n._parsed[t-1],d,u,f;if(this._parsing===!1)n._parsed=o,n._sorted=!0,f=o;else{F$5(o[t])?f=this.parseArrayData(n,o,t,s):A$8(o[t])?f=this.parseObjectData(n,o,t,s):f=this.parsePrimitiveData(n,o,t,s);let g=()=>u[l]===null||h&&u[l]<h[l];for(d=0;d<s;++d)n._parsed[d+t]=u=f[d],c&&(g()&&(c=!1),h=u);n._sorted=c}r&&yn(this,f)}parsePrimitiveData(t,s,n,o){let{iScale:a,vScale:r}=t,l=a.axis,c=r.axis,h=a.getLabels(),d=a===r,u=new Array(o),f,g,p;for(f=0,g=o;f<g;++f)p=f+n,u[f]={[l]:d||a.parse(h[p],p),[c]:r.parse(s[p],p)};return u}parseArrayData(t,s,n,o){let{xScale:a,yScale:r}=t,l=new Array(o),c,h,d,u;for(c=0,h=o;c<h;++c)d=c+n,u=s[d],l[c]={x:a.parse(u[0],d),y:r.parse(u[1],d)};return l}parseObjectData(t,s,n,o){let{xScale:a,yScale:r}=t,{xAxisKey:l=`x`,yAxisKey:c=`y`}=this._parsing,h=new Array(o),d,u,f,g;for(d=0,u=o;d<u;++d)f=d+n,g=s[f],h[d]={x:a.parse(gt$2(g,l),f),y:r.parse(gt$2(g,c),f)};return h}getParsed(t){return this._cachedMeta._parsed[t]}getDataElement(t){return this._cachedMeta.data[t]}applyStack(t,s,n){let o=this.chart,a=this._cachedMeta,r=s[t.axis];return xn({keys:bo$1(o,!0),values:s._stacks[t.axis]._visualValues},r,a.index,{mode:n})}updateRangeFromParsed(t,s,n,o){let a=n[s.axis],r=a===null?NaN:a,l=o&&n._stacks[s.axis];o&&l&&(o.values=l,r=xn(o,a,this._cachedMeta.index)),t.min=Math.min(t.min,r),t.max=Math.max(t.max,r)}getMinMax(t,s){let n=this._cachedMeta,o=n._parsed,a=n._sorted&&t===n.iScale,r=o.length,l=this._getOtherScale(t),c=fr(s,n,this.chart),h={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY},{min:d,max:u}=cr(l),f,g;function p(){g=o[f];
vendor: 6,158 bytes, line 1
1let m=g[l.axis];return!W$2(g[t.axis])||d>m||u<m}for(f=0;f<r&&!(!p()&&(this.updateRangeFromParsed(h,t,g,c),a));++f);if(a){for(f=r-1;f>=0;--f)if(!p()){this.updateRangeFromParsed(h,t,g,c);break}}return h}getAllParsedValues(t){let s=this._cachedMeta._parsed,n=[],o,a,r;for(o=0,a=s.length;o<a;++o)r=s[o][t.axis],W$2(r)&&n.push(r);return n}getMaxOverflow(){return!1}getLabelAndValue(t){let s=this._cachedMeta,n=s.iScale,o=s.vScale,a=this.getParsed(t);return{label:n?``+n.getLabelForValue(a[n.axis]):``,value:o?``+o.getLabelForValue(a[o.axis]):``}}_update(t){let s=this._cachedMeta;this.update(t||`default`),s._clip=ar(P$5(this.options.clip,or(s.xScale,s.yScale,this.getMaxOverflow())))}update(t){}draw(){let t=this._ctx,s=this.chart,n=this._cachedMeta,o=n.data||[],a=s.chartArea,r=[],l=this._drawStart||0,c=this._drawCount||o.length-l,h=this.options.drawActiveElementsOnTop,d;for(n.dataset&&n.dataset.draw(t,a,l,c),d=l;d<l+c;++d){let u=o[d];u.hidden||(u.active&&h?r.push(u):u.draw(t,a))}for(d=0;d<r.length;++d)r[d].draw(t,a)}getStyle(t,s){let n=s?`active`:`default`;return t===void 0&&this._cachedMeta.dataset?this.resolveDatasetElementOptions(n):this.resolveDataElementOptions(t||0,n)}getContext(t,s,n){let o=this.getDataset(),a;if(t>=0&&t<this._cachedMeta.data.length){let r=this._cachedMeta.data[t];a=r.$context||(r.$context=ur(this.getContext(),t,r)),a.parsed=this.getParsed(t),a.raw=o.data[t],a.index=a.dataIndex=t}else a=this.$context||(this.$context=dr(this.chart.getContext(),this.index)),a.dataset=o,a.index=a.datasetIndex=this.index;return a.active=!!s,a.mode=n,a}resolveDatasetElementOptions(t){return this._resolveElementOptions(this.datasetElementType.id,t)}resolveDataElementOptions(t,s){return this._resolveElementOptions(this.dataElementType.id,s,t)}_resolveElementOptions(t,s=`default`,n){let o=s===`active`,a=this._cachedDataOpts,r=t+`-`+s,l=a[r],c=this.enableOptionSharing&&Xt$1(n);if(l)return vn(l,c);let h=this.chart.config,d=h.datasetElementScopeKeys(this._type,t),u=o?[`${t}Hover`,`hover`,t,``]:[t,``],f=h.getOptionScopes(this.getDataset(),d),g=Object.keys(B$3.elements[t]),p=()=>this.getContext(n,o,s),m=h.resolveNamedOptions(f,g,p,u);return m.$shared&&(m.$shared=c,a[r]=Object.freeze(vn(m,c))),m}_resolveAnimations(t,s,n){let o=this.chart,a=this._cachedDataOpts,r=`animation-${s}`,l=a[r];if(l)return l;let c;if(o.options.animation!==!1){let d=this.chart.config,u=d.datasetAnimationScopeKeys(this._type,s),f=d.getOptionScopes(this.getDataset(),u);c=d.createResolver(f,this.getContext(t,n,s))}let h=new ni(o,c&&c.animations);return c&&c._cacheable&&(a[r]=Object.freeze(h)),h}getSharedOptions(t){if(t.$shared)return this._sharedOptions||(this._sharedOptions=Object.assign({},t))}includeOptions(t,s){return!s||Ji$1(t)||this.chart._animationsDisabled}_getSharedOptions(t,s){let n=this.resolveDataElementOptions(t,s),o=this._sharedOptions,a=this.getSharedOptions(n),r=this.includeOptions(s,a)||a!==o;return this.updateSharedOptions(a,s,n),{sharedOptions:a,includeOptions:r}}updateElement(t,s,n,o){Ji$1(o)?Object.assign(t,n):this._resolveAnimations(s,o).update(t,n)}updateSharedOptions(t,s,n){t&&!Ji$1(s)&&this._resolveAnimations(void 0,s).update(t,n)}_setStyle(t,s,n,o){t.active=o;let a=this.getStyle(s,o);this._resolveAnimations(s,n,o).update(t,{options:!o&&this.getSharedOptions(a)||a})}removeHoverStyle(t,s,n){this._setStyle(t,n,`active`,!1)}setHoverStyle(t,s,n){this._setStyle(t,n,`active`,!0)}_removeDatasetHoverStyle(){let t=this._cachedMeta.dataset;t&&this._setStyle(t,void 0,`active`,!1)}_setDatasetHoverStyle(){let t=this._cachedMeta.dataset;t&&this._setStyle(t,void 0,`active`,!0)}_resyncElements(t){let s=this._data,n=this._cachedMeta.data;for(let[l,c,h]of this._syncList)this[l](c,h);this._syncList=[];let o=n.length,a=s.length,r=Math.min(a,o);r&&this.parse(0,r),a>o?this._insertElements(o,a-o,t):a<o&&this._removeElements(a,o-a)}_insertElements(t,s,n=!0){let o=this._cachedMeta,a=o.data,r=t+s,l,c=h=>{for(h.length+=s,l=h.length-1;l>=r;l--)h[l]=h[l-s]};for(c(a),l=t;l<r;++l)a[l]=new this.dataElementType;this._parsing&&c(o._parsed),this.parse(t,s),n&&this.updateElements(a,t,s,`reset`)}updateElements(t,s,n,o){}_removeElements(t,s){let n=this._cachedMeta;if(this._parsing){let o=n._parsed.splice(t,s);n._stacked&&ge$4(n,o)}n.data.splice(t,s)}_sync(t){if(this._parsing)this._syncList.push(t);else{let[s,n,o]=t;this[s](n,o)}this.chart._dataChanges.push([this.index,...t])}_onDataPush(){let t=arguments.length;this._sync([`_insertElements`,this.getDataset().data.length-t,t])}_onDataPop(){this._sync([`_removeElements`,this._cachedMeta.data.length-1,1])}_onDataShift(){this._sync([`_removeElements`,0,1])}_onDataSplice(t,s){s&&this._sync([`_removeElements`,t,s]);let n=arguments.length-2;n&&this._sync([`_insertElements`,t,n])}_onDataUnshift(){this._sync([`_insertElements`,0,arguments.length])}}return i})();function gr(i,e){if(!i._cache.$bar){let t=i.getMatchingVisibleMetas(e),s=[];for(let n=0,o=t.length;n<o;n++)s=s.concat(t[n].controller.getAllParsedValues(i));i._cache.$bar=Di$1(s.sort((n,o)=>n-o))}return i._cache.$bar}function pr(i){let e=i.iScale,t=gr(e,i.type),s=e._length,n,o,a,r,l=()=>{a===32767||a===-32768||(Xt$1(r)&&(s=Math.min(s,Math.abs(a-r)||s)),r=a)};for(n=0,o=t.length;n<o;++n)a=e.getPixelForValue(t[n]),l();for(r=void 0,n=0,o=e.ticks.length;n<o;++n)a=e.getPixelForTick(n),l();return s}function mr(i,e,t,s){let n=t.barThickness,o,a;return O$6(n)?(o=e.min*t.categoryPercentage,a=t.barPercentage):(o=n*s,a=1),{chunk:o/s,ratio:a,start:e.pixels[i]-o/2}}function br(i,e,t,s){let n=e.pixels,o=n[i],a=i>0?n[i-1]:null,r=i<n.length-1?n[i+1]:null,l=t.categoryPercentage;a===null&&(a=o-(r===null?e.end-e.start:r-o)),r===null&&(r=o+o-a);let c=o-(o-Math.min(a,r))/2*l;return{chunk:Math.abs(r-a)/2*l/s,ratio:t.barPercentage,start:c}}function xr(i,e,t,s){let n=t.parse(i[0],s),o=t.parse(i[1],s),a=Math.min(n,o),r=Math.max(n,o),l=a,c=r;Math.abs(a)>Math.abs(r)&&(l=r,c=a),e[t.axis]=c,e._custom={barStart:l,barEnd:c,start:n,end:o,min:a,max:r}}function xo(i,e,t,s){return F$5(i)?xr(i,e,t,s):e[t.axis]=t.parse(i,s),e}function Mn$2(i,e,t,s){let n=i.iScale,o=i.vScale,a=n.getLabels(),r=n===o,l=[],c,h,d,u;for(c=t,h=t+s;c<h;++c)u=e[c],d={}
1,d[n.axis]=r||n.parse(a[c],c),l.push(xo(u,d,o,c));return l}function Zi(i){return i&&i.barStart!==void 0&&i.barEnd!==void 0}function _r(i,e,t){return i!==0?nt$1(i):(e.isHorizontal()?1:-1)*(e.min>=t?1:-1)}function yr(i){let e,t,s,n,o;return i.horizontal?(e=i.base>i.x,t=`left`,s=`right`):(e=i.base<i.y,t=`bottom`,s=`top`),e?(n=`end`,o=`start`):(n=`start`,o=`end`),{start:t,end:s,reverse:e,top:n,bottom:o}}function vr(i,e,t,s){let n=e.borderSkipped,o={};if(!n){i.borderSkipped=o;return}if(n===!0){i.borderSkipped={top:!0,right:!0,bottom:!0,left:!0};return}let{start:a,end:r,reverse:l,top:c,bottom:h}=yr(i);n===`middle`&&t&&(i.enableBorderRadius=!0,(t._top||0)===s?n=c:(t._bottom||0)===s?n=h:(o[Sn(h,a,r,l)]=!0,n=c)),o[Sn(n,a,r,l)]=!0,i.borderSkipped=o}function Sn(i,e,t,s){return s?(i=Mr(i,e,t),i=kn(i,t,e)):i=kn(i,e,t),i}function Mr(i,e,t){return i===e?t:i===t?e:i}function kn(i,e,t){return i===`start`?e:i===`end`?t:i}function Sr(i,{inflateAmount:e},t){i.inflateAmount=e===`auto`?t===1?.33:0:e}var kr=(()=>{class i extends Ot$1{static id=`bar`;static defaults={datasetElementType:!1,dataElementType:`bar`,categoryPercentage:.8,barPercentage:.9,grouped:!0,animations:{numbers:{type:`number`,properties:[`x`,`y`,`base`,`width`,`height`]}}};static overrides={scales:{_index_:{type:`category`,offset:!0,grid:{offset:!0}},_value_:{type:`linear`,beginAtZero:!0}}};parsePrimitiveData(t,s,n,o){return Mn$2(t,s,n,o)}parseArrayData(t,s,n,o){return Mn$2(t,s,n,o)}parseObjectData(t,s,n,o){let{iScale:a,vScale:r}=t,{xAxisKey:l=`x`,yAxisKey:c=`y`}=this._parsing,h=a.axis===`x`?l:c,d=r.axis===`x`?l:c,u=[],f,g,p,m;for(f=n,g=n+o;f<g;++f)m=s[f],p={},p[a.axis]=a.parse(gt$2(m,h),f),u.push(xo(gt$2(m,d),p,r,f));return u}updateRangeFromParsed(t,s,n,o){super.updateRangeFromParsed(t,s,n,o);let a=n._custom;a&&s===this._cachedMeta.vScale&&(t.min=Math.min(t.min,a.min),t.max=Math.max(t.max,a.max))}getMaxOverflow(){return 0}getLabelAndValue(t){let{iScale:n,vScale:o}=this._cachedMeta,a=this.getParsed(t),r=a._custom,l=Zi(r)?`[`+r.start+`, `+r.end+`]`:``+o.getLabelForValue(a[o.axis]);return{label:``+n.getLabelForValue(a[n.axis]),value:l}}initialize(){this.enableOptionSharing=!0,super.initialize();let t=this._cachedMeta;t.stack=this.getDataset().stack}update(t){let s=this._cachedMeta;this.updateElements(s.data,0,s.data.length,t)}updateElements(t,s,n,o){let a=o===`reset`,{index:r,_cachedMeta:{vScale:l}}=this,c=l.getBasePixel(),h=l.isHorizontal(),d=this._getRuler(),{sharedOptions:u,includeOptions:f}=this._getSharedOptions(s,o);for(let g=s;g<s+n;g++){let p=this.getParsed(g),m=a||O$6(p[l.axis])?{base:c,head:c}:this._calculateBarValuePixels(g),x=this._calculateBarIndexPixels(g,d),b=(p._stacks||{})[l.axis],y={horizontal:h,base:m.base,enableBorderRadius:!b||Zi(p._custom)||r===b._top||r===b._bottom,x:h?m.head:x.center,y:h?x.center:m.head,height:h?x.size:Math.abs(m.size),width:h?Math.abs(m.size):x.size};f&&(y.options=u||this.resolveDataElementOptions(g,t[g].active?`active`:o));let M=y.options||t[g].options;vr(y,M,b,r),Sr(y,M,d.ratio),this.updateElement(t[g],g,y,o)}}_getStacks(t,s){let{iScale:n}=this._cachedMeta,o=n.getMatchingVisibleMetas(this._type).filter(d=>d.controller.options.grouped),a=n.options.stacked,r=[],l=this._cachedMeta.controller.getParsed(s),c=l&&l[n.axis],h=d=>{let u=d._parsed.find(g=>g[n.axis]===c),f=u&&u[d.vScale.axis];if(O$6(f)||isNaN(f))return!0};for(let d of o)if(!(s!==void 0&&h(d))&&((a===!1||r.indexOf(d.stack)===-1||a===void 0&&d.stack===void 0)&&r.push(d.stack),d.index===t))break;return r.length||r.push(void 0),r}_getStackCount(t){return this._getStacks(void 0,t).length}_getAxisCount(){return this._getAxis().length}getFirstScaleIdForIndexAxis(){let t=this.chart.scales,s=this.chart.options.indexAxis;return Object.keys(t).filter(n=>t[n].axis===s).shift()}_getAxis(){let t={},s=this.getFirstScaleIdForIndexAxis();for(let n of this.chart.data.datasets)t[P$5(this.chart.options.indexAxis===`x`?n.xAxisID:n.yAxisID,s)]=!0;return Object.keys(t)}_getStackIndex(t,s,n){let o=this._getStacks(t,n),a=s!==void 0?o.indexOf(s):-1;return a===-1?o.length-1:a}_getRuler(){let t=this.options,s=this._cachedMeta,n=s.iScale,o=[],a,r;for(a=0,r=s.data.length;a<r;++a)o.push(n.getPixelForValue(this.getParsed(a)[n.axis],a));let l=t.barThickness;return{min:l||pr(s),pixels:o,start:n._startPixel,end:n._endPixel,stackCount:this._getStackCount(),scale:n,grouped:t.grouped,ratio:l?1:t.categoryPercentage*t.barPercentage}}_calculateBarValuePixels(t){let{_cachedMeta:{vScale:s,_stacked:n,index:o},options:{base:a,minBarLength:r}}=this,l=a||0,c=this.getParsed(t),h=c._custom,d=Zi(h),u=c[s.axis],f=0,g=n?this.applyStack(s,c,n):u,p,m;g!==u&&(f=g-u,g=u),d&&(u=h.barStart,g=h.barEnd-h.barStart,u!==0&&nt$1(u)!==nt$1(h.barEnd)&&(f=0),f+=u);let x=!O$6(a)&&!d?a:f,b=s.getPixelForValue(x);if(this.chart.getDataVisibility(t)?p=s.getPixelForValue(f+g):p=b,m=p-b,Math.abs(m)<r){m=_r(m,s,l)*r,u===l&&(b-=m/2);let y=s.getPixelForDecimal(0),M=s.getPixelForDecimal(1);b=Math.max(Math.min(b,Math.max(y,M)),Math.min(y,M)),p=b+m,n&&!d&&(c._stacks[s.axis]._visualValues[o]=s.getValueForPixel(p)-s.getValueForPixel(b))}if(b===s.getPixelForValue(l)){let y=nt$1(m)*s.getLineWidthForValue(l)/2;b+=y,m-=y}return{size:m,base:b,head:p,center:p+m/2}}_calculateBarIndexPixels(t,s){let n=s.scale,o=this.options,a=o.skipNull,r=P$5(o.maxBarThickness,Infinity),l,c,h=this._getAxisCount();if(s.grouped){let d=a?this._getStackCount(t):s.stackCount,u=o.barThickness===`flex`?br(t,s,o,d*h):mr(t,s,o,d*h),f=this.chart.options.indexAxis===`x`?this.getDataset().xAxisID:this.getDataset().yAxisID,g=this._getAxis().indexOf(P$5(f,this.getFirstScaleIdForIndexAxis())),p=this._getStackIndex(this.index,this._cachedMeta.stack,a?t:void 0)+g;l=u.start+u.chunk*p+u.chunk/2,c=Math.min(r,u.chunk*u.ratio)}else l=n.getPixelForValue(this.getParsed(t)[n.axis],t),c=Math.min(r,s.min*s.ratio);return{base:l-c/2,head:l+c/2,center:l,size:c}}draw(){let t=this._cachedMeta,s=t.vScale,n=t.data,o=n.length,a=0;for(;a<o;++a)this.getParsed(a)[s.axis]!==null&&!n[a].hidden&&n[a].draw(this._ctx)}}return i})();var wr=(()=>{class i extends Ot$1{static id=`bubble`;static defaults={datasetElementType:!1,dataElementType:`point`,animations:{numbers:{type:`number`,properties:[`x`,`y`,`borderWidth`,`radius`]}}};static overrides={scales:{x:{type:`linear`},y:{type:`linear`}}};initialize(){this.enableOptionSharing=!0,super.initialize()}parsePrimitiveData(t,s,n,o){let a=super.parsePrimitiveData(t,s,n,o);for(let r=0;r<a.length;r++)a[r]._custom=this.resolveDataElementOptions(r+n).radius;return a}parseArrayData(t,s,n,o){let a=super.parseArrayData(t,s,n,o);for(let r=0;r<a.length;r++){let l=s[n+r];a[r]._custom=P$5(l[2],this.resolveDataElementOptions(r+n).radius)}return a}parseObjectData(t,s,n,o){let a=super.parseObjectData(t,s,n,o);for(let r=0;r<a.length;r++){let l=s[n+r];a[r]._custom=P$5(l&&l.r&&+l.r,this.resolveDataElementOptions(r+n).radius)}return a}getMaxOverflow(){let t=this._cachedMeta.data,s=0;for(let n=t.length-1;n>=0;--n)s=Math.max(s,t[n].size(this.resolveDataElementOptions(n))/2);return s>0&&s}getLabelAndValue(t){let s=this._cachedMeta,n=this.chart.data.labels||[],{xScale:o,yScale:a}=s,r=this.getParsed(t),l=o.getLabelForValue(r.x),c=a.getLabelForValue(r.y),h=r._custom;return{label:n[t]||``,value:`(`+l+`, `+c+(h?`, `+h:``)+`)`}}update(t){let s=this._cachedMeta.data;this.updateElements(s,0,s.length,t)}updateElements(t,s,n,o){let a=o===`reset`,{iScale:r,vScale:l}=this._cachedMeta,{sharedOptions:c,includeOptions:h}=this._getSharedOptions(s,o),d=r.axis,u=l.axis;for(let f=s;f<s+n;f++){let g=t[f],p=!a&&this.getParsed(f),m={},x=m[d]=a?r.getPixelForDecimal(.5):r.getPixelForValue(p[d]),b=m[u]=a?l.getBasePixel():l.getPixelForValue(p[u]);m.skip=isNaN(x)||isNaN(b),h&&(m.options=c||this.resolveDataElementOptions(f,g.active?`active`:o),a&&(m.options.radius=0)),this.updateElement(g,f,m,o)}}resolveDataElementOptions(t,s){let n=this.getParsed(t),o=super.resolveDataElementOptions(t,s);o.$shared&&(o=Object.assign({},o,{$shared:!1}));let a=o.radius;return s!==`active`&&(o.radius=0),o.radius+=P$5(n&&n._custom,a),o}}return i})();function Pr(i,e,t){let s=1,n=1,o=0,a=0;if(e<z$4){let r=i,l=r+e,c=Math.cos(r),h=Math.sin(r),d=Math.cos(l),u=Math.sin(l),f=(y,M,_)=>qt$2(y,r,l,!0)?1:Math.max(M,M*t,_,_*t),g=(y,M,_)=>qt$2(y,r,l,!0)?-1:Math.min(M,M*t,_,_*t),p=f(0,c,d),m=f(N$5,h,u),x=g(L$3,c,d),b=g(L$3+N$5,h,u);s=(p-x)/2,n=(m-b)/2,o=-(p+x)/2,a=-(m+b)/2}return{ratioX:s,ratioY:n,offsetX:o,offsetY:a}}var ve$4=class extends Ot$1{static id=`doughnut`;static defaults={datasetElementType:!1,dataElementType:`arc`,animation:{animateRotate:!0,animateScale:!1},animations:{numbers:{type:`number`,properties:[`circumference`,`endAngle`,`innerRadius`,`outerRadius`,`startAngle`,`x`,`y`,`offset`,`borderWidth`,`spacing`]}}
vendor: 3,574 bytes, line 1
1,cutout:`50%`,rotation:0,circumference:360,radius:`100%`,spacing:0,indexAxis:`r`};static descriptors={_scriptable:e=>e!==`spacing`,_indexable:e=>e!==`spacing`&&!e.startsWith(`borderDash`)&&!e.startsWith(`hoverBorderDash`)};static overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(e){let t=e.data,{labels:{pointStyle:s,textAlign:n,color:o,useBorderRadius:a,borderRadius:r}}=e.legend.options;return t.labels.length&&t.datasets.length?t.labels.map((l,c)=>{let d=e.getDatasetMeta(0).controller.getStyle(c);return{text:l,fillStyle:d.backgroundColor,fontColor:o,hidden:!e.getDataVisibility(c),lineDash:d.borderDash,lineDashOffset:d.borderDashOffset,lineJoin:d.borderJoinStyle,lineWidth:d.borderWidth,strokeStyle:d.borderColor,textAlign:n,pointStyle:s,borderRadius:a&&(r||d.borderRadius),index:c}}):[]}},onClick(e,t,s){s.chart.toggleDataVisibility(t.index),s.chart.update()}}}};constructor(e,t){super(e,t),this.enableOptionSharing=!0,this.innerRadius=void 0,this.outerRadius=void 0,this.offsetX=void 0,this.offsetY=void 0}linkScales(){}parse(e,t){let s=this.getDataset().data,n=this._cachedMeta;if(this._parsing===!1)n._parsed=s;else{let o=l=>+s[l];if(A$8(s[e])){let{key:l=`value`}=this._parsing;o=c=>+gt$2(s[c],l)}let a,r;for(a=e,r=e+t;a<r;++a)n._parsed[a]=o(a)}}_getRotation(){return it$2(this.options.rotation-90)}_getCircumference(){return it$2(this.options.circumference)}_getRotationExtents(){let e=z$4,t=-z$4;for(let s=0;s<this.chart.data.datasets.length;++s)if(this.chart.isDatasetVisible(s)&&this.chart.getDatasetMeta(s).type===this._type){let n=this.chart.getDatasetMeta(s).controller,o=n._getRotation(),a=n._getCircumference();e=Math.min(e,o),t=Math.max(t,o+a)}return{rotation:e,circumference:t-e}}update(e){let{chartArea:s}=this.chart,n=this._cachedMeta,o=n.data,a=this.getMaxBorderWidth()+this.getMaxOffset(o)+this.options.spacing,r=Math.max((Math.min(s.width,s.height)-a)/2,0),l=Math.min(Ns(this.options.cutout,r),1),c=this._getRingWeight(this.index),{circumference:h,rotation:d}=this._getRotationExtents(),{ratioX:u,ratioY:f,offsetX:g,offsetY:p}=Pr(d,h,l),m=(s.width-a)/u,x=(s.height-a)/f,b=Math.max(Math.min(m,x)/2,0),y=vi(this.options.radius,b),_=(y-Math.max(y*l,0))/this._getVisibleDatasetWeightTotal();this.offsetX=g*y,this.offsetY=p*y,n.total=this.calculateTotal(),this.outerRadius=y-_*this._getRingWeightOffset(this.index),this.innerRadius=Math.max(this.outerRadius-_*c,0),this.updateElements(o,0,o.length,e)}_circumference(e,t){let s=this.options,n=this._cachedMeta,o=this._getCircumference();return t&&s.animation.animateRotate||!this.chart.getDataVisibility(e)||n._parsed[e]===null||n.data[e].hidden?0:this.calculateCircumference(n._parsed[e]*o/z$4)}updateElements(e,t,s,n){let o=n===`reset`,a=this.chart,r=a.chartArea,c=a.options.animation,h=(r.left+r.right)/2,d=(r.top+r.bottom)/2,u=o&&c.animateScale,f=u?0:this.innerRadius,g=u?0:this.outerRadius,{sharedOptions:p,includeOptions:m}=this._getSharedOptions(t,n),x=this._getRotation(),b;for(b=0;b<t;++b)x+=this._circumference(b,o);for(b=t;b<t+s;++b){let y=this._circumference(b,o),M=e[b],_={x:h+this.offsetX,y:d+this.offsetY,startAngle:x,endAngle:x+y,circumference:y,outerRadius:g,innerRadius:f};m&&(_.options=p||this.resolveDataElementOptions(b,M.active?`active`:n)),x+=y,this.updateElement(M,b,_,n)}}calculateTotal(){let e=this._cachedMeta,t=e.data,s=0,n;for(n=0;n<t.length;n++){let o=e._parsed[n];o!==null&&!isNaN(o)&&this.chart.getDataVisibility(n)&&!t[n].hidden&&(s+=Math.abs(o))}return s}calculateCircumference(e){let t=this._cachedMeta.total;return t>0&&!isNaN(e)?z$4*(Math.abs(e)/t):0}
1getLabelAndValue(e){let t=this._cachedMeta,s=this.chart,n=s.data.labels||[],o=Gt$2(t._parsed[e],s.options.locale);return{label:n[e]||``,value:o}}getMaxBorderWidth(e){let t=0,s=this.chart,n,o,a,r,l;if(!e){for(n=0,o=s.data.datasets.length;n<o;++n)if(s.isDatasetVisible(n)){a=s.getDatasetMeta(n),e=a.data,r=a.controller;break}}if(!e)return 0;for(n=0,o=e.length;n<o;++n)l=r.resolveDataElementOptions(n),l.borderAlign!==`inner`&&(t=Math.max(t,l.borderWidth||0,l.hoverBorderWidth||0));return t}getMaxOffset(e){let t=0;for(let s=0,n=e.length;s<n;++s){let o=this.resolveDataElementOptions(s);t=Math.max(t,o.offset||0,o.hoverOffset||0)}return t}_getRingWeightOffset(e){let t=0;for(let s=0;s<e;++s)this.chart.isDatasetVisible(s)&&(t+=this._getRingWeight(s));return t}_getRingWeight(e){return Math.max(P$5(this.chart.data.datasets[e].weight,1),0)}_getVisibleDatasetWeightTotal(){return this._getRingWeightOffset(this.chart.data.datasets.length)||1}};var Cr=(()=>{class i extends Ot$1{static id=`line`;static defaults={datasetElementType:`line`,dataElementType:`point`,showLine:!0,spanGaps:!1};static overrides={scales:{_index_:{type:`category`},_value_:{type:`linear`}}};initialize(){this.enableOptionSharing=!0,this.supportsDecimation=!0,super.initialize()}update(t){let s=this._cachedMeta,{dataset:n,data:o=[],_dataset:a}=s,r=this.chart._animationsDisabled,{start:l,count:c}=Ti$1(s,o,r);this._drawStart=l,this._drawCount=c,Li$1(s)&&(l=0,c=o.length),n._chart=this.chart,n._datasetIndex=this.index,n._decimated=!!a._decimated,n.points=o;let h=this.resolveDatasetElementOptions(t);this.options.showLine||(h.borderWidth=0),h.segment=this.options.segment,this.updateElement(n,void 0,{animated:!r,options:h},t),this.updateElements(o,l,c,t)}updateElements(t,s,n,o){let a=o===`reset`,{iScale:r,vScale:l,_stacked:c,_dataset:h}=this._cachedMeta,{sharedOptions:d,includeOptions:u}=this._getSharedOptions(s,o),f=r.axis,g=l.axis,{spanGaps:p,segment:m}=this.options,x=It(p)?p:Number.POSITIVE_INFINITY,b=this.chart._animationsDisabled||a||o===`none`,y=s+n,M=t.length,_=s>0&&this.getParsed(s-1);for(let v=0;v<M;++v){let k=t[v],S=b?k:{};if(v<s||v>=y){S.skip=!0;continue}let w=this.getParsed(v),D=O$6(w[g]),C=S[f]=r.getPixelForValue(w[f],v),T=S[g]=a||D?l.getBasePixel():l.getPixelForValue(c?this.applyStack(l,w,c):w[g],v);S.skip=isNaN(C)||isNaN(T)||D,S.stop=v>0&&Math.abs(w[f]-_[f])>x,m&&(S.parsed=w,S.raw=h.data[v]),u&&(S.options=d||this.resolveDataElementOptions(v,k.active?`active`:o)),b||this.updateElement(k,v,S,o),_=w}}getMaxOverflow(){let t=this._cachedMeta,s=t.dataset,n=s.options&&s.options.borderWidth||0,o=t.data||[];if(!o.length)return n;let a=o[0].size(this.resolveDataElementOptions(0)),r=o[o.length-1].size(this.resolveDataElementOptions(o.length-1));return Math.max(n,a,r)/2}draw(){let t=this._cachedMeta;t.dataset.updateControlPoints(this.chart.chartArea,t.iScale.axis),super.draw()}}return i})();var oi=class extends Ot$1{static id=`polarArea`;static defaults={dataElementType:`arc`,animation:{animateRotate:!0,animateScale:!0},animations:{numbers:{type:`number`,properties:[`x`,`y`,`startAngle`,`endAngle`,`innerRadius`,`outerRadius`]}},indexAxis:`r`,startAngle:0};static overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(e){let t=e.data;if(t.labels.length&&t.datasets.length){let{labels:{pointStyle:s,color:n}}=e.legend.options;return t.labels.map((o,a)=>{let l=e.getDatasetMeta(0).controller.getStyle(a);return{text:o,fillStyle:l.backgroundColor,strokeStyle:l.borderColor,fontColor:n,lineWidth:l.borderWidth,pointStyle:s,hidden:!e.getDataVisibility(a),index:a}})}return[]}},onClick(e,t,s){s.chart.toggleDataVisibility(t.index),s.chart.update()}}},scales:{r:{type:`radialLinear`,angleLines:{display:!1},beginAtZero:!0,grid:{circular:!0},pointLabels:{display:!1},startAngle:0}}};constructor(e,t){super(e,t),this.innerRadius=void 0,this.outerRadius=void 0}getLabelAndValue(e){let t=this._cachedMeta,s=this.chart,n=s.data.labels||[],o=Gt$2(t._parsed[e].r,s.options.locale);return{label:n[e]||``,value:o}}parseObjectData(e,t,s,n){return Ni.bind(this)(e,t,s,n)}update(e){let t=this._cachedMeta.data;this._updateRadius(),this.updateElements(t,0,t.length,e)}getMinMax(){let e=this._cachedMeta,t={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY};return e.data.forEach((s,n)=>{let o=this.getParsed(n).r;!isNaN(o)&&this.chart.getDataVisibility(n)&&(o<t.min&&(t.min=o),o>t.max&&(t.max=o))}),t}_updateRadius(){let e=this.chart,t=e.chartArea,s=e.options,n=Math.min(t.right-t.left,t.bottom-t.top),o=Math.max(n/2,0),r=(o-Math.max(s.cutoutPercentage?o/100*s.cutoutPercentage:1,0))/e.getVisibleDatasetCount();this.outerRadius=o-r*this.index,this.innerRadius=this.outerRadius-r}updateElements(e,t,s,n){let o=n===`reset`,a=this.chart,l=a.options.animation,c=this._cachedMeta.rScale,h=c.xCenter,d=c.yCenter,u=c.getIndexAngle(0)-.5*L$3,f=u,g,p=360/this.countVisibleElements();for(g=0;g<t;++g)f+=this._computeAngle(g,n,p);for(g=t;g<t+s;g++){let m=e[g],x=f,b=f+this._computeAngle(g,n,p),y=a.getDataVisibility(g)?c.getDistanceFromCenterForValue(this.getParsed(g).r):0;f=b,o&&(l.animateScale&&(y=0),l.animateRotate&&(x=b=u));let M={x:h,y:d,innerRadius:0,outerRadius:y,startAngle:x,endAngle:b,options:this.resolveDataElementOptions(g,m.active?`active`:n)};this.updateElement(m,g,M,n)}}countVisibleElements(){let e=this._cachedMeta,t=0;return e.data.forEach((s,n)=>{!isNaN(this.getParsed(n).r)&&this.chart.getDataVisibility(n)&&t++}),t}
1_computeAngle(e,t,s){return this.chart.getDataVisibility(e)?it$2(this.resolveDataElementOptions(e,t).angle||s):0}};var Tr=Object.freeze({__proto__:null,BarController:kr,BubbleController:wr,DoughnutController:ve$4,LineController:Cr,PieController:(()=>{class i extends ve$4{static id=`pie`;static defaults={cutout:0,rotation:0,circumference:360,radius:`100%`}}return i})(),PolarAreaController:oi,RadarController:(()=>{class i extends Ot$1{static id=`radar`;static defaults={datasetElementType:`line`,dataElementType:`point`,indexAxis:`r`,showLine:!0,elements:{line:{fill:`start`}}};static overrides={aspectRatio:1,scales:{r:{type:`radialLinear`}}};getLabelAndValue(t){let s=this._cachedMeta.vScale,n=this.getParsed(t);return{label:s.getLabels()[t],value:``+s.getLabelForValue(n[s.axis])}}parseObjectData(t,s,n,o){return Ni.bind(this)(t,s,n,o)}update(t){let s=this._cachedMeta,n=s.dataset,o=s.data||[],a=s.iScale.getLabels();if(n.points=o,t!==`resize`){let r=this.resolveDatasetElementOptions(t);this.options.showLine||(r.borderWidth=0);let l={_loop:!0,_fullLoop:a.length===o.length,options:r};this.updateElement(n,void 0,l,t)}this.updateElements(o,0,o.length,t)}updateElements(t,s,n,o){let a=this._cachedMeta.rScale,r=o===`reset`;for(let l=s;l<s+n;l++){let c=t[l],h=this.resolveDataElementOptions(l,c.active?`active`:o),d=a.getPointPositionForValue(l,this.getParsed(l).r),u=r?a.xCenter:d.x,f=r?a.yCenter:d.y,g={x:u,y:f,angle:d.angle,skip:isNaN(u)||isNaN(f),options:h};this.updateElement(c,l,g,o)}}}return i})(),ScatterController:(()=>{class i extends Ot$1{static id=`scatter`;static defaults={datasetElementType:!1,dataElementType:`point`,showLine:!1,fill:!1};static overrides={interaction:{mode:`point`},scales:{x:{type:`linear`},y:{type:`linear`}}};getLabelAndValue(t){let s=this._cachedMeta,n=this.chart.data.labels||[],{xScale:o,yScale:a}=s,r=this.getParsed(t),l=o.getLabelForValue(r.x),c=a.getLabelForValue(r.y);return{label:n[t]||``,value:`(`+l+`, `+c+`)`}}update(t){let s=this._cachedMeta,{data:n=[]}=s,o=this.chart._animationsDisabled,{start:a,count:r}=Ti$1(s,n,o);if(this._drawStart=a,this._drawCount=r,Li$1(s)&&(a=0,r=n.length),this.options.showLine){this.datasetElementType||this.addElements();let{dataset:l,_dataset:c}=s;l._chart=this.chart,l._datasetIndex=this.index,l._decimated=!!c._decimated,l.points=n;let h=this.resolveDatasetElementOptions(t);h.segment=this.options.segment,this.updateElement(l,void 0,{animated:!o,options:h},t)}else this.datasetElementType&&(delete s.dataset,this.datasetElementType=!1);this.updateElements(n,a,r,t)}addElements(){let{showLine:t}=this.options;!this.datasetElementType&&t&&(this.datasetElementType=this.chart.registry.getElement(`line`)),super.addElements()}updateElements(t,s,n,o){let a=o===`reset`,{iScale:r,vScale:l,_stacked:c,_dataset:h}=this._cachedMeta,d=this.resolveDataElementOptions(s,o),u=this.getSharedOptions(d),f=this.includeOptions(o,u),g=r.axis,p=l.axis,{spanGaps:m,segment:x}=this.options,b=It(m)?m:Number.POSITIVE_INFINITY,y=this.chart._animationsDisabled||a||o===`none`,M=s>0&&this.getParsed(s-1);for(let _=s;_<s+n;++_){let v=t[_],k=this.getParsed(_),S=y?v:{},w=O$6(k[p]),D=S[g]=r.getPixelForValue(k[g],_),C=S[p]=a||w?l.getBasePixel():l.getPixelForValue(c?this.applyStack(l,k,c):k[p],_);S.skip=isNaN(D)||isNaN(C)||w,S.stop=_>0&&Math.abs(k[g]-M[g])>b,x&&(S.parsed=k,S.raw=h.data[_]),f&&(S.options=u||this.resolveDataElementOptions(_,v.active?`active`:o)),y||this.updateElement(v,_,S,o),M=k}this.updateSharedOptions(u,o,d)}getMaxOverflow(){let t=this._cachedMeta,s=t.data||[];if(!this.options.showLine){let l=0;for(let c=s.length-1;c>=0;--c)l=Math.max(l,s[c].size(this.resolveDataElementOptions(c))/2);return l>0&&l}let n=t.dataset,o=n.options&&n.options.borderWidth||0;if(!s.length)return o;let a=s[0].size(this.resolveDataElementOptions(0)),r=s[s.length-1].size(this.resolveDataElementOptions(s.length-1));return Math.max(o,a,r)/2}}return i})()});function zt$1(){throw new Error(`This method is not implemented: Check that a complete date adapter is provided.`)}var Lr={_date:class i{static override(e){Object.assign(i.prototype,e)}options;constructor(e){this.options=e||{}}init(){}formats(){return zt$1()}parse(){return zt$1()}format(){return zt$1()}add(){return zt$1()}diff(){return zt$1()}startOf(){return zt$1()}endOf(){return zt$1()}}};function Rr(i,e,t,s){let{controller:n,data:o,_sorted:a}=i,r=n._cachedMeta.iScale,l=i.dataset&&i.dataset.options?i.dataset.options.spanGaps:null;if(r&&e===r.axis&&e!==`r`&&a&&o.length){let c=r._reversePixels?Xs:ot$2;if(s){if(n._sharedOptions){let h=o[0],d=typeof h.getRange==`function`&&h.getRange(e);if(d){let u=c(o,e,t-d),f=c(o,e,t+d);return{lo:u.lo,hi:f.hi}}}}else{let h=c(o,e,t);if(l){let{vScale:d}=n._cachedMeta,{_parsed:u}=i,f=u.slice(0,h.lo+1).reverse().findIndex(p=>!O$6(p[d.axis]));h.lo-=Math.max(0,f);let g=u.slice(h.hi).findIndex(p=>!O$6(p[d.axis]));h.hi+=Math.max(0,g)}return h}}return{lo:0,hi:o.length-1}}function we$2(i,e,t,s,n){let o=i.getSortedVisibleDatasetMetas(),a=t[e];for(let r=0,l=o.length;r<l;++r){let{index:c,data:h}=o[r],{lo:d,hi:u}=Rr(o[r],e,a,n);for(let f=d;f<=u;++f){let g=h[f];g.skip||s(g,c,f)}}}function Er(i){let e=i.indexOf(`x`)!==-1,t=i.indexOf(`y`)!==-1;return function(s,n){let o=e?Math.abs(s.x-n.x):0,a=t?Math.abs(s.y-n.y):0;return Math.sqrt(Math.pow(o,2)+Math.pow(a,2))}}function Qi(i,e,t,s,n){let o=[];return!n&&!i.isPointInArea(e)||we$2(i,t,e,function(r,l,c){!n&&!at$3(r,i.chartArea,0)||r.inRange(e.x,e.y,s)&&o.push({element:r,datasetIndex:l,index:c})},!0),o}function Ir(i,e,t,s){let n=[];function o(a,r,l){let{startAngle:c,endAngle:h}=a.getProps([`startAngle`,`endAngle`],s),{angle:d}=Pi(a,{x:e.x,y:e.y});qt$2(d,c,h)&&n.push({element:a,datasetIndex:r,index:l})}return we$2(i,t,e,o),n}function Fr(i,e,t,s,n,o){let a=[],r=Er(t),l=Number.POSITIVE_INFINITY;function c(h,d,u){let f=h.inRange(e.x,e.y,n);if(s&&!f)return;let g=h.getCenterPoint(n);if(!(!!o||i.isPointInArea(g))&&!f)return;let m=r(e,g);m<l?(a=[{element:h,datasetIndex:d,index:u}],l=m):m===l&&a.push({element:h,datasetIndex:d,index:u})}return we$2(i,t,e,c),a}function ts(i,e,t,s,n,o){return!o&&!i.isPointInArea(e)?[]:t===`r`&&!s?Ir(i,e,t,n):Fr(i,e,t,s,n,o)}function wn$1(i,e,t,s,n){let o=[],a=t===`x`?`inXRange`:`inYRange`,r=!1;return we$2(i,t,e,(l,c,h)=>
vendor: 5,544 bytes, line 1
1{l[a]&&l[a](e[t],n)&&(o.push({element:l,datasetIndex:c,index:h}),r=r||l.inRange(e.x,e.y,n))}),s&&!r?[]:o}var zr={evaluateInteractionItems:we$2,modes:{index(i,e,t,s){let n=Ct$3(e,i),o=t.axis||`x`,a=t.includeInvisible||!1,r=t.intersect?Qi(i,n,o,s,a):ts(i,n,o,!1,s,a),l=[];return r.length?(i.getSortedVisibleDatasetMetas().forEach(c=>{let h=r[0].index,d=c.data[h];d&&!d.skip&&l.push({element:d,datasetIndex:c.index,index:h})}),l):[]},dataset(i,e,t,s){let n=Ct$3(e,i),o=t.axis||`xy`,a=t.includeInvisible||!1,r=t.intersect?Qi(i,n,o,s,a):ts(i,n,o,!1,s,a);if(r.length>0){let l=r[0].datasetIndex,c=i.getDatasetMeta(l).data;r=[];for(let h=0;h<c.length;++h)r.push({element:c[h],datasetIndex:l,index:h})}return r},point(i,e,t,s){return Qi(i,Ct$3(e,i),t.axis||`xy`,s,t.includeInvisible||!1)},nearest(i,e,t,s){let n=Ct$3(e,i),o=t.axis||`xy`,a=t.includeInvisible||!1;return ts(i,n,o,t.intersect,s,a)},x(i,e,t,s){return wn$1(i,Ct$3(e,i),`x`,t.intersect,s)},y(i,e,t,s){return wn$1(i,Ct$3(e,i),`y`,t.intersect,s)}}};var _o=[`left`,`top`,`right`,`bottom`];function pe$2(i,e){return i.filter(t=>t.pos===e)}function Pn(i,e){return i.filter(t=>_o.indexOf(t.pos)===-1&&t.box.axis===e)}function me$3(i,e){return i.sort((t,s)=>{let n=e?s:t,o=e?t:s;return n.weight===o.weight?n.index-o.index:n.weight-o.weight})}function Br(i){let e=[],t,s,n,o,a,r;for(t=0,s=(i||[]).length;t<s;++t)n=i[t],{position:o,options:{stack:a,stackWeight:r=1}}=n,e.push({index:t,box:n,pos:o,horizontal:n.isHorizontal(),weight:n.weight,stack:a&&o+a,stackWeight:r});return e}function Vr(i){let e={};for(let t of i){let{stack:s,pos:n,stackWeight:o}=t;if(!s||!_o.includes(n))continue;let a=e[s]||(e[s]={count:0,placed:0,weight:0,size:0});a.count++,a.weight+=o}return e}function Wr(i,e){let t=Vr(i),{vBoxMaxWidth:s,hBoxMaxHeight:n}=e,o,a,r;for(o=0,a=i.length;o<a;++o){r=i[o];let{fullSize:l}=r.box,c=t[r.stack],h=c&&r.stackWeight/c.weight;r.horizontal?(r.width=h?h*s:l&&e.availableWidth,r.height=n):(r.width=s,r.height=h?h*n:l&&e.availableHeight)}return t}function Nr(i){let e=Br(i),t=me$3(e.filter(c=>c.box.fullSize),!0),s=me$3(pe$2(e,`left`),!0),n=me$3(pe$2(e,`right`)),o=me$3(pe$2(e,`top`),!0),a=me$3(pe$2(e,`bottom`)),r=Pn(e,`x`),l=Pn(e,`y`);return{fullSize:t,leftAndTop:s.concat(o),rightAndBottom:n.concat(l).concat(a).concat(r),chartArea:pe$2(e,`chartArea`),vertical:s.concat(n).concat(l),horizontal:o.concat(a).concat(r)}}function Cn$1(i,e,t,s){return Math.max(i[t],e[t])+Math.max(i[s],e[s])}function yo(i,e){i.top=Math.max(i.top,e.top),i.left=Math.max(i.left,e.left),i.bottom=Math.max(i.bottom,e.bottom),i.right=Math.max(i.right,e.right)}function Hr(i,e,t,s){let{pos:n,box:o}=t,a=i.maxPadding;if(!A$8(n)){t.size&&(i[n]-=t.size);let d=s[t.stack]||{size:0,count:1};d.size=Math.max(d.size,t.horizontal?o.height:o.width),t.size=d.size/d.count,i[n]+=t.size}o.getPadding&&yo(a,o.getPadding());let r=Math.max(0,e.outerWidth-Cn$1(a,i,`left`,`right`)),l=Math.max(0,e.outerHeight-Cn$1(a,i,`top`,`bottom`)),c=r!==i.w,h=l!==i.h;return i.w=r,i.h=l,t.horizontal?{same:c,other:h}:{same:h,other:c}}function jr(i){let e=i.maxPadding;function t(s){let n=Math.max(e[s]-i[s],0);return i[s]+=n,n}i.y+=t(`top`),i.x+=t(`left`),t(`right`),t(`bottom`)}function Yr(i,e){let t=e.maxPadding;function s(n){let o={left:0,top:0,right:0,bottom:0};return n.forEach(a=>{o[a]=Math.max(e[a],t[a])}),o}return s(i?[`left`,`right`]:[`top`,`bottom`])}function _e$2(i,e,t,s){let n=[],o,a,r,l,c,h;for(o=0,a=i.length,c=0;o<a;++o){r=i[o],l=r.box,l.update(r.width||e.w,r.height||e.h,Yr(r.horizontal,e));let{same:d,other:u}=Hr(e,t,r,s);c|=d&&n.length,h=h||u,l.fullSize||n.push(r)}return c&&_e$2(n,e,t,s)||h}function Ge(i,e,t,s,n){i.top=t,i.left=e,i.right=e+s,i.bottom=t+n,i.width=s,i.height=n}function Dn(i,e,t,s){let n=t.padding,{x:o,y:a}=e;for(let r of i){let l=r.box,c=s[r.stack]||{count:1,placed:0,weight:1},h=r.stackWeight/c.weight||1;if(r.horizontal){let d=e.w*h,u=c.size||l.height;Xt$1(c.start)&&(a=c.start),l.fullSize?Ge(l,n.left,a,t.outerWidth-n.right-n.left,u):Ge(l,e.left+c.placed,a,d,u),c.start=a,c.placed+=d,a=l.bottom}else{let d=e.h*h,u=c.size||l.width;Xt$1(c.start)&&(o=c.start),l.fullSize?Ge(l,o,n.top,u,t.outerHeight-n.bottom-n.top):Ge(l,o,e.top+c.placed,u,d),c.start=o,c.placed+=d,o=l.right}}e.x=o,e.y=a}var G$3={addBox(i,e){i.boxes||(i.boxes=[]),e.fullSize=e.fullSize||!1,e.position=e.position||`top`,e.weight=e.weight||0,e._layers=e._layers||function(){return[{z:0,draw(t){e.draw(t)}}]},i.boxes.push(e)},removeBox(i,e){let t=i.boxes?i.boxes.indexOf(e):-1;t!==-1&&i.boxes.splice(t,1)},configure(i,e,t){e.fullSize=t.fullSize,e.position=t.position,e.weight=t.weight},update(i,e,t,s){if(!i)return;let n=K$3(i.options.layout.padding),o=Math.max(e-n.width,0),a=Math.max(t-n.height,0),r=Nr(i.boxes),l=r.vertical,c=r.horizontal;R$5(i.boxes,p=>{typeof p.beforeLayout==`function`&&p.beforeLayout()});let h=l.reduce((p,m)=>m.box.options&&m.box.options.display===!1?p:p+1,0)||1,d=Object.freeze({outerWidth:e,outerHeight:t,padding:n,availableWidth:o,availableHeight:a,vBoxMaxWidth:o/2/h,hBoxMaxHeight:a/2}),u=Object.assign({},n);yo(u,K$3(s));let f=Object.assign({maxPadding:u,w:o,h:a,x:n.left,y:n.top},n),g=Wr(l.concat(c),d);_e$2(r.fullSize,f,d,g),_e$2(l,f,d,g),_e$2(c,f,d,g)&&_e$2(l,f,d,g),jr(f),Dn(r.leftAndTop,f,d,g),f.x+=f.w,f.y+=f.h,Dn(r.rightAndBottom,f,d,g),i.chartArea={left:f.left,top:f.top,right:f.left+f.w,bottom:f.top+f.h,height:f.h,width:f.w},R$5(r.chartArea,p=>{let m=p.box;Object.assign(m,i.chartArea),m.update(f.w,f.h,{left:0,top:0,right:0,bottom:0})})}};var ai=class{acquireContext(e,t){}releaseContext(e){return!1}
vendor: 25,829 bytes, line 1
1addEventListener(e,t,s){}removeEventListener(e,t,s){}getDevicePixelRatio(){return 1}getMaximumSize(e,t,s,n){return t=Math.max(0,t||e.width),s=s||e.height,{width:t,height:Math.max(0,n?Math.floor(t/n):s)}}isAttached(e){return!0}updateConfig(e){}};var cs=class extends ai{acquireContext(e){return e&&e.getContext&&e.getContext(`2d`)||null}updateConfig(e){e.options.animation=!1}};var ii=`$chartjs`;var $r={touchstart:`mousedown`,touchmove:`mousemove`,touchend:`mouseup`,pointerenter:`mouseenter`,pointerdown:`mousedown`,pointermove:`mousemove`,pointerup:`mouseup`,pointerleave:`mouseout`,pointerout:`mouseout`};var On$1=i=>i===null||i===``;function Ur(i,e){let t=i.style,s=i.getAttribute(`height`),n=i.getAttribute(`width`);if(i[ii]={initial:{height:s,width:n,style:{display:t.display,height:t.height,width:t.width}}},t.display=t.display||`block`,t.boxSizing=t.boxSizing||`border-box`,On$1(n)){let o=ji$1(i,`width`);o!==void 0&&(i.width=o)}if(On$1(s))if(i.style.height===``)i.height=i.width/(e||2);else{let o=ji$1(i,`height`);o!==void 0&&(i.height=o)}return i}var vo=dn$2?{passive:!0}:!1;function Xr(i,e,t){i&&i.addEventListener(e,t,vo)}function Kr(i,e,t){i&&i.canvas&&i.canvas.removeEventListener(e,t,vo)}function qr(i,e){let t=$r[i.type]||i.type,{x:s,y:n}=Ct$3(i,e);return{type:t,chart:e,native:i,x:s!==void 0?s:null,y:n!==void 0?n:null}}function ri(i,e){for(let t of i)if(t===e||t.contains(e))return!0}function Gr(i,e,t){let s=i.canvas,n=new MutationObserver(o=>{let a=!1;for(let r of o)a=a||ri(r.addedNodes,s),a=a&&!ri(r.removedNodes,s);a&&t()});return n.observe(document,{childList:!0,subtree:!0}),n}function Jr(i,e,t){let s=i.canvas,n=new MutationObserver(o=>{let a=!1;for(let r of o)a=a||ri(r.removedNodes,s),a=a&&!ri(r.addedNodes,s);a&&t()});return n.observe(document,{childList:!0,subtree:!0}),n}var Me$2=new Map;var An$1=0;function Mo$1(){let i=window.devicePixelRatio;i!==An$1&&(An$1=i,Me$2.forEach((e,t)=>{t.currentDevicePixelRatio!==i&&e()}))}function Zr(i,e){Me$2.size||window.addEventListener(`resize`,Mo$1),Me$2.set(i,e)}function Qr(i){Me$2.delete(i),Me$2.size||window.removeEventListener(`resize`,Mo$1)}function tl(i,e,t){let s=i.canvas,n=s&&Ke(s);if(!n)return;let o=Ai$1((r,l)=>{let c=n.clientWidth;t(r,l),c<n.clientWidth&&t()},window),a=new ResizeObserver(r=>{let l=r[0],c=l.contentRect.width,h=l.contentRect.height;c===0&&h===0||o(c,h)});return a.observe(n),Zr(i,o),a}function es(i,e,t){t&&t.disconnect(),e===`resize`&&Qr(i)}function el(i,e,t){let s=i.canvas,n=Ai$1(o=>{i.ctx!==null&&t(qr(o,i))},i);return Xr(s,e,n),n}var hs=class extends ai{acquireContext(e,t){let s=e&&e.getContext&&e.getContext(`2d`);return s&&s.canvas===e?(Ur(e,t),s):null}releaseContext(e){let t=e.canvas;if(!t[ii])return!1;let s=t[ii].initial;[`height`,`width`].forEach(o=>{let a=s[o];O$6(a)?t.removeAttribute(o):t.setAttribute(o,a)});let n=s.style||{};return Object.keys(n).forEach(o=>{t.style[o]=n[o]}),t.width=t.width,delete t[ii],!0}addEventListener(e,t,s){this.removeEventListener(e,t);let n=e.$proxies||(e.$proxies={});n[t]=({attach:Gr,detach:Jr,resize:tl}[t]||el)(e,t,s)}removeEventListener(e,t){let s=e.$proxies||(e.$proxies={}),n=s[t];if(!n)return;({attach:es,detach:es,resize:es}[t]||Kr)(e,t,n),s[t]=void 0}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(e,t,s,n){return hn$1(e,t,s,n)}isAttached(e){let t=e&&Ke(e);return!!(t&&t.isConnected)}};function il(i){return!Xe()||typeof OffscreenCanvas<`u`&&i instanceof OffscreenCanvas?cs:hs}var xt$1=(()=>{class i{static defaults={};static defaultRoutes=void 0;x;y;active=!1;options;$animations;tooltipPosition(t){let{x:s,y:n}=this.getProps([`x`,`y`],t);return{x:s,y:n}}hasValue(){return It(this.x)&&It(this.y)}getProps(t,s){let n=this.$animations;if(!s||!n)return this;let o={};return t.forEach(a=>{o[a]=n[a]&&n[a].active()?n[a]._to:this[a]}),o}}return i})();function sl(i,e){let t=i.options.ticks,s=nl(i),n=Math.min(t.maxTicksLimit||s,s),o=t.major.enabled?al(e):[],a=o.length,r=o[0],l=o[a-1],c=[];if(a>n)return rl(e,c,o,a/n),c;let h=ol(o,e,n);if(a>0){let d,u,f=a>1?Math.round((l-r)/(a-1)):null;for(Je(e,c,h,O$6(f)?0:r-f,r),d=0,u=a-1;d<u;d++)Je(e,c,h,o[d],o[d+1]);return Je(e,c,h,l,O$6(f)?e.length:l+f),c}return Je(e,c,h),c}function nl(i){let e=i.options.offset,t=i._tickSize(),s=i._length/t+(e?0:1),n=i._maxLength/t;return Math.floor(Math.min(s,n))}function ol(i,e,t){let s=ll(i),n=e.length/t;if(!s)return Math.max(n,1);let o=Ys(s);for(let a=0,r=o.length-1;a<r;a++){let l=o[a];if(l>n)return l}return Math.max(n,1)}function al(i){let e=[],t,s;for(t=0,s=i.length;t<s;t++)i[t].major&&e.push(t);return e}function rl(i,e,t,s){let n=0,o=t[0],a;for(s=Math.ceil(s),a=0;a<i.length;a++)a===o&&(e.push(i[a]),n++,o=t[n*s])}function Je(i,e,t,s,n){let o=P$5(s,0),a=Math.min(P$5(n,i.length),i.length),r=0,l,c,h;for(t=Math.ceil(t),n&&(l=n-s,t=l/Math.floor(l/t)),h=o;h<0;)r++,h=Math.round(o+r*t);for(c=Math.max(o,0);c<a;c++)c===h&&(e.push(i[c]),r++,h=Math.round(o+r*t))}function ll(i){let e=i.length,t,s;if(e<2)return!1;for(s=i[0],t=1;t<e;++t)if(i[t]-i[t-1]!==s)return!1;return s}var cl=i=>i===`left`?`right`:i===`right`?`left`:i;var Tn$1=(i,e,t)=>e===`top`||e===`left`?i[e]+t:i[e]-t;var Ln=(i,e)=>Math.min(e||i,i);function Rn(i,e){let t=[],s=i.length/e,n=i.length,o=0;for(;o<n;o+=s)t.push(i[Math.floor(o)]);return t}function hl(i,e,t){let s=i.ticks.length,n=Math.min(e,s-1),o=i._startPixel,a=i._endPixel,r=1e-6,l=i.getPixelForTick(n),c;if(!(t&&(s===1?c=Math.max(l-o,a-l):e===0?c=(i.getPixelForTick(1)-l)/2:c=(l-i.getPixelForTick(n-1))/2,l+=n<e?c:-c,l<o-r||l>a+r)))return l}function dl(i,e){R$5(i,t=>{let s=t.gc,n=s.length/2,o;if(n>e){for(o=0;o<n;++o)delete t.data[s[o]];s.splice(0,n)}})}function be$2(i){return i.drawTicks?i.tickLength:0}function En$1(i,e){if(!i.display)return 0;let t=j$3(i.font,e),s=K$3(i.padding);return(F$5(i.text)?i.text.length:1)*t.lineHeight+s.height}function ul(i,e){return pt$1(i,{scale:e,type:`scale`})}function fl(i,e,t){return pt$1(i,{tick:t,index:e,type:`tick`})}function gl(i,e,t){let s=He(i);return(t&&e!==`right`||!t&&e===`right`)&&(s=cl(s)),s}function pl(i,e,t,s){let{top:n,left:o,bottom:a,right:r,chart:l}=i,{chartArea:c,scales:h}=l,d=0,u,f,g,p=a-n,m=r-o;if(i.isHorizontal()){if(f=X$2(s,o,r),A$8(t)){let x=Object.keys(t)[0],b=t[x];g=h[x].getPixelForValue(b)+p-e}else t===`center`?g=(c.bottom+c.top)/2+p-e:g=Tn$1(i,t,e);u=r-o}else{if(A$8(t)){let x=Object.keys(t)[0],b=t[x];f=h[x].getPixelForValue(b)-m+e}else t===`center`?f=(c.left+c.right)/2-m+e:f=Tn$1(i,t,e);g=X$2(s,a,n),d=t===`left`?-N$5:N$5}return{titleX:f,titleY:g,maxWidth:u,rotation:d}}var Vt$2=class i extends xt$1{constructor(e){super(),this.id=e.id,this.type=e.type,this.options=void 0,this.ctx=e.ctx,this.chart=e.chart,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this._margins={left:0,right:0,top:0,bottom:0},this.maxWidth=void 0,this.maxHeight=void 0,this.paddingTop=void 0,this.paddingBottom=void 0,this.paddingLeft=void 0,this.paddingRight=void 0,this.axis=void 0,this.labelRotation=void 0,this.min=void 0,this.max=void 0,this._range=void 0,this.ticks=[],this._gridLineItems=null,this._labelItems=null,this._labelSizes=null,this._length=0,this._maxLength=0,this._longestTextCache={},this._startPixel=void 0,this._endPixel=void 0,this._reversePixels=!1,this._userMax=void 0,this._userMin=void 0,this._suggestedMax=void 0,this._suggestedMin=void 0,this._ticksLength=0,this._borderValue=0,this._cache={},this._dataLimitsCached=!1,this.$context=void 0}init(e){this.options=e.setContext(this.getContext()),this.axis=e.axis,this._userMin=this.parse(e.min),this._userMax=this.parse(e.max),this._suggestedMin=this.parse(e.suggestedMin),this._suggestedMax=this.parse(e.suggestedMax)}parse(e,t){return e}getUserBounds(){let{_userMin:e,_userMax:t,_suggestedMin:s,_suggestedMax:n}=this;return e=J$5(e,Number.POSITIVE_INFINITY),t=J$5(t,Number.NEGATIVE_INFINITY),s=J$5(s,Number.POSITIVE_INFINITY),n=J$5(n,Number.NEGATIVE_INFINITY),{min:J$5(e,s),max:J$5(t,n),minDefined:W$2(e),maxDefined:W$2(t)}}getMinMax(e){let{min:t,max:s,minDefined:n,maxDefined:o}=this.getUserBounds(),a;if(n&&o)return{min:t,max:s};let r=this.getMatchingVisibleMetas();for(let l=0,c=r.length;l<c;++l)a=r[l].controller.getMinMax(this,e),n||(t=Math.min(t,a.min)),o||(s=Math.max(s,a.max));return t=o&&t>s?s:t,s=n&&t>s?t:s,{min:J$5(t,J$5(s,t)),max:J$5(s,J$5(t,s))}}getPadding(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}}getTicks(){return this.ticks}getLabels(){let e=this.chart.data;return this.options.labels||(this.isHorizontal()?e.xLabels:e.yLabels)||e.labels||[]}getLabelItems(e=this.chart.chartArea){return this._labelItems||(this._labelItems=this._computeLabelItems(e))}beforeLayout(){this._cache={},this._dataLimitsCached=!1}beforeUpdate(){I$8(this.options.beforeUpdate,[this])}update(e,t,s){let{beginAtZero:n,grace:o,ticks:a}=this.options,r=a.sampleSize;this.beforeUpdate(),this.maxWidth=e,this.maxHeight=t,this._margins=s=Object.assign({left:0,right:0,top:0,bottom:0},s),this.ticks=null,this._labelSizes=null,this._gridLineItems=null,this._labelItems=null,this.beforeSetDimensions(),this.setDimensions(),this.afterSetDimensions(),this._maxLength=this.isHorizontal()?this.width+s.left+s.right:this.height+s.top+s.bottom,this._dataLimitsCached||(this.beforeDataLimits(),this.determineDataLimits(),this.afterDataLimits(),this._range=nn$2(this,o,n),this._dataLimitsCached=!0),this.beforeBuildTicks(),this.ticks=this.buildTicks()||[],this.afterBuildTicks();let l=r<this.ticks.length;this._convertTicksToLabels(l?Rn(this.ticks,r):this.ticks),this.configure(),this.beforeCalculateLabelRotation(),this.calculateLabelRotation(),this.afterCalculateLabelRotation(),a.display&&(a.autoSkip||a.source===`auto`)&&(this.ticks=sl(this,this.ticks),this._labelSizes=null,this.afterAutoSkip()),l&&this._convertTicksToLabels(this.ticks),this.beforeFit(),this.fit(),this.afterFit(),this.afterUpdate()}configure(){let e=this.options.reverse,t,s;this.isHorizontal()?(t=this.left,s=this.right):(t=this.top,s=this.bottom,e=!e),this._startPixel=t,this._endPixel=s,this._reversePixels=e,this._length=s-t,this._alignToPixels=this.options.alignToPixels}afterUpdate(){I$8(this.options.afterUpdate,[this])}beforeSetDimensions(){I$8(this.options.beforeSetDimensions,[this])}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=0,this.right=this.width):(this.height=this.maxHeight,this.top=0,this.bottom=this.height),this.paddingLeft=0,this.paddingTop=0,this.paddingRight=0,this.paddingBottom=0}afterSetDimensions(){I$8(this.options.afterSetDimensions,[this])}_callHooks(e){this.chart.notifyPlugins(e,this.getContext()),I$8(this.options[e],[this])}beforeDataLimits(){this._callHooks(`beforeDataLimits`)}determineDataLimits(){}afterDataLimits(){this._callHooks(`afterDataLimits`)}beforeBuildTicks(){this._callHooks(`beforeBuildTicks`)}buildTicks(){return[]}afterBuildTicks(){this._callHooks(`afterBuildTicks`)}beforeTickToLabelConversion(){I$8(this.options.beforeTickToLabelConversion,[this])}generateTickLabels(e){let t=this.options.ticks,s,n,o;for(s=0,n=e.length;s<n;s++)o=e[s],o.label=I$8(t.callback,[o.value,s,e],this)}afterTickToLabelConversion(){I$8(this.options.afterTickToLabelConversion,[this])}beforeCalculateLabelRotation(){I$8(this.options.beforeCalculateLabelRotation,[this])}calculateLabelRotation(){let e=this.options,t=e.ticks,s=Ln(this.ticks.length,e.ticks.maxTicksLimit),n=t.minRotation||0,o=t.maxRotation,a=n,r,l,c;if(!this._isVisible()||!t.display||n>=o||s<=1||!this.isHorizontal()){this.labelRotation=n;return}let h=this._getLabelSizes(),d=h.widest.width,u=h.highest.height,f=Y$4(this.chart.width-d,0,this.maxWidth);r=e.offset?this.maxWidth/s:f/(s-1),d+6>r&&(r=f/(s-(e.offset?.5:1)),l=this.maxHeight-be$2(e.grid)-t.padding-En$1(e.title,this.chart.options.font),c=Math.sqrt(d*d+u*u),a=We(Math.min(Math.asin(Y$4((h.highest.height+6)/r,-1,1)),Math.asin(Y$4(l/c,-1,1))-Math.asin(Y$4(u/c,-1,1)))),a=Math.max(n,Math.min(o,a))),this.labelRotation=a}afterCalculateLabelRotation(){I$8(this.options.afterCalculateLabelRotation,[this])}afterAutoSkip(){}beforeFit(){I$8(this.options.beforeFit,[this])}fit(){let e={width:0,height:0},{chart:t,options:{ticks:s,title:n,grid:o}}=this,a=this._isVisible(),r=this.isHorizontal();if(a){let l=En$1(n,t.options.font);if(r?(e.width=this.maxWidth,e.height=be$2(o)+l):(e.height=this.maxHeight,e.width=be$2(o)+l),s.display&&this.ticks.length){let{first:c,last:h,widest:d,highest:u}=this._getLabelSizes(),f=s.padding*2,g=it$2(this.labelRotation),p=Math.cos(g),m=Math.sin(g);if(r){let x=s.mirror?0:m*d.width+p*u.height;e.height=Math.min(this.maxHeight,e.height+x+f)}else{let x=s.mirror?0:p*d.width+m*u.height;e.width=Math.min(this.maxWidth,e.width+x+f)}this._calculatePadding(c,h,m,p)}}this._handleMargins(),r?(this.width=this._length=t.width-this._margins.left-this._margins.right,this.height=e.height):(this.width=e.width,this.height=this._length=t.height-this._margins.top-this._margins.bottom)}_calculatePadding(e,t,s,n){let{ticks:{align:o,padding:a},position:r}=this.options,l=this.labelRotation!==0,c=r!==`top`&&this.axis===`x`;if(this.isHorizontal()){let h=this.getPixelForTick(0)-this.left,d=this.right-this.getPixelForTick(this.ticks.length-1),u=0,f=0;l?c?(u=n*e.width,f=s*t.height):(u=s*e.height,f=n*t.width):o===`start`?f=t.width:o===`end`?u=e.width:o!==`inner`&&(u=e.width/2,f=t.width/2),this.paddingLeft=Math.max((u-h+a)*this.width/(this.width-h),0),this.paddingRight=Math.max((f-d+a)*this.width/(this.width-d),0)}else{let h=t.height/2,d=e.height/2;o===`start`?(h=0,d=e.height):o===`end`&&(h=t.height,d=0),this.paddingTop=h+a,this.paddingBottom=d+a}}_handleMargins(){this._margins&&(this._margins.left=Math.max(this.paddingLeft,this._margins.left),this._margins.top=Math.max(this.paddingTop,this._margins.top),this._margins.right=Math.max(this.paddingRight,this._margins.right),this._margins.bottom=Math.max(this.paddingBottom,this._margins.bottom))}afterFit(){I$8(this.options.afterFit,[this])}isHorizontal(){let{axis:e,position:t}=this.options;return t===`top`||t===`bottom`||e===`x`}isFullSize(){return this.options.fullSize}_convertTicksToLabels(e){this.beforeTickToLabelConversion(),this.generateTickLabels(e);let t,s;for(t=0,s=e.length;t<s;t++)O$6(e[t].label)&&(e.splice(t,1),s--,t--);this.afterTickToLabelConversion()}_getLabelSizes(){let e=this._labelSizes;if(!e){let t=this.options.ticks.sampleSize,s=this.ticks;t<s.length&&(s=Rn(s,t)),this._labelSizes=e=this._computeLabelSizes(s,s.length,this.options.ticks.maxTicksLimit)}return e}_computeLabelSizes(e,t,s){let{ctx:n,_longestTextCache:o}=this,a=[],r=[],l=Math.floor(t/Ln(t,s)),c=0,h=0,d,u,f,g,p,m,x,b,y,M,_;for(d=0;d<t;d+=l){if(g=e[d].label,p=this._resolveTickFontOptions(d),n.font=m=p.string,x=o[m]=o[m]||{data:{},gc:[]},b=p.lineHeight,y=M=0,!O$6(g)&&!F$5(g))y=ce$2(n,x.data,x.gc,y,g),M=b;else if(F$5(g))for(u=0,f=g.length;u<f;++u)_=g[u],!O$6(_)&&!F$5(_)&&(y=ce$2(n,x.data,x.gc,y,_),M+=b);a.push(y),r.push(M),c=Math.max(y,c),h=Math.max(M,h)}dl(o,t);let v=a.indexOf(c),k=r.indexOf(h),S=w=>({width:a[w]||0,height:r[w]||0});return{first:S(0),last:S(t-1),widest:S(v),highest:S(k),widths:a,heights:r}}getLabelForValue(e){return e}getPixelForValue(e,t){return NaN}getValueForPixel(e){}getPixelForTick(e){let t=this.ticks;return e<0||e>t.length-1?null:this.getPixelForValue(t[e].value)}getPixelForDecimal(e){this._reversePixels&&(e=1-e);let t=this._startPixel+e*this._length;return Us(this._alignToPixels?kt$3(this.chart,t,0):t)}getDecimalForPixel(e){let t=(e-this._startPixel)/this._length;return this._reversePixels?1-t:t}getBasePixel(){return this.getPixelForValue(this.getBaseValue())}getBaseValue(){let{min:e,max:t}=this;return e<0&&t<0?t:e>0&&t>0?e:0}getContext(e){let t=this.ticks||[];if(e>=0&&e<t.length){let s=t[e];return s.$context||(s.$context=fl(this.getContext(),e,s))}return this.$context||(this.$context=ul(this.chart.getContext(),this))}_tickSize(){let e=this.options.ticks,t=it$2(this.labelRotation),s=Math.abs(Math.cos(t)),n=Math.abs(Math.sin(t)),o=this._getLabelSizes(),a=e.autoSkipPadding||0,r=o?o.widest.width+a:0,l=o?o.highest.height+a:0;return this.isHorizontal()?l*s>r*n?r/s:l/n:l*n<r*s?l/s:r/n}_isVisible(){let e=this.options.display;return e!==`auto`?!!e:this.getMatchingVisibleMetas().length>0}_computeGridLineItems(e){let t=this.axis,s=this.chart,n=this.options,{grid:o,position:a,border:r}=n,l=o.offset,c=this.isHorizontal(),d=this.ticks.length+(l?1:0),u=be$2(o),f=[],g=r.setContext(this.getContext()),p=g.display?g.width:0,m=p/2,x=function(V){return kt$3(s,V,p)},b,y,M,_,v,k,S,w,D,C,T,$;if(a===`top`)b=x(this.bottom),k=this.bottom-u,w=b-m,C=x(e.top)+m,$=e.bottom;else if(a===`bottom`)b=x(this.top),C=e.top,$=x(e.bottom)-m,k=b+m,w=this.top+u;else if(a===`left`)b=x(this.right),v=this.right-u,S=b-m,D=x(e.left)+m,T=e.right;else if(a===`right`)b=x(this.left),D=e.left,T=x(e.right)-m,v=b+m,S=this.left+u;else if(t===`x`){if(a===`center`)b=x((e.top+e.bottom)/2+.5);else if(A$8(a)){let V=Object.keys(a)[0],H=a[V];b=x(this.chart.scales[V].getPixelForValue(H))}C=e.top,$=e.bottom,k=b+m,w=k+u}else if(t===`y`){if(a===`center`)b=x((e.left+e.right)/2);else if(A$8(a)){let V=Object.keys(a)[0],H=a[V];b=x(this.chart.scales[V].getPixelForValue(H))}v=b-m,S=v-u,D=e.left,T=e.right}let tt=P$5(n.ticks.maxTicksLimit,d),E=Math.max(1,Math.ceil(d/tt));for(y=0;y<d;y+=E){let V=this.getContext(y),H=o.setContext(V),st=r.setContext(V),q=H.lineWidth,Wt=H.color,Pe=st.dash||[],Nt=st.dashOffset,se=H.tickWidth,At=H.tickColor,ne=H.tickBorderDash||[],Tt=H.tickBorderDashOffset;M=hl(this,y,l),M!==void 0&&(_=kt$3(s,M,q),c?v=S=D=T=_:k=w=C=$=_,f.push({tx1:v,ty1:k,tx2:S,ty2:w,x1:D,y1:C,x2:T,y2:$,width:q,color:Wt,borderDash:Pe,borderDashOffset:Nt,tickWidth:se,tickColor:At,tickBorderDash:ne,tickBorderDashOffset:Tt}))}return this._ticksLength=d,this._borderValue=b,f}_computeLabelItems(e){let t=this.axis,s=this.options,{position:n,ticks:o}=s,a=this.isHorizontal(),r=this.ticks,{align:l,crossAlign:c,padding:h,mirror:d}=o,u=be$2(s.grid),f=u+h,g=d?-h:f,p=-it$2(this.labelRotation),m=[],x,b,y,M,_,v,k,S,w,D,C,T,$=`middle`;if(n===`top`)v=this.bottom-g,k=this._getXAxisLabelAlignment();else if(n===`bottom`)v=this.top+g,k=this._getXAxisLabelAlignment();else if(n===`left`){let E=this._getYAxisLabelAlignment(u);k=E.textAlign,_=E.x}else if(n===`right`){let E=this._getYAxisLabelAlignment(u);k=E.textAlign,_=E.x}else if(t===`x`){if(n===`center`)v=(e.top+e.bottom)/2+f;else if(A$8(n)){let E=Object.keys(n)[0],V=n[E];v=this.chart.scales[E].getPixelForValue(V)+f}k=this._getXAxisLabelAlignment()}else if(t===`y`){if(n===`center`)_=(e.left+e.right)/2-f;else if(A$8(n)){let E=Object.keys(n)[0],V=n[E];_=this.chart.scales[E].getPixelForValue(V)}k=this._getYAxisLabelAlignment(u).textAlign}t===`y`&&(l===`start`?$=`top`:l===`end`&&($=`bottom`));let tt=this._getLabelSizes();for(x=0,b=r.length;x<b;++x){y=r[x],M=y.label;let E=o.setContext(this.getContext(x));S=this.getPixelForTick(x)+o.labelOffset,w=this._resolveTickFontOptions(x),D=w.lineHeight,C=F$5(M)?M.length:1;let V=C/2,H=E.color,st=E.textStrokeColor,q=E.textStrokeWidth,Wt=k;a?(_=S,k===`inner`&&(x===b-1?Wt=this.options.reverse?`left`:`right`:x===0?Wt=this.options.reverse?`right`:`left`:Wt=`center`),n===`top`?c===`near`||p!==0?T=-C*D+D/2:c===`center`?T=-tt.highest.height/2-V*D+D:T=-tt.highest.height+D/2:c===`near`||p!==0?T=D/2:c===`center`?T=tt.highest.height/2-V*D:T=tt.highest.height-C*D,d&&(T*=-1),p!==0&&!E.showLabelBackdrop&&(_+=D/2*Math.sin(p))):(v=S,T=(1-C)*D/2);let Pe;if(E.showLabelBackdrop){let Nt=K$3(E.backdropPadding),se=tt.heights[x],At=tt.widths[x],ne=T-Nt.top,Tt=0-Nt.left;switch($){case`middle`:ne-=se/2;break;case`bottom`:ne-=se;break}switch(k){case`center`:Tt-=At/2;break;case`right`:Tt-=At;break;case`inner`:x===b-1?Tt-=At:x>0&&(Tt-=At/2);break}Pe={left:Tt,top:ne,width:At+Nt.width,height:se+Nt.height,color:E.backdropColor}}m.push({label:M,font:w,textOffset:T,options:{rotation:p,color:H,strokeColor:st,strokeWidth:q,textAlign:Wt,textBaseline:$,translation:[_,v],backdrop:Pe}})}return m}_getXAxisLabelAlignment(){let{position:e,ticks:t}=this.options;if(-it$2(this.labelRotation))return e===`top`?`left`:`right`;let n=`center`;return t.align===`start`?n=`left`:t.align===`end`?n=`right`:t.align===`inner`&&(n=`inner`),n}_getYAxisLabelAlignment(e){let{position:t,ticks:{crossAlign:s,mirror:n,padding:o}}=this.options,a=this._getLabelSizes(),r=e+o,l=a.widest.width,c,h;return t===`left`?n?(h=this.right+o,s===`near`?c=`left`:s===`center`?(c=`center`,h+=l/2):(c=`right`,h+=l)):(h=this.right-r,s===`near`?c=`right`:s===`center`?(c=`center`,h-=l/2):(c=`left`,h=this.left)):t===`right`?n?(h=this.left+o,s===`near`?c=`right`:s===`center`?(c=`center`,h-=l/2):(c=`left`,h-=l)):(h=this.left+r,s===`near`?c=`left`:s===`center`?(c=`center`,h+=l/2):(c=`right`,h=this.right)):c=`right`,{textAlign:c,x:h}}_computeLabelArea(){if(this.options.ticks.mirror)return;let e=this.chart,t=this.options.position;if(t===`left`||t===`right`)return{top:0,left:this.left,bottom:e.height,right:this.right};if(t===`top`||t===`bottom`)return{top:this.top,left:0,bottom:this.bottom,right:e.width}}drawBackground(){let{ctx:e,options:{backgroundColor:t},left:s,top:n,width:o,height:a}=this;t&&(e.save(),e.fillStyle=t,e.fillRect(s,n,o,a),e.restore())}getLineWidthForValue(e){let t=this.options.grid;if(!this._isVisible()||!t.display)return 0;let n=this.ticks.findIndex(o=>o.value===e);return n>=0?t.setContext(this.getContext(n)).lineWidth:0}drawGrid(e){let t=this.options.grid,s=this.ctx,n=this._gridLineItems||(this._gridLineItems=this._computeGridLineItems(e)),o,a,r=(l,c,h)=>{!h.width||!h.color||(s.save(),s.lineWidth=h.width,s.strokeStyle=h.color,s.setLineDash(h.borderDash||[]),s.lineDashOffset=h.borderDashOffset,s.beginPath(),s.moveTo(l.x,l.y),s.lineTo(c.x,c.y),s.stroke(),s.restore())};if(t.display)for(o=0,a=n.length;o<a;++o){let l=n[o];t.drawOnChartArea&&r({x:l.x1,y:l.y1},{x:l.x2,y:l.y2},l),t.drawTicks&&r({x:l.tx1,y:l.ty1},{x:l.tx2,y:l.ty2},{color:l.tickColor,width:l.tickWidth,borderDash:l.tickBorderDash,borderDashOffset:l.tickBorderDashOffset})}}drawBorder(){let{chart:e,ctx:t,options:{border:s,grid:n}}=this,o=s.setContext(this.getContext()),a=s.display?o.width:0;if(!a)return;let r=n.setContext(this.getContext(0)).lineWidth,l=this._borderValue,c,h,d,u;this.isHorizontal()?(c=kt$3(e,this.left,a)-a/2,h=kt$3(e,this.right,r)+r/2,d=u=l):(d=kt$3(e,this.top,a)-a/2,u=kt$3(e,this.bottom,r)+r/2,c=h=l),t.save(),t.lineWidth=o.width,t.strokeStyle=o.color,t.beginPath(),t.moveTo(c,d),t.lineTo(h,u),t.stroke(),t.restore()}drawLabels(e){if(!this.options.ticks.display)return;let s=this.ctx,n=this._computeLabelArea();n&&ue$2(s,n);let o=this.getLabelItems(e);for(let a of o){let r=a.options,l=a.font,c=a.label,h=a.textOffset;wt$2(s,c,0,h,l,r)}n&&fe$3(s)}drawTitle(){let{ctx:e,options:{position:t,title:s,reverse:n}}=this;if(!s.display)return;let o=j$3(s.font),a=K$3(s.padding),r=s.align,l=o.lineHeight/2;t===`bottom`||t===`center`||A$8(t)?(l+=a.bottom,F$5(s.text)&&(l+=o.lineHeight*(s.text.length-1))):l+=a.top;let{titleX:c,titleY:h,maxWidth:d,rotation:u}=pl(this,l,t,r);wt$2(e,s.text,0,0,o,{color:s.color,maxWidth:d,rotation:u,textAlign:gl(r,t,n),textBaseline:`middle`,translation:[c,h]})}draw(e){this._isVisible()&&(this.drawBackground(),this.drawGrid(e),this.drawBorder(),this.drawTitle(),this.drawLabels(e))}_layers(){let e=this.options,t=e.ticks&&e.ticks.z||0,s=P$5(e.grid&&e.grid.z,-1),n=P$5(e.border&&e.border.z,0);return!this._isVisible()||this.draw!==i.prototype.draw?[{z:t,draw:o=>{this.draw(o)}}]:[{z:s,draw:o=>{this.drawBackground(),this.drawGrid(o),this.drawTitle()}},{z:n,draw:()=>{this.drawBorder()}},{z:t,draw:o=>{this.drawLabels(o)}}]}getMatchingVisibleMetas(e){let t=this.chart.getSortedVisibleDatasetMetas(),s=this.axis+`AxisID`,n=[],o,a;for(o=0,a=t.length;o<a;++o){let r=t[o];r[s]===this.id&&(!e||r.type===e)&&n.push(r)}return n}_resolveTickFontOptions(e){return j$3(this.options.ticks.setContext(this.getContext(e)).font)}_maxDigits(){let e=this._resolveTickFontOptions(0).lineHeight;return(this.isHorizontal()?this.width:this.height)/e}};var te$2=class{constructor(e,t,s){this.type=e,this.scope=t,this.override=s,this.items=Object.create(null)}isForType(e){return Object.prototype.isPrototypeOf.call(this.type.prototype,e.prototype)}register(e){let t=Object.getPrototypeOf(e),s;xl(t)&&(s=this.register(t));let n=this.items,o=e.id,a=this.scope+`.`+o;if(!o)throw new Error(`class does not have id: `+e);return o in n||(n[o]=e,ml(e,a,s),this.override&&B$3.override(e.id,e.overrides)),a}get(e){return this.items[e]}unregister(e){let t=this.items,s=e.id,n=this.scope;s in t&&delete t[s],n&&s in B$3[n]&&(delete B$3[n][s],this.override&&delete St[s])}};function ml(i,e,t){let s=Yt$1(Object.create(null),[t?B$3.get(t):{},B$3.get(e),i.defaults]);B$3.set(e,s),i.defaultRoutes&&bl(e,i.defaultRoutes),i.descriptors&&B$3.describe(e,i.descriptors)}function bl(i,e){Object.keys(e).forEach(t=>{let s=t.split(`.`),n=s.pop(),o=[i].concat(s).join(`.`),a=e[t].split(`.`),r=a.pop(),l=a.join(`.`);B$3.route(o,n,l,r)})}function xl(i){return`id`in i&&`defaults`in i}var ds=class{constructor(){this.controllers=new te$2(Ot$1,`datasets`,!0),this.elements=new te$2(xt$1,`elements`),this.plugins=new te$2(Object,`plugins`),this.scales=new te$2(Vt$2,`scales`),this._typedRegistries=[this.controllers,this.scales,this.elements]}add(...e){this._each(`register`,e)}remove(...e){this._each(`unregister`,e)}addControllers(...e){this._each(`register`,e,this.controllers)}addElements(...e){this._each(`register`,e,this.elements)}addPlugins(...e){this._each(`register`,e,this.plugins)}addScales(...e){this._each(`register`,e,this.scales)}getController(e){return this._get(e,this.controllers,`controller`)}getElement(e){return this._get(e,this.elements,`element`)}getPlugin(e){return this._get(e,this.plugins,`plugin`)}getScale(e){return this._get(e,this.scales,`scale`)}
vendor: 2,199 bytes, line 1
1removeControllers(...e){this._each(`unregister`,e,this.controllers)}removeElements(...e){this._each(`unregister`,e,this.elements)}removePlugins(...e){this._each(`unregister`,e,this.plugins)}removeScales(...e){this._each(`unregister`,e,this.scales)}_each(e,t,s){[...t].forEach(n=>{let o=s||this._getRegistryForType(n);s||o.isForType(n)||o===this.plugins&&n.id?this._exec(e,o,n):R$5(n,a=>{let r=s||this._getRegistryForType(a);this._exec(e,r,a)})})}_exec(e,t,s){let n=Ve$1(e);I$8(s[`before`+n],[],s),t[e](s),I$8(s[`after`+n],[],s)}_getRegistryForType(e){for(let t=0;t<this._typedRegistries.length;t++){let s=this._typedRegistries[t];if(s.isForType(e))return s}return this.plugins}_get(e,t,s){let n=t.get(e);if(n===void 0)throw new Error(`"`+e+`" is not a registered `+s+`.`);return n}};var ht$2=new ds;var us=class{constructor(){this._init=void 0}notify(e,t,s,n){if(t===`beforeInit`&&(this._init=this._createDescriptors(e,!0),this._notify(this._init,e,`install`)),this._init===void 0)return;let o=n?this._descriptors(e).filter(n):this._descriptors(e),a=this._notify(o,e,t,s);return t===`afterDestroy`&&(this._notify(o,e,`stop`),this._notify(this._init,e,`uninstall`),this._init=void 0),a}_notify(e,t,s,n){n=n||{};for(let o of e){let a=o.plugin,r=a[s];if(I$8(r,[t,n,o.options],a)===!1&&n.cancelable)return!1}return!0}invalidate(){O$6(this._cache)||(this._oldCache=this._cache,this._cache=void 0)}_descriptors(e){if(this._cache)return this._cache;let t=this._cache=this._createDescriptors(e);return this._notifyStateChanges(e),t}_createDescriptors(e,t){let s=e&&e.config,n=P$5(s.options&&s.options.plugins,{}),o=_l(s);return n===!1&&!t?[]:vl(e,o,n,t)}_notifyStateChanges(e){let t=this._oldCache||[],s=this._cache,n=(o,a)=>o.filter(r=>!a.some(l=>r.plugin.id===l.plugin.id));this._notify(n(t,s),e,`stop`),this._notify(n(s,t),e,`start`)}};function _l(i){let e={},t=[],s=Object.keys(ht$2.plugins.items);for(let o=0;o<s.length;o++)t.push(ht$2.getPlugin(s[o]));let n=i.plugins||[];for(let o=0;o<n.length;o++){let a=n[o];t.indexOf(a)===-1&&(t.push(a),e[a.id]=!0)}return{plugins:t,localIds:e}}function yl(i,e){return!e&&i===!1?null:i===!0?{}:i}function vl(i,{plugins:e,localIds:t},s,n){let o=[],a=i.getContext();
vendor: 4,905 bytes, line 1
1for(let r of e){let l=r.id,c=yl(s[l],n);c!==null&&o.push({plugin:r,options:Ml(i.config,{plugin:r,local:t[l]},c,a)})}return o}function Ml(i,{plugin:e,local:t},s,n){let o=i.pluginScopeKeys(e),a=i.getOptionScopes(s,o);return t&&e.defaults&&a.push(e.defaults),i.createResolver(a,n,[``],{scriptable:!1,indexable:!1,allKeys:!0})}function fs(i,e){let t=B$3.datasets[i]||{};return((e.datasets||{})[i]||{}).indexAxis||e.indexAxis||t.indexAxis||`x`}function Sl(i,e){let t=i;return i===`_index_`?t=e:i===`_value_`&&(t=e===`x`?`y`:`x`),t}function kl(i,e){return i===e?`_index_`:`_value_`}function In$1(i){if(i===`x`||i===`y`||i===`r`)return i}function wl(i){if(i===`top`||i===`bottom`)return`x`;if(i===`left`||i===`right`)return`y`}function gs(i,...e){if(In$1(i))return i;for(let t of e){let s=t.axis||wl(t.position)||i.length>1&&In$1(i[0].toLowerCase());if(s)return s}throw new Error(`Cannot determine type of '${i}' axis. Please provide 'axis' or 'position' option.`)}function Fn(i,e,t){if(t[e+`AxisID`]===i)return{axis:e}}function Pl(i,e){if(e.data&&e.data.datasets){let t=e.data.datasets.filter(s=>s.xAxisID===i||s.yAxisID===i);if(t.length)return Fn(i,`x`,t[0])||Fn(i,`y`,t[0])}return{}}function Cl(i,e){let t=St[i.type]||{scales:{}},s=e.scales||{},n=fs(i.type,e),o=Object.create(null);return Object.keys(s).forEach(a=>{let r=s[a];if(!A$8(r))return console.error(`Invalid scale configuration for scale: ${a}`);if(r._proxy)return console.warn(`Ignoring resolver passed as options for scale: ${a}`);let l=gs(a,r,Pl(a,i),B$3.scales[r.type]),c=kl(l,n),h=t.scales||{};o[a]=Ut$2(Object.create(null),[{axis:l},r,h[l],h[c]])}),i.data.datasets.forEach(a=>{let r=a.type||i.type,l=a.indexAxis||fs(r,e),h=(St[r]||{}).scales||{};Object.keys(h).forEach(d=>{let u=Sl(d,l),f=a[u+`AxisID`]||u;o[f]=o[f]||Object.create(null),Ut$2(o[f],[{axis:u},s[f],h[d]])})}),Object.keys(o).forEach(a=>{let r=o[a];Ut$2(r,[B$3.scales[r.type],B$3.scale])}),o}function So(i){let e=i.options||(i.options={});e.plugins=P$5(e.plugins,{}),e.scales=Cl(i,e)}function ko(i){return i=i||{},i.datasets=i.datasets||[],i.labels=i.labels||[],i}function Dl(i){return i=i||{},i.data=ko(i.data),So(i),i}var zn=new Map;var wo=new Set;function Ze(i,e){let t=zn.get(i);return t||(t=e(),zn.set(i,t),wo.add(t)),t}var xe$2=(i,e,t)=>{let s=gt$2(e,t);s!==void 0&&i.add(s)};var ps=class{constructor(e){this._config=Dl(e),this._scopeCache=new Map,this._resolverCache=new Map}get platform(){return this._config.platform}get type(){return this._config.type}set type(e){this._config.type=e}get data(){return this._config.data}set data(e){this._config.data=ko(e)}get options(){return this._config.options}set options(e){this._config.options=e}get plugins(){return this._config.plugins}update(){let e=this._config;this.clearCache(),So(e)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(e){return Ze(e,()=>[[`datasets.${e}`,``]])}datasetAnimationScopeKeys(e,t){return Ze(`${e}.transition.${t}`,()=>[[`datasets.${e}.transitions.${t}`,`transitions.${t}`],[`datasets.${e}`,``]])}datasetElementScopeKeys(e,t){return Ze(`${e}-${t}`,()=>[[`datasets.${e}.elements.${t}`,`datasets.${e}`,`elements.${t}`,``]])}pluginScopeKeys(e){let t=e.id,s=this.type;return Ze(`${s}-plugin-${t}`,()=>[[`plugins.${t}`,...e.additionalOptionScopes||[]]])}_cachedScopes(e,t){let s=this._scopeCache,n=s.get(e);return(!n||t)&&(n=new Map,s.set(e,n)),n}getOptionScopes(e,t,s){let{options:n,type:o}=this,a=this._cachedScopes(e,s),r=a.get(t);if(r)return r;let l=new Set;t.forEach(h=>{e&&(l.add(e),h.forEach(d=>xe$2(l,e,d))),h.forEach(d=>xe$2(l,n,d)),h.forEach(d=>xe$2(l,St[o]||{},d)),h.forEach(d=>xe$2(l,B$3,d)),h.forEach(d=>xe$2(l,je$1,d))});let c=Array.from(l);return c.length===0&&c.push(Object.create(null)),wo.has(t)&&a.set(t,c),c}chartOptionScopes(){let{options:e,type:t}=this;return[e,St[t]||{},B$3.datasets[t]||{},{type:t},B$3,je$1]}resolveNamedOptions(e,t,s,n=[``]){let o={$shared:!0},{resolver:a,subPrefixes:r}=Bn(this._resolverCache,e,n),l=a;if(Al(a,t)){o.$shared=!1,s=ut$2(s)?s():s;let c=this.createResolver(e,s,r);l=Et$1(a,s,c)}for(let c of t)o[c]=l[c];return o}createResolver(e,t,s=[``],n){let{resolver:o}=Bn(this._resolverCache,e,s);return A$8(t)?Et$1(o,t,void 0,n):o}};function Bn(i,e,t){let s=i.get(e);s||(s=new Map,i.set(e,s));let n=t.join(),o=s.get(n);return o||(o={resolver:Ue$2(e,t),subPrefixes:t.filter(r=>!r.toLowerCase().includes(`hover`))},s.set(n,o)),o}var Ol=i=>A$8(i)&&Object.getOwnPropertyNames(i).some(e=>ut$2(i[e]));function Al(i,e){let{isScriptable:t,isIndexable:s}=Bi$1(i);for(let n of e){let o=t(n),a=s(n),r=(a||o)&&i[n];if(o&&(ut$2(r)||Ol(r))||a&&F$5(r))return!0}return!1}var Tl=`4.5.1`;var Ll=[`top`,`bottom`,`left`,`right`,`chartArea`];function Vn(i,e){return i===`top`||i===`bottom`||Ll.indexOf(i)===-1&&e===`x`}function Wn(i,e){return function(t,s){return t[i]===s[i]?t[e]-s[e]:t[i]-s[i]}}function Nn(i){let e=i.chart,t=e.options.animation;
vendor: 7,190 bytes, line 1
1e.notifyPlugins(`afterRender`),I$8(t&&t.onComplete,[i],e)}function Rl(i){let e=i.chart,t=e.options.animation;I$8(t&&t.onProgress,[i],e)}function Po(i){return Xe()&&typeof i==`string`?i=document.getElementById(i):i&&i.length&&(i=i[0]),i&&i.canvas&&(i=i.canvas),i}var si={};var Hn=i=>{let e=Po(i);return Object.values(si).filter(t=>t.canvas===e).pop()};function El(i,e,t){let s=Object.keys(i);for(let n of s){let o=+n;if(o>=e){let a=i[n];delete i[n],(t>0||o>e)&&(i[o+t]=a)}}}function Il(i,e,t,s){return!t||i.type===`mouseout`?null:s?e:i}var Fl=(()=>{class i{static defaults=B$3;static instances=si;static overrides=St;static registry=ht$2;static version=Tl;static getChart=Hn;static register(...t){ht$2.add(...t),jn()}static unregister(...t){ht$2.remove(...t),jn()}constructor(t,s){let n=this.config=new ps(s),o=Po(t),a=Hn(o);if(a)throw new Error(`Canvas is already in use. Chart with ID '`+a.id+`' must be destroyed before the canvas with ID '`+a.canvas.id+`' can be reused.`);let r=n.createResolver(n.chartOptionScopes(),this.getContext());this.platform=new(n.platform||(il(o))),this.platform.updateConfig(n);let l=this.platform.acquireContext(o,r.aspectRatio),c=l&&l.canvas,h=c&&c.height,d=c&&c.width;if(this.id=Ws(),this.ctx=l,this.canvas=c,this.width=d,this.height=h,this._options=r,this._aspectRatio=this.aspectRatio,this._layers=[],this._metasets=[],this._stacks=void 0,this.boxes=[],this.currentDevicePixelRatio=void 0,this.chartArea=void 0,this._active=[],this._lastEvent=void 0,this._listeners={},this._responsiveListeners=void 0,this._sortedMetasets=[],this.scales={},this._plugins=new us,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=Js(u=>this.update(u),r.resizeDelay||0),this._dataChanges=[],si[this.id]=this,!l||!c){console.error(`Failed to create chart: can't acquire context from the given item`);return}mt$3.listen(this,`complete`,Nn),mt$3.listen(this,`progress`,Rl),this._initialize(),this.attached&&this.update()}get aspectRatio(){let{options:{aspectRatio:t,maintainAspectRatio:s},width:n,height:o,_aspectRatio:a}=this;return O$6(t)?s&&a?a:o?n/o:null:t}get data(){return this.config.data}set data(t){this.config.data=t}get options(){return this._options}set options(t){this.config.options=t}get registry(){return ht$2}_initialize(){return this.notifyPlugins(`beforeInit`),this.options.responsive?this.resize():Hi(this,this.options.devicePixelRatio),this.bindEvents(),this.notifyPlugins(`afterInit`),this}clear(){return Ii$1(this.canvas,this.ctx),this}stop(){return mt$3.stop(this),this}resize(t,s){mt$3.running(this)?this._resizeBeforeDraw={width:t,height:s}:this._resize(t,s)}_resize(t,s){let n=this.options,o=this.canvas,a=n.maintainAspectRatio&&this.aspectRatio,r=this.platform.getMaximumSize(o,t,s,a),l=n.devicePixelRatio||this.platform.getDevicePixelRatio(),c=this.width?`resize`:`attach`;this.width=r.width,this.height=r.height,this._aspectRatio=this.aspectRatio,Hi(this,l,!0)&&(this.notifyPlugins(`resize`,{size:r}),I$8(n.onResize,[this,r],this),this.attached&&this._doResize(c)&&this.render())}ensureScalesHaveIDs(){R$5(this.options.scales||{},(n,o)=>{n.id=o})}buildOrUpdateScales(){let t=this.options,s=t.scales,n=this.scales,o=Object.keys(n).reduce((r,l)=>(r[l]=!1,r),{}),a=[];s&&(a=a.concat(Object.keys(s).map(r=>{let l=s[r],c=gs(r,l),h=c===`r`,d=c===`x`;return{options:l,dposition:h?`chartArea`:d?`bottom`:`left`,dtype:h?`radialLinear`:d?`category`:`linear`}}))),R$5(a,r=>{let l=r.options,c=l.id,h=gs(c,l),d=P$5(l.type,r.dtype);(l.position===void 0||Vn(l.position,h)!==Vn(r.dposition))&&(l.position=r.dposition),o[c]=!0;let u=null;if(c in n&&n[c].type===d)u=n[c];else u=new(ht$2.getScale(d))({id:c,type:d,ctx:this.ctx,chart:this}),n[u.id]=u;u.init(l,t)}),R$5(o,(r,l)=>{r||delete n[l]}),R$5(n,r=>{G$3.configure(this,r,r.options),G$3.addBox(this,r)})}_updateMetasets(){let t=this._metasets,s=this.data.datasets.length,n=t.length;if(t.sort((o,a)=>o.index-a.index),n>s){for(let o=s;o<n;++o)this._destroyDatasetMeta(o);t.splice(s,n-s)}this._sortedMetasets=t.slice(0).sort(Wn(`order`,`index`))}_removeUnreferencedMetasets(){let{_metasets:t,data:{datasets:s}}=this;t.length>s.length&&delete this._stacks,t.forEach((n,o)=>{s.filter(a=>a===n._dataset).length===0&&this._destroyDatasetMeta(o)})}buildOrUpdateControllers(){let t=[],s=this.data.datasets,n,o;for(this._removeUnreferencedMetasets(),n=0,o=s.length;n<o;n++){let a=s[n],r=this.getDatasetMeta(n),l=a.type||this.config.type;if(r.type&&r.type!==l&&(this._destroyDatasetMeta(n),r=this.getDatasetMeta(n)),r.type=l,r.indexAxis=a.indexAxis||fs(l,this.options),r.order=a.order||0,r.index=n,r.label=``+a.label,r.visible=this.isDatasetVisible(n),r.controller)r.controller.updateIndex(n),r.controller.linkScales();else{let c=ht$2.getController(l),{datasetElementType:h,dataElementType:d}=B$3.datasets[l];Object.assign(c,{dataElementType:ht$2.getElement(d),datasetElementType:h&&ht$2.getElement(h)}),r.controller=new c(this,n),t.push(r.controller)}}return this._updateMetasets(),t}_resetElements(){R$5(this.data.datasets,(t,s)=>{this.getDatasetMeta(s).controller.reset()},this)}reset(){this._resetElements(),this.notifyPlugins(`reset`)}update(t){let s=this.config;s.update();let n=this._options=s.createResolver(s.chartOptionScopes(),this.getContext()),o=this._animationsDisabled=!n.animation;if(this._updateScales(),this._checkEventBindings(),this._updateHiddenIndices(),this._plugins.invalidate(),this.notifyPlugins(`beforeUpdate`,{mode:t,cancelable:!0})===!1)return;let a=this.buildOrUpdateControllers();this.notifyPlugins(`beforeElementsUpdate`);let r=0;for(let h=0,d=this.data.datasets.length;h<d;h++){let{controller:u}=this.getDatasetMeta(h),f=!o&&a.indexOf(u)===-1;u.buildOrUpdateElements(f),r=Math.max(+u.getMaxOverflow(),r)}r=this._minPadding=n.layout.autoPadding?r:0,this._updateLayout(r),o||R$5(a,h=>{h.reset()}),this._updateDatasets(t),this.notifyPlugins(`afterUpdate`,{mode:t}),this._layers.sort(Wn(`z`,`_idx`));let{_active:l,_lastEvent:c}=this;c?this._eventHandler(c,!0):l.length&&this._updateHoverStyles(l,l,!0),this.render()}_updateScales(){R$5(this.scales,t=>{G$3.removeBox(this,t)}),this.ensureScalesHaveIDs(),this.buildOrUpdateScales()}_checkEventBindings(){let t=this.options;(!Mi(new Set(Object.keys(this._listeners)),new Set(t.events))||!!this._responsiveListeners!==t.responsive)&&(this.unbindEvents(),this.bindEvents())}_updateHiddenIndices(){let{_hiddenIndices:t}=this,s=this._getUniformDataChanges()||[];for(let{method:n,start:o,count:a}of s)El(t,o,n===`_removeElements`?-a:a)}_getUniformDataChanges(){let t=this._dataChanges;if(!t||!t.length)return;this._dataChanges=[];let s=this.data.datasets.length,n=a=>new Set(t.filter(r=>r[0]===a).map((r,l)=>l+`,`+r.splice(1).join(`,`))),o=n(0);for(let a=1;a<s;a++)if(!Mi(o,n(a)))return;return Array.from(o).map(a=>a.split(`,`)).map(a=>({method:a[1],start:+a[2],count:+a[3]}))}_updateLayout(t){if(this.notifyPlugins(`beforeLayout`,{cancelable:!0})===!1)return;G$3.update(this,this.width,this.height,t);let s=this.chartArea,n=s.width<=0||s.height<=0;this._layers=[],R$5(this.boxes,o=>{n&&o.position===`chartArea`||(o.configure&&o.configure(),this._layers.push(...o._layers()))}
vendor: 5,667 bytes, line 1
1,this),this._layers.forEach((o,a)=>{o._idx=a}),this.notifyPlugins(`afterLayout`)}_updateDatasets(t){if(this.notifyPlugins(`beforeDatasetsUpdate`,{mode:t,cancelable:!0})!==!1){for(let s=0,n=this.data.datasets.length;s<n;++s)this.getDatasetMeta(s).controller.configure();for(let s=0,n=this.data.datasets.length;s<n;++s)this._updateDataset(s,ut$2(t)?t({datasetIndex:s}):t);this.notifyPlugins(`afterDatasetsUpdate`,{mode:t})}}_updateDataset(t,s){let n=this.getDatasetMeta(t),o={meta:n,index:t,mode:s,cancelable:!0};this.notifyPlugins(`beforeDatasetUpdate`,o)!==!1&&(n.controller._update(s),o.cancelable=!1,this.notifyPlugins(`afterDatasetUpdate`,o))}render(){this.notifyPlugins(`beforeRender`,{cancelable:!0})!==!1&&(mt$3.has(this)?this.attached&&!mt$3.running(this)&&mt$3.start(this):(this.draw(),Nn({chart:this})))}draw(){let t;if(this._resizeBeforeDraw){let{width:n,height:o}=this._resizeBeforeDraw;this._resizeBeforeDraw=null,this._resize(n,o)}if(this.clear(),this.width<=0||this.height<=0||this.notifyPlugins(`beforeDraw`,{cancelable:!0})===!1)return;let s=this._layers;for(t=0;t<s.length&&s[t].z<=0;++t)s[t].draw(this.chartArea);for(this._drawDatasets();t<s.length;++t)s[t].draw(this.chartArea);this.notifyPlugins(`afterDraw`)}_getSortedDatasetMetas(t){let s=this._sortedMetasets,n=[],o,a;for(o=0,a=s.length;o<a;++o){let r=s[o];(!t||r.visible)&&n.push(r)}return n}getSortedVisibleDatasetMetas(){return this._getSortedDatasetMetas(!0)}_drawDatasets(){if(this.notifyPlugins(`beforeDatasetsDraw`,{cancelable:!0})===!1)return;let t=this.getSortedVisibleDatasetMetas();for(let s=t.length-1;s>=0;--s)this._drawDataset(t[s]);this.notifyPlugins(`afterDatasetsDraw`)}_drawDataset(t){let s=this.ctx,n={meta:t,index:t.index,cancelable:!0},o=Ki(this,t);this.notifyPlugins(`beforeDatasetDraw`,n)!==!1&&(o&&ue$2(s,o),t.controller.draw(),o&&fe$3(s),n.cancelable=!1,this.notifyPlugins(`afterDatasetDraw`,n))}isPointInArea(t){return at$3(t,this.chartArea,this._minPadding)}getElementsAtEventForMode(t,s,n,o){let a=zr.modes[s];return typeof a==`function`?a(this,t,n,o):[]}getDatasetMeta(t){let s=this.data.datasets[t],n=this._metasets,o=n.filter(a=>a&&a._dataset===s).pop();return o||(o={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:s&&s.order||0,index:t,_dataset:s,_parsed:[],_sorted:!1},n.push(o)),o}getContext(){return this.$context||(this.$context=pt$1(null,{chart:this,type:`chart`}))}getVisibleDatasetCount(){return this.getSortedVisibleDatasetMetas().length}isDatasetVisible(t){let s=this.data.datasets[t];if(!s)return!1;let n=this.getDatasetMeta(t);return typeof n.hidden==`boolean`?!n.hidden:!s.hidden}setDatasetVisibility(t,s){let n=this.getDatasetMeta(t);n.hidden=!s}toggleDataVisibility(t){this._hiddenIndices[t]=!this._hiddenIndices[t]}getDataVisibility(t){return!this._hiddenIndices[t]}_updateVisibility(t,s,n){let o=n?`show`:`hide`,a=this.getDatasetMeta(t),r=a.controller._resolveAnimations(void 0,o);Xt$1(s)?(a.data[s].hidden=!n,this.update()):(this.setDatasetVisibility(t,n),r.update(a,{visible:n}),this.update(l=>l.datasetIndex===t?o:void 0))}hide(t,s){this._updateVisibility(t,s,!1)}show(t,s){this._updateVisibility(t,s,!0)}_destroyDatasetMeta(t){let s=this._metasets[t];s&&s.controller&&s.controller._destroy(),delete this._metasets[t]}_stop(){let t,s;for(this.stop(),mt$3.remove(this),t=0,s=this.data.datasets.length;t<s;++t)this._destroyDatasetMeta(t)}destroy(){this.notifyPlugins(`beforeDestroy`);let{canvas:t,ctx:s}=this;this._stop(),this.config.clearCache(),t&&(this.unbindEvents(),Ii$1(t,s),this.platform.releaseContext(s),this.canvas=null,this.ctx=null),delete si[this.id],this.notifyPlugins(`afterDestroy`)}toBase64Image(...t){return this.canvas.toDataURL(...t)}bindEvents(){this.bindUserEvents(),this.options.responsive?this.bindResponsiveEvents():this.attached=!0}bindUserEvents(){let t=this._listeners,s=this.platform,n=(a,r)=>{s.addEventListener(this,a,r),t[a]=r},o=(a,r,l)=>{a.offsetX=r,a.offsetY=l,this._eventHandler(a)};R$5(this.options.events,a=>n(a,o))}bindResponsiveEvents(){this._responsiveListeners||(this._responsiveListeners={});let t=this._responsiveListeners,s=this.platform,n=(c,h)=>{s.addEventListener(this,c,h),t[c]=h},o=(c,h)=>{t[c]&&(s.removeEventListener(this,c,h),delete t[c])},a=(c,h)=>{this.canvas&&this.resize(c,h)},r,l=()=>{o(`attach`,l),this.attached=!0,this.resize(),n(`resize`,a),n(`detach`,r)};r=()=>{this.attached=!1,o(`resize`,a),this._stop(),this._resize(0,0),n(`attach`,l)},s.isAttached(this.canvas)?l():r()}unbindEvents(){R$5(this._listeners,(t,s)=>{this.platform.removeEventListener(this,s,t)}),this._listeners={},R$5(this._responsiveListeners,(t,s)=>{this.platform.removeEventListener(this,s,t)}),this._responsiveListeners=void 0}updateHoverStyle(t,s,n){let o=n?`set`:`remove`,a,r,l,c;for(s===`dataset`&&(a=this.getDatasetMeta(t[0].datasetIndex),a.controller[`_`+o+`DatasetHoverStyle`]()),l=0,c=t.length;l<c;++l){r=t[l];let h=r&&this.getDatasetMeta(r.datasetIndex).controller;h&&h[o+`HoverStyle`](r.element,r.datasetIndex,r.index)}}getActiveElements(){return this._active||[]}setActiveElements(t){let s=this._active||[],n=t.map(({datasetIndex:a,index:r})=>{let l=this.getDatasetMeta(a);if(!l)throw new Error(`No dataset found at index `+a);return{datasetIndex:a,element:l.data[r],index:r}});!he$4(n,s)&&(this._active=n,this._lastEvent=null,this._updateHoverStyles(n,s))}notifyPlugins(t,s,n){return this._plugins.notify(this,t,s,n)}isPluginEnabled(t){return this._plugins._cache.filter(s=>s.plugin.id===t).length===1}_updateHoverStyles(t,s,n){let o=this.options.hover,a=(c,h)=>c.filter(d=>!h.some(u=>d.datasetIndex===u.datasetIndex&&d.index===u.index)),r=a(s,t),l=n?t:a(t,
vendor: 6,331 bytes, line 1
1s);r.length&&this.updateHoverStyle(r,o.mode,!1),l.length&&o.mode&&this.updateHoverStyle(l,o.mode,!0)}_eventHandler(t,s){let n={event:t,replay:s,cancelable:!0,inChartArea:this.isPointInArea(t)},o=r=>(r.options.events||this.options.events).includes(t.native.type);if(this.notifyPlugins(`beforeEvent`,n,o)===!1)return;let a=this._handleEvent(t,s,n.inChartArea);return n.cancelable=!1,this.notifyPlugins(`afterEvent`,n,o),(a||n.changed)&&this.render(),this}_handleEvent(t,s,n){let{_active:o=[],options:a}=this,r=s,l=this._getActiveElements(t,o,n,r),c=js(t),h=Il(t,this._lastEvent,n,c);n&&(this._lastEvent=null,I$8(a.onHover,[t,l,this],this),c&&I$8(a.onClick,[t,l,this],this));let d=!he$4(l,o);return(d||s)&&(this._active=l,this._updateHoverStyles(l,o,s)),this._lastEvent=h,d}_getActiveElements(t,s,n,o){if(t.type===`mouseout`)return[];if(!n)return s;let a=this.options.hover;return this.getElementsAtEventForMode(t,a.mode,a,o)}}return i})();function jn(){return R$5(Fl.instances,i=>i._plugins.invalidate())}function zl(i,e,t){let{startAngle:s,x:n,y:o,outerRadius:a,innerRadius:r,options:l}=e,{borderWidth:c,borderJoinStyle:h}=l,d=Math.min(c/a,U$2(s-t));if(i.beginPath(),i.arc(n,o,a-c/2,s+d/2,t-d/2),r>0){let u=Math.min(c/r,U$2(s-t));i.arc(n,o,r+c/2,t-u/2,s+u/2,!0)}else{let u=Math.min(c/2,a*U$2(s-t));if(h===`round`)i.arc(n,o,u,t-L$3/2,s+L$3/2,!0);else if(h===`bevel`){let f=2*u*u,g=-f*Math.cos(t+L$3/2)+n,p=-f*Math.sin(t+L$3/2)+o,m=f*Math.cos(s+L$3/2)+n,x=f*Math.sin(s+L$3/2)+o;i.lineTo(g,p),i.lineTo(m,x)}}i.closePath(),i.moveTo(0,0),i.rect(0,0,i.canvas.width,i.canvas.height),i.clip(`evenodd`)}function Bl(i,e,t){let{startAngle:s,pixelMargin:n,x:o,y:a,outerRadius:r,innerRadius:l}=e,c=n/r;i.beginPath(),i.arc(o,a,r,s-c,t+c),l>n?(c=n/l,i.arc(o,a,l,t+c,s-c,!0)):i.arc(o,a,n,t+N$5,s-N$5),i.closePath(),i.clip()}function Vl(i){return $e(i,[`outerStart`,`outerEnd`,`innerStart`,`innerEnd`])}function Wl(i,e,t,s){let n=Vl(i.options.borderRadius),o=(t-e)/2,a=Math.min(o,s*e/2),r=l=>{let c=(t-Math.min(o,l))*s/2;return Y$4(l,0,Math.min(o,c))};return{outerStart:r(n.outerStart),outerEnd:r(n.outerEnd),innerStart:Y$4(n.innerStart,0,a),innerEnd:Y$4(n.innerEnd,0,a)}}function Qt$1(i,e,t,s){return{x:t+i*Math.cos(e),y:s+i*Math.sin(e)}}function li(i,e,t,s,n,o){let{x:a,y:r,startAngle:l,pixelMargin:c,innerRadius:h}=e,d=Math.max(e.outerRadius+s+t-c,0),u=h>0?h+s+t+c:0,f=0,g=n-l;if(s){let H=((h>0?h-s:0)+(d>0?d-s:0))/2;f=(g-(H!==0?g*H/(H+s):g))/2}let m=(g-Math.max(.001,g*d-t/L$3)/d)/2,x=l+m+f,b=n-m-f,{outerStart:y,outerEnd:M,innerStart:_,innerEnd:v}=Wl(e,u,d,b-x),k=d-y,S=d-M,w=x+y/k,D=b-M/S,C=u+_,T=u+v,$=x+_/C,tt=b-v/T;if(i.beginPath(),o){let E=(w+D)/2;if(i.arc(a,r,d,w,E),i.arc(a,r,d,E,D),M>0){let q=Qt$1(S,D,a,r);i.arc(q.x,q.y,M,D,b+N$5)}let V=Qt$1(T,b,a,r);if(i.lineTo(V.x,V.y),v>0){let q=Qt$1(T,tt,a,r);i.arc(q.x,q.y,v,b+N$5,tt+Math.PI)}let H=(b-v/u+(x+_/u))/2;if(i.arc(a,r,u,b-v/u,H,!0),i.arc(a,r,u,H,x+_/u,!0),_>0){let q=Qt$1(C,$,a,r);i.arc(q.x,q.y,_,$+Math.PI,x-N$5)}let st=Qt$1(k,x,a,r);if(i.lineTo(st.x,st.y),y>0){let q=Qt$1(k,w,a,r);i.arc(q.x,q.y,y,x-N$5,w)}}else{i.moveTo(a,r);let E=Math.cos(w)*d+a,V=Math.sin(w)*d+r;i.lineTo(E,V);let H=Math.cos(D)*d+a,st=Math.sin(D)*d+r;i.lineTo(H,st)}i.closePath()}function Nl(i,e,t,s,n){let{fullCircles:o,startAngle:a,circumference:r}=e,l=e.endAngle;if(o){li(i,e,t,s,l,n);for(let c=0;c<o;++c)i.fill();isNaN(r)||(l=a+(r%z$4||z$4))}return li(i,e,t,s,l,n),i.fill(),l}function Hl(i,e,t,s,n){let{fullCircles:o,startAngle:a,circumference:r,options:l}=e,{borderWidth:c,borderJoinStyle:h,borderDash:d,borderDashOffset:u,borderRadius:f}=l,g=l.borderAlign===`inner`;if(!c)return;i.setLineDash(d||[]),i.lineDashOffset=u,g?(i.lineWidth=c*2,i.lineJoin=h||`round`):(i.lineWidth=c,i.lineJoin=h||`bevel`);let p=e.endAngle;if(o){li(i,e,t,s,p,n);for(let m=0;m<o;++m)i.stroke();isNaN(r)||(p=a+(r%z$4||z$4))}g&&Bl(i,e,p),l.selfJoin&&p-a>=L$3&&f===0&&h!==`miter`&&zl(i,e,p),o||(li(i,e,t,s,p,n),i.stroke())}var ms=class extends xt$1{static id=`arc`;static defaults={borderAlign:`center`,borderColor:`#fff`,borderDash:[],borderDashOffset:0,borderJoinStyle:void 0,borderRadius:0,borderWidth:2,offset:0,spacing:0,angle:void 0,circular:!0,selfJoin:!1};static defaultRoutes={backgroundColor:`backgroundColor`};static descriptors={_scriptable:!0,_indexable:e=>e!==`borderDash`};circumference;endAngle;fullCircles;innerRadius;outerRadius;pixelMargin;startAngle;constructor(e){super(),this.options=void 0,this.circumference=void 0,this.startAngle=void 0,this.endAngle=void 0,this.innerRadius=void 0,this.outerRadius=void 0,this.pixelMargin=0,this.fullCircles=0,e&&Object.assign(this,e)}inRange(e,t,s){let{angle:o,distance:a}=Pi(this.getProps([`x`,`y`],s),{x:e,y:t}),{startAngle:r,endAngle:l,innerRadius:c,outerRadius:h,circumference:d}=this.getProps([`startAngle`,`endAngle`,`innerRadius`,`outerRadius`,`circumference`],s),u=(this.options.spacing+this.options.borderWidth)/2,f=P$5(d,l-r),g=qt$2(o,r,l)&&r!==l,p=f>=z$4||g,m=lt$2(a,c+u,h+u);return p&&m}getCenterPoint(e){let{x:t,y:s,startAngle:n,endAngle:o,innerRadius:a,outerRadius:r}=this.getProps([`x`,`y`,`startAngle`,`endAngle`,`innerRadius`,`outerRadius`],e),{offset:l,spacing:c}=this.options,h=(n+o)/2,d=(a+r+c+l)/2;return{x:t+Math.cos(h)*d,y:s+Math.sin(h)*d}}tooltipPosition(e){return this.getCenterPoint(e)}draw(e){let{options:t,circumference:s}=this,n=(t.offset||0)/4,o=(t.spacing||0)/2,a=t.circular;if(this.pixelMargin=t.borderAlign===`inner`?.33:0,this.fullCircles=s>z$4?Math.floor(s/z$4):0,s===0||this.innerRadius<0||this.outerRadius<0)return;e.save();let r=(this.startAngle+this.endAngle)/2;e.translate(Math.cos(r)*n,Math.sin(r)*n);let c=n*(1-Math.sin(Math.min(L$3,s||0)));e.fillStyle=t.backgroundColor,e.strokeStyle=t.borderColor,Nl(e,this,c,o,a),Hl(e,this,c,o,a),e.restore()}};function Co$1(i,e,t=e){i.lineCap=P$5(t.borderCapStyle,e.borderCapStyle),i.setLineDash(P$5(t.borderDash,e.borderDash)),i.lineDashOffset=P$5(t.borderDashOffset,e.borderDashOffset),i.lineJoin=P$5(t.borderJoinStyle,e.borderJoinStyle),i.lineWidth=P$5(t.borderWidth,e.borderWidth),i.strokeStyle=P$5(t.borderColor,e.borderColor)}function jl(i,e,t){i.lineTo(t.x,t.y)}function Yl(i){return i.stepped?en$2:i.tension||i.cubicInterpolationMode===`monotone`?sn$1:jl}function Do(i,e,t={}){let s=i.length,{start:n=0,end:o=s-1}=t,{start:a,end:r}=e,l=Math.max(n,a),c=Math.min(o,r),h=n<a&&o<a||n>r&&o>r;
vendor: 5,464 bytes, line 1
1return{count:s,start:l,loop:e.loop,ilen:c<l&&!h?s+c-l:c-l}}function $l(i,e,t,s){let{points:n,options:o}=e,{count:a,start:r,loop:l,ilen:c}=Do(n,t,s),h=Yl(o),{move:d=!0,reverse:u}=s||{},f,g,p;for(f=0;f<=c;++f)g=n[(r+(u?c-f:f))%a],!g.skip&&(d?(i.moveTo(g.x,g.y),d=!1):h(i,p,g,u,o.stepped),p=g);return l&&(g=n[(r+(u?c:0))%a],h(i,p,g,u,o.stepped)),!!l}function Ul(i,e,t,s){let n=e.points,{count:o,start:a,ilen:r}=Do(n,t,s),{move:l=!0,reverse:c}=s||{},h=0,d=0,u,f,g,p,m,x,b=M=>(a+(c?r-M:M))%o,y=()=>{p!==m&&(i.lineTo(h,m),i.lineTo(h,p),i.lineTo(h,x))};for(l&&(f=n[b(0)],i.moveTo(f.x,f.y)),u=0;u<=r;++u){if(f=n[b(u)],f.skip)continue;let M=f.x,_=f.y,v=M|0;v===g?(_<p?p=_:_>m&&(m=_),h=(d*h+M)/++d):(y(),i.lineTo(M,_),g=v,d=0,p=m=_),x=_}y()}function bs(i){let e=i.options,t=e.borderDash&&e.borderDash.length;return!i._decimated&&!i._loop&&!e.tension&&e.cubicInterpolationMode!==`monotone`&&!e.stepped&&!t?Ul:$l}function Xl(i){return i.stepped?un$1:i.tension||i.cubicInterpolationMode===`monotone`?fn$1:vt$2}function Kl(i,e,t,s){let n=e._path;n||(n=e._path=new Path2D,e.path(n,t,s)&&n.closePath()),Co$1(i,e.options),i.stroke(n)}function ql(i,e,t,s){let{segments:n,options:o}=e,a=bs(e);for(let r of n)Co$1(i,o,r.style),i.beginPath(),a(i,e,r,{start:t,end:t+s-1})&&i.closePath(),i.stroke()}var Gl=typeof Path2D==`function`;function Jl(i,e,t,s){Gl&&!e.options.segment?Kl(i,e,t,s):ql(i,e,t,s)}var ee$4=class extends xt$1{static id=`line`;static defaults={borderCapStyle:`butt`,borderDash:[],borderDashOffset:0,borderJoinStyle:`miter`,borderWidth:3,capBezierPoints:!0,cubicInterpolationMode:`default`,fill:!1,spanGaps:!1,stepped:!1,tension:0};static defaultRoutes={backgroundColor:`backgroundColor`,borderColor:`borderColor`};static descriptors={_scriptable:!0,_indexable:e=>e!==`borderDash`&&e!==`fill`};constructor(e){super(),this.animated=!0,this.options=void 0,this._chart=void 0,this._loop=void 0,this._fullLoop=void 0,this._path=void 0,this._points=void 0,this._segments=void 0,this._decimated=!1,this._pointsUpdated=!1,this._datasetIndex=void 0,e&&Object.assign(this,e)}updateControlPoints(e,t){let s=this.options;if((s.tension||s.cubicInterpolationMode===`monotone`)&&!s.stepped&&!this._pointsUpdated){let n=s.spanGaps?this._loop:this._fullLoop;cn(this._points,s,e,n,t),this._pointsUpdated=!0}}set points(e){this._points=e,delete this._segments,delete this._path,this._pointsUpdated=!1}get points(){return this._points}get segments(){return this._segments||(this._segments=pn$1(this,this.options.segment))}first(){let e=this.segments,t=this.points;return e.length&&t[e[0].start]}last(){let e=this.segments,t=this.points,s=e.length;return s&&t[e[s-1].end]}interpolate(e,t){let s=this.options,n=e[t],o=this.points,a=Xi(this,{property:t,start:n,end:n});if(!a.length)return;let r=[],l=Xl(s),c,h;for(c=0,h=a.length;c<h;++c){let{start:d,end:u}=a[c],f=o[d],g=o[u];if(f===g){r.push(f);continue}let m=l(f,g,Math.abs((n-f[t])/(g[t]-f[t])),s.stepped);m[t]=e[t],r.push(m)}return r.length===1?r[0]:r}pathSegment(e,t,s){return bs(this)(e,this,t,s)}path(e,t,s){let n=this.segments,o=bs(this),a=this._loop;t=t||0,s=s||this.points.length-t;for(let r of n)a&=o(e,this,r,{start:t,end:t+s-1});return!!a}draw(e,t,s,n){let o=this.options||{};(this.points||[]).length&&o.borderWidth&&(e.save(),Jl(e,this,s,n),e.restore()),this.animated&&(this._pointsUpdated=!1,this._path=void 0)}};function Yn(i,e,t,s){let n=i.options,{[t]:o}=i.getProps([t],s);return Math.abs(e-o)<n.radius+n.hitRadius}var Zl=(()=>{class i extends xt$1{static id=`point`;parsed;skip;stop;static defaults={borderWidth:1,hitRadius:1,hoverBorderWidth:1,hoverRadius:4,pointStyle:`circle`,radius:3,rotation:0};static defaultRoutes={backgroundColor:`backgroundColor`,borderColor:`borderColor`};constructor(t){super(),this.options=void 0,this.parsed=void 0,this.skip=void 0,this.stop=void 0,t&&Object.assign(this,t)}inRange(t,s,n){let o=this.options,{x:a,y:r}=this.getProps([`x`,`y`],n);return Math.pow(t-a,2)+Math.pow(s-r,2)<Math.pow(o.hitRadius+o.radius,2)}inXRange(t,s){return Yn(this,t,`x`,s)}inYRange(t,s){return Yn(this,t,`y`,s)}getCenterPoint(t){let{x:s,y:n}=this.getProps([`x`,`y`],t);return{x:s,y:n}}size(t){t=t||this.options||{};let s=t.radius||0;s=Math.max(s,s&&t.hoverRadius||0);let n=s&&t.borderWidth||0;return(s+n)*2}draw(t,s){let n=this.options;this.skip||n.radius<.1||!at$3(this,s,this.size(n)/2)||(t.strokeStyle=n.borderColor,t.lineWidth=n.borderWidth,t.fillStyle=n.backgroundColor,Ye$1(t,n,this.x,this.y))}getRange(){let t=this.options||{};return t.radius+t.hitRadius}}return i})();function Oo(i,e){let{x:t,y:s,base:n,width:o,height:a}=i.getProps([`x`,`y`,`base`,`width`,`height`],e),r,l,c,h,d;return i.horizontal?(d=a/2,r=Math.min(t,n),l=Math.max(t,n),c=s-d,h=s+d):(d=o/2,r=t-d,l=t+d,c=Math.min(s,n),h=Math.max(s,n)),{left:r,top:c,right:l,bottom:h}}function Dt(i,e,t,s){return i?0:Y$4(e,t,s)}function Ql(i,e,t){let s=i.options.borderWidth,n=i.borderSkipped,o=zi$1(s);return{t:Dt(n.top,o.top,0,t),r:Dt(n.right,o.right,0,e),b:Dt(n.bottom,o.bottom,0,t),l:Dt(n.left,o.left,0,e)}}function tc(i,e,t){let{enableBorderRadius:s}=i.getProps([`enableBorderRadius`]),n=i.options.borderRadius,o=Pt$3(n),a=Math.min(e,t),r=i.borderSkipped,l=s||A$8(n);return{topLeft:Dt(!l||r.top||r.left,o.topLeft,0,a),topRight:Dt(!l||r.top||r.right,o.topRight,0,a),bottomLeft:Dt(!l||r.bottom||r.left,o.bottomLeft,0,a),bottomRight:Dt(!l||r.bottom||r.right,o.bottomRight,0,a)}}function ec(i){let e=Oo(i),t=e.right-e.left,s=e.bottom-e.top,n=Ql(i,t/2,
1s/2),o=tc(i,t/2,s/2);return{outer:{x:e.left,y:e.top,w:t,h:s,radius:o},inner:{x:e.left+n.l,y:e.top+n.t,w:t-n.l-n.r,h:s-n.t-n.b,radius:{topLeft:Math.max(0,o.topLeft-Math.max(n.t,n.l)),topRight:Math.max(0,o.topRight-Math.max(n.t,n.r)),bottomLeft:Math.max(0,o.bottomLeft-Math.max(n.b,n.l)),bottomRight:Math.max(0,o.bottomRight-Math.max(n.b,n.r))}}}}function is(i,e,t,s){let n=e===null,o=t===null,r=i&&!(n&&o)&&Oo(i,s);return r&&(n||lt$2(e,r.left,r.right))&&(o||lt$2(t,r.top,r.bottom))}function ic(i){return i.topLeft||i.topRight||i.bottomLeft||i.bottomRight}function sc(i,e){i.rect(e.x,e.y,e.w,e.h)}function ss(i,e,t={}){let s=i.x!==t.x?-e:0,n=i.y!==t.y?-e:0,o=(i.x+i.w!==t.x+t.w?e:0)-s,a=(i.y+i.h!==t.y+t.h?e:0)-n;return{x:i.x+s,y:i.y+n,w:i.w+o,h:i.h+a,radius:i.radius}}var nc=(()=>{class i extends xt$1{static id=`bar`;static defaults={borderSkipped:`start`,borderWidth:0,borderRadius:0,inflateAmount:`auto`,pointStyle:void 0};static defaultRoutes={backgroundColor:`backgroundColor`,borderColor:`borderColor`};constructor(t){super(),this.options=void 0,this.horizontal=void 0,this.base=void 0,this.width=void 0,this.height=void 0,this.inflateAmount=void 0,t&&Object.assign(this,t)}draw(t){let{inflateAmount:s,options:{borderColor:n,backgroundColor:o}}=this,{inner:a,outer:r}=ec(this),l=ic(r.radius)?Jt$3:sc;t.save(),(r.w!==a.w||r.h!==a.h)&&(t.beginPath(),l(t,ss(r,s,a)),t.clip(),l(t,ss(a,-s,r)),t.fillStyle=n,t.fill(`evenodd`)),t.beginPath(),l(t,ss(a,s)),t.fillStyle=o,t.fill(),t.restore()}inRange(t,s,n){return is(this,t,s,n)}inXRange(t,s){return is(this,t,null,s)}inYRange(t,s){return is(this,null,t,s)}getCenterPoint(t){let{x:s,y:n,base:o,horizontal:a}=this.getProps([`x`,`y`,`base`,`horizontal`],t);return{x:a?(s+o)/2:s,y:a?n:(n+o)/2}}getRange(t){return t===`x`?this.width/2:this.height/2}}return i})();var oc=Object.freeze({__proto__:null,ArcElement:ms,BarElement:nc,LineElement:ee$4,PointElement:Zl});var xs=[`rgb(54, 162, 235)`,`rgb(255, 99, 132)`,`rgb(255, 159, 64)`,`rgb(255, 205, 86)`,`rgb(75, 192, 192)`,`rgb(153, 102, 255)`,`rgb(201, 203, 207)`];var $n=xs.map(i=>i.replace(`rgb(`,`rgba(`).replace(`)`,`, 0.5)`));function Ao(i){return xs[i%xs.length]}function To(i){return $n[i%$n.length]}function ac(i,e){return i.borderColor=Ao(e),i.backgroundColor=To(e),++e}function rc(i,e){return i.backgroundColor=i.data.map(()=>Ao(e++)),e}function lc(i,e){return i.backgroundColor=i.data.map(()=>To(e++)),e}function cc(i){let e=0;return(t,s)=>{let n=i.getDatasetMeta(s).controller;n instanceof ve$4?e=rc(t,e):n instanceof oi?e=lc(t,e):n&&(e=ac(t,e))}}function Un(i){let e;for(e in i)if(i[e].borderColor||i[e].backgroundColor)return!0;return!1}function hc(i){return i&&(i.borderColor||i.backgroundColor)}function dc(){return B$3.borderColor!==`rgba(0,0,0,0.1)`||B$3.backgroundColor!==`rgba(0,0,0,0.1)`}var uc={id:`colors`,defaults:{enabled:!0,forceOverride:!1},beforeLayout(i,e,t){if(!t.enabled)return;let{data:{datasets:s},options:n}=i.config,{elements:o}=n,a=Un(s)||hc(n)||o&&Un(o)||dc();if(!t.forceOverride&&a)return;let r=cc(i);s.forEach(r)}};function fc(i,e,t,s,n){let o=n.samples||s;if(o>=t)return i.slice(e,e+t);let a=[],r=(t-2)/(o-2),l=0,c=e+t-1,h=e,d,u,f,g,p;for(a[l++]=i[h],d=0;d<o-2;d++){let m=0,x=0,b,y=Math.floor((d+1)*r)+1+e,M=Math.min(Math.floor((d+2)*r)+1,t)+e,_=M-y;for(b=y;b<M;b++)m+=i[b].x,x+=i[b].y;m/=_,x/=_;let v=Math.floor(d*r)+1+e,k=Math.min(Math.floor((d+1)*r)+1,t)+e,{x:S,y:w}=i[h];for(f=g=-1,b=v;b<k;b++)g=.5*Math.abs((S-m)*(i[b].y-w)-(S-i[b].x)*(x-w)),g>f&&(f=g,u=i[b],p=b);a[l++]=u,h=p}return a[l++]=i[c],a}function gc(i,e,t,s){let n=0,o=0,a,r,l,c,h,d,u,f,g,p,m=[],x=e+t-1,b=i[e].x,M=i[x].x-b;for(a=e;a<e+t;++a){r=i[a],l=(r.x-b)/M*s,c=r.y;let _=l|0;if(_===h)c<g?(g=c,d=a):c>p&&(p=c,u=a),n=(o*n+r.x)/++o;else{let v=a-1;if(!O$6(d)&&!O$6(u)){let k=Math.min(d,u),S=Math.max(d,u);k!==f&&k!==v&&m.push(s$6(r$4({},i[k]),{x:n})),S!==f&&S!==v&&m.push(s$6(r$4({},i[S]),{x:n}))}a>0&&v!==f&&m.push(i[v]),m.push(r),h=_,o=0,g=p=c,d=u=f=a}}return m}function Lo(i){if(i._decimated){let e=i._data;delete i._decimated,delete i._data,Object.defineProperty(i,"data",{configurable:!0,enumerable:!0,writable:!0,value:e})}}
1function Xn(i){i.data.datasets.forEach(e=>{Lo(e)})}function pc(i,e){let t=e.length,s=0,n,{iScale:o}=i,{min:a,max:r,minDefined:l,maxDefined:c}=o.getUserBounds();return l&&(s=Y$4(ot$2(e,o.axis,a).lo,0,t-1)),c?n=Y$4(ot$2(e,o.axis,r).hi+1,s,t)-s:n=t-s,{start:s,count:n}}var mc={id:`decimation`,defaults:{algorithm:`min-max`,enabled:!1},beforeElementsUpdate:(i,e,t)=>{if(!t.enabled){Xn(i);return}let s=i.width;i.data.datasets.forEach((n,o)=>{let{_data:a,indexAxis:r}=n,l=i.getDatasetMeta(o),c=a||n.data;if(Zt$2([r,i.options.indexAxis])===`y`||!l.controller.supportsDecimation)return;let h=i.scales[l.xAxisID];if(h.type!==`linear`&&h.type!==`time`||i.options.parsing)return;let{start:d,count:u}=pc(l,c);if(u<=(t.threshold||4*s)){Lo(n);return}O$6(a)&&(n._data=c,delete n.data,Object.defineProperty(n,"data",{configurable:!0,enumerable:!0,get:function(){return this._decimated},set:function(p){this._data=p}}));let g;switch(t.algorithm){case`lttb`:g=fc(c,d,u,s,t);break;case`min-max`:g=gc(c,d,u,s);break;default:throw new Error(`Unsupported decimation algorithm '${t.algorithm}'`)}n._decimated=g})},destroy(i){Xn(i)}};function bc(i,e,t){let s=i.segments,n=i.points,o=e.points,a=[];for(let r of s){let{start:l,end:c}=r;c=di(l,c,n);let h=_s(t,n[l],n[c],r.loop);if(!e.segments){a.push({source:r,target:h,start:n[l],end:n[c]});continue}let d=Xi(e,h);for(let u of d){let f=_s(t,o[u.start],o[u.end],u.loop),g=Ui$1(r,n,f);for(let p of g)a.push({source:p,target:u,start:{[t]:Kn(h,f,`start`,Math.max)},end:{[t]:Kn(h,f,`end`,Math.min)}})}}return a}function _s(i,e,t,s){if(s)return;let n=e[i],o=t[i];return i===`angle`&&(n=U$2(n),o=U$2(o)),{property:i,start:n,end:o}}function xc(i,e){let{x:t=null,y:s=null}=i||{},n=e.points,o=[];return e.segments.forEach(({start:a,end:r})=>{r=di(a,r,n);let l=n[a],c=n[r];s!==null?(o.push({x:l.x,y:s}),o.push({x:c.x,y:s})):t!==null&&(o.push({x:t,y:l.y}),o.push({x:t,y:c.y}))}),o}function di(i,e,t){for(;e>i;e--){let s=t[e];if(!isNaN(s.x)&&!isNaN(s.y))break}return e}function Kn(i,e,t,s){return i&&e?s(i[t],e[t]):i?i[t]:e?e[t]:0}function Ro(i,e){let t=[],s=!1;return F$5(i)?(s=!0,t=i):t=xc(i,e),t.length?new ee$4({points:t,options:{tension:0},_loop:s,_fullLoop:s}):null}function qn(i){return i&&i.fill!==!1}function _c(i,e,t){let n=i[e].fill,o=[e],a;if(!t)return n;for(;n!==!1&&o.indexOf(n)===-1;){if(!W$2(n))return n;if(a=i[n],!a)return!1;if(a.visible)return n;o.push(n),n=a.fill}return!1}function yc(i,e,t){let s=kc(i);if(A$8(s))return isNaN(s.value)?!1:s;let n=parseFloat(s);return W$2(n)&&Math.floor(n)===n?vc(s[0],e,n,t):[`origin`,`start`,`end`,`stack`,`shape`].indexOf(s)>=0&&s}function vc(i,e,t,s){return(i===`-`||i===`+`)&&(t=e+t),t===e||t<0||t>=s?!1:t}function Mc(i,e){let t=null;return i===`start`?t=e.bottom:i===`end`?t=e.top:A$8(i)?t=e.getPixelForValue(i.value):e.getBasePixel&&(t=e.getBasePixel()),t}function Sc(i,e,t){let s;return i===`start`?s=t:i===`end`?s=e.options.reverse?e.min:e.max:A$8(i)?s=i.value:s=e.getBaseValue(),s}function kc(i){let e=i.options,t=e.fill,s=P$5(t&&t.target,t);return s===void 0&&(s=!!e.backgroundColor),s===!1||s===null?!1:s===!0?`origin`:s}function wc(i){let{scale:e,index:t,line:s}=i,n=[],o=s.segments,a=s.points,r=Pc(e,t);r.push(Ro({x:null,y:e.bottom},s));for(let l=0;l<o.length;l++){let c=o[l];for(let h=c.start;h<=c.end;h++)Cc(n,a[h],r)}return new ee$4({points:n,options:{}})}function Pc(i,e){let t=[],s=i.getMatchingVisibleMetas(`line`);for(let n=0;n<s.length;n++){let o=s[n];if(o.index===e)break;o.hidden||t.unshift(o.dataset)}return t}function Cc(i,e,t){let s=[];for(let n=0;n<t.length;n++){let o=t[n],{first:a,last:r,point:l}=Dc(o,e,`x`);if(!(!l||a&&r)){if(a)s.unshift(l);else if(i.push(l),!r)break}}i.push(...s)}function Dc(i,e,t){let s=i.interpolate(e,t);if(!s)return{};let n=s[t],o=i.segments,a=i.points,r=!1,l=!1;for(let c=0;c<o.length;c++){let h=o[c],d=a[h.start][t],u=a[h.end][t];if(lt$2(n,d,u)){r=n===d,l=n===u;break}}return{first:r,last:l,point:s}}var ci=class{constructor(e){this.x=e.x,this.y=e.y,this.radius=e.radius}pathSegment(e,t,s){let{x:n,y:o,radius:a}=this;return t=t||{start:0,end:z$4},e.arc(n,o,a,t.end,t.start,!0),!s.bounds}interpolate(e){let{x:t,y:s,radius:n}=this,o=e.angle;return{x:t+Math.cos(o)*n,y:s+Math.sin(o)*n,angle:o}}};function Oc(i){let{chart:e,fill:t,line:s}=i;if(W$2(t))return Ac(e,t);if(t===`stack`)return wc(i);if(t===`shape`)return!0;let n=Tc(i);return n instanceof ci?n:Ro(n,s)}function Ac(i,e){let t=i.getDatasetMeta(e);return t&&i.isDatasetVisible(e)?t.dataset:null}function Tc(i){return(i.scale||{}).getPointPositionForValue?Rc(i):Lc(i)}function Lc(i){let{scale:e={},fill:t}=i,s=Mc(t,e);if(W$2(s)){let n=e.isHorizontal();return{x:n?s:null,y:n?null:s}}return null}function Rc(i){let{scale:e,fill:t}=i,s=e.options,n=e.getLabels().length,o=s.reverse?e.max:e.min,a=Sc(t,e,o),r=[];if(s.grid.circular){let l=e.getPointPositionForValue(0,o);return new ci({x:l.x,y:l.y,radius:e.getDistanceFromCenterForValue(a)})}for(let l=0;l<n;++l)r.push(e.getPointPositionForValue(l,a));return r}function ns(i,e,t){let s=Oc(e),{chart:n,index:o,line:a,scale:r,axis:l}=e,c=a.options,h=c.fill,d=c.backgroundColor,{above:u=d,below:f=d}=h||{},p=Ki(n,n.getDatasetMeta(o));s&&a.points.length&&(ue$2(i,t),Ec(i,{line:a,target:s,above:u,below:f,area:t,scale:r,axis:l,clip:p}),fe$3(i))}function Ec(i,e){let{line:t,target:s,above:n,below:o,area:a,scale:r,clip:l}=e,c=t._loop?`angle`:e.axis;i.save();let h=o;o!==n&&(c===`x`?(Gn(i,s,a.top),os(i,{line:t,target:s,color:n,scale:r,property:c,clip:l}
vendor: 4,548 bytes, line 1
1),i.restore(),i.save(),Gn(i,s,a.bottom)):c===`y`&&(Jn(i,s,a.left),os(i,{line:t,target:s,color:o,scale:r,property:c,clip:l}),i.restore(),i.save(),Jn(i,s,a.right),h=n)),os(i,{line:t,target:s,color:h,scale:r,property:c,clip:l}),i.restore()}function Gn(i,e,t){let{segments:s,points:n}=e,o=!0,a=!1;i.beginPath();for(let r of s){let{start:l,end:c}=r,h=n[l],d=n[di(l,c,n)];o?(i.moveTo(h.x,h.y),o=!1):(i.lineTo(h.x,t),i.lineTo(h.x,h.y)),a=!!e.pathSegment(i,r,{move:a}),a?i.closePath():i.lineTo(d.x,t)}i.lineTo(e.first().x,t),i.closePath(),i.clip()}function Jn(i,e,t){let{segments:s,points:n}=e,o=!0,a=!1;i.beginPath();for(let r of s){let{start:l,end:c}=r,h=n[l],d=n[di(l,c,n)];o?(i.moveTo(h.x,h.y),o=!1):(i.lineTo(t,h.y),i.lineTo(h.x,h.y)),a=!!e.pathSegment(i,r,{move:a}),a?i.closePath():i.lineTo(t,d.y)}i.lineTo(t,e.first().y),i.closePath(),i.clip()}function os(i,e){let{line:t,target:s,property:n,color:o,scale:a,clip:r}=e,l=bc(t,s,n);for(let{source:c,target:h,start:d,end:u}of l){let{style:{backgroundColor:f=o}={}}=c,g=s!==!0;i.save(),i.fillStyle=f,Ic(i,a,r,g&&_s(n,d,u)),i.beginPath();let p=!!t.pathSegment(i,c),m;if(g){p?i.closePath():Zn(i,s,u,n);let x=!!s.pathSegment(i,h,{move:p,reverse:!0});m=p&&x,m||Zn(i,s,d,n)}i.closePath(),i.fill(m?`evenodd`:`nonzero`),i.restore()}}function Ic(i,e,t,s){let n=e.chart.chartArea,{property:o,start:a,end:r}=s||{};if(o===`x`||o===`y`){let l,c,h,d;o===`x`?(l=a,c=n.top,h=r,d=n.bottom):(l=n.left,c=a,h=n.right,d=r),i.beginPath(),t&&(l=Math.max(l,t.left),h=Math.min(h,t.right),c=Math.max(c,t.top),d=Math.min(d,t.bottom)),i.rect(l,c,h-l,d-c),i.clip()}}function Zn(i,e,t,s){let n=e.interpolate(t,s);n&&i.lineTo(n.x,n.y)}var Fc={id:`filler`,afterDatasetsUpdate(i,e,t){let s=(i.data.datasets||[]).length,n=[],o,a,r,l;for(a=0;a<s;++a)o=i.getDatasetMeta(a),r=o.dataset,l=null,r&&r.options&&r instanceof ee$4&&(l={visible:i.isDatasetVisible(a),index:a,fill:yc(r,a,s),chart:i,axis:o.controller.options.indexAxis,scale:o.vScale,line:r}),o.$filler=l,n.push(l);for(a=0;a<s;++a)l=n[a],!(!l||l.fill===!1)&&(l.fill=_c(n,a,t.propagate))},beforeDraw(i,e,t){let s=t.drawTime===`beforeDraw`,n=i.getSortedVisibleDatasetMetas(),o=i.chartArea;for(let a=n.length-1;a>=0;--a){let r=n[a].$filler;r&&(r.line.updateControlPoints(o,r.axis),s&&r.fill&&ns(i.ctx,r,o))}},beforeDatasetsDraw(i,e,t){if(t.drawTime!==`beforeDatasetsDraw`)return;let s=i.getSortedVisibleDatasetMetas();for(let n=s.length-1;n>=0;--n){let o=s[n].$filler;qn(o)&&ns(i.ctx,o,i.chartArea)}},beforeDatasetDraw(i,e,t){let s=e.meta.$filler;!qn(s)||t.drawTime!==`beforeDatasetDraw`||ns(i.ctx,s,i.chartArea)},defaults:{propagate:!0,drawTime:`beforeDatasetDraw`}};var Qn=(i,e)=>{let{boxHeight:t=e,boxWidth:s=e}=i;return i.usePointStyle&&(t=Math.min(t,e),s=i.pointStyleWidth||Math.min(s,e)),{boxWidth:s,boxHeight:t,itemHeight:Math.max(e,t)}};var zc=(i,e)=>i!==null&&e!==null&&i.datasetIndex===e.datasetIndex&&i.index===e.index;var hi=class extends xt$1{constructor(e){super(),this._added=!1,this.legendHitBoxes=[],this._hoveredItem=null,this.doughnutMode=!1,this.chart=e.chart,this.options=e.options,this.ctx=e.ctx,this.legendItems=void 0,this.columnSizes=void 0,this.lineWidths=void 0,this.maxHeight=void 0,this.maxWidth=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.height=void 0,this.width=void 0,this._margins=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(e,t,s){this.maxWidth=e,this.maxHeight=t,this._margins=s,this.setDimensions(),this.buildLabels(),this.fit()}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=this._margins.left,this.right=this.width):(this.height=this.maxHeight,this.top=this._margins.top,this.bottom=this.height)}buildLabels(){let e=this.options.labels||{},t=I$8(e.generateLabels,[this.chart],this)||[];e.filter&&(t=t.filter(s=>e.filter(s,this.chart.data))),e.sort&&(t=t.sort((s,n)=>e.sort(s,n,this.chart.data))),this.options.reverse&&t.reverse(),this.legendItems=t}fit(){let{options:e,ctx:t}=this;if(!e.display){this.width=this.height=0;return}let s=e.labels,n=j$3(s.font),o=n.size,a=this._computeTitleHeight(),{boxWidth:r,itemHeight:l}=Qn(s,o),c,h;t.font=n.string,this.isHorizontal()?(c=this.maxWidth,h=this._fitRows(a,o,r,l)+10):(h=this.maxHeight,c=this._fitCols(a,n,r,l)+10),this.width=Math.min(c,e.maxWidth||this.maxWidth),this.height=Math.min(h,e.maxHeight||this.maxHeight)}_fitRows(e,t,s,n){let{ctx:o,maxWidth:a,options:{labels:{padding:r}}}=this,l=this.legendHitBoxes=[],c=this.lineWidths=[0],h=n+r,d=e;o.textAlign=`left`,o.textBaseline=`middle`;let u=-1,f=-h;
vendor: 5,571 bytes, line 1
1return this.legendItems.forEach((g,p)=>{let m=s+t/2+o.measureText(g.text).width;(p===0||c[c.length-1]+m+2*r>a)&&(d+=h,c[c.length-(p>0?0:1)]=0,f+=h,u++),l[p]={left:0,top:f,row:u,width:m,height:n},c[c.length-1]+=m+r}),d}_fitCols(e,t,s,n){let{ctx:o,maxHeight:a,options:{labels:{padding:r}}}=this,l=this.legendHitBoxes=[],c=this.columnSizes=[],h=a-e,d=r,u=0,f=0,g=0,p=0;return this.legendItems.forEach((m,x)=>{let{itemWidth:b,itemHeight:y}=Bc(s,t,o,m,n);x>0&&f+y+2*r>h&&(d+=u+r,c.push({width:u,height:f}),g+=u+r,p++,u=f=0),l[x]={left:g,top:f,col:p,width:b,height:y},u=Math.max(u,b),f+=y+r}),d+=u,c.push({width:u,height:f}),d}adjustHitBoxes(){if(!this.options.display)return;let e=this._computeTitleHeight(),{legendHitBoxes:t,options:{align:s,labels:{padding:n},rtl:o}}=this,a=Ft$1(o,this.left,this.width);if(this.isHorizontal()){let r=0,l=X$2(s,this.left+n,this.right-this.lineWidths[r]);for(let c of t)r!==c.row&&(r=c.row,l=X$2(s,this.left+n,this.right-this.lineWidths[r])),c.top+=this.top+e+n,c.left=a.leftForLtr(a.x(l),c.width),l+=c.width+n}else{let r=0,l=X$2(s,this.top+e+n,this.bottom-this.columnSizes[r].height);for(let c of t)c.col!==r&&(r=c.col,l=X$2(s,this.top+e+n,this.bottom-this.columnSizes[r].height)),c.top=l,c.left+=this.left+n,c.left=a.leftForLtr(a.x(c.left),c.width),l+=c.height+n}}isHorizontal(){return this.options.position===`top`||this.options.position===`bottom`}draw(){if(this.options.display){let e=this.ctx;ue$2(e,this),this._draw(),fe$3(e)}}_draw(){let{options:e,columnSizes:t,lineWidths:s,ctx:n}=this,{align:o,labels:a}=e,r=B$3.color,l=Ft$1(e.rtl,this.left,this.width),c=j$3(a.font),{padding:h}=a,d=c.size,u=d/2,f;this.drawTitle(),n.textAlign=l.textAlign(`left`),n.textBaseline=`middle`,n.lineWidth=.5,n.font=c.string;let{boxWidth:g,boxHeight:p,itemHeight:m}=Qn(a,d),x=function(v,k,S){if(isNaN(g)||g<=0||isNaN(p)||p<0)return;n.save();let w=P$5(S.lineWidth,1);if(n.fillStyle=P$5(S.fillStyle,r),n.lineCap=P$5(S.lineCap,`butt`),n.lineDashOffset=P$5(S.lineDashOffset,0),n.lineJoin=P$5(S.lineJoin,`miter`),n.lineWidth=w,n.strokeStyle=P$5(S.strokeStyle,r),n.setLineDash(P$5(S.lineDash,[])),a.usePointStyle){let D={radius:p*Math.SQRT2/2,pointStyle:S.pointStyle,rotation:S.rotation,borderWidth:w},C=l.xPlus(v,g/2),T=k+u;Fi$1(n,D,C,T,a.pointStyleWidth&&g)}else{let D=k+Math.max((d-p)/2,0),C=l.leftForLtr(v,g),T=Pt$3(S.borderRadius);n.beginPath(),Object.values(T).some($=>$!==0)?Jt$3(n,{x:C,y:D,w:g,h:p,radius:T}):n.rect(C,D,g,p),n.fill(),w!==0&&n.stroke()}n.restore()},b=function(v,k,S){wt$2(n,S.text,v,k+m/2,c,{strikethrough:S.hidden,textAlign:l.textAlign(S.textAlign)})},y=this.isHorizontal(),M=this._computeTitleHeight();y?f={x:X$2(o,this.left+h,this.right-s[0]),y:this.top+h+M,line:0}:f={x:this.left+h,y:X$2(o,this.top+M+h,this.bottom-t[0].height),line:0},Yi$1(this.ctx,e.textDirection);let _=m+h;this.legendItems.forEach((v,k)=>{n.strokeStyle=v.fontColor,n.fillStyle=v.fontColor;let S=n.measureText(v.text).width,w=l.textAlign(v.textAlign||(v.textAlign=a.textAlign)),D=g+u+S,C=f.x,T=f.y;l.setWidth(this.width),y?k>0&&C+D+h>this.right&&(T=f.y+=_,f.line++,C=f.x=X$2(o,this.left+h,this.right-s[f.line])):k>0&&T+_>this.bottom&&(C=f.x=C+t[f.line].width+h,f.line++,T=f.y=X$2(o,this.top+M+h,this.bottom-t[f.line].height));let $=l.x(C);if(x($,T,v),C=Zs(w,C+g+u,y?C+D:this.right,e.rtl),b(l.x(C),T,v),y)f.x+=D+h;else if(typeof v.text!=`string`){let tt=c.lineHeight;f.y+=Eo(v,tt)+h}else f.y+=_}),$i(this.ctx,e.textDirection)}drawTitle(){let e=this.options,t=e.title,s=j$3(t.font),n=K$3(t.padding);if(!t.display)return;let o=Ft$1(e.rtl,this.left,this.width),a=this.ctx,r=t.position,l=s.size/2,c=n.top+l,h,d=this.left,u=this.width;if(this.isHorizontal())u=Math.max(...this.lineWidths),h=this.top+c,d=X$2(e.align,d,this.right-u);else{let g=this.columnSizes.reduce((p,m)=>Math.max(p,m.height),0);h=c+X$2(e.align,this.top,this.bottom-g-e.labels.padding-this._computeTitleHeight())}let f=X$2(r,d,d+u);a.textAlign=o.textAlign(He(r)),a.textBaseline=`middle`,a.strokeStyle=t.color,a.fillStyle=t.color,a.font=s.string,wt$2(a,t.text,f,h,s)}_computeTitleHeight(){let e=this.options.title,t=j$3(e.font),s=K$3(e.padding);return e.display?t.lineHeight+s.height:0}_getLegendItemAt(e,t){let s,n,o;if(lt$2(e,this.left,this.right)&&lt$2(t,this.top,this.bottom)){for(o=this.legendHitBoxes,s=0;s<o.length;++s)if(n=o[s],lt$2(e,n.left,n.left+n.width)&&lt$2(t,n.top,n.top+n.height))return this.legendItems[s]}return null}handleEvent(e){let t=this.options;if(!Nc(e.type,t))return;let s=this._getLegendItemAt(e.x,e.y);if(e.type===`mousemove`||e.type===`mouseout`){let n=this._hoveredItem,o=zc(n,s);n&&!o&&I$8(t.onLeave,[e,n,this],this),this._hoveredItem=s,s&&!o&&I$8(t.onHover,[e,s,this],this)}else s&&I$8(t.onClick,[e,s,this],this)}};function Bc(i,e,t,s,n){return{itemWidth:Vc(s,i,e,t),itemHeight:Wc(n,s,e.lineHeight)}}function Vc(i,e,t,s){let n=i.text;return n&&typeof n!=`string`&&(n=n.reduce((o,a)=>o.length>a.length?o:a)),e+t.size/2+s.measureText(n).width}function Wc(i,e,t){let s=i;return typeof e.text!=`string`&&(s=Eo(e,t)),s}function Eo(i,e){return e*(i.text?i.text.length:0)}function Nc(i,e){return!!((i===`mousemove`||i===`mouseout`)&&(e.onHover||e.onLeave)||e.onClick&&(i===`click`||i===`mouseup`))}var Hc={id:`legend`,_element:hi,start(i,e,t){let s=i.legend=new hi({ctx:i.ctx,options:t,chart:i});G$3.configure(i,s,t),G$3.addBox(i,s)},stop(i){G$3.removeBox(i,i.legend),delete i.legend},beforeUpdate(i,e,t){let s=i.legend;G$3.configure(i,s,t),s.options=t},afterUpdate(i){let e=i.legend;e.buildLabels(),e.adjustHitBoxes()},afterEvent(i,e){e.replay||i.legend.handleEvent(e.event)}
vendor: 5,092 bytes, lines 1-3
1,defaults:{display:!0,position:`top`,align:`center`,fullSize:!0,reverse:!1,weight:1e3,onClick(i,e,t){let s=e.datasetIndex,n=t.chart;n.isDatasetVisible(s)?(n.hide(s),e.hidden=!0):(n.show(s),e.hidden=!1)},onHover:null,onLeave:null,labels:{color:i=>i.chart.options.color,boxWidth:40,padding:10,generateLabels(i){let e=i.data.datasets,{labels:{usePointStyle:t,pointStyle:s,textAlign:n,color:o,useBorderRadius:a,borderRadius:r}}=i.legend.options;return i._getSortedDatasetMetas().map(l=>{let c=l.controller.getStyle(t?0:void 0),h=K$3(c.borderWidth);return{text:e[l.index].label,fillStyle:c.backgroundColor,fontColor:o,hidden:!l.visible,lineCap:c.borderCapStyle,lineDash:c.borderDash,lineDashOffset:c.borderDashOffset,lineJoin:c.borderJoinStyle,lineWidth:(h.width+h.height)/4,strokeStyle:c.borderColor,pointStyle:s||c.pointStyle,rotation:c.rotation,textAlign:n||c.textAlign,borderRadius:a&&(r||c.borderRadius),datasetIndex:l.index}},this)}},title:{color:i=>i.chart.options.color,display:!1,position:`center`,text:``}},descriptors:{_scriptable:i=>!i.startsWith(`on`),labels:{_scriptable:i=>![`generateLabels`,`filter`,`sort`].includes(i)}}};var Se$1=class extends xt$1{constructor(e){super(),this.chart=e.chart,this.options=e.options,this.ctx=e.ctx,this._padding=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(e,t){let s=this.options;if(this.left=0,this.top=0,!s.display){this.width=this.height=this.right=this.bottom=0;return}this.width=this.right=e,this.height=this.bottom=t;let n=F$5(s.text)?s.text.length:1;this._padding=K$3(s.padding);let o=n*j$3(s.font).lineHeight+this._padding.height;this.isHorizontal()?this.height=o:this.width=o}isHorizontal(){let e=this.options.position;return e===`top`||e===`bottom`}_drawArgs(e){let{top:t,left:s,bottom:n,right:o,options:a}=this,r=a.align,l=0,c,h,d;return this.isHorizontal()?(h=X$2(r,s,o),d=t+e,c=o-s):(a.position===`left`?(h=s+e,d=X$2(r,n,t),l=L$3*-.5):(h=o-e,d=X$2(r,t,n),l=L$3*.5),c=n-t),{titleX:h,titleY:d,maxWidth:c,rotation:l}}draw(){let e=this.ctx,t=this.options;if(!t.display)return;let s=j$3(t.font),o=s.lineHeight/2+this._padding.top,{titleX:a,titleY:r,maxWidth:l,rotation:c}=this._drawArgs(o);wt$2(e,t.text,0,0,s,{color:t.color,maxWidth:l,rotation:c,textAlign:He(t.align),textBaseline:`middle`,translation:[a,r]})}};function jc(i,e){let t=new Se$1({ctx:i.ctx,options:e,chart:i});G$3.configure(i,t,e),G$3.addBox(i,t),i.titleBlock=t}var Yc={id:`title`,_element:Se$1,start(i,e,t){jc(i,t)},stop(i){let e=i.titleBlock;G$3.removeBox(i,e),delete i.titleBlock},beforeUpdate(i,e,t){let s=i.titleBlock;G$3.configure(i,s,t),s.options=t},defaults:{align:`center`,display:!1,font:{weight:`bold`},fullSize:!0,padding:10,position:`top`,text:``,weight:2e3},defaultRoutes:{color:`color`},descriptors:{_scriptable:!0,_indexable:!1}};var Qe$1=new WeakMap;var $c={id:`subtitle`,start(i,e,t){let s=new Se$1({ctx:i.ctx,options:t,chart:i});G$3.configure(i,s,t),G$3.addBox(i,s),Qe$1.set(i,s)},stop(i){G$3.removeBox(i,Qe$1.get(i)),Qe$1.delete(i)},beforeUpdate(i,e,t){let s=Qe$1.get(i);G$3.configure(i,s,t),s.options=t},defaults:{align:`center`,display:!1,font:{weight:`normal`},fullSize:!0,padding:0,position:`top`,text:``,weight:1500},defaultRoutes:{color:`color`},descriptors:{_scriptable:!0,_indexable:!1}};var ye$2={average(i){if(!i.length)return!1;let e,t,s=new Set,n=0,o=0;for(e=0,t=i.length;e<t;++e){let r=i[e].element;if(r&&r.hasValue()){let l=r.tooltipPosition();s.add(l.x),n+=l.y,++o}}return o===0||s.size===0?!1:{x:[...s].reduce((r,l)=>r+l)/s.size,y:n/o}},nearest(i,e){if(!i.length)return!1;let t=e.x,s=e.y,n=Number.POSITIVE_INFINITY,o,a,r;for(o=0,a=i.length;o<a;++o){let l=i[o].element;if(l&&l.hasValue()){let h=ze$1(e,l.getCenterPoint());h<n&&(n=h,r=l)}}if(r){let l=r.tooltipPosition();t=l.x,s=l.y}return{x:t,y:s}}};function ct$4(i,e){return e&&(F$5(e)?Array.prototype.push.apply(i,e):i.push(e)),i}function bt$2(i){return(typeof i==`string`||i instanceof String)&&i.indexOf(`
2`)>-1?i.split(`
3`):i}function Uc(i,e){let{element:t,datasetIndex:s,index:n}=e,o=i.getDatasetMeta(s).controller,{label:a,value:r}=o.getLabelAndValue(n);return{chart:i,label:a,parsed:o.getParsed(n),raw:i.data.datasets[s].data[n],formattedValue:r,dataset:o.getDataset(),dataIndex:n,datasetIndex:s,element:t}}function to$1(i,e){let t=i.chart.ctx,{body:s,footer:n,title:o}=i,{boxWidth:a,boxHeight:r}=e,l=j$3(e.bodyFont),c=j$3(e.titleFont),h=j$3(e.footerFont),d=o.length,u=n.length,f=s.length,g=K$3(e.padding),p=g.height,m=0,x=s.reduce((M,_)=>M+_.before.length+_.lines.length+_.after.length,0);if(x+=i.beforeBody.length+i.afterBody.length,d&&(p+=d*c.lineHeight+(d-1)*e.titleSpacing+e.titleMarginBottom),x){let M=e.displayColors?Math.max(r,l.lineHeight):l.lineHeight;p+=f*M+(x-f)*l.lineHeight+(x-1)*e.bodySpacing}u&&(p+=e.footerMarginTop+u*h.lineHeight+(u-1)*e.footerSpacing);let b=0,y=function(M){m=Math.max(m,t.measureText(M).width+b)};return t.save(),t.font=c.string,R$5(i.title,y),t.font=l.string,R$5(i.beforeBody.concat(i.afterBody),y),b=e.dis
vendor: 11,966 bytes, line 3
3playColors?a+2+e.boxPadding:0,R$5(s,M=>{R$5(M.before,y),R$5(M.lines,y),R$5(M.after,y)}),b=0,t.font=h.string,R$5(i.footer,y),t.restore(),m+=g.width,{width:m,height:p}}function Xc(i,e){let{y:t,height:s}=e;return t<s/2?`top`:t>i.height-s/2?`bottom`:`center`}function Kc(i,e,t,s){let{x:n,width:o}=s,a=t.caretSize+t.caretPadding;if(i===`left`&&n+o+a>e.width||i===`right`&&n-o-a<0)return!0}function qc(i,e,t,s){let{x:n,width:o}=t,{width:a,chartArea:{left:r,right:l}}=i,c=`center`;return s===`center`?c=n<=(r+l)/2?`left`:`right`:n<=o/2?c=`left`:n>=a-o/2&&(c=`right`),Kc(c,i,e,t)&&(c=`center`),c}function eo$1(i,e,t){let s=t.yAlign||e.yAlign||Xc(i,t);return{xAlign:t.xAlign||e.xAlign||qc(i,e,t,s),yAlign:s}}function Gc(i,e){let{x:t,width:s}=i;return e===`right`?t-=s:e===`center`&&(t-=s/2),t}function Jc(i,e,t){let{y:s,height:n}=i;return e===`top`?s+=t:e===`bottom`?s-=n+t:s-=n/2,s}function io$1(i,e,t,s){let{caretSize:n,caretPadding:o,cornerRadius:a}=i,{xAlign:r,yAlign:l}=t,c=n+o,{topLeft:h,topRight:d,bottomLeft:u,bottomRight:f}=Pt$3(a),g=Gc(e,r),p=Jc(e,l,c);return l===`center`?r===`left`?g+=c:r===`right`&&(g-=c):r===`left`?g-=Math.max(h,u)+n:r===`right`&&(g+=Math.max(d,f)+n),{x:Y$4(g,0,s.width-e.width),y:Y$4(p,0,s.height-e.height)}}function ti(i,e,t){let s=K$3(t.padding);return e===`center`?i.x+i.width/2:e===`right`?i.x+i.width-s.right:i.x+s.left}function so$1(i){return ct$4([],bt$2(i))}function Zc(i,e,t){return pt$1(i,{tooltip:e,tooltipItems:t,type:`tooltip`})}function no$2(i,e){let t=e&&e.dataset&&e.dataset.tooltip&&e.dataset.tooltip.callbacks;return t?i.override(t):i}var Io={beforeTitle:rt$2,title(i){if(i.length>0){let e=i[0],t=e.chart.data.labels,s=t?t.length:0;if(this&&this.options&&this.options.mode===`dataset`)return e.dataset.label||``;if(e.label)return e.label;if(s>0&&e.dataIndex<s)return t[e.dataIndex]}return``},afterTitle:rt$2,beforeBody:rt$2,beforeLabel:rt$2,label(i){if(this&&this.options&&this.options.mode===`dataset`)return i.label+`: `+i.formattedValue||i.formattedValue;let e=i.dataset.label||``;e&&(e+=`: `);let t=i.formattedValue;return O$6(t)||(e+=t),e},labelColor(i){let t=i.chart.getDatasetMeta(i.datasetIndex).controller.getStyle(i.dataIndex);return{borderColor:t.borderColor,backgroundColor:t.backgroundColor,borderWidth:t.borderWidth,borderDash:t.borderDash,borderDashOffset:t.borderDashOffset,borderRadius:0}},labelTextColor(){return this.options.bodyColor},labelPointStyle(i){let t=i.chart.getDatasetMeta(i.datasetIndex).controller.getStyle(i.dataIndex);return{pointStyle:t.pointStyle,rotation:t.rotation}},afterLabel:rt$2,afterBody:rt$2,beforeFooter:rt$2,footer:rt$2,afterFooter:rt$2};function Z$3(i,e,t,s){let n=i[e].call(t,s);return typeof n>`u`?Io[e].call(t,s):n}var oo$2=(()=>{class i extends xt$1{static positioners=ye$2;constructor(t){super(),this.opacity=0,this._active=[],this._eventPosition=void 0,this._size=void 0,this._cachedAnimations=void 0,this._tooltipItems=[],this.$animations=void 0,this.$context=void 0,this.chart=t.chart,this.options=t.options,this.dataPoints=void 0,this.title=void 0,this.beforeBody=void 0,this.body=void 0,this.afterBody=void 0,this.footer=void 0,this.xAlign=void 0,this.yAlign=void 0,this.x=void 0,this.y=void 0,this.height=void 0,this.width=void 0,this.caretX=void 0,this.caretY=void 0,this.labelColors=void 0,this.labelPointStyles=void 0,this.labelTextColors=void 0}initialize(t){this.options=t,this._cachedAnimations=void 0,this.$context=void 0}_resolveAnimations(){let t=this._cachedAnimations;if(t)return t;let s=this.chart,n=this.options.setContext(this.getContext()),o=n.enabled&&s.options.animation&&n.animations,a=new ni(this.chart,o);return o._cacheable&&(this._cachedAnimations=Object.freeze(a)),a}getContext(){return this.$context||(this.$context=Zc(this.chart.getContext(),this,this._tooltipItems))}getTitle(t,s){let{callbacks:n}=s,o=Z$3(n,`beforeTitle`,this,t),a=Z$3(n,`title`,this,t),r=Z$3(n,`afterTitle`,this,t),l=[];return l=ct$4(l,bt$2(o)),l=ct$4(l,bt$2(a)),l=ct$4(l,bt$2(r)),l}getBeforeBody(t,s){return so$1(Z$3(s.callbacks,`beforeBody`,this,t))}getBody(t,s){let{callbacks:n}=s,o=[];return R$5(t,a=>{let r={before:[],lines:[],after:[]},l=no$2(n,a);ct$4(r.before,bt$2(Z$3(l,`beforeLabel`,this,a))),ct$4(r.lines,Z$3(l,`label`,this,a)),ct$4(r.after,bt$2(Z$3(l,`afterLabel`,this,a))),o.push(r)}),o}getAfterBody(t,s){return so$1(Z$3(s.callbacks,`afterBody`,this,t))}getFooter(t,s){let{callbacks:n}=s,o=Z$3(n,`beforeFooter`,this,t),a=Z$3(n,`footer`,this,t),r=Z$3(n,`afterFooter`,this,t),l=[];return l=ct$4(l,bt$2(o)),l=ct$4(l,bt$2(a)),l=ct$4(l,bt$2(r)),l}_createItems(t){let s=this._active,n=this.chart.data,o=[],a=[],r=[],l=[],c,h;for(c=0,h=s.length;c<h;++c)l.push(Uc(this.chart,s[c]));return t.filter&&(l=l.filter((d,u,f)=>t.filter(d,u,f,n))),t.itemSort&&(l=l.sort((d,u)=>t.itemSort(d,u,n))),R$5(l,d=>{let u=no$2(t.callbacks,d);o.push(Z$3(u,`labelColor`,this,d)),a.push(Z$3(u,`labelPointStyle`,this,d)),r.push(Z$3(u,`labelTextColor`,this,d))}),this.labelColors=o,this.labelPointStyles=a,this.labelTextColors=r,this.dataPoints=l,l}update(t,s){let n=this.options.setContext(this.getContext()),o=this._active,a,r=[];if(!o.length)this.opacity!==0&&(a={opacity:0});else{let l=ye$2[n.position].call(this,o,this._eventPosition);r=this._createItems(n),this.title=this.getTitle(r,n),this.beforeBody=this.getBeforeBody(r,n),this.body=this.getBody(r,n),this.afterBody=this.getAfterBody(r,n),this.footer=this.getFooter(r,n);let c=this._size=to$1(this,n),h=Object.assign({},l,c),d=eo$1(this.chart,n,h),u=io$1(n,h,d,this.chart);this.xAlign=d.xAlign,this.yAlign=d.yAlign,a={opacity:1,x:u.x,y:u.y,width:c.width,height:c.height,caretX:l.x,caretY:l.y}}this._tooltipItems=r,this.$context=void 0,a&&this._resolveAnimations().update(this,a),t&&n.external&&n.external.call(this,{chart:this.chart,tooltip:this,replay:s})}drawCaret(t,s,n,o){let a=this.getCaretPosition(t,n,o);s.lineTo(a.x1,a.y1),s.lineTo(a.x2,a.y2),s.lineTo(a.x3,a.y3)}getCaretPosition(t,s,n){let{xAlign:o,yAlign:a}=this,{caretSize:r,cornerRadius:l}=n,{topLeft:c,topRight:h,bottomLeft:d,bottomRight:u}=Pt$3(l),{x:f,y:g}=t,{width:p,height:m}=s,x,b,y,M,_,v;return a===`center`?(_=g+m/2,o===`left`?(x=f,b=x-r,M=_+r,v=_-r):(x=f+p,b=x+r,M=_-r,v=_+r),y=x):(o===`left`?b=f+Math.max(c,d)+r:o===`right`?b=f+p-Math.max(h,u)-r:b=this.caretX,a===`top`?(M=g,_=M-r,x=b-r,y=b+r):(M=g+m,_=M+r,x=b+r,y=b-r),v=M),{x1:x,x2:b,x3:y,y1:M,y2:_,y3:v}}drawTitle(t,s,n){let o=this.title,a=o.length,r,l,c;if(a){let h=Ft$1(n.rtl,this.x,this.width);for(t.x=ti(this,n.titleAlign,n),s.textAlign=h.textAlign(n.titleAlign),s.textBaseline=`middle`,r=j$3(n.titleFont),l=n.titleSpacing,s.fillStyle=n.titleColor,s.font=r.string,c=0;c<a;++c)s.fillText(o[c],h.x(t.x),t.y+r.lineHeight/2),t.y+=r.lineHeight+l,c+1===a&&(t.y+=n.titleMarginBottom-l)}}_drawColorBox(t,s,n,o,a){let r=this.labelColors[n],l=this.labelPointStyles[n],{boxHeight:c,boxWidth:h}=a,d=j$3(a.bodyFont),u=ti(this,`left`,a),f=o.x(u),g=c<d.lineHeight?(d.lineHeight-c)/2:0,p=s.y+g;if(a.usePointStyle){let m={radius:Math.min(h,c)/2,pointStyle:l.pointStyle,rotation:l.rotation,borderWidth:1},x=o.leftForLtr(f,h)+h/2,b=p+c/2;t.strokeStyle=a.multiKeyBackground,t.fillStyle=a.multiKeyBackground,Ye$1(t,m,x,b),t.strokeStyle=r.borderColor,t.fillStyle=r.backgroundColor,Ye$1(t,m,x,b)}else{t.lineWidth=A$8(r.borderWidth)?Math.max(...Object.values(r.borderWidth)):r.borderWidth||1,t.strokeStyle=r.borderColor,t.setLineDash(r.borderDash||[]),t.lineDashOffset=r.borderDashOffset||0;let m=o.leftForLtr(f,h),x=o.leftForLtr(o.xPlus(f,1),h-2),b=Pt$3(r.borderRadius);Object.values(b).some(y=>y!==0)?(t.beginPath(),t.fillStyle=a.multiKeyBackground,Jt$3(t,{x:m,y:p,w:h,h:c,radius:b}),t.fill(),t.stroke(),t.fillStyle=r.backgroundColor,t.beginPath(),Jt$3(t,{x,y:p+1,w:h-2,h:c-2,radius:b}),t.fill()):(t.fillStyle=a.multiKeyBackground,t.fillRect(m,p,h,c),t.strokeRect(m,p,h,c),t.fillStyle=r.backgroundColor,t.fillRect(x,p+1,h-2,c-2))}t.fillStyle=this.labelTextColors[n]}drawBody(t,s,n){let{body:o}=this,{bodySpacing:a,bodyAlign:r,displayColors:l,boxHeight:c,boxWidth:h,boxPadding:d}=n,u=j$3(n.bodyFont),f=u.lineHeight,g=0,p=Ft$1(n.rtl,this.x,this.width),m=function(w){s.fillText(w,p.x(t.x+g),t.y+f/2),t.y+=f+a},x=p.textAlign(r),b,y,M,_,v,k,S;for(s.textAlign=r,s.textBaseline=`middle`,s.font=u.string,t.x=ti(this,x,n),s.fillStyle=n.bodyColor,R$5(this.beforeBody,m),g=l&&x!==`right`?r===`center`?h/2+d:h+2+d:0,_=0,k=o.length;_<k;++_){for(b=o[_],y=this.labelTextColors[_],s.fillStyle=y,R$5(b.before,m),M=b.lines,l&&M.length&&(this._drawColorBox(s,t,_,p,n),f=Math.max(u.lineHeight,c)),v=0,S=M.length;v<S;++v)m(M[v]),f=u.lineHeight;R$5(b.after,m)}g=0,f=u.lineHeight,R$5(this.afterBody,m),t.y-=a}drawFooter(t,s,n){let o=this.footer,a=o.length,r,l;if(a){let c=Ft$1(n.rtl,this.x,this.width);for(t.x=ti(this,n.footerAlign,n),t.y+=n.footerMarginTop,s.textAlign=c.textAlign(n.footerAlign),s.textBaseline=`middle`,r=j$3(n.footerFont),s.fillStyle=n.footerColor,s.font=r.string,l=0;l<a;++l)s.fillText(o[l],c.x(t.x),t.y+r.lineHeight/2),t.y+=r.lineHeight+n.footerSpacing}}drawBackground(t,s,n,o){let{xAlign:a,yAlign:r}=this,{x:l,y:c}=t,{width:h,height:d}=n,{topLeft:u,topRight:f,bottomLeft:g,bottomRight:p}=Pt$3(o.cornerRadius);s.fillStyle=o.backgroundColor,s.strokeStyle=o.borderColor,s.lineWidth=o.borderWidth,s.beginPath(),s.moveTo(l+u,c),r===`top`&&this.drawCaret(t,s,n,o),s.lineTo(l+h-f,c),s.quadraticCurveTo(l+h,c,l+h,c+f),r===`center`&&a===`right`&&this.drawCaret(t,s,n,o),s.lineTo(l+h,c+d-p),s.quadraticCurveTo(l+h,c+d,l+h-p,c+d),r===`bottom`&&this.drawCaret(t,s,n,o),s.lineTo(l+g,c+d),s.quadraticCurveTo(l,c+d,l,c+d-g),r===`center`&&a===`left`&&this.drawCaret(t,s,n,o),s.lineTo(l,c+u),s.quadraticCurveTo(l,c,l+u,c),s.closePath(),s.fill(),o.borderWidth>0&&s.stroke()}_updateAnimationTarget(t){let s=this.chart,n=this.$animations,o=n&&n.x,a=n&&n.y;if(o||a){let r=ye$2[t.position].call(this,this._active,this._eventPosition);if(!r)return;let l=this._size=to$1(this,t),c=Object.assign({},r,this._size),h=eo$1(s,t,c),d=io$1(t,c,h,s);(o._to!==d.x||a._to!==d.y)&&(this.xAlign=h.xAlign,this.yAlign=h.yAlign,this.width=l.width,this.height=l.height,this.caretX=r.x,this.caretY=r.y,this._resolveAnimations().update(this,d))}}_willRender(){return!!this.opacity}draw(t){let s=this.options.setContext(this.getContext()),n=this.opacity;if(!n)return;this._updateAnimationTarget(s);let o={width:this.width,height:this.height},a={x:this.x,y:this.y};n=Math.abs(n)<.001?0:n;let r=K$3(s.padding),l=this.title.length||this.beforeBody.length||this.body.length||this.afterBody.length||this.footer.length;s.enabled&&l&&(t.save(),t.globalAlpha=n,this.drawBackground(a,t,o,s),Yi$1(t,s.textDirection),a.y+=r.top,this.drawTitle(a,t,s),this.drawBody(a,t,s),this.drawFooter(a,t,s),$i(t,s.textDirection),t.restore())}getActiveElements(){return this._active||[]}setActiveElements(t,s){let n=this._active,o=t.map(({datasetIndex:l,index:c})=>{let h=this.chart.getDatasetMeta(l);if(!h)throw new Error(`Cannot find a dataset at index `+l);return{datasetIndex:l,element:h.data[c],index:c}}),a=!he$4(n,o),r=this._positionChanged(o,s);(a||r)&&(this._active=o,this._eventPosition=s,this._ignoreReplayEvents=!0,this.update(!0))}handleEvent(t,s,n=!0){if(s&&this._ignoreReplayEvents)return!1;this._ignoreReplayEvents=!1;let o=this.options,a=this._active||[],r=this._getActiveElements(t,a,s,n),l=this._positionChanged(r,t),c=s||!he$4(r,a)||l;return c&&(this._active=r,(o.enabled||o.external)&&(this._eventPosition={x:t.x,y:t.y},this.update(!0,s))),c}_getActiveElements(t,s,n,o){let a=this.options;if(t.type===`mouseout`)return[];if(!o)return s.filter(l=>this.chart.data.datasets[l.datasetIndex]&&this.chart.getDatasetMeta(l.datasetIndex).controller.getParsed(l.index)!==void 0);let r=this.chart.getElementsAtEventForMode(t,a.mode,a,n);return a.reverse&&r.reverse(),r}_positionChanged(t,s){let{caretX:n,caretY:o,options:a}=this,r=ye$2[a.position].call(this,t,s);return r!==!1&&(n!==r.x||o!==r.y)}}return i})();var th$1=Object.freeze({__proto__:null,Colors:uc,Decimation:mc,Filler
vendor: 5,582 bytes, line 3
3:Fc,Legend:Hc,SubTitle:$c,Title:Yc,Tooltip:{id:`tooltip`,_element:oo$2,positioners:ye$2,afterInit(i,e,t){t&&(i.tooltip=new oo$2({chart:i,options:t}))},beforeUpdate(i,e,t){i.tooltip&&i.tooltip.initialize(t)},reset(i,e,t){i.tooltip&&i.tooltip.initialize(t)},afterDraw(i){let e=i.tooltip;if(e&&e._willRender()){let t={tooltip:e};if(i.notifyPlugins(`beforeTooltipDraw`,s$6(r$4({},t),{cancelable:!0}))===!1)return;e.draw(i.ctx),i.notifyPlugins(`afterTooltipDraw`,t)}},afterEvent(i,e){if(i.tooltip){let t=e.replay;i.tooltip.handleEvent(e.event,t,e.inChartArea)&&(e.changed=!0)}},defaults:{enabled:!0,external:null,position:`average`,backgroundColor:`rgba(0,0,0,0.8)`,titleColor:`#fff`,titleFont:{weight:`bold`},titleSpacing:2,titleMarginBottom:6,titleAlign:`left`,bodyColor:`#fff`,bodySpacing:2,bodyFont:{},bodyAlign:`left`,footerColor:`#fff`,footerSpacing:2,footerMarginTop:6,footerFont:{weight:`bold`},footerAlign:`left`,padding:6,caretPadding:2,caretSize:5,cornerRadius:6,boxHeight:(i,e)=>e.bodyFont.size,boxWidth:(i,e)=>e.bodyFont.size,multiKeyBackground:`#fff`,displayColors:!0,boxPadding:0,borderColor:`rgba(0,0,0,0)`,borderWidth:0,animation:{duration:400,easing:`easeOutQuart`},animations:{numbers:{type:`number`,properties:[`x`,`y`,`width`,`height`,`caretX`,`caretY`]},opacity:{easing:`linear`,duration:200}},callbacks:Io},defaultRoutes:{bodyFont:`font`,footerFont:`font`,titleFont:`font`},descriptors:{_scriptable:i=>i!==`filter`&&i!==`itemSort`&&i!==`external`,_indexable:!1,callbacks:{_scriptable:!1,_indexable:!1},animation:{_fallback:!1},animations:{_fallback:`animation`}},additionalOptionScopes:[`interaction`]}});var eh$1=(i,e,t,s)=>(typeof e==`string`?(t=i.push(e)-1,s.unshift({index:t,label:e})):isNaN(e)&&(t=null),t);function ih$1(i,e,t,s){let n=i.indexOf(e);if(n===-1)return eh$1(i,e,t,s);return n!==i.lastIndexOf(e)?t:n}var sh$1=(i,e)=>i===null?null:Y$4(Math.round(i),0,e);function ao$2(i){let e=this.getLabels();return i>=0&&i<e.length?e[i]:i}var nh$1=(()=>{class i extends Vt$2{static id=`category`;static defaults={ticks:{callback:ao$2}};constructor(t){super(t),this._startValue=void 0,this._valueRange=0,this._addedLabels=[]}init(t){let s=this._addedLabels;if(s.length){let n=this.getLabels();for(let{index:o,label:a}of s)n[o]===a&&n.splice(o,1);this._addedLabels=[]}super.init(t)}parse(t,s){if(O$6(t))return null;let n=this.getLabels();return s=isFinite(s)&&n[s]===t?s:ih$1(n,t,P$5(s,t),this._addedLabels),sh$1(s,n.length-1)}determineDataLimits(){let{minDefined:t,maxDefined:s}=this.getUserBounds(),{min:n,max:o}=this.getMinMax(!0);this.options.bounds===`ticks`&&(t||(n=0),s||(o=this.getLabels().length-1)),this.min=n,this.max=o}buildTicks(){let t=this.min,s=this.max,n=this.options.offset,o=[],a=this.getLabels();a=t===0&&s===a.length-1?a:a.slice(t,s+1),this._valueRange=Math.max(a.length-(n?0:1),1),this._startValue=this.min-(n?.5:0);for(let r=t;r<=s;r++)o.push({value:r});return o}getLabelForValue(t){return ao$2.call(this,t)}configure(){super.configure(),this.isHorizontal()||(this._reversePixels=!this._reversePixels)}getPixelForValue(t){return typeof t!=`number`&&(t=this.parse(t)),t===null?NaN:this.getPixelForDecimal((t-this._startValue)/this._valueRange)}getPixelForTick(t){let s=this.ticks;return t<0||t>s.length-1?null:this.getPixelForValue(s[t].value)}getValueForPixel(t){return Math.round(this._startValue+this.getDecimalForPixel(t)*this._valueRange)}getBasePixel(){return this.bottom}}return i})();function oh$1(i,e){let t=[],{bounds:n,step:o,min:a,max:r,precision:l,count:c,maxTicks:h,maxDigits:d,includeBounds:u}=i,f=o||1,g=h-1,{min:p,max:m}=e,x=!O$6(a),b=!O$6(r),y=!O$6(c),M=(m-p)/(d+1),_=Si((m-p)/g/f)*f,v,k,S,w;if(_<1e-14&&!x&&!b)return[{value:p},{value:m}];w=Math.ceil(m/_)-Math.floor(p/_),w>g&&(_=Si(w*_/g/f)*f),O$6(l)||(v=Math.pow(10,l),_=Math.ceil(_*v)/v),n===`ticks`?(k=Math.floor(p/_)*_,S=Math.ceil(m/_)*_):(k=p,S=m),x&&b&&o&&$s((r-a)/o,_/1e3)?(w=Math.round(Math.min((r-a)/_,h)),_=(r-a)/w,k=a,S=r):y?(k=x?a:k,S=b?r:S,w=c-1,_=(S-k)/w):(w=(S-k)/_,Kt$2(w,Math.round(w),_/1e3)?w=Math.round(w):w=Math.ceil(w));let D=Math.max(wi$1(_),wi$1(k));v=Math.pow(10,O$6(l)?D:l),k=Math.round(k*v)/v,S=Math.round(S*v)/v;let C=0;for(x&&(u&&k!==a?(t.push({value:a}),k<a&&C++,Kt$2(Math.round((k+C*_)*v)/v,a,ro$1(a,M,i))&&C++):k<a&&C++);C<w;++C){let T=Math.round((k+C*_)*v)/v;if(b&&T>r)break;t.push({value:T})}return b&&u&&S!==r?t.length&&Kt$2(t[t.length-1].value,r,ro$1(r,M,i))?t[t.length-1].value=r:t.push({value:r}):(!b||S===r)&&t.push({value:S}),t}function ro$1(i,e,{horizontal:t,minRotation:s}){let n=it$2(s),o=(t?Math.sin(n):Math.cos(n))||.001,a=.75*e*(``+i).length;return Math.min(e/o,a)}var ie$2=class extends Vt$2{constructor(e){super(e),this.start=void 0,this.end=void 0,this._startValue=void 0,this._endValue=void 0,this._valueRange=0}parse(e,t){return O$6(e)||(typeof e==`number`||e instanceof Number)&&!isFinite(+e)?null:+e}handleTickRangeOptions(){let{beginAtZero:e}=this.options,{minDefined:t,maxDefined:s}=this.getUserBounds(),{min:n,max:o}=this,a=l=>n=t?n:l,r=l=>o=s?o:l;if(e){let l=nt$1(n),c=nt$1(o);l<0&&c<0?r(0):l>0&&c>0&&a(0)}if(n===o){let l=o===0?1:Math.abs(o*.05);r(o+l),e||a(n-l)}this.min=n,this.max=o}getTickLimit(){let{maxTicksLimit:t,stepSize:s}=this.options.ticks,n;return s?(n=Math.ceil(this.max/s)-Math.floor(this.min/s)+1,n>1e3&&(console.warn(`scales.${this.id}.ticks.stepSize: ${s} would result generating up to ${n} ticks. Limiting to 1000.`),n=1e3)):(n=this.computeTickLimit(),t=t||11),t&&(n=Math.min(t,n)),n}computeTickLimit(){return Number.POSITIVE_INFINITY}buildTicks(){let e=this.options,t=e.ticks,s=this.getTickLimit();
3s=Math.max(2,s);let a=oh$1({maxTicks:s,bounds:e.bounds,min:e.min,max:e.max,precision:t.precision,step:t.stepSize,count:t.count,maxDigits:this._maxDigits(),horizontal:this.isHorizontal(),minRotation:t.minRotation||0,includeBounds:t.includeBounds!==!1},this._range||this);return e.bounds===`ticks`&&ki$1(a,this,`value`),e.reverse?(a.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),a}configure(){let e=this.ticks,t=this.min,s=this.max;if(super.configure(),this.options.offset&&e.length){let n=(s-t)/Math.max(e.length-1,1)/2;t-=n,s+=n}this._startValue=t,this._endValue=s,this._valueRange=s-t}getLabelForValue(e){return Gt$2(e,this.chart.options.locale,this.options.ticks.format)}};var ah=(()=>{class i extends ie$2{static id=`linear`;static defaults={ticks:{callback:de$3.formatters.numeric}};determineDataLimits(){let{min:t,max:s}=this.getMinMax(!0);this.min=W$2(t)?t:0,this.max=W$2(s)?s:1,this.handleTickRangeOptions()}computeTickLimit(){let t=this.isHorizontal(),s=t?this.width:this.height,n=it$2(this.options.ticks.minRotation),o=(t?Math.sin(n):Math.cos(n))||.001,a=this._resolveTickFontOptions(0);return Math.ceil(s/Math.min(40,a.lineHeight/o))}getPixelForValue(t){return t===null?NaN:this.getPixelForDecimal((t-this._startValue)/this._valueRange)}getValueForPixel(t){return this._startValue+this.getDecimalForPixel(t)*this._valueRange}}return i})();var ke$1=i=>Math.floor(ft$1(i));var Bt$2=(i,e)=>Math.pow(10,ke$1(i)+e);function lo$1(i){return i/Math.pow(10,ke$1(i))===1}function co$1(i,e,t){let s=Math.pow(10,t),n=Math.floor(i/s);return Math.ceil(e/s)-n}function rh$1(i,e){let s=ke$1(e-i);for(;co$1(i,e,s)>10;)s++;for(;co$1(i,e,s)<10;)s--;return Math.min(s,ke$1(i))}function lh$1(i,{min:e,max:t}){e=J$5(i.min,e);let s=[],n=ke$1(e),o=rh$1(e,t),a=o<0?Math.pow(10,Math.abs(o)):1,r=Math.pow(10,o),l=n>o?Math.pow(10,n):0,c=Math.round((e-l)*a)/a,h=Math.floor((e-l)/r/10)*r*10,d=Math.floor((c-h)/Math.pow(10,o)),u=J$5(i.min,Math.round((l+h+d*Math.pow(10,o))*a)/a);for(;u<t;)s.push({value:u,major:lo$1(u),significand:d}),d>=10?d=d<15?15:20:d++,d>=20&&(o++,d=2,a=o>=0?1:a),u=Math.round((l+h+d*Math.pow(10,o))*a)/a;let f=J$5(i.max,u);return s.push({value:f,major:lo$1(f),significand:d}),s}var ch$1=(()=>{class i extends Vt$2{static id=`logarithmic`;static defaults={ticks:{callback:de$3.formatters.logarithmic,major:{enabled:!0}}};constructor(t){super(t),this.start=void 0,this.end=void 0,this._startValue=void 0,this._valueRange=0}parse(t,s){let n=ie$2.prototype.parse.apply(this,[t,s]);if(n===0){this._zero=!0;return}return W$2(n)&&n>0?n:null}determineDataLimits(){let{min:t,max:s}=this.getMinMax(!0);this.min=W$2(t)?Math.max(0,t):null,this.max=W$2(s)?Math.max(0,s):null,this.options.beginAtZero&&(this._zero=!0),this._zero&&this.min!==this._suggestedMin&&!W$2(this._userMin)&&(this.min=t===Bt$2(this.min,0)?Bt$2(this.min,-1):Bt$2(this.min,0)),this.handleTickRangeOptions()}handleTickRangeOptions(){let{minDefined:t,maxDefined:s}=this.getUserBounds(),n=this.min,o=this.max,a=l=>n=t?n:l,r=l=>o=s?o:l;n===o&&(n<=0?(a(1),r(10)):(a(Bt$2(n,-1)),r(Bt$2(o,1)))),n<=0&&a(Bt$2(o,-1)),o<=0&&r(Bt$2(n,1)),this.min=n,this.max=o}buildTicks(){let t=this.options,n=lh$1({min:this._userMin,max:this._userMax},this);return t.bounds===`ticks`&&ki$1(n,this,`value`),t.reverse?(n.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),n}getLabelForValue(t){return t===void 0?`0`:Gt$2(t,this.chart.options.locale,this.options.ticks.format)}configure(){let t=this.min;super.configure(),this._startValue=ft$1(t),this._valueRange=ft$1(this.max)-ft$1(t)}getPixelForValue(t){return(t===void 0||t===0)&&(t=this.min),t===null||isNaN(t)?NaN:this.getPixelForDecimal(t===this.min?0:(ft$1(t)-this._startValue)/this._valueRange)}getValueForPixel(t){let s=this.getDecimalForPixel(t);return Math.pow(10,this._startValue+s*this._valueRange)}}return i})();function ys(i){let e=i.ticks;if(e.display&&i.display){let t=K$3(e.backdropPadding);return P$5(e.font&&e.font.size,B$3.font.size)+t.height}return 0}function hh$1(i,e,t){return t=F$5(t)?t:[t],{w:tn$2(i,e.string,t),h:t.length*e.lineHeight}}function ho$1(i,e,t,s,n){return i===s||i===n?{start:e-t/2,end:e+t/2}:i<s||i>n?{start:e-t,end:e}:{start:e,end:e+t}}function dh$1(i){let e={l:i.left+i._padding.left,r:i.right-i._padding.right,t:i.top+i._padding.top,b:i.bottom-i._padding.bottom},t=Object.assign({},e),s=[],n=[],o=i._pointLabels.length,a=i.options.pointLabels,r=a.centerPointLabels?L$3/o:0;for(let l=0;l<o;l++){let c=a.setContext(i.getPointLabelContext(l));n[l]=c.padding;let h=i.getPointPosition(l,i.drawingArea+n[l],r),d=j$3(c.font),u=hh$1(i.ctx,d,i._pointLabels[l]);s[l]=u;let f=U$2(i.getIndexAngle(l)+r),g=Math.round(We(f));uh$1(t,e,f,ho$1(g,h.x,u.w,0,180),ho$1(g,h.y,u.h,90,270))}i.setCenterPoint(e.l-t.l,t.r-e.r,e.t-t.t,t.b-e.b),i._pointLabelItems=ph$1(i,s,n)}function uh$1(i,e,t,s,n){let o=Math.abs(Math.sin(t)),a=Math.abs(Math.cos(t)),r=0,l=0;s.start<e.l?(r=(e.l-s.start)/o,i.l=Math.min(i.l,e.l-r)):s.end>e.r&&(r=(s.end-e.r)/o,i.r=Math.max(i.r,e.r+r)),n.start<e.t?(l=(e.t-n.start)/a,i.t=Math.min(i.t,e.t-l)):n.end>e.b&&(l=(n.end-e.b)/a,i.b=Math.max(i.b,e.b+l))}function fh$1(i,e,t){let s=i.drawingArea,{extra:n,additionalAngle:o,padding:a,size:r}=t,l=i.getPointPosition(e,s+n+a,o),c=Math.round(We(U$2(l.angle+N$5))),h=xh(l.
vendor: 4,468 bytes, line 3
3y,r.h,c),d=mh$1(c),u=bh(l.x,r.w,d);return{visible:!0,x:l.x,y:h,textAlign:d,left:u,top:h,right:u+r.w,bottom:h+r.h}}function gh$1(i,e){if(!e)return!0;let{left:t,top:s,right:n,bottom:o}=i;return!(at$3({x:t,y:s},e)||at$3({x:t,y:o},e)||at$3({x:n,y:s},e)||at$3({x:n,y:o},e))}function ph$1(i,e,t){let s=[],n=i._pointLabels.length,o=i.options,{centerPointLabels:a,display:r}=o.pointLabels,l={extra:ys(o)/2,additionalAngle:a?L$3/n:0},c;for(let h=0;h<n;h++){l.padding=t[h],l.size=e[h];let d=fh$1(i,h,l);s.push(d),r===`auto`&&(d.visible=gh$1(d,c),d.visible&&(c=d))}return s}function mh$1(i){return i===0||i===180?`center`:i<180?`left`:`right`}function bh(i,e,t){return t===`right`?i-=e:t===`center`&&(i-=e/2),i}function xh(i,e,t){return t===90||t===270?i-=e/2:(t>270||t<90)&&(i-=e),i}function _h(i,e,t){let{left:s,top:n,right:o,bottom:a}=t,{backdropColor:r}=e;if(!O$6(r)){let l=Pt$3(e.borderRadius),c=K$3(e.backdropPadding);i.fillStyle=r;let h=s-c.left,d=n-c.top,u=o-s+c.width,f=a-n+c.height;Object.values(l).some(g=>g!==0)?(i.beginPath(),Jt$3(i,{x:h,y:d,w:u,h:f,radius:l}),i.fill()):i.fillRect(h,d,u,f)}}function yh(i,e){let{ctx:t,options:{pointLabels:s}}=i;for(let n=e-1;n>=0;n--){let o=i._pointLabelItems[n];if(!o.visible)continue;let a=s.setContext(i.getPointLabelContext(n));_h(t,a,o);let r=j$3(a.font),{x:l,y:c,textAlign:h}=o;wt$2(t,i._pointLabels[n],l,c+r.lineHeight/2,r,{color:a.color,textAlign:h,textBaseline:`middle`})}}function Fo(i,e,t,s){let{ctx:n}=i;if(t)n.arc(i.xCenter,i.yCenter,e,0,z$4);else{let o=i.getPointPosition(0,e);n.moveTo(o.x,o.y);for(let a=1;a<s;a++)o=i.getPointPosition(a,e),n.lineTo(o.x,o.y)}}function vh(i,e,t,s,n){let o=i.ctx,a=e.circular,{color:r,lineWidth:l}=e;!a&&!s||!r||!l||t<0||(o.save(),o.strokeStyle=r,o.lineWidth=l,o.setLineDash(n.dash||[]),o.lineDashOffset=n.dashOffset,o.beginPath(),Fo(i,t,a,s),o.closePath(),o.stroke(),o.restore())}function Mh(i,e,t){return pt$1(i,{label:t,index:e,type:`pointLabel`})}var vs=class extends ie$2{static id=`radialLinear`;static defaults={display:!0,animate:!0,position:`chartArea`,angleLines:{display:!0,lineWidth:1,borderDash:[],borderDashOffset:0},grid:{circular:!1},startAngle:0,ticks:{showLabelBackdrop:!0,callback:de$3.formatters.numeric},pointLabels:{backdropColor:void 0,backdropPadding:2,display:!0,font:{size:10},callback(e){return e},padding:5,centerPointLabels:!1}};static defaultRoutes={"angleLines.color":`borderColor`,"pointLabels.color":`color`,"ticks.color":`color`};static descriptors={angleLines:{_fallback:`grid`}};constructor(e){super(e),this.xCenter=void 0,this.yCenter=void 0,this.drawingArea=void 0,this._pointLabels=[],this._pointLabelItems=[]}setDimensions(){let e=this._padding=K$3(ys(this.options)/2),t=this.width=this.maxWidth-e.width,s=this.height=this.maxHeight-e.height;this.xCenter=Math.floor(this.left+t/2+e.left),this.yCenter=Math.floor(this.top+s/2+e.top),this.drawingArea=Math.floor(Math.min(t,s)/2)}determineDataLimits(){let{min:e,max:t}=this.getMinMax(!1);this.min=W$2(e)&&!isNaN(e)?e:0,this.max=W$2(t)&&!isNaN(t)?t:0,this.handleTickRangeOptions()}computeTickLimit(){return Math.ceil(this.drawingArea/ys(this.options))}generateTickLabels(e){ie$2.prototype.generateTickLabels.call(this,e),this._pointLabels=this.getLabels().map((t,s)=>{let n=I$8(this.options.pointLabels.callback,[t,s],this);return n||n===0?n:``}).filter((t,s)=>this.chart.getDataVisibility(s))}fit(){let e=this.options;e.display&&e.pointLabels.display?dh$1(this):this.setCenterPoint(0,0,0,0)}setCenterPoint(e,t,s,n){this.xCenter+=Math.floor((e-t)/2),this.yCenter+=Math.floor((s-n)/2),this.drawingArea-=Math.min(this.drawingArea/2,Math.max(e,t,s,n))}getIndexAngle(e){let t=z$4/(this._pointLabels.length||1),s=this.options.startAngle||0;return U$2(e*t+it$2(s))}getDistanceFromCenterForValue(e){if(O$6(e))return NaN;let t=this.drawingArea/(this.max-this.min);return this.options.reverse?(this.max-e)*t:(e-this.min)*t}getValueForDistanceFromCenter(e){if(O$6(e))return NaN;let t=e/(this.drawingArea/(this.max-this.min));return this.options.reverse?this.max-t:this.min+t}getPointLabelContext(e){let t=this._pointLabels||[];if(e>=0&&e<t.length){let s=t[e];return Mh(this.getContext(),e,s)}}getPointPosition(e,t,s=0){let n=this.getIndexAngle(e)-N$5+s;return{x:Math.cos(n)*t+this.xCenter,y:Math.sin(n)*t+this.yCenter,angle:n}}getPointPositionForValue(e,t){return this.getPointPosition(e,this.getDistanceFromCenterForValue(t))}getBasePosition(e){return this.getPointPositionForValue(e||0,this.getBaseValue())}
vendor: 11,719 bytes, line 3
3getPointLabelPosition(e){let{left:t,top:s,right:n,bottom:o}=this._pointLabelItems[e];return{left:t,top:s,right:n,bottom:o}}drawBackground(){let{backgroundColor:e,grid:{circular:t}}=this.options;if(e){let s=this.ctx;s.save(),s.beginPath(),Fo(this,this.getDistanceFromCenterForValue(this._endValue),t,this._pointLabels.length),s.closePath(),s.fillStyle=e,s.fill(),s.restore()}}drawGrid(){let e=this.ctx,t=this.options,{angleLines:s,grid:n,border:o}=t,a=this._pointLabels.length,r,l,c;if(t.pointLabels.display&&yh(this,a),n.display&&this.ticks.forEach((h,d)=>{if(d!==0||d===0&&this.min<0){l=this.getDistanceFromCenterForValue(h.value);let u=this.getContext(d),f=n.setContext(u),g=o.setContext(u);vh(this,f,l,a,g)}}),s.display){for(e.save(),r=a-1;r>=0;r--){let h=s.setContext(this.getPointLabelContext(r)),{color:d,lineWidth:u}=h;!u||!d||(e.lineWidth=u,e.strokeStyle=d,e.setLineDash(h.borderDash),e.lineDashOffset=h.borderDashOffset,l=this.getDistanceFromCenterForValue(t.reverse?this.min:this.max),c=this.getPointPosition(r,l),e.beginPath(),e.moveTo(this.xCenter,this.yCenter),e.lineTo(c.x,c.y),e.stroke())}e.restore()}}drawBorder(){}drawLabels(){let e=this.ctx,t=this.options,s=t.ticks;if(!s.display)return;let n=this.getIndexAngle(0),o,a;e.save(),e.translate(this.xCenter,this.yCenter),e.rotate(n),e.textAlign=`center`,e.textBaseline=`middle`,this.ticks.forEach((r,l)=>{if(l===0&&this.min>=0&&!t.reverse)return;let c=s.setContext(this.getContext(l)),h=j$3(c.font);if(o=this.getDistanceFromCenterForValue(this.ticks[l].value),c.showLabelBackdrop){e.font=h.string,a=e.measureText(r.label).width,e.fillStyle=c.backdropColor;let d=K$3(c.backdropPadding);e.fillRect(-a/2-d.left,-o-h.size/2-d.top,a+d.width,h.size+d.height)}wt$2(e,r.label,0,-o,h,{color:c.color,strokeColor:c.textStrokeColor,strokeWidth:c.textStrokeWidth})}),e.restore()}drawTitle(){}};var ui={millisecond:{common:!0,size:1,steps:1e3},second:{common:!0,size:1e3,steps:60},minute:{common:!0,size:6e4,steps:60},hour:{common:!0,size:36e5,steps:24},day:{common:!0,size:864e5,steps:30},week:{common:!1,size:6048e5,steps:4},month:{common:!0,size:2628e6,steps:12},quarter:{common:!1,size:7884e6,steps:4},year:{common:!0,size:3154e7}};var Q$3=Object.keys(ui);function uo$1(i,e){return i-e}function fo$1(i,e){if(O$6(e))return null;let t=i._adapter,{parser:s,round:n,isoWeekday:o}=i._parseOpts,a=e;return typeof s==`function`&&(a=s(a)),W$2(a)||(a=typeof s==`string`?t.parse(a,s):t.parse(a)),a===null?null:(n&&(a=n===`week`&&(It(o)||o===!0)?t.startOf(a,`isoWeek`,o):t.startOf(a,n)),+a)}function go(i,e,t,s){let n=Q$3.length;for(let o=Q$3.indexOf(i);o<n-1;++o){let a=ui[Q$3[o]],r=a.steps?a.steps:Number.MAX_SAFE_INTEGER;if(a.common&&Math.ceil((t-e)/(r*a.size))<=s)return Q$3[o]}return Q$3[n-1]}function Sh(i,e,t,s,n){for(let o=Q$3.length-1;o>=Q$3.indexOf(t);o--){let a=Q$3[o];if(ui[a].common&&i._adapter.diff(n,s,a)>=e-1)return a}return Q$3[t?Q$3.indexOf(t):0]}function kh(i){for(let e=Q$3.indexOf(i)+1,t=Q$3.length;e<t;++e)if(ui[Q$3[e]].common)return Q$3[e]}function po(i,e,t){if(!t)i[e]=!0;else if(t.length){let{lo:s,hi:n}=Ne$1(t,e),o=t[s]>=e?t[s]:t[n];i[o]=!0}}function wh(i,e,t,s){let n=i._adapter,o=+n.startOf(e[0].value,s),a=e[e.length-1].value,r,l;for(r=o;r<=a;r=+n.add(r,1,s))l=t[r],l>=0&&(e[l].major=!0);return e}function mo$1(i,e,t){let s=[],n={},o=e.length,a,r;for(a=0;a<o;++a)r=e[a],n[r]=a,s.push({value:r,major:!1});return o===0||!t?s:wh(i,s,n,t)}var Ms=(()=>{class i extends Vt$2{static id=`time`;static defaults={bounds:`data`,adapters:{},time:{parser:!1,unit:!1,round:!1,isoWeekday:!1,minUnit:`millisecond`,displayFormats:{}},ticks:{source:`auto`,callback:!1,major:{enabled:!1}}};constructor(t){super(t),this._cache={data:[],labels:[],all:[]},this._unit=`day`,this._majorUnit=void 0,this._offsets={},this._normalized=!1,this._parseOpts=void 0}init(t,s={}){let n=t.time||(t.time={}),o=this._adapter=new Lr._date(t.adapters.date);o.init(s),Ut$2(n.displayFormats,o.formats()),this._parseOpts={parser:n.parser,round:n.round,isoWeekday:n.isoWeekday},super.init(t),this._normalized=s.normalized}parse(t,s){return t===void 0?null:fo$1(this,t)}beforeLayout(){super.beforeLayout(),this._cache={data:[],labels:[],all:[]}}determineDataLimits(){let t=this.options,s=this._adapter,n=t.time.unit||`day`,{min:o,max:a,minDefined:r,maxDefined:l}=this.getUserBounds();function c(h){!r&&!isNaN(h.min)&&(o=Math.min(o,h.min)),!l&&!isNaN(h.max)&&(a=Math.max(a,h.max))}(!r||!l)&&(c(this._getLabelBounds()),(t.bounds!==`ticks`||t.ticks.source!==`labels`)&&c(this.getMinMax(!1))),o=W$2(o)&&!isNaN(o)?o:+s.startOf(Date.now(),n),a=W$2(a)&&!isNaN(a)?a:+s.endOf(Date.now(),n)+1,this.min=Math.min(o,a-1),this.max=Math.max(o+1,a)}_getLabelBounds(){let t=this.getLabelTimestamps(),s=Number.POSITIVE_INFINITY,n=Number.NEGATIVE_INFINITY;return t.length&&(s=t[0],n=t[t.length-1]),{min:s,max:n}}buildTicks(){let t=this.options,s=t.time,n=t.ticks,o=n.source===`labels`?this.getLabelTimestamps():this._generate();t.bounds===`ticks`&&o.length&&(this.min=this._userMin||o[0],this.max=this._userMax||o[o.length-1]);let a=this.min,r=this.max,l=Ks(o,a,r);return this._unit=s.unit||(n.autoSkip?go(s.minUnit,this.min,this.max,this._getLabelCapacity(a)):Sh(this,l.length,s.minUnit,this.min,this.max)),this._majorUnit=!n.major.enabled||this._unit===`year`?void 0:kh(this._unit),this.initOffsets(o),t.reverse&&l.reverse(),mo$1(this,l,this._majorUnit)}afterAutoSkip(){this.options.offsetAfterAutoskip&&this.initOffsets(this.ticks.map(t=>+t.value))}initOffsets(t=[]){let s=0,n=0,o,a;this.options.offset&&t.length&&(o=this.getDecimalForValue(t[0]),t.length===1?s=1-o:s=(this.getDecimalForValue(t[1])-o)/2,a=this.getDecimalForValue(t[t.length-1]),t.length===1?n=a:n=(a-this.getDecimalForValue(t[t.length-2]))/2);let r=t.length<3?.5:.25;s=Y$4(s,0,r),n=Y$4(n,0,r),this._offsets={start:s,end:n,factor:1/(s+1+n)}}_generate(){let t=this._adapter,s=this.min,n=this.max,o=this.options,a=o.time,r=a.unit||go(a.minUnit,s,n,this._getLabelCapacity(s)),l=P$5(o.ticks.stepSize,1),c=r===`week`?a.isoWeekday:!1,h=It(c)||c===!0,d={},u=s,f,g;if(h&&(u=+t.startOf(u,`isoWeek`,c)),u=+t.startOf(u,h?`day`:r),t.diff(n,s,r)>1e5*l)throw new Error(s+` and `+n+` are too far apart with stepSize of `+l+` `+r);let p=o.ticks.source===`data`&&this.getDataTimestamps();for(f=u,g=0;f<n;f=+t.add(f,l,r),g++)po(d,f,p);return(f===n||o.bounds===`ticks`||g===1)&&po(d,f,p),Object.keys(d).sort(uo$1).map(m=>+m)}getLabelForValue(t){let s=this._adapter,n=this.options.time;return n.tooltipFormat?s.format(t,n.tooltipFormat):s.format(t,n.displayFormats.datetime)}format(t,s){let o=this.options.time.displayFormats,a=this._unit,r=s||o[a];return this._adapter.format(t,r)}_tickFormatFunction(t,s,n,o){let a=this.options,r=a.ticks.callback;if(r)return I$8(r,[t,s,n],this);let l=a.time.displayFormats,c=this._unit,h=this._majorUnit,d=c&&l[c],u=h&&l[h],f=n[s],g=h&&u&&f&&f.major;return this._adapter.format(t,o||(g?u:d))}generateTickLabels(t){let s,n,o;for(s=0,n=t.length;s<n;++s)o=t[s],o.label=this._tickFormatFunction(o.value,s,t)}getDecimalForValue(t){return t===null?NaN:(t-this.min)/(this.max-this.min)}getPixelForValue(t){let s=this._offsets,n=this.getDecimalForValue(t);return this.getPixelForDecimal((s.start+n)*s.factor)}getValueForPixel(t){let s=this._offsets,n=this.getDecimalForPixel(t)/s.factor-s.end;return this.min+n*(this.max-this.min)}_getLabelSize(t){let s=this.options.ticks,n=this.ctx.measureText(t).width,o=it$2(this.isHorizontal()?s.maxRotation:s.minRotation),a=Math.cos(o),r=Math.sin(o),l=this._resolveTickFontOptions(0).size;return{w:n*a+l*r,h:n*r+l*a}}_getLabelCapacity(t){let s=this.options.time,n=s.displayFormats,o=n[s.unit]||n.millisecond,a=this._tickFormatFunction(t,0,mo$1(this,[t],this._majorUnit),o),r=this._getLabelSize(a),l=Math.floor(this.isHorizontal()?this.width/r.w:this.height/r.h)-1;return l>0?l:1}getDataTimestamps(){let t=this._cache.data||[],s,n;if(t.length)return t;let o=this.getMatchingVisibleMetas();if(this._normalized&&o.length)return this._cache.data=o[0].controller.getAllParsedValues(this);for(s=0,n=o.length;s<n;++s)t=t.concat(o[s].controller.getAllParsedValues(this));return this._cache.data=this.normalize(t)}getLabelTimestamps(){let t=this._cache.labels||[],s,n;if(t.length)return t;let o=this.getLabels();for(s=0,n=o.length;s<n;++s)t.push(fo$1(this,o[s]));return this._cache.labels=this._normalized?t:this.normalize(t)}normalize(t){return Di$1(t.sort(uo$1))}}return i})();function ei(i,e,t){let s=0,n=i.length-1,o,a,r,l;t?(e>=i[s].pos&&e<=i[n].pos&&({lo:s,hi:n}=ot$2(i,`pos`,e)),{pos:o,time:r}=i[s],{pos:a,time:l}=i[n]):(e>=i[s].time&&e<=i[n].time&&({lo:s,hi:n}=ot$2(i,`time`,e)),{time:o,pos:r}=i[s],{time:a,pos:l}=i[n]);let c=a-o;return c?r+(l-r)*(e-o)/c:r}var Ph=(()=>{class i extends Ms{static id=`timeseries`;static defaults=Ms.defaults;constructor(t){super(t),this._table=[],this._minPos=void 0,this._tableRange=void 0}initOffsets(){let t=this._getTimestampsForTable(),s=this._table=this.buildLookupTable(t);this._minPos=ei(s,this.min),this._tableRange=ei(s,this.max)-this._minPos,super.initOffsets(t)}buildLookupTable(t){let{min:s,max:n}=this,o=[],a=[],r,l,c,h,d;for(r=0,l=t.length;r<l;++r)h=t[r],h>=s&&h<=n&&o.push(h);if(o.length<2)return[{time:s,pos:0},{time:n,pos:1}];for(r=0,l=o.length;r<l;++r)d=o[r+1],c=o[r-1],h=o[r],Math.round((d+c)/2)!==h&&a.push({time:h,pos:r/(l-1)});return a}_generate(){let t=this.min,s=this.max,n=super.getDataTimestamps();return(!n.includes(t)||!n.length)&&n.splice(0,0,t),(!n.includes(s)||n.length===1)&&n.push(s),n.sort((o,a)=>o-a)}_getTimestampsForTable(){let t=this._cache.all||[];if(t.length)return t;let s=this.getDataTimestamps(),n=this.getLabelTimestamps();return s.length&&n.length?t=this.normalize(s.concat(n)):t=s.length?s:n,t=this._cache.all=t,t}getDecimalForValue(t){return(ei(this._table,t)-this._minPos)/this._tableRange}getValueForPixel(t){let s=this._offsets,n=this.getDecimalForPixel(t)/s.factor-s.end;return ei(this._table,n*this._tableRange+this._minPos,!0)}}return i})();var Lh=[Tr,oc,th$1,Object.freeze({__proto__:null,CategoryScale:nh$1,LinearScale:ah,LogarithmicScale:ch$1,RadialLinearScale:vs,TimeScale:Ms,TimeSeriesScale:Ph})];var E$8=(function(t){return t.OCTOPERF_MAVEN_PLUGIN=`OCTOPERF_MAVEN_PLUGIN`,t.OCTOPERF_HTTP_API=`OCTOPERF_HTTP_API`,t.OCTOPERF_JENKINS_PLUGIN=`OCTOPERF_JENKINS_PLUGIN`,t.AZURE_DEVOPS_VM_IMAGE_SOFTWARE=`AZURE_DEVOPS_VM_IMAGE_SOFTWARE`,t.AZURE_DEVOPS_DOCKER_AGENT=`AZURE_DEVOPS_DOCKER_AGENT`,t.AZURE_DEVOPS_BUILD_CUSTOM_IMAGE_DOCUMENTATION=`AZURE_DEVOPS_BUILD_CUSTOM_IMAGE_DOCUMENTATION`,t.AZURE_DEVOPS_BUILD_CUSTOM_IMAGE=`AZURE_DEVOPS_BUILD_CUSTOM_IMAGE`,t.AZURE_DEVOPS_VAULT_INTEGRATION=`AZURE_DEVOPS_VAULT_INTEGRATION`,t.AZURE_DEVOPS_BUILD_ARTIFACTS=`AZURE_DEVOPS_BUILD_ARTIFACTS`,t.AZURE_DEVOPS_DEFAULT_TRIGGERS=`AZURE_DEVOPS_DEFAULT_TRIGGERS`,t.AZURE_DEVOPS_CUSTOMIZE_TRIGGERS=`AZURE_DEVOPS_CUSTOMIZE_TRIGGERS`,t.AZURE_DEVOPS_RUN_PIPELINE=`AZURE_DEVOPS_RUN_PIPELINE`,t.GITHUB_NEW_REPO=`GITHUB_NEW_REPO`,t.GITHUB_SECRETS=`GITHUB_SECRETS`,t.GITHUB_ARTIFACT=`GITHUB_ARTIFACT`,t.GITHUB_TRIGGERING=`GITHUB_TRIGGERING`,t.GITHUB_LOGS=`GITHUB_LOGS`,t.GITLAB_INSTALL_SERVER=`GITLAB_INSTALL_SERVER`,t.GITLAB_INSTALL_RUNNER=`GITLAB_INSTALL_RUNNER`,t.GITLAB_NEW_PROJECT=`GITLAB_NEW_PROJECT`,t.GITLAB_VAULT_INTEGRATION=`GITLAB_VAULT_INTEGRATION`,t.GITLAB_JOB_LOGS=`GITLAB_JOB_LOGS`,t.OPEN_JDK_INSTALL=`OPEN_JDK_INSTALL`,t.MAVEN_INSTALL=`MAVEN_INSTALL`,t})(E$8||{});var Ue$1=new Map([[E$8.OCTOPERF_MAVEN_PLUGIN,`https://github.com/OctoPerf/octoperf-maven-plugin?tab=readme-ov-file#octoperf-maven-plugin`],[E$8.OCTOPERF_HTTP_API,`https://api.octoperf.com/swagger-ui/index.html`],[E$8.OCTOPERF_JENKINS_PLUGIN,`https://plugins.jenkins.io/octoperf/`],[E$8.AZURE_DEVOPS_VM_IMAGE_SOFTWARE,`https://learn.microsoft.com/en-us
3/azure/devops/pipelines/agents/hosted?view=azure-devops&tabs=yaml#software`],[E$8.AZURE_DEVOPS_DOCKER_AGENT,`https://learn.microsoft.com/en-us/azure/devops/pipelines/agents/docker?view=azure-devops`],[E$8.AZURE_DEVOPS_BUILD_CUSTOM_IMAGE_DOCUMENTATION,`https://learn.microsoft.com/en-us/azure/devops/pipelines/agents/scale-set-agents?view=azure-devops#create-the-scale-set`],[E$8.AZURE_DEVOPS_BUILD_CUSTOM_IMAGE,`https://learn.microsoft.com/en-us/azure/devops/pipelines/agents/scale-set-agents?view=azure-devops#create-a-scale-set-with-custom-image-software-or-disk-size`],[E$8.AZURE_DEVOPS_VAULT_INTEGRATION,`https://learn.microsoft.com/en-us/azure/devops/pipelines/release/key-vault-in-own-project?view=azure-devops&tabs=portal#query-and-use-secrets-in-your-pipeline`],[E$8.AZURE_DEVOPS_BUILD_ARTIFACTS,`https://learn.microsoft.com/en-us/azure/devops/pipelines/artifacts/build-artifacts?view=azure-devops&tabs=yaml`],[E$8.AZURE_DEVOPS_DEFAULT_TRIGGERS,`https://learn.microsoft.com/en-us/azure/devops/pipelines/customize-pipeline?view=azure-devops#customize-ci-triggers`],[E$8.AZURE_DEVOPS_CUSTOMIZE_TRIGGERS,`https://learn.microsoft.com/en-us/azure/devops/pipelines/build/triggers?view=azure-devops`],[E$8.AZURE_DEVOPS_RUN_PIPELINE,`https://learn.microsoft.com/en-us/azure/devops/pipelines/create-first-pipeline?view=azure-devops&tabs=java%2Cbrowser#view-pipeline-details`],[E$8.GITHUB_NEW_REPO,`https://docs.github.com/en/repositories/creating-and-managing-repositories/creating-a-new-repository`],[E$8.GITHUB_SECRETS,`https://docs.github.com/en/actions/security-guides/using-secrets-in-github-actions`],[E$8.GITHUB_ARTIFACT,`https://github.com/actions/upload-artifact?tab=readme-ov-file#actionsupload-artifact`],[E$8.GITHUB_TRIGGERING,`https://docs.github.com/en/actions/using-workflows/triggering-a-workflow`],[E$8.GITHUB_LOGS,`https://docs.github.com/en/actions/monitoring-and-troubleshooting-workflows/using-workflow-run-logs#viewing-logs-to-diagnose-failures`],[E$8.GITLAB_INSTALL_SERVER,`https://docs.gitlab.com/install/install_methods/`],[E$8.GITLAB_INSTALL_RUNNER,`https://docs.gitlab.com/runner/install/`],[E$8.GITLAB_NEW_PROJECT,`https://docs.gitlab.com/user/project/`],[E$8.GITLAB_VAULT_INTEGRATION,`https://docs.gitlab.com/ci/pipeline_security/`],[E$8.GITLAB_JOB_LOGS,`https://docs.gitlab.com/ci/jobs/#view-jobs-in-a-pipeline`],[E$8.OPEN_JDK_INSTALL,`https://openjdk.org/install`],[E$8.MAVEN_INSTALL,`https://maven.apache.org/install.html`]]);var xt={value:()=>{}};function dt$2(){for(var t,e=0,n=arguments.length,i={};e<n;++e){if(!(t=arguments[e]+``)||t in i||/[\s.]/.test(t))throw new Error(`illegal type: `+t);i[t]=[]}return new j$2(i)}function j$2(t){this._=t}function wt$1(t,e){for(var n,i=0,r=t.length;i<r;++i)if((n=t[i]).name===e)return n.value}function at$2(t,e,n){for(var i=0,r=t.length;i<r;++i)if(t[i].name===e){t[i]=xt,t=t.slice(0,i).concat(t.slice(i+1));break}return n!=null&&t.push({name:e,value:n}),t}j$2.prototype=dt$2.prototype={constructor:j$2,on:function(t,e){var n,i,r=this._,a=(i=r,(t+``).trim().split(/^|\s+/).map((function(u){var c=``,f=u.indexOf(`.`);if(f>=0&&(c=u.slice(f+1),u=u.slice(0,f)),u&&!i.hasOwnProperty(u))throw new Error(`unknown type: `+u);return{type:u,name:c}}))),s=-1,o=a.length;if(!(arguments.length<2)){if(e!=null&&typeof e!=`function`)throw new Error(`invalid callback: `+e);for(;++s<o;)if(n=(t=a[s]).type)r[n]=at$2(r[n],t.name,e);else if(e==null)for(n in r)r[n]=at$2(r[n],t.name,null);return this}for(;++s<o;)if((n=(t=a[s]).type)&&(n=wt$1(r[n],t.name)))return n},copy:function(){var t={},e=this._;for(var n in e)t[n]=e[n].slice();return new j$2(t)},call:function(t,e){if((n=arguments.length-2)>0)for(var n,i,r=new Array(n),a=0;a<n;++a)r[a]=arguments[a+2];if(!this._.hasOwnProperty(t))throw new Error(`unknown type: `+t);for(a=0,n=(i=this._[t]).length;a<n;++a)i[a].value.apply(e,r)},apply:function(t,e,n){if(!this._.hasOwnProperty(t))throw new Error(`unknown type: `+t);for(var i=this._[t],r=0,a=i.length;r<a;++r)i[r].value.apply(e,n)}};var H$2=`http://www.w3.org/1999/xhtml`;var ot$1={svg:`http://www.w3.org/2000/svg`,xhtml:H$2,xlink:`http://www.w3.org/1999/xlink`,xml:`http://www.w3.org/XML/1998/namespace`,xmlns:`http://www.w3.org/2000/xmlns/`};function pt(t){var e=t+=``,n=e.indexOf(`:`);return n>=0&&(e=t.slice(0,n))!==`xmlns`&&(t=t.slice(n+1)),ot$1.hasOwnProperty(e)?{space:ot$1[e],local:t}:t}function bt$1(t){return function(){var e=this.ownerDocument,n=this.namespaceURI;return n===H$2&&e.documentElement.namespaceURI===H$2?e.createElement(t):e.createElementNS(n,t)}}function Rt(t){return function(){return this.ownerDocument.createElementNS(t.space,t.local)}}function st$1(t){var e=pt(t);return(e.local?Rt:bt$1)(e)}function Ot(){}function ut$1(t){return t==null?Ot:function(){return this.querySelector(t)}}function Nt(){return[]}function Ut$1(t){return function(){return(e=t.apply(this,arguments))==null?[]:Array.isArray(e)?e:Array.from(e);var e}}function lt$1(t){return function(e){return e.matches(t)}}var Lt$1=Array.prototype.find;function Gt$1(){return this.firstElementChild}var Ct$2=Array.prototype.filter;function Pt$2(){return Array.from(this.children)}function ct$3(t){return new Array(t.length)}function q$1(t,e){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=e}function Mt$1(t,e,n,i,r,a){for(var s,o=0,u=e.length,c=a.length;o<c;++o)(s=e[o])?(s.__data__=a[o],i[o]=s):n[o]=new q$1(t,a[o]);for(;o<u;++o)(s=e[o])&&(r[o]=s)}function Vt$1(t,e,n,i,r,a,s){var o,u,c,f=new Map,g=e.length,d=a.length,m=new Array(g);for(o=0;o<g;++o)(u=e[o])&&(m[o]=c=s.call(u,u.__data__,o,e)+``,f.has(c)?r[o]=u:f.set(c,u));for(o=0;o<d;++o)c=s.call(t,a[o],o,a)+``,(u=f.get(c))?(i[o]=u,u.__data__=a[o],f.delete(c)):n[o]=new q$1(t,a[o]);for(o=0;o<g;++o)(u=e[o])&&f.get(m[o])===u&&(r[o]=u)}function Bt$1(t){return t.__data__}function zt(t){return typeof t==`object`&&`length`in t?t:Array.from(t)}function Ft(t,e){return t<e?-1:t>e?1:t>=e?0:NaN}function Zt$1(t){return function(){this.removeAttribute(t)}}function kt$2(t){return function(){this.removeAttributeNS(t.space,t.local)}}function jt(t,e){return function(){this.setAttribute(t,e)}}function qt$1(t,e){return function(){this.setAttributeNS(t.space,t.local,e)}}function Kt$1(t,e){return function(){var n=e.apply(this,arguments);n==null?this.removeAttribute(t):this.setAttribute(t,n)}}function Jt$2(t,e){return function(){var n=e.apply(this,arguments);n==null?this.removeAttributeNS(t.space,t.local):this.setAttributeNS(t.space,t.local,n)}}function gt$1(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView}function Wt(t){return function(){this.style.removeProperty(t)}}function Xt(t,e,n){return function(){this.style.setProperty(t,e,n)}}function Yt(t,e,n){return function(){var i=e.apply(this,arguments);i==null?this.style.removeProperty(t):this.style.setProperty(t,i,n)}}function Ht(t){return function(){delete this[t]}}function Qt(t,e){return function(){this[t]=e}}function $t$1(t,e){return function(){var n=e.apply(this,arguments);n==null?delete this[t]:this[t]=n}}function vt$1(t){return t.trim().split(/^|\s+/)}function nt(t){return t.classList||new _t$2(t)}function _t$2(t){this._node=t,this._names=vt$1(t.getAttribute(`class`)||``)}function ht$1(t,e){for(var n=nt(t),i=-1,r=e.length;++i<r;)n.add(e[i])}function mt$2(t,e){for(var n=nt(t),i=-1,r=e.length;++i<r;)n.remove(e[i])}function te$1(t){return function(){ht$1(this,t)}}function ee$3(t){return function(){mt$2(this,t)}}function ne$2(t,e){return function(){(e.apply(this,arguments)?ht$1:mt$2)(this,t)}}function ie$1(){this.textContent=``}function re$1(t){return function(){this.textContent=t}}function ae$2(t){return function(){var e=t.apply(this,arguments);this.textContent=e??``}}function oe$2(){this.innerHTML=``}function se$1(t){return function(){this.innerHTML=t}}function ue$1(t){return function(){var e=t.apply(this,arguments);this.innerHTML=e??``}}function le$1(){this.nextSibling&&this.parentNode.appendChild(this)}function ce$1(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function fe$2(){return null}function de$2(){var t=this.parentNode;t&&t.removeChild(this)}function pe$1(){var t=this.cloneNode(!1),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}function ge$3(){var t=this.cloneNode(!0),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}function ve$3(t){return function(){var e=this.__on;if(e){for(var n,i=0,r=-1,a=e.length;i<a;++i)n=e[i],t.type&&n.type!==t.type||n.name!==t.name?e[++r]=n:this.removeEventListener(n.type,n.listener,n.options);++r?e.length=r:delete this.__on}}}function _e$1(t,e,n){return function(){var i,r=this.__on,a=(function(u){return function(c){u.call(this,c,this.__data__)}})(e);if(r){for(var s=0,o=r.length;s<o;++s)if((i=r[s]).type===t.type&&i.name===t.name)return this.removeEventListener(i.type,i.listener,i.options),this.addEventListener(i.type,i.listener=a,i.options=n),void(i.value=e)}this.addEventListener(t.type,a,n),i={type:t.type,name:t.name,value:e,listener:a,options:n},r?r.push(i):this.__on=[i]}}function At$2(t,e,n){var i=gt$1(t),r=i.CustomEvent;typeof r==`function`?r=new r(e,n):(r=i.document.createEvent(`Event`),n?(r.initEvent(e,n.bubbles,n.cancelable),r.detail=n.detail):r.initEvent(e,!1,!1)),t.dis
3patchEvent(r)}function he$3(t,e){return function(){return At$2(this,t,e)}}function me$2(t,e){return function(){return At$2(this,t,e.apply(this,arguments))}}q$1.prototype={constructor:q$1,appendChild:function(t){return this._parent.insertBefore(t,this._next)},insertBefore:function(t,e){return this._parent.insertBefore(t,e)},querySelector:function(t){return this._parent.querySelector(t)},querySelectorAll:function(t){return this._parent.querySelectorAll(t)}},_t$2.prototype={add:function(t){this._names.indexOf(t)<0&&(this._names.push(t),this._node.setAttribute(`class`,this._names.join(` `)))},remove:function(t){var e=this._names.indexOf(t);e>=0&&(this._names.splice(e,1),this._node.setAttribute(`class`,this._names.join(` `)))},contains:function(t){return this._names.indexOf(t)>=0}};var Ae$1=[null];function w$5(t,e){this._groups=t,this._parents=e}function F$4(t){return typeof t==`string`?new w$5([[document.querySelector(t)]],[document.documentElement]):new w$5([[t]],Ae$1)}function ft(t,e){if(t=(function(a){let s;for(;s=a.sourceEvent;)a=s;return a})(t),e===void 0&&(e=t.currentTarget),e){var n=e.ownerSVGElement||e;if(n.createSVGPoint){var i=n.createSVGPoint();return i.x=t.clientX,i.y=t.clientY,[(i=i.matrixTransform(e.getScreenCTM().inverse())).x,i.y]}if(e.getBoundingClientRect){var r=e.getBoundingClientRect();return[t.clientX-r.left-e.clientLeft,t.clientY-r.top-e.clientTop]}}return[t.pageX,t.pageY]}w$5.prototype={constructor:w$5,select:function(t){typeof t!=`function`&&(t=ut$1(t));for(var e=this._groups,n=e.length,i=new Array(n),r=0;r<n;++r)for(var a,s,o=e[r],u=o.length,c=i[r]=new Array(u),f=0;f<u;++f)(a=o[f])&&(s=t.call(a,a.__data__,f,o))&&(`__data__`in a&&(s.__data__=a.__data__),c[f]=s);return new w$5(i,this._parents)},selectAll:function(t){t=typeof t==`function`?Ut$1(t):(function(f){return f==null?Nt:function(){return this.querySelectorAll(f)}})(t);for(var e=this._groups,n=e.length,i=[],r=[],a=0;a<n;++a)for(var s,o=e[a],u=o.length,c=0;c<u;++c)(s=o[c])&&(i.push(t.call(s,s.__data__,c,o)),r.push(s));return new w$5(i,r)},selectChild:function(t){return this.select(t==null?Gt$1:(function(e){return function(){return Lt$1.call(this.children,e)}})(typeof t==`function`?t:lt$1(t)))},selectChildren:function(t){return this.selectAll(t==null?Pt$2:(function(e){return function(){return Ct$2.call(this.children,e)}})(typeof t==`function`?t:lt$1(t)))},filter:function(t){typeof t!=`function`&&(t=(function(f){return function(){return this.matches(f)}})(t));for(var e=this._groups,n=e.length,i=new Array(n),r=0;r<n;++r)for(var a,s=e[r],o=s.length,u=i[r]=[],c=0;c<o;++c)(a=s[c])&&t.call(a,a.__data__,c,s)&&u.push(a);return new w$5(i,this._parents)},data:function(t,e){if(!arguments.length)return Array.from(this,Bt$1);var n,i=e?Vt$1:Mt$1,r=this._parents,a=this._groups;typeof t!=`function`&&(n=t,t=function(){return n});for(var s=a.length,o=new Array(s),u=new Array(s),c=new Array(s),f=0;f<s;++f){var g=r[f],d=a[f],m=d.length,_=zt(t.call(g,g&&g.__data__,f,r)),I=_.length,D=u[f]=new Array(I),y=o[f]=new Array(I);i(g,d,D,y,c[f]=new Array(m),_,e);for(var T,S,l=0,p=0;l<I;++l)if(T=D[l]){for(l>=p&&(p=l+1);!(S=y[p])&&++p<I;);T._next=S||null}}return(o=new w$5(o,r))._enter=u,o._exit=c,o},enter:function(){return new w$5(this._enter||this._groups.map(ct$3),this._parents)},exit:function(){return new w$5(this._exit||this._groups.map(ct$3),this._parents)},join:function(t,e,n){var i=this.enter(),r=this,a=this.exit();return typeof t==`function`?(i=t(i))&&(i=i.selection()):i=i.append(t+``),e!=null&&(r=e(r))&&(r=r.selection()),n==null?a.remove():n(a),i&&r?i.merge(r).order():r},merge:function(t){for(var e=t.selection?t.selection():t,n=this._groups,i=e._groups,r=n.length,a=i.length,s=Math.min(r,a),o=new Array(r),u=0;u<s;++u)for(var c,f=n[u],g=i[u],d=f.length,m=o[u]=new Array(d),_=0;_<d;++_)(c=f[_]||g[_])&&(m[_]=c);for(;u<r;++u)o[u]=n[u];return new w$5(o,this._parents)},selection:function(){return this},order:function(){for(var t=this._groups,e=-1,n=t.length;++e<n;)for(var i,r=t[e],a=r.length-1,s=r[a];--a>=0;)(i=r[a])&&(s&&4^i.compareDocumentPosition(s)&&s.parentNode.insertBefore(i,s),s=i);return this},sort:function(t){function e(g,d){return g&&d?t(g.__data__,d.__data__):!g-!d}t||(t=Ft);for(var n=this._groups,i=n.length,r=new Array(i),a=0;a<i;++a){for(var s,o=n[a],u=o.length,c=r[a]=new Array(u),f=0;f<u;++f)(s=o[f])&&(c[f]=s);c.sort(e)}return new w$5(r,this._parents).order()},call:function(){var t=arguments[0];return arguments[0]=this,t.apply(null,arguments),this},nodes:function(){return Array.from(this)},node:function(){for(var t=this._groups,e=0,n=t.length;e<n;++e)for(var i=t[e],r=0,a=i.length;r<a;++r){var s=i[r];if(s)return s}return null},size:function(){let t=0;for(let e of this)++t;return t},empty:function(){return!this.node()},each:function(t){for(var e=this._groups,n=0,i=e.length;n<i;++n)for(var r,a=e[n],s=0,o=a.length;s<o;++s)(r=a[s])&&t.call(r,r.__data__,s,a);return this},attr:function(t,e){var n=pt(t);if(arguments.length<2){var i=this.node();return n.local?i.getAttributeNS(n.space,n.local):i.getAttribute(n)}return this.each((e==null?n.local?kt$2:Zt$1:typeof e==`function`?n.local?Jt$2:Kt$1:n.local?qt$1:jt)(n,e))},style:function(t,e,n){return arguments.length>1?this.each((e==null?Wt:typeof e==`function`?Yt:Xt)(t,e,n??``)):(function(i,r){return i.style.getPropertyValue(r)||gt$1(i).getComputedStyle(i,null).getPropertyValue(r)})(this.node(),t)},property:function(t,e){return arguments.length>1?this.each((e==null?Ht:typeof e==`function`?$t$1:Qt)(t,e)):this.node()[t]},classed:function(t,e){var n=vt$1(t+``);if(arguments.length<2){for(var i=nt(this.node()),r=-1,a=n.length;++r<a;)if(!i.contains(n[r]))return!1;return!0}return this.each((typeof e==`function`?ne$2:e?te$1:ee$3)(n,e))},text:function(t){return arguments.length?this.each(t==null?ie$1:(typeof t==`function`?ae$2:re$1)(t)):this.node().textContent},html:function(t){return arguments.length?this.each(t==null?oe$2:(typeof t==`function`?ue$1:se$1)(t)):this.node().innerHTML},raise:function(){return this.each(le$1)},lower:function(){return this.each(ce$1)},append:function(t){var e=typeof t==`function`?t:st$1(t);return this.select((function(){return this.appendChild(e.apply(this,arguments))}))},insert:function(t,e){var n=typeof t==`function`?t:st$1(t),i=e==null?fe$2:typeof e==`function`?e:ut$1(e);return this.select((function(){return this.insertBefore(n.apply(this,arguments),i.apply(this,arguments)||null)}))},remove:function(){return this.each(de$2)},clone:function(t){return this.select(t?ge$3:pe$1)},datum:function(t){return arguments.length?this.property(`__data__`,t):this.node().__data__},on:function(t,e,n){var i,r,a=(function(g){return g.trim().split(/^|\s+/).map((function(d){var m=``,_=d.indexOf(`.`);return _>=0&&(m=d.slice(_+1),d=d.slice(0,_)),{type:d,name:m}}))})(t+``),s=a.length;if(!(arguments.length<2)){for(o=e?_e$1:ve$3,i=0;i<s;++i)this.each(o(a[i],e,n));return this}var o=this.node().__on;if(o){for(var u,c=0,f=o.length;c<f;++c)for(i=0,u=o[c];i<s;++i)if((r=a[i]).type===u.type&&r.name===u.name)return u.value}},dispatch:function(t,e){return this.each((typeof e==`function`?me$2:he$3)(t,e))},[Symbol.iterator]:function*(){for(var t=this._groups,e=0,n=t.length;e<n;++e)for(var i,r=t[e],a=0,s=r.length;a<s;++a)(i=r[a])&&(yield i)}};var Ee$1={passive:!1};var z$3={capture:!0,passive:!1};function Y$3(t){t.stopImmediatePropagation()}function P$4(t){t.preventDefault(),t.stopImmediatePropagation()}var k$1=t=>()=>t;function Q$2(t,{sourceEvent:e,subject:n,target:i,identifier:r,active:a,x:s,y:o,dx:u,dy:c,dispatch:f}){Object.defineProperties(this,{type:{value:t,enumerable:!0,configurable:!0},sourceEvent:{value:e,enumerable:!0,configurable:!0},subject:{value:n,enumerable:!0,configurable:!0},target:{value:i,enumerable:!0,configurable:!0},identifier:{value:r,enumerable:!0,configurable:!0},active:{value:a,enumerable:!0,configurable:!0},x:{value:s,enumerable:!0,configurable:!0},y:{value:o,enumerable:!0,configurable:!0},dx:{value:u,enumerable:!0,configurable:!0},dy:{value:c,enumerable:!0,configurable:!0},_:{value:f}})}function ye$1(t){return!t.ctrlKey&&!t.button}function De$2(){return this.parentNode}function Ie$1(t,e){return e??{x:t.x,y:t.y}}function Se(){return navigator.maxTouchPoints||`ontouchstart`in this}function Te$1(){var t,e,n,i,r=ye$1,a=De$2,s=Ie$1,o=Se,u={},c=dt$2(`start`,`drag`,`end`),f=0,g=0;function d(l){l.on(`mousedown.drag`,m).filter(o).on(`touchstart.drag`,D).on(`touchmove.drag`,y,Ee$1).on(`touchend.drag touchcancel.drag`,T).style(`touch-action`,`none`).style(`-webkit-tap-highlight-color`,`rgba(0,0,0,0)`)}function m(l,p){if(!i&&r.call(this,l,p)){var v=S(this,a.call(this,l,p),l,p,`mouse`);v&&(F$4(l.view).on(`mousemove.drag`,_,z$3).on(`mouseup.drag`,I,z$3),(function(h){var A=h.document.documentElement,O=F$4(h).on(`dragstart.drag`,P$4,z$3);`onselectstart`in A?O.on(`selectstart.drag`,P$4,z$3):(A.__noselect=A.style.MozUserSelect,A.style.MozUserSelect=`none`)})(l.view),Y$3(l),n=!1,t=l.clientX,e=l.clientY,v(`start`,l))}}function _(l){if(P$4(l),!n){var p=l.clientX-t,v=l.clientY-e;n=p*p+v*v>g}u.mouse(`drag`,l)}function I(l){F$4(l.view).on(`mousemove.drag mouseup.drag`,null),(function(p,v){var h=p.document.documentElement,A=F$4(p).on(`dragstart.drag`,null);v&&(A.on(`click.drag`,P$4,z$3),setTimeout((function(){A.on(`click.drag`,null)}),0)),`onselectstart`in h?A.on(`selectstart.drag`,null):(h.style.MozUserSelect=h.__noselect,delete h.__noselect)})(l.view,n),P$4(l),u.mouse(`end`,l)}function D(l,p){if(r.call(this,l,p)){var v,h,A=l.changedTouches,O=a.call(this,l,p),N=A.length;for(v=0;v<N;++v)(h=S(this,O,l,p,A[v].identifier,A[v]))&&(Y$3(l),h(`start`,l,A[v]))}}function y(l){var p,v,h=l.changedTouches,A=h.length;for(p=0;p<A;++p)(v=u[h[p].identifier])&&(P$4(l),v(`drag`,l,h[p]))}function T(l){var p,v,h=l.changedTouches,A=h.length;for(i&&clearTimeout(i),i=setTimeout((function(){i=null}),500),p=0;p<A;++p)(v=u[h[p].identifier])&&(Y$3(l),v(`end`,l,h[p]))}function S(l,p,v,h,A,O){var N,M,U,C=c.copy(),x=ft(O||v,p);if((U=s.call(l,new Q$2(`beforestart`,{sourceEvent:v,target:d,identifier:A,active:f,x:x[0],y:x[1],dx:0,dy:0,dispatch:C}),h))!=null)return N=U.x-x[0]||0,M=U.y-x[1]||0,function J(b,L,W){var G,V=x;switch(b){case`start`:u[A]=J,G=f++;break;case`end`:delete u[A],--f;case`drag`:x=ft(W||L,p),G=f}C.call(b,l,new Q$2(b,{sourceEvent:L,subject:U,target:d,identifier:A,active:G,x:x[0]+N,y:x[1]+M,dx:x[0]-V[0],dy:x[1]-V[1],dispatch:C}),h)}}return d.filter=function(l){return arguments.length?(r=typeof l==`function`?l:k$1(!!l),d):r},d.container=function(l){return arguments.length?(a=typeof l==`function`?l:k$1(l),d):a},d.subject=function(l){return arguments.length?(s=typeof l==`function`?l:k$1(l),d):s},d.touchable=function(l){return arguments.length?(o=typeof l==`function`?l:k$1(!!l),d):o},d.on=function(){var l=c.on.apply(c,arguments);return l===c?d:l},d.clickDistance=function(l){return arguments.length?(g=(l=+l)*l,d):Math.sqrt(g)},d}Q$2.prototype.on=function(){var t=this._.on.apply(this._,arguments);return t===this._?this:t};var R$4={id:`dragdata`,statesStore:new Map,afterInit:function(t){var e={curIndex:void 0,curDatasetIndex:void 0,element:null,eventSettings:!1,floatingBar:!1,initValue:0,xAxisID:``,yAxisID:``,rAxisID:``,stacked:!1,type:void 0,isDragging:!1};
3R$4.statesStore.set(t.id,e),F$4(t.canvas).call(Te$1().container(t.canvas).on(`start`,(function(n){return Oe$2(n.sourceEvent,t,e)})).on(`drag`,(function(n){return Ne(n.sourceEvent,t,e)})).on(`end`,(function(n){return Re$1(n.sourceEvent,t,e)})))},beforeEvent:function(t){var e;if(R$4.statesStore.get(t.id)?.isDragging)return(e=t.tooltip)===null||e===void 0||e.update(),!1}};function K$2(t,e){return e===void 0||isNaN(e)||e<0?t:Math.round(t*Math.pow(10,e))/Math.pow(10,e)}function $$3(t,e,n){return Math.min(Math.max(t,e),n)}function xe$1(t,e,n,i,r){var a,s,o;r===void 0&&(r=R$4.statesStore.get(e.id));var u=Ct$3(t,e),c=u.x,f=u.y,g=e.scales[i],d=g.getPointPositionForValue(n+(r?.type===`polarArea`?.5:0),e.scales[i].max).angle,m=g.xCenter,_=g.yCenter,I=f-_,D=(c-m)*Math.cos(d)+I*Math.sin(d)>0?Math.sqrt(Math.pow(c-m,2)+Math.pow(f-_,2)):0,y=g.getValueForDistanceFromCenter(D);return y=$$3(y=K$2(y,(o=(s=(a=e.config.options)===null||a===void 0?void 0:a.plugins)===null||s===void 0?void 0:s.dragData)===null||o===void 0?void 0:o.round),e.scales[i].min,e.scales[i].max)}Fl.register(R$4);var tt$1=function(){return tt$1=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},tt$1.apply(this,arguments)};function we$1(t){return Array.isArray(t)?(function(e,n,i){if(i||arguments.length===2)for(var r,a=0,s=n.length;a<s;a++)!r&&a in n||(r||(r=Array.prototype.slice.call(n,0,a)),r[a]=n[a]);return e.concat(r||Array.prototype.slice.call(n))})([],t,!0):typeof t==`object`?tt$1({},t):t}function et$1(t,e,n,i,r){var a,s,o,u,c,f=i.xAxisDraggingDisabled,g=i.yAxisDraggingDisabled;if(r===void 0&&(r=R$4.statesStore.get(e.id)),!r)return n;var d=we$1(n),m=Ct$3(t,e),_=m.x,I=m.y,D=e.scales[r.xAxisID].getValueForPixel(_),y=e.scales[r.yAxisID].getValueForPixel(I),T=(o=(s=(a=e.config.options)===null||a===void 0?void 0:a.plugins)===null||s===void 0?void 0:s.dragData)===null||o===void 0?void 0:o.round;if(D=K$2(D,T),y=K$2(y,T),D=$$3(D,e.scales[r.xAxisID].min,e.scales[r.xAxisID].max),y=$$3(y,e.scales[r.yAxisID].min,e.scales[r.yAxisID].max),r.floatingBar){var S=void 0;return S=((u=e.config.options)===null||u===void 0?void 0:u.indexAxis)===`y`?D:y,Math.abs(S-d[0])<=Math.abs(S-d[1])?d[0]=S:d[1]=S,d}return d.x===void 0||f||(d.x=D),d.y!==void 0?(g||(d.y=y),d):((c=e.config.options)===null||c===void 0?void 0:c.indexAxis)===`y`?f?d:D:g?d:y}function be$1(t,e,n){var i,r,a=(r=(i=t.config.options)===null||i===void 0?void 0:i.plugins)===null||r===void 0?void 0:r.dragData;if(a?.magnet){var s=a?.magnet;if(typeof s.to==`function`){var o=t.data.datasets[e].data[n];return o=s.to(o),t.data.datasets[e].data[n]=o,t.update(`none`),o}return null}return t.data.datasets[e].data[n]}function Et(t,e,n,i){var r,a,s,o,u,c,f,g,d,m,_,I,D,y,T;if(i===void 0&&(i=R$4.statesStore.get(t.id)),!i)return{chartDraggingDisabled:!0,datasetDraggingDisabled:!0,xAxisDraggingDisabled:!0,yAxisDraggingDisabled:!0,dataPointDraggingDisabled:!0};var S=t.data.datasets[e],l=((a=(r=t.config.options)===null||r===void 0?void 0:r.plugins)===null||a===void 0?void 0:a.dragData)===!1,p=l||S.dragData===!1,v=(u=(o=(s=t.config.options)===null||s===void 0?void 0:s.scales)===null||o===void 0?void 0:o[i.xAxisID])===null||u===void 0?void 0:u.dragData,h=!0;return p||v!==!0&&(((g=(f=(c=t.config.options)===null||c===void 0?void 0:c.plugins)===null||f===void 0?void 0:f.dragData)===null||g===void 0?void 0:g.dragX)!==!0||v===!1)||(h=!1),{chartDraggingDisabled:l,datasetDraggingDisabled:p,xAxisDraggingDisabled:h,yAxisDraggingDisabled:p||((_=(m=(d=t.config.options)===null||d===void 0?void 0:d.plugins)===null||m===void 0?void 0:m.dragData)===null||_===void 0?void 0:_.dragY)===!1||((y=(D=(I=t.config.options)===null||I===void 0?void 0:I.scales)===null||D===void 0?void 0:D[i.yAxisID])===null||y===void 0?void 0:y.dragData)===!1,dataPointDraggingDisabled:p||((T=S.data[n])===null||T===void 0?void 0:T.dragData)===!1}}function Re$1(t,e,n){var i,r,a,s,o;if(n===void 0&&(n=R$4.statesStore.get(e.id)),n){var u=(a=(r=(i=e.options)===null||i===void 0?void 0:i.plugins)===null||r===void 0?void 0:r.dragData)===null||a===void 0?void 0:a.onDragEnd;if(n.curIndex=void 0,n.isDragging=!1,!((o=(s=e.config.options)===null||s===void 0?void 0:s.plugins)===null||o===void 0)&&o.tooltip&&(e.config.options.plugins.tooltip.animation=n.eventSettings,e.update(`none`)),typeof u==`function`&&n.element){var c=n.element.datasetIndex,f=n.element.index;return u(t,c,f,be$1(e,c,f))}}}function Oe$2(t,e,n){var i,r,a,s,o,u,c,f,g,d,m,_,I,D,y,T,S,l,p,v,h,A,O,N,M,U;n===void 0&&(n=R$4.statesStore.get(e.id));var C=(a=(r=(i=e.options)===null||i===void 0?void 0:i.plugins)===null||r===void 0?void 0:r.dragData)===null||a===void 0?void 0:a.onDragStart;if(n){var x=(u=(o=(s=e.config.options)===null||s===void 0?void 0:s.interaction)===null||o===void 0?void 0:o.mode)!==null&&u!==void 0?u:`nearest`,J=(f=(c=e.config.options)===null||c===void 0?void 0:c.interaction)!==null&&f!==void 0?f:{intersect:!0};if(n.element=e.getElementsAtEventForMode(t,x,J,!1)[0],n.element){var b=n.element.datasetIndex,L=n.element.index;n.type=(d=(g=e.config.type)!==null&&g!==void 0?g:e.data.datasets[b].type)!==null&&d!==void 0?d:void 0,n.eventSettings=(I=(_=(m=e.config.options)===null||m===void 0?void 0:m.plugins)===null||_===void 0?void 0:_.tooltip)===null||I===void 0?void 0:I.animation;var W=e.data.datasets[b],G=e.getDatasetMeta(b),V=W.data[L];n.xAxisID=G.xAxisID,n.yAxisID=G.yAxisID,n.rAxisID=G.rAxisID;var B=Et(e,b,L),yt=B.datasetDraggingDisabled,Dt=B.xAxisDraggingDisabled,It=B.yAxisDraggingDisabled,St=B.dataPointDraggingDisabled;if(yt||Dt&&It||St)return void(n.element=null);if(n.type===`bar`){n.stacked=(S=(T=(y=(D=e.config.options)===null||D===void 0?void 0:D.scales)===null||y===void 0?void 0:y[n.xAxisID])===null||T===void 0?void 0:T.stacked)!==null&&S!==void 0?S:void 0;var X=e.data.datasets[0].data[0];n.floatingBar=X!==null&&Array.isArray(X)&&X.length>=2;var Tt=et$1(t,e,e.data.datasets[b].data[L],B,n);n.initValue=Tt-V}var it=(v=(p=(l=e.config.options)===null||l===void 0?void 0:l.plugins)===null||p===void 0?void 0:p.dragData)===null||v===void 0?void 0:v.showTooltip;it!==void 0&&it!==!0||((h=(N=e.config).options)!==null&&h!==void 0||(N.options={}),(A=(M=e.config.options).plugins)!==null&&A!==void 0||(M.plugins={}),(O=(U=e.config.options.plugins).tooltip)!==null&&O!==void 0||(U.tooltip={}),e.config.options.plugins.tooltip.animation=!1),typeof C==`function`&&n.element&&C(t,b,L,V)===!1&&(n.element=null)}}}function Ne(t,e,n){var i,r;if(n===void 0&&(n=R$4.statesStore.get(e.id)),n){var a=(r=(i=e.options)===null||i===void 0?void 0:i.plugins)===null||r===void 0?void 0:r.dragData,s=a?.onDrag;if(n.element){n.curDatasetIndex=n.element.datasetIndex,n.curIndex=n.element.index,n.isDragging=!0;var o=e.data.datasets[n.curDatasetIndex].data[n.curIndex],u=Et(e,n.curDatasetIndex,n.curIndex);n.type===`radar`||n.type===`polarArea`?o=xe$1(t,e,n.curIndex,n.rAxisID,n):n.stacked?o=K$2(et$1(t,e,o,u,n)-n.initValue,a?.round):o=et$1(t,e,o,u,n),typeof s==`function`&&s(t,n.curDatasetIndex,n.curIndex,o)===!1||(e.data.datasets[n.curDatasetIndex].data[n.curIndex]=o,e.update(`none`))}}}var s$5=`SimpleScheduledTrigger`;var e$3=class{constructor(o=S$8.utc().plus({hour:1}).set({second:0,millisecond:0}).valueOf()){this.date=o,this[`@type`]=s$5}};var I$7=(()=>{class r extends u$10{constructor(){let e=T$9(We$1),i=T$9(w$8);super(i,e,`/scheduler/scheduled-jobs`)}enable(e){return this.http.put(this.config.apiUrl(`${this.rootPath}/enable/${e}`),null)}disable(e){return this.http.put(this.config.apiUrl(`${this.rootPath}/disable/${e}`),null)}scenarioUsage(e,i){return this.http.post(this.config.apiUrl(`${this.rootPath}/usage/${e}`),i)}static{this.ɵfac=function(i){return new(i||r)}}static{this.ɵprov=ce$3({token:r,factory:r.ɵfac,providedIn:`root`})}}return r})();var J$4=`CronScheduledTrigger`;var u$6=class{constructor(t=`0 2 * * 1-5`){this.expression=t,this[`@type`]=J$4}};var h$7=class{constructor(t,e,i,s,x,S,E,j,C,v,R){this.id=t,this.userId=e,this.projectId=i,this.task=s,this.trigger=x,this.created=S,this.lastModified=E,this.enabled=j,this.running=C,this.name=v,this.nextRun=R}};var M$5=`SequentialScheduledTask`;var l$7=class{constructor(t){this.tasks=t,this[`@type`]=M$5}};var d$12=class{constructor(){this.idValue=``,this.userIdValue=``,this.projectIdValue=``,this.triggerValue=new u$6,this.taskValue=new l$7([]),this.createdValue=S$8.utc().valueOf(),this.lastModifiedValue=S$8.utc().valueOf(),this.enabledValue=!0,this.runningValue=!1,this.nameValue=``}id(t){return this.idValue=t,this}userId(t){return this.userIdValue=t,this}projectId(t){return this.projectIdValue=t,this}task(t){return this.taskValue=t,this}trigger(t){return this.triggerValue=t,this}created(t){return this.createdValue=t,this}lastModified(t){return this.lastModifiedValue=t,this}enabled(t){return this.enabledValue=t,this}running(t){return this.runningValue=t,this}name(t){return this.nameValue=t,this}nextRun(t){return this.nextRunValue=t,this}from(t){return this.id(t.id).userId(t.userId).projectId(t.projectId).task(t.task).trigger(t.trigger).created(t.created).lastModified(t.lastModified).enabled(t.enabled).running(t.running).name(t.name).nextRun(t.nextRun)}build(){return new h$7(this.idValue,this.userIdValue,this.projectIdValue,this.taskValue,this.triggerValue,this.createdValue,this.lastModifiedValue,this.enabledValue,this.runningValue,this.nameValue,this.nextRunValue)}};var X$1=(()=>{class r extends n$11{constructor(){let e=T$9(G$4),i=T$9(P$8),s=T$9(I$7);super(i,s,e,`ScheduledJobCrudService`),this.http=s}
3enable(e){return this.http.enable(e).pipe(Nu$1(this.onUpdateEntity.bind(this)))}disable(e){return this.http.disable(e).pipe(Nu$1(this.onUpdateEntity.bind(this)))}reloadJob(e){return this.find(e).pipe(Nu$1(i=>this.updateJobCrudDataManually(i)))}updateJobCrudDataManually(e){let i=this.entity()?.nextRun;this.manuallySetJobCrudEntities(e,-1),this.manuallySetJobCrudEntities(e,i)}manuallySetJobCrudEntities(e,i){this.entities.set(this.entities().map(s=>s.id===e.id?new d$12().from(e).nextRun(i).build():s))}static{this.ɵfac=function(i){return new(i||r)}}static{this.ɵprov=ce$3({token:r,factory:r.ɵfac,providedIn:`root`})}}return r})();var S$4=class n{static{this.ONE_MINUTE_DURATION=D$8.fromMillis(60*1e3)}transform(t,r=`MINUTES`,e=!1,c){let i=c$9.transform(t,c);if(c$9.transform(new Date(Vr$2()),c).hasSame(i,`day`)){let I=this._formatTime(i,r);return(e?`at `:``)+I}let E=this._formatDateTime(i,r);return(e?`on `:``)+E}_formatTime(t,r){switch(r){case`WITH_SECONDS`:return t.toLocaleString(S$8.TIME_24_WITH_SECONDS);case`MINUTES_ROUNDED`:return this.roundMinutes(t).toLocaleString(S$8.TIME_24_SIMPLE);default:return t.toLocaleString(S$8.TIME_24_SIMPLE)}}_formatDateTime(t,r){let e=t.toLocaleString(S$8.DATE_SHORT)+` `;switch(r){case`WITH_SECONDS`:return e+t.toLocaleString(S$8.TIME_24_WITH_SECONDS);case`MINUTES_ROUNDED`:return e+this.roundMinutes(t).toLocaleString(S$8.TIME_24_SIMPLE);default:return e+t.toLocaleString(S$8.TIME_24_SIMPLE)}}roundMinutes(t){let r=D$8.fromMillis(t.second*1e3);return t.second>=30?t.plus(n.ONE_MINUTE_DURATION.minus(r)):t.minus(r)}static{this.ɵfac=function(r){return new(r||n)}}static{this.ɵpipe=Sb({name:`dateTimeToString`,type:n,pure:!0})}static{this.ɵprov=ce$3({token:n,factory:n.ɵfac,providedIn:`root`})}};var J$3=w$6(u$9((L,A)=>{"use strict";(function(x,v){typeof L==`object`&&typeof A==`object`?A.exports=v():typeof define==`function`&&define.amd?define(`cronstrue`,[],v):typeof L==`object`?L.cronstrue=v():x.cronstrue=v()})(globalThis,()=>(()=>{"use strict";var m={949:((T,p,y)=>{Object.defineProperty(p,"__esModule",{value:!0}),p.CronParser=void 0;var i=y(515);p.CronParser=(function(){function l(e,t,r){t===void 0&&(t=!0),r===void 0&&(r=!1),this.expression=e,this.dayOfWeekStartIndexZero=t,this.monthStartIndexZero=r}return l.prototype.parse=function(){var e,t,r=(e=this.expression)!==null&&e!==void 0?e:``;if(r===`@reboot`)return t=[`@reboot`,``,``,``,``,``,``],t;if(r.startsWith(`@`)){var n=this.parseSpecial(this.expression);t=this.extractParts(n)}else t=this.extractParts(this.expression);return this.normalize(t),this.validate(t),t},l.prototype.parseSpecial=function(e){var r={"@yearly":`0 0 1 1 *`,"@annually":`0 0 1 1 *`,"@monthly":`0 0 1 * *`,"@weekly":`0 0 * * 0`,"@daily":`0 0 * * *`,"@midnight":`0 0 * * *`,"@hourly":`0 * * * *`,"@reboot":`@reboot`}[e];if(!r)throw new Error(`Unknown special expression.`);return r},l.prototype.extractParts=function(e){if(!this.expression)throw new Error(`cron expression is empty`);for(var t=e.trim().split(/[ ]+/),r=0;r<t.length;r++)if(t[r].includes(`,`)){var n=t[r].split(`,`).map(function(a){return a.trim()}).filter(function(a){return a!==``}).map(function(a){return isNaN(Number(a))?a:Number(a)}).filter(function(a){return a!==null&&a!==``});n.length===0&&n.push(`*`),n.sort(function(a,s){return a!==null&&s!==null?a-s:0}),t[r]=n.map(function(a){return a!==null?a.toString():``}).join(`,`)}if(t.length<5)throw new Error(`Expression has only `.concat(t.length,` part`).concat(t.length==1?``:`s`,`. At least 5 parts are required.`));if(t.length==5)t.unshift(``),t.push(``);else if(t.length==6)/\d{4}$/.test(t[5])||t[4]==`?`||t[2]==`?`?t.unshift(``):t.push(``);else if(t.length>7)throw new Error(`Expression has `.concat(t.length,` parts; too many!`));return t},l.prototype.normalize=function(e){var t=this;if(e[3]=e[3].replace(`?`,`*`),e[5]=e[5].replace(`?`,`*`),e[2]=e[2].replace(`?`,`*`),e[0].indexOf(`0/`)==0&&(e[0]=e[0].replace(`0/`,`*/`)),e[1].indexOf(`0/`)==0&&(e[1]=e[1].replace(`0/`,`*/`)),e[2].indexOf(`0/`)==0&&(e[2]=e[2].replace(`0/`,`*/`)),e[3].indexOf(`1/`)==0&&(e[3]=e[3].replace(`1/`,`*/`)),e[4].indexOf(`1/`)==0&&(e[4]=e[4].replace(`1/`,`*/`)),e[6].indexOf(`1/`)==0&&(e[6]=e[6].replace(`1/`,`*/`)),e[5]=e[5].replace(/(^\d)|([^#/\s]\d)/g,function(c){var d=c.replace(/\D/,``),f=d;return t.dayOfWeekStartIndexZero?d==`7`&&(f=`0`):f=(parseInt(d)-1).toString(),c.replace(d,f)}),e[5]==`L`&&(e[5]=`6`),e[3]==`?`&&(e[3]=`*`),e[3].indexOf(`W`)>-1&&(e[3].indexOf(`,`)>-1||e[3].indexOf(`-`)>-1))throw new Error(`The 'W' character can be specified only when the day-of-month is a single day, not a range or list of days.`);var r={SUN:0,MON:1,TUE:2,WED:3,THU:4,FRI:5,SAT:6};for(var n in r)e[5]=e[5].replace(new RegExp(n,`gi`),r[n].toString());e[4]=e[4].replace(/(^\d{1,2})|([^#/\s]\d{1,2})/g,function(c){var d=c.replace(/\D/,``),f=d;return t.monthStartIndexZero&&(f=(parseInt(d)+1).toString()),c.replace(d,f)});var o={JAN:1,FEB:2,MAR:3,APR:4,MAY:5,JUN:6,JUL:7,AUG:8,SEP:9,OCT:10,NOV:11,DEC:12};for(var a in o)e[4]=e[4].replace(new RegExp(a,`gi`),o[a].toString());e[0]==`0`&&(e[0]=``),!/\*|\-|\,|\//.test(e[2])&&(/\*|\//.test(e[1])||/\*|\//.test(e[0]))&&(e[2]+=`-`.concat(e[2]));for(var s=0;s<e.length;s++)if(e[s].indexOf(`,`)!=-1&&(e[s]=e[s].split(`,`).filter(function(c){return c!==``}).join(`,`)||`*`),e[s]==`*/1`&&(e[s]=`*`),e[s].indexOf(`/`)>-1&&!/^\*|\-|\,/.test(e[s])){var u=null;switch(s){case 4:u=`12`;break;case 5:u=`6`;break;case 6:u=`9999`;break;default:u=null;break}if(u!==null){var h=e[s].split(`/`);e[s]=``.concat(h[0],`-`).concat(u,`/`).concat(h[1])}}},l.prototype.validate=function(e){var t=`0-9,\\-*/`;this.validateOnlyExpectedCharactersFound(e[0],t),this.validateOnlyExpectedCharactersFound(e[1],t),this.validateOnlyExpectedCharactersFound(e[2],t),this.validateOnlyExpectedCharactersFound(e[3],`0-9,\\-*/LW`),this.validateOnlyExpectedCharactersFound(e[4],t),this.validateOnlyExpectedCharactersFound(e[5],`0-9,\\-*/L#`),this.validateOnlyExpectedCharactersFound(e[6],t),this.validateAnyRanges(e)},l.prototype.validateAnyRanges=function(e){i.default.secondRange(e[0]),i.default.minuteRange(e[1]),i.default.hourRange(e[2]),i.default.dayOfMonthRange(e[3]),i.default.monthRange(e[4],this.monthStartIndexZero),i.default.dayOfWeekRange(e[5],this.dayOfWeekStartIndexZero)},l.prototype.validateOnlyExpectedCharactersFound=function(e,t){var r=e.match(new RegExp(`[^`.concat(t,`]+`),`gi`));
3if(r&&r.length)throw new Error(`Expression contains invalid values: '`.concat(r.toString(),`'`))},l})()}),333:((T,p,y)=>{Object.defineProperty(p,"__esModule",{value:!0}),p.ExpressionDescriptor=void 0;var i=y(823),g=y(949);p.ExpressionDescriptor=(function(){function e(t,r){if(this.expression=t,this.options=r,this.expressionParts=new Array(5),!this.options.locale&&e.defaultLocale&&(this.options.locale=e.defaultLocale),!e.locales[this.options.locale]){var n=Object.keys(e.locales)[0];console.warn(`Locale '`.concat(this.options.locale,`' could not be found; falling back to '`).concat(n,`'.`)),this.options.locale=n}this.i18n=e.locales[this.options.locale],r.use24HourTimeFormat===void 0&&(r.use24HourTimeFormat=this.i18n.use24HourTimeFormatByDefault())}return e.toString=function(t,r){var n=r===void 0?{}:r,o=n.throwExceptionOnParseError,a=o===void 0?!0:o,s=n.verbose,u=s===void 0?!1:s,h=n.dayOfWeekStartIndexZero,c=h===void 0?!0:h,d=n.monthStartIndexZero,f=d===void 0?!1:d,S=n.use24HourTimeFormat,O=n.locale,M=O===void 0?null:O,b=n.logicalAndDayFields,E={throwExceptionOnParseError:a,verbose:u,dayOfWeekStartIndexZero:c,monthStartIndexZero:f,use24HourTimeFormat:S,locale:M,logicalAndDayFields:b===void 0?!1:b};E.tzOffset&&console.warn(`'tzOffset' option has been deprecated and is no longer supported.`);return new e(t,E).getFullDescription()},e.initialize=function(t,r){r===void 0&&(r=`en`),e.specialCharacters=[`/`,`-`,`,`,`*`],e.defaultLocale=r,t.load(e.locales)},e.prototype.getFullDescription=function(){var t,r,n=``;try{var o=new g.CronParser(this.expression,this.options.dayOfWeekStartIndexZero,this.options.monthStartIndexZero);if(this.expressionParts=o.parse(),this.expressionParts[0]===`@reboot`)return((r=(t=this.i18n).atReboot)===null||r===void 0?void 0:r.call(t))||`Run once, at startup`;var a=this.getTimeOfDayDescription(),s=this.getDayOfMonthDescription(),u=this.getMonthDescription(),h=this.getDayOfWeekDescription(),c=this.getYearDescription();n+=a+s+h+u+c,n=this.transformVerbosity(n,!!this.options.verbose),n=n.charAt(0).toLocaleUpperCase()+n.substr(1)}catch(d){if(!this.options.throwExceptionOnParseError)n=this.i18n.anErrorOccuredWhenGeneratingTheExpressionD();else throw``.concat(d)}return n},e.prototype.getTimeOfDayDescription=function(){var t=this.expressionParts[0],r=this.expressionParts[1],n=this.expressionParts[2],o=``;if(!i.StringUtilities.containsAny(r,e.specialCharacters)&&!i.StringUtilities.containsAny(n,e.specialCharacters)&&!i.StringUtilities.containsAny(t,e.specialCharacters))o+=this.i18n.atSpace()+this.formatTime(n,r,t);else if(!t&&r.indexOf(`-`)>-1&&!(r.indexOf(`,`)>-1)&&!(r.indexOf(`/`)>-1)&&!i.StringUtilities.containsAny(n,e.specialCharacters)){var a=r.split(`-`);o+=i.StringUtilities.format(this.i18n.everyMinuteBetweenX0AndX1(),this.formatTime(n,a[0],``),this.formatTime(n,a[1],``))}else if(!t&&n.indexOf(`,`)>-1&&n.indexOf(`-`)==-1&&n.indexOf(`/`)==-1&&!i.StringUtilities.containsAny(r,e.specialCharacters)){var s=n.split(`,`);o+=this.i18n.at();for(var u=0;u<s.length;u++)o+=` `,o+=this.formatTime(s[u],r,``),u<s.length-2&&(o+=`,`),u==s.length-2&&(o+=this.i18n.spaceAnd())}else{var h=this.getSecondsDescription(),c=this.getMinutesDescription(),d=this.getHoursDescription();if(o+=h,o&&c&&(o+=`, `),o+=c,c===d)return o;o&&d&&(o+=`, `),o+=d}return o},e.prototype.getSecondsDescription=function(){var t=this;return this.getSegmentDescription(this.expressionParts[0],this.i18n.everySecond(),function(n){return n},function(n){return i.StringUtilities.format(t.i18n.everyX0Seconds(n),n)},function(n){return t.i18n.secondsX0ThroughX1PastTheMinute()},function(n){return n==`0`?``:parseInt(n)<20?t.i18n.atX0SecondsPastTheMinute(n):t.i18n.atX0SecondsPastTheMinuteGt20()||t.i18n.atX0SecondsPastTheMinute(n)})},e.prototype.getMinutesDescription=function(){var t=this,r=this.expressionParts[0],n=this.expressionParts[2];return this.getSegmentDescription(this.expressionParts[1],this.i18n.everyMinute(),function(a){return a},function(a){return i.StringUtilities.format(t.i18n.everyX0Minutes(a),a)},function(a){return t.i18n.minutesX0ThroughX1PastTheHour()},function(a){try{return a==`0`&&n.indexOf(`/`)==-1&&r==``?t.i18n.everyHour():parseInt(a)<20?t.i18n.atX0MinutesPastTheHour(a):t.
3i18n.atX0MinutesPastTheHourGt20()||t.i18n.atX0MinutesPastTheHour(a)}catch{return t.i18n.atX0MinutesPastTheHour(a)}})},e.prototype.getHoursDescription=function(){var t=this,r=this.expressionParts[2],n=0,o=[];r.split(`/`)[0].split(`,`).forEach(function(u){var h=u.split(`-`);h.length===2&&o.push({value:h[1],index:n+1}),n+=h.length});var a=0;return this.getSegmentDescription(r,this.i18n.everyHour(),function(u){var c=o.find(function(d){return d.value===u&&d.index===a})&&t.expressionParts[1]!==`0`;return a++,c?t.formatTime(u,`59`,``):t.formatTime(u,`0`,``)},function(u){return i.StringUtilities.format(t.i18n.everyX0Hours(u),u)},function(u){return t.i18n.betweenX0AndX1()},function(u){return t.i18n.atX0()})},e.prototype.getDayOfWeekDescription=function(){var t=this,r=this.i18n.daysOfTheWeek(),n=null;return this.expressionParts[5]==`*`?n=``:n=this.getSegmentDescription(this.expressionParts[5],this.i18n.commaEveryDay(),function(o,a){var s=o;o.indexOf(`#`)>-1?s=o.substring(0,o.indexOf(`#`)):o.indexOf(`L`)>-1&&(s=s.replace(`L`,``));var u=parseInt(s),h=t.i18n.daysOfTheWeekInCase?t.i18n.daysOfTheWeekInCase(a)[u]:r[u];if(o.indexOf(`#`)>-1){var c=null,d=o.substring(o.indexOf(`#`)+1),f=o.substring(0,o.indexOf(`#`));switch(d){case`1`:c=t.i18n.first(f);break;case`2`:c=t.i18n.second(f);break;case`3`:c=t.i18n.third(f);break;case`4`:c=t.i18n.fourth(f);break;case`5`:c=t.i18n.fifth(f);break}h=c+` `+h}return h},function(o){return parseInt(o)==1?``:i.StringUtilities.format(t.i18n.commaEveryX0DaysOfTheWeek(o),o)},function(o){var a=o.substring(0,o.indexOf(`-`));return t.expressionParts[3]!=`*`?t.i18n.commaAndX0ThroughX1(a):t.i18n.commaX0ThroughX1(a)},function(o){var a=null;if(o.indexOf(`#`)>-1){var s=o.substring(o.indexOf(`#`)+1),u=o.substring(0,o.indexOf(`#`));a=t.i18n.commaOnThe(s,u).trim()+t.i18n.spaceX0OfTheMonth()}else if(o.indexOf(`L`)>-1)a=t.i18n.commaOnTheLastX0OfTheMonth(o.replace(`L`,``));else t.expressionParts[3]!=`*`?t.options.logicalAndDayFields?a=t.i18n.commaOnlyOnX0(o):a=t.i18n.commaAndOnX0():a=t.i18n.commaOnlyOnX0(o);return a}),n},e.prototype.getMonthDescription=function(){var t=this,r=this.i18n.monthsOfTheYear();return this.getSegmentDescription(this.expressionParts[4],``,function(o,a){return a&&t.i18n.monthsOfTheYearInCase?t.i18n.monthsOfTheYearInCase(a)[parseInt(o)-1]:r[parseInt(o)-1]},function(o){return parseInt(o)==1?``:i.StringUtilities.format(t.i18n.commaEveryX0Months(o),o)},function(o){return t.i18n.commaMonthX0ThroughMonthX1()||t.i18n.commaX0ThroughX1()},function(o){return t.i18n.commaOnlyInMonthX0?t.i18n.commaOnlyInMonthX0():t.i18n.commaOnlyInX0()})},e.prototype.getDayOfMonthDescription=function(){var t=this,r=null,n=this.expressionParts[3];switch(n){case`L`:r=this.i18n.commaOnTheLastDayOfTheMonth();break;case`WL`:case`LW`:r=this.i18n.commaOnTheLastWeekdayOfTheMonth();break;default:var o=n.match(/(\d{1,2}W)|(W\d{1,2})/);if(o){var a=parseInt(o[0].replace(`W`,``)),s=a==1?this.i18n.firstWeekday():i.StringUtilities.format(this.i18n.weekdayNearestDayX0(),a.toString());r=i.StringUtilities.format(this.i18n.commaOnTheX0OfTheMonth(),s);break}else{var u=n.match(/L-(\d{1,2})/);if(u){var h=u[1];r=i.StringUtilities.format(this.i18n.commaDaysBeforeTheLastDayOfTheMonth(h),h);break}else{if(n==`*`&&this.expressionParts[5]!=`*`)return``;r=this.getSegmentDescription(n,this.i18n.commaEveryDay(),function(c){return c==`L`?t.i18n.lastDay():t.i18n.dayX0?i.StringUtilities.format(t.i18n.dayX0(),c):c},function(c){return c==`1`?t.i18n.commaEveryDay():t.i18n.commaEveryX0Days(c)},function(c){return t.i18n.commaBetweenDayX0AndX1OfTheMonth(c)},function(c){return t.i18n.commaOnDayX0OfTheMonth(c)})}break}}return r},e.prototype.getYearDescription=function(){var t=this;return this.getSegmentDescription(this.expressionParts[6],``,function(n){return/^\d+$/.test(n)?new Date(parseInt(n),1).getFullYear().toString():n},function(n){return i.StringUtilities.format(t.i18n.commaEveryX0Years(n),n)},function(n){return t.i18n.commaYearX0ThroughYearX1()||t.i18n.commaX0ThroughX1()},function(n){return t.i18n.commaOnlyInYearX0?t.i18n.commaOnlyInYearX0():t.i18n.commaOnlyInX0()})},e.prototype.getSegmentDescription=function(t,r,n,o,a,s){var u=null,h=t.indexOf(`/`)>
3-1,c=t.indexOf(`-`)>-1,d=t.indexOf(`,`)>-1;if(!t)u=``;else if(t===`*`)u=r;else if(!h&&!c&&!d)u=i.StringUtilities.format(s(t),n(t));else if(d){for(var f=t.split(`,`),S=``,O=0;O<f.length;O++)if(O>0&&f.length>2&&(S+=`,`,O<f.length-1&&(S+=` `)),O>0&&f.length>1&&(O==f.length-1||f.length==2)&&(S+=``.concat(this.i18n.spaceAnd(),` `)),f[O].indexOf(`/`)>-1||f[O].indexOf(`-`)>-1){var M=f[O].indexOf(`-`)>-1&&f[O].indexOf(`/`)==-1,b=this.getSegmentDescription(f[O],r,n,o,M?this.i18n.commaX0ThroughX1:a,s);M&&(b=b.replace(`, `,``)),S+=b}else h?S+=this.getSegmentDescription(f[O],r,n,o,a,s):S+=n(f[O]);h?u=S:u=i.StringUtilities.format(s(t),S)}else if(h){var f=t.split(`/`);if(u=i.StringUtilities.format(o(f[1]),f[1]),f[0].indexOf(`-`)>-1){var I=this.generateRangeSegmentDescription(f[0],a,n);I.indexOf(`, `)!=0&&(u+=`, `),u+=I}else if(f[0].indexOf(`*`)==-1){var E=i.StringUtilities.format(s(f[0]),n(f[0]));E=E.replace(`, `,``),u+=i.StringUtilities.format(this.i18n.commaStartingX0(),E)}}else c&&(u=this.generateRangeSegmentDescription(t,a,n));return u},e.prototype.generateRangeSegmentDescription=function(t,r,n){var o=``,a=t.split(`-`),s=n(a[0],1),u=n(a[1],2),h=r(t);return o+=i.StringUtilities.format(h,s,u),o},e.prototype.formatTime=function(t,r,n){var o=0,a=0,s=parseInt(t)+o,u=parseInt(r)+a;u>=60?(u-=60,s+=1):u<0&&(u+=60,s-=1),s>=24?s=s-24:s<0&&(s=24+s);var h=``,c=!1;this.options.use24HourTimeFormat||(c=!!(this.i18n.setPeriodBeforeTime&&this.i18n.setPeriodBeforeTime()),h=c?``.concat(this.getPeriod(s),` `):` `.concat(this.getPeriod(s)),s>12&&(s-=12),s===0&&(s=12));var d=``;return n&&(d=`:`.concat((`00`+n).substring(n.length))),``.concat(c?h:``).concat((`00`+s.toString()).substring(s.toString().length),`:`).concat((`00`+u.toString()).substring(u.toString().length)).concat(d).concat(c?``:h)},e.prototype.transformVerbosity=function(t,r){if(!r&&(t=t.replace(new RegExp(`, `.concat(this.i18n.everyMinute()),`g`),``),t=t.replace(new RegExp(`, `.concat(this.i18n.everyHour()),`g`),``),t=t.replace(new RegExp(this.i18n.commaEveryDay(),`g`),``),t=t.replace(/\, ?$/,``),this.i18n.conciseVerbosityReplacements))for(var n=0,o=Object.entries(this.i18n.conciseVerbosityReplacements());n<o.length;n++){var a=o[n],s=a[0],u=a[1];t=t.replace(new RegExp(s,`g`),u)}return t},e.prototype.getPeriod=function(t){return t>=12?this.i18n.pm&&this.i18n.pm()||`PM`:this.i18n.am&&this.i18n.am()||`AM`},e.locales={},e})()}),747:((T,p,y)=>{Object.defineProperty(p,"__esModule",{value:!0}),p.enLocaleLoader=void 0;var i=y(486);p.enLocaleLoader=(function(){function l(){}return l.prototype.load=function(e){e.en=new i.en},l})()}),486:((T,p)=>{Object.defineProperty(p,"__esModule",{value:!0}),p.en=void 0;p.en=(function(){function i(){}return i.prototype.atX0SecondsPastTheMinuteGt20=function(){return null},i.prototype.atX0MinutesPastTheHourGt20=function(){return null},i.prototype.commaMonthX0ThroughMonthX1=function(){return null},i.prototype.commaYearX0ThroughYearX1=function(){return null},i.prototype.use24HourTimeFormatByDefault=function(){return!1},i.prototype.anErrorOccuredWhenGeneratingTheExpressionD=function(){return`An error occurred when generating the expression description. Check the cron expression syntax.`},i.prototype.everyMinute=function(){return`every minute`},i.prototype.everyHour=function(){return`every hour`},i.prototype.atSpace=function(){return`At `},i.prototype.everyMinuteBetweenX0AndX1=function(){return`Every minute between %s and %s`},i.prototype.at=function(){return`At`},i.prototype.spaceAnd=function(){return` and`},i.prototype.everySecond=function(){return`every second`},i.prototype.everyX0Seconds=function(){return`every %s seconds`},i.prototype.secondsX0ThroughX1PastTheMinute=function(){return`seconds %s through %s past the minute`},i.prototype.atX0SecondsPastTheMinute=function(){return`at %s seconds past the minute`},i.prototype.everyX0Minutes=function(){return`every %s minutes`},i.prototype.minutesX0ThroughX1PastTheHour=function(){return`minutes %s through %s past the hour`},i.prototype.atX0MinutesPastTheHour=function(){return`at %s minutes past the hour`},i.prototype.everyX0Hours=function(){return`every %s hours`},i.prototype.betweenX0AndX1=function(){return`between %s and %s`},i.prototype.atX0=function(){return`at %s`},i.prototype.commaEveryDay=function(){return`, every day`},i.prototype.commaEveryX0DaysOfTheWeek=function(){return`, every %s days of the week`},i.prototype.commaX0ThroughX1=function(){return`, %s through %s`},i.prototype.commaAndX0ThroughX1=function(){return`, %s through %s`},i.prototype.first=function(){return`first`},i.prototype.second=function(){return`second`},i.prototype.third=function(){return`third`},i.prototype.fourth=function(){return`fourth`},i.prototype.fifth=function(){return`fifth`},i.prototype.commaOnThe=function(){return`, on the `},i.prototype.spaceX0OfTheMonth=function(){return` %s of the month`},i.prototype.lastDay=function(){return`the last day`},i.prototype.commaOnTheLastX0OfTheMonth=function(){return`, on the last %s of the month`},i.prototype.commaOnlyOnX0=function(){return`, only on %s`},i.prototype.commaAndOnX0=function(){return`, and on %s`},i.prototype.commaEveryX0Months=function(){return`, every %s months`},i.prototype.commaOnlyInX0=function(){return`, only in %s`},i.prototype.commaOnTheLastDayOfTheMonth=function(){return`, on the last day of the month`},i.prototype.commaOnTheLastWeekdayOfTheMonth=function(){return`, on the last weekday of the month`},i.prototype.commaDaysBeforeTheLastDayOfTheMonth=function(){return`, %s days before the last day of the month`},i.prototype.firstWeekday=function(){return`first weekday`},i.prototype.weekdayNearestDayX0=function(){return`weekday nearest day %s`},i.prototype.commaOnTheX0OfTheMonth=function(){return`, on the %s of the month`},i.prototype.commaEveryX0Days=function(){return`, every %s days`},i.prototype.commaBetweenDayX0AndX1OfTheMonth=function(){return`, between day %s and %s of the month`},i.prototype.commaOnDayX0OfTheMonth=function(){return`, on day %s of the month`},i.prototype.commaEveryHour=function(){return`, every hour`},i.prototype.commaEveryX0Years=function(){return`, every %s years`},i.prototype.commaStartingX0=function(){return`, starting %s`},i.prototype.daysOfTheWeek=function(){return[`Sunday`,`Monday`,`Tuesday`,`Wednesday`,`Thursday`,`Friday`,`Saturday`]},i.prototype.monthsOfTheYear=function(){return[`January`,`February`,`March`,`April`,`May`,`June`,`July`,`August`,`September`,`October`,`November`,`December`]},i.prototype.atReboot=function(){return`Run once, at startup`},i})()}),515:((T,p)=>{Object.defineProperty(p,"__esModule",{value:!0});function y(g,l){if(!g)throw new Error(l)}p.default=(function(){function g(){}return g.secondRange=function(l){for(var e=l.split(`,`),t=0;t<e.length;t++)if(!isNaN(parseInt(e[t],10))){var r=parseInt(e[t],10);y(r>=0&&r<=59,`seconds part must be >= 0 and <= 59`)}},g.minuteRange=function(l){for(var e=l.split(`,`),t=0;t<e.length;t++)if(!isNaN(parseInt(e[t],10))){var r=parseInt(e[t],10);y(r>=0&&r<=59,`minutes part must be >= 0 and <= 59`)}},g.hourRange=function(l){for(var e=l.split(`,`),t=0;t<e.length;t++)if(!isNaN(parseInt(e[t],10))){var r=parseInt(e[t],10);y(r>=0&&r<=23,`hours part must be >= 0 and <= 23`)}},g.dayOfMonthRange=function(l){for(var e=l.split(`,`),t=0;t<e.length;t++)if(!isNaN(parseInt(e[t],10))){var r=parseInt(e[t],10);y(r>=1&&r<=31,`DOM part must be >= 1 and <= 31`)}},g.monthRange=function(l,e){for(var t=l.split(`,`),r=0;r<t.length;r++)if(!isNaN(parseInt(t[r],10))){var n=parseInt(t[r],10);y(n>=1&&n<=12,e?`month part must be >
3= 0 and <= 11`:`month part must be >= 1 and <= 12`)}},g.dayOfWeekRange=function(l,e){for(var t=l.split(`,`),r=0;r<t.length;r++)if(!isNaN(parseInt(t[r],10))){var n=parseInt(t[r],10);y(n>=0&&n<=6,e?`DOW part must be >= 0 and <= 6`:`DOW part must be >= 1 and <= 7`)}},g})()}),823:((T,p)=>{Object.defineProperty(p,"__esModule",{value:!0}),p.StringUtilities=void 0;p.StringUtilities=(function(){function i(){}return i.format=function(g){for(var l=[],e=1;e<arguments.length;e++)l[e-1]=arguments[e];return g.replace(/%s/g,function(t){for(var r=[],n=1;n<arguments.length;n++)r[n-1]=arguments[n];return l.shift()})},i.containsAny=function(g,l){return l.some(function(e){return g.indexOf(e)>-1})},i})()})},x={};function v(T){var p=x[T];if(p!==void 0)return p.exports;var y=x[T]={exports:{}};return m[T](y,y.exports,v),y.exports}var X={};return(()=>{var T=X;Object.defineProperty(T,"__esModule",{value:!0}),T.toString=void 0;var p=v(333),y=v(747);p.ExpressionDescriptor.initialize(new y.enLocaleLoader),T.default=p.ExpressionDescriptor;T.toString=p.ExpressionDescriptor.toString})(),X})())})());var Z$2=(()=>{class m{transform(v){try{return J$3.default.toString(v,{dayOfWeekStartIndexZero:!0})+` (in UTC+0)`}catch{return``}}static{this.ɵfac=function(X){return new(X||m)}}static{this.ɵpipe=Sb({name:`cronToString`,type:m,pure:!0})}static{this.ɵprov=ce$3({token:m,factory:m.ɵfac,providedIn:`root`})}}return m})();var V$5=(()=>{class m{constructor(){this.cronToString=T$9(Z$2),this.dateTimeToString=T$9(S$4)}transform(v){switch(v[m$10]){case J$4:return this.cronToString.transform(v.expression);case s$5:return this.dateTimeToString.transform(v.date)}return``}static{this.ɵfac=function(X){return new(X||m)}}static{this.ɵpipe=Sb({name:`scheduledTriggerToString`,type:m,pure:!0})}static{this.ɵprov=ce$3({token:m,factory:m.ɵfac,providedIn:`root`})}}return m})();var yt$1=(()=>{class m{constructor(){this.pages=T$9(Te$3),this.triggerToString=T$9(V$5),this.label=`Job`,this.icon=xt$2,this.listIcon=xt$2}transform(v){return new n$10(v).label(`Scheduled Job`).name(v.name).description(this.triggerToString.transform(v.trigger)).icon(xt$2).listLink(this.pages.resolveLink(i$6)).link(this.pages.resolveLink(u$11,[n$12,v.id],[T$11,v.projectId])).build()}static{this.ɵfac=function(X){return new(X||m)}}static{this.ɵpipe=Sb({name:`scheduledJobToView`,type:m,pure:!0})}static{this.ɵprov=ce$3({token:m,factory:m.ɵfac,providedIn:`root`})}}return m})();var l$6=(()=>{class t extends c$8{constructor(){let e=T$9(We$1),r=T$9(w$8);super(r,e,`/analysis/bench-report-templates`)}saveAs(e){return this.http.post(this.config.apiUrl(`${this.rootPath}/save-as`),e)}static{this.ɵfac=function(r){return new(r||t)}}static{this.ɵprov=ce$3({token:t,factory:t.ɵfac,providedIn:`root`})}}return t})();var A$7=(()=>{class t extends h$9{constructor(){let e=T$9(G$4),r=T$9(l$6),u=T$9(b$3);super(u,r,e,`ReportTemplateCrudService`)}create(){throw new Error(`Create is not Possible. (use saveAs instead)`)}saveAs(e){return this.http.saveAs(e).pipe(Nu$1(r=>this.onCreateEntity(r)))}reloadTemplate(e){this.onUpdateEntity(e)}static{this.ɵfac=function(r){return new(r||t)}}static{this.ɵprov=ce$3({token:t,factory:t.ɵfac,providedIn:`root`})}}return t})();var _$9=(()=>{class e{constructor(){this.pages=T$9(Te$3),this.label=`Scenario`,this.icon=bt$3,this.listIcon=bt$3}transform(i){let r=i.userProfiles.length===1?M$10:P$9;return new n$10(i).label(this.label).name(i.name).description(i.description).icon(this.icon).listLink(this.pages.resolveLink(L$7)).link(this.pages.resolveLink(r,[_$12,i.id],[T$11,i.projectId])).build()}static{this.ɵfac=function(r){return new(r||e)}}static{this.ɵpipe=Sb({name:`scenarioToView`,type:e,pure:!0})}static{this.ɵprov=ce$3({token:e,factory:e.ɵfac,providedIn:`root`})}}return e})();var I$6=new e$6().icon(c$7).build();var O$5=new e$6().icon(C$6).build();var C$5=new e$6().icon(B0$1).build();var l$5=new e$6().icon(L$6).build();var m$8=new e$6().icon(N5).build();var s$4=new e$6().icon(a$6).build();var u$5=new e$6().icon(l$9).build();var R$3=new e$6().icon(M$8).build();var d$11=new e$6().icon(G1).build();var n$5=class extends s$8{constructor(i,t,M,y,L,V,B,D){super(i,t,M,y,L,V,B,D),this.status=new nr$1(``)}};var l$4=class extends n$10{constructor(i){super(i)}build(){return new n$5(this.sourceValue,this.labelValue,this.nameValue,this.descriptionValue,this.iconValue,this.colorValue,this.listLinkValue,this.linkValue)}};
3var C$4=class o{constructor(){this.pages=T$9(Te$3),this.label=`Monitor`,this.icon=mt$5,this.listIcon=mt$5}static{this.TYPES=new Map([[`LIGHTTPD`,{icon:new e$6().icon(h3).build(),label:`Lighttpd`,category:`WEB_SERVER`}],[`NGINX`,{icon:new e$6().icon(h3).build(),label:`Nginx`,category:`WEB_SERVER`}],[`APACHE_HTTPD`,{icon:new e$6().icon(h3).build(),label:`Apache Httpd`,category:`WEB_SERVER`}],[`APACHE_JMETER`,{icon:C$5,label:`Java Virtual Machine`,category:`OTHER`}],[`APACHE_TOMCAT`,{icon:new e$6().icon(p6).build(),label:`Tomcat`,category:`WEB_SERVER`}],[`IIS`,{icon:new e$6().icon(p6).build(),label:`IIS`,category:`WEB_SERVER`}],[`MYSQL`,{icon:new e$6().icon(b4).build(),label:`MySQL`,category:`DATABASE`}],[`MONGO_DB`,{icon:new e$6().icon(b4).build(),label:`MongoDB`,category:`DATABASE`}],[`ORACLE_DB`,{icon:new e$6().icon(b4).build(),label:`Oracle`,category:`DATABASE`}],[`POSTGRES`,{icon:new e$6().icon(b4).build(),label:`PostgreSQL`,category:`DATABASE`}],[`SQL_SERVER`,{icon:new e$6().icon(b4).build(),label:`SQL Server`,category:`DATABASE`}],[`GENERIC_JMX`,{icon:new e$6().icon(B0$1).build(),label:`Generic JMX`,category:`OTHER`}],[`PROMETHEUS`,{icon:new e$6().icon(z0).build(),label:`Prometheus`,category:`OTHER`}],[`LINUX`,{icon:H3,label:`Linux`,category:`OPERATING_SYSTEM`}],[`WINDOWS`,{icon:R3,label:`Windows`,category:`OPERATING_SYSTEM`}],[`SLA`,{icon:st$2,label:`SLA`,category:`PASS_CRITERIA`}],[`NEW_RELIC_APM`,{icon:new e$6().icon(g6).build(),label:`New Relic APM`,category:`OTHER`}]])}static{this.CATEGORIES=new Map([[`PASS_CRITERIA`,{label:`Pass Criteria`}],[`WEB_SERVER`,{label:`Web Servers`}],[`DATABASE`,{label:`Databases`}],[`OPERATING_SYSTEM`,{label:`Operating Systems`}],[`OTHER`,{label:`Others`}]])}transform(i){let t=o.TYPES.get(i.type)??{icon:d3,label:`Unknown`};return new l$4(i).label(t.label).name(i.name).description(i.description).icon(t.icon).listLink(this.pages.resolveLink(d$13)).link(this.pages.resolveLink(G$6,[T$11,i.projectId],[D$9,i.id])).build()}static{this.ɵfac=function(t){return new(t||o)}}static{this.ɵpipe=Sb({name:`monitorConnectionToView`,type:o,pure:!0})}static{this.ɵprov=ce$3({token:o,factory:o.ɵfac,providedIn:`root`})}};var v$4=(()=>{class t extends u$10{constructor(){let e=T$9(We$1),r=T$9(w$8);super(r,e,`/monitoring/connections`)}static{this.ɵfac=function(r){return new(r||t)}}static{this.ɵprov=ce$3({token:t,factory:t.ɵfac,providedIn:`root`})}}return t})();var P$3=(()=>{class t extends n$11{constructor(){let e=T$9(G$4),r=T$9(v$4),n=T$9(P$8);super(n,r,e,`MonitorConnectionCrudService`),this.tagsHttp=T$9(h$11)}updateTags(e,r,n){return this.tagsHttp.bulkUpdate(this.projectCrud.id,{entityType:`MONITOR_CONNECTION`,entityIds:r,action:e,tags:n}).pipe(Nu$1(g=>g.forEach(h=>this.onUpdateEntity(h))))}static{this.ɵfac=function(r){return new(r||t)}}static{this.ɵprov=ce$3({token:t,factory:t.ɵfac,providedIn:`root`})}}return t})();var i$5=(function(e){return e.CONSTANT_VARIABLE=`ConstantVariable`,e.RANDOM_VARIABLE=`RandomVariable`,e.COUNTER_VARIABLE=`CounterVariable`,e.CSV_VARIABLE=`CSVVariable`,e.SECRET_VARIABLE=`SecretVariable`,e})(i$5||{});var O$4=new n$9().defaultIcon(new e$6().icon(F8).build()).state(`hover`,new e$6().icon(Nc$1).build()).build();var T$8=new n$9().defaultIcon(new e$6().icon($6).build()).state(`hover`,new e$6().icon(V9).build()).build();var h$6=new n$9().defaultIcon(new e$6().icon(S4).build()).state(`hover`,new e$6().icon(G5).build()).build();var v$3=new n$9().defaultIcon(new e$6().icon(l0).build()).state(`hover`,new e$6().icon(l9).build()).build();var D$6=new n$9().defaultIcon(new e$6().icon(e8).build()).state(`hover`,new e$6().icon(Mc$1).build()).build();var w$4=class e{constructor(){this.pages=T$9(Te$3),this.label=`Variable`,this.icon=Ba$1,this.listIcon=Ba$1}static{this.LABELS=new Map([[i$5.CONSTANT_VARIABLE,`Constant`],[i$5.COUNTER_VARIABLE,`Counter`],[i$5.RANDOM_VARIABLE,`Random`],[i$5.CSV_VARIABLE,`CSV`],[i$5.SECRET_VARIABLE,`Secret`]])}static{this.ICONS=new Map([[i$5.CONSTANT_VARIABLE,h$6],[i$5.COUNTER_VARIABLE,v$3],[i$5.RANDOM_VARIABLE,O$4],[i$5.CSV_VARIABLE,T$8],[i$5.SECRET_VARIABLE,D$6]])}transform(o){let n=o.variable[m$10];return new n$10(o).label(e.LABELS.get(n)??`Variable`).name(o.name).description(o.description).icon(e.ICONS.get(n)??Ba$1).listLink(this.pages.resolveLink(i$7)).link(this.pages.resolveLink(l$11,[s$11,o.id],[T$11,o.projectId])).build()}static{this.ɵfac=function(n){return new(n||e)}}static{this.ɵpipe=Sb({name:`variableToView`,type:e,pure:!0})}static{this.ɵprov=ce$3({token:e,factory:e.ɵfac,providedIn:`root`})}};var _t$1=u$9((Zi,Ut)=>{"use strict";function y(t){this.__parent=t,this.__character_count=0,this.__indent_count=-1,this.__alignment_count=0,this.__wrap_point_index=0,this.__wrap_point_character_count=0,this.__wrap_point_indent_count=-1,this.__wrap_point_alignment_count=0,this.__items=[]}y.prototype.clone_empty=function(){var t=new y(this.__parent);return t.set_indent(this.__indent_count,this.__alignment_count),t};y.prototype.item=function(t){return t<0?this.__items[this.__items.length+t]:this.__items[t]};y.prototype.has_match=function(t){for(var e=this.__items.length-1;e>=0;e--)if(this.__items[e].match(t))return!0;return!1};y.prototype.set_indent=function(t,e){this.is_empty()&&(this.__indent_count=t||0,this.__alignment_count=e||0,this.__character_count=this.__parent.get_indent_size(this.__indent_count,this.__alignment_count))};y.prototype._set_wrap_point=function(){this.__parent.wrap_line_length&&(this.__wrap_point_index=this.__items.length,this.__wrap_point_character_count=this.__character_count,this.__wrap_point_indent_count=this.__parent.next_line.__indent_count,this.__wrap_point_alignment_count=this.__parent.next_line.__alignment_count)}
vendor: 6,427 bytes, lines 3-7
3;y.prototype._should_wrap=function(){return this.__wrap_point_index&&this.__character_count>this.__parent.wrap_line_length&&this.__wrap_point_character_count>this.__parent.next_line.__character_count};y.prototype._allow_wrap=function(){if(this._should_wrap()){this.__parent.add_new_line();var t=this.__parent.current_line;return t.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count),t.__items=this.__items.slice(this.__wrap_point_index),this.__items=this.__items.slice(0,this.__wrap_point_index),t.__character_count+=this.__character_count-this.__wrap_point_character_count,this.__character_count=this.__wrap_point_character_count,t.__items[0]===` `&&(t.__items.splice(0,1),t.__character_count-=1),!0}return!1};y.prototype.is_empty=function(){return this.__items.length===0};y.prototype.last=function(){return this.is_empty()?null:this.__items[this.__items.length-1]};y.prototype.push=function(t){this.__items.push(t);var e=t.lastIndexOf(`
4`);e!==-1?this.__character_count=t.length-e:this.__character_count+=t.length};y.prototype.pop=function(){var t=null;return this.is_empty()||(t=this.__items.pop(),this.__character_count-=t.length),t};y.prototype._remove_indent=function(){this.__indent_count>0&&(this.__indent_count-=1,this.__character_count-=this.__parent.indent_size)};y.prototype._remove_wrap_indent=function(){this.__wrap_point_indent_count>0&&(this.__wrap_point_indent_count-=1)};y.prototype.trim=function(){for(;this.last()===` `;)this.__items.pop(),this.__character_count-=1};y.prototype.toString=function(){var t=``;return this.is_empty()?this.__parent.indent_empty_lines&&(t=this.__parent.get_indent_string(this.__indent_count)):(t=this.__parent.get_indent_string(this.__indent_count,this.__alignment_count),t+=this.__items.join(``)),t};function V(t,e){this.__cache=[``],this.__indent_size=t.indent_size,this.__indent_string=t.indent_char,t.indent_with_tabs||(this.__indent_string=new Array(t.indent_size+1).join(t.indent_char)),e=e||``,t.indent_level>0&&(e=new Array(t.indent_level+1).join(this.__indent_string)),this.__base_string=e,this.__base_string_length=e.length}V.prototype.get_indent_size=function(t,e){var i=this.__base_string_length;return e=e||0,t<0&&(i=0),i+=t*this.__indent_size,i+=e,i};V.prototype.get_indent_string=function(t,e){var i=this.__base_string;return e=e||0,t<0&&(t=0,i=``),e+=t*this.__indent_size,this.__ensure_cache(e),i+=this.__cache[e],i};V.prototype.__ensure_cache=function(t){for(;t>=this.__cache.length;)this.__add_column()};V.prototype.__add_column=function(){var t=this.__cache.length,e=0,i=``;this.__indent_size&&t>=this.__indent_size&&(e=Math.floor(t/this.__indent_size),t-=e*this.__indent_size,i=new Array(e+1).join(this.__indent_string)),t&&(i+=new Array(t+1).join(` `)),this.__cache.push(i)};function v(t,e){this.__indent_cache=new V(t,e),this.raw=!1,this._end_with_newline=t.end_with_newline,this.indent_size=t.indent_size,this.wrap_line_length=t.wrap_line_length,this.indent_empty_lines=t.indent_empty_lines,this.__lines=[],this.previous_line=null,this.current_line=null,this.next_line=new y(this),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1,this.__add_outputline()}v.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)};v.prototype.get_line_number=function(){return this.__lines.length};v.prototype.get_indent_string=function(t,e){return this.__indent_cache.get_indent_string(t,e)};v.prototype.get_indent_size=function(t,e){return this.__indent_cache.get_indent_size(t,e)};v.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()};v.prototype.add_new_line=function(t){return this.is_empty()||!t&&this.just_added_newline()?!1:(this.raw||this.__add_outputline(),!0)};v.prototype.get_code=function(t){this.trim(!0);var e=this.current_line.pop();e&&(e[e.length-1]===`
5`&&(e=e.replace(/\n+$/g,``)),this.current_line.push(e)),this._end_with_newline&&this.__add_outputline();var i=this.__lines.join(`
6`);return t!==`
7`&&(i=i.replace(/[\n]/g,t)),i};v.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()};v.prototype.set_indent=function(t,e){return t=t||0,e=e||0,this.next_line.set_indent(t,e),this.__lines.length>1?(this.current_line.set_indent(t,e),!0):(this.current_line.set_indent(),!1)};v.prototype.add_raw_token=function(t){for(var e=0;e<t.newlines;e++)this.__add_outputline();this.current_line.set_indent(-1),this.current_line.push(t.whitespace_before),this.current_line.push(t.text),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1};v.prototype.add_token=function(t){this.__add_space_before_token(),this.current_line.push(t),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=this.current_line._allow_wrap()};v.prototype.__add_space_before_token=function(){this.space_before_token&&!this.just_added_newline()&&(this.non_breaking_space||this.set_wrap_point(),this.current_line.push(` `))};v.prototype.remove_indent=function(t){for(var e=this.__lines.length;t<e;)this.__lines[t]._remove_indent(),t++;this.current_line._remove_wrap_indent()};v.prototype.trim=function(t){for(t=t===void 0?!1:t,this.current_line.trim();t&&this.__lines.length>1&&this.current_line.is_empty();)this.__lines.pop(),this.current_line=this.__lines[this.__lines.length-1],this.current_line.trim();this.previous_line=this.__lines.length>1?this.__lines[this.__lines.length-2]:null};v.prototype.just_added_newline=function(){return this.current_line.is_empty()};v.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()};v.prototype.ensure_empty_line_above=function(t,e){for(var i=this.__lines.length-2;i>=0;){var s=this.__lines[i];if(s.is_empty())break;if(s.item(0).indexOf(t)!==0&&s.item(-1)!==e){this.__lines.splice(i+1,0,new y(this)),this.previous_line=this.__lines[this.__lines.length-2];break}i--}};Ut.exports.Output=v});var gt=u$9((Hi,qt)=>{"use strict";function Ge(t,e,i,s){this.type=t,this.text=e,this.comments_before=null,this.newlines=i||0,this.whitespace_before=s||``,this.parent=null,this.next=null,this.previous=null,this.opened=null,this.closed=null,this.directives=null}qt.exports.Token=Ge});var yt=u$9(D=>{"use strict";var $e=`\\x23\\x24\\x40\\x41-\\x5a\\x5f\\x61-\\x7a`,Xt=`\\x24\\x30-\\x39\\x41-\\x5a\\x5f\\x61-\\x7a`,mt=`
vendor: 4,856 bytes, line 7
7\\xaa\\xb5\\xba\\xc0-\\xd6\\xd8-\\xf6\\xf8-\\u02c1\\u02c6-\\u02d1\\u02e0-\\u02e4\\u02ec\\u02ee\\u0370-\\u0374\\u0376\\u0377\\u037a-\\u037d\\u0386\\u0388-\\u038a\\u038c\\u038e-\\u03a1\\u03a3-\\u03f5\\u03f7-\\u0481\\u048a-\\u0527\\u0531-\\u0556\\u0559\\u0561-\\u0587\\u05d0-\\u05ea\\u05f0-\\u05f2\\u0620-\\u064a\\u066e\\u066f\\u0671-\\u06d3\\u06d5\\u06e5\\u06e6\\u06ee\\u06ef\\u06fa-\\u06fc\\u06ff\\u0710\\u0712-\\u072f\\u074d-\\u07a5\\u07b1\\u07ca-\\u07ea\\u07f4\\u07f5\\u07fa\\u0800-\\u0815\\u081a\\u0824\\u0828\\u0840-\\u0858\\u08a0\\u08a2-\\u08ac\\u0904-\\u0939\\u093d\\u0950\\u0958-\\u0961\\u0971-\\u0977\\u0979-\\u097f\\u0985-\\u098c\\u098f\\u0990\\u0993-\\u09a8\\u09aa-\\u09b0\\u09b2\\u09b6-\\u09b9\\u09bd\\u09ce\\u09dc\\u09dd\\u09df-\\u09e1\\u09f0\\u09f1\\u0a05-\\u0a0a\\u0a0f\\u0a10\\u0a13-\\u0a28\\u0a2a-\\u0a30\\u0a32\\u0a33\\u0a35\\u0a36\\u0a38\\u0a39\\u0a59-\\u0a5c\\u0a5e\\u0a72-\\u0a74\\u0a85-\\u0a8d\\u0a8f-\\u0a91\\u0a93-\\u0aa8\\u0aaa-\\u0ab0\\u0ab2\\u0ab3\\u0ab5-\\u0ab9\\u0abd\\u0ad0\\u0ae0\\u0ae1\\u0b05-\\u0b0c\\u0b0f\\u0b10\\u0b13-\\u0b28\\u0b2a-\\u0b30\\u0b32\\u0b33\\u0b35-\\u0b39\\u0b3d\\u0b5c\\u0b5d\\u0b5f-\\u0b61\\u0b71\\u0b83\\u0b85-\\u0b8a\\u0b8e-\\u0b90\\u0b92-\\u0b95\\u0b99\\u0b9a\\u0b9c\\u0b9e\\u0b9f\\u0ba3\\u0ba4\\u0ba8-\\u0baa\\u0bae-\\u0bb9\\u0bd0\\u0c05-\\u0c0c\\u0c0e-\\u0c10\\u0c12-\\u0c28\\u0c2a-\\u0c33\\u0c35-\\u0c39\\u0c3d\\u0c58\\u0c59\\u0c60\\u0c61\\u0c85-\\u0c8c\\u0c8e-\\u0c90\\u0c92-\\u0ca8\\u0caa-\\u0cb3\\u0cb5-\\u0cb9\\u0cbd\\u0cde\\u0ce0\\u0ce1\\u0cf1\\u0cf2\\u0d05-\\u0d0c\\u0d0e-\\u0d10\\u0d12-\\u0d3a\\u0d3d\\u0d4e\\u0d60\\u0d61\\u0d7a-\\u0d7f\\u0d85-\\u0d96\\u0d9a-\\u0db1\\u0db3-\\u0dbb\\u0dbd\\u0dc0-\\u0dc6\\u0e01-\\u0e30\\u0e32\\u0e33\\u0e40-\\u0e46\\u0e81\\u0e82\\u0e84\\u0e87\\u0e88\\u0e8a\\u0e8d\\u0e94-\\u0e97\\u0e99-\\u0e9f\\u0ea1-\\u0ea3\\u0ea5\\u0ea7\\u0eaa\\u0eab\\u0ead-\\u0eb0\\u0eb2\\u0eb3\\u0ebd\\u0ec0-\\u0ec4\\u0ec6\\u0edc-\\u0edf\\u0f00\\u0f40-\\u0f47\\u0f49-\\u0f6c\\u0f88-\\u0f8c\\u1000-\\u102a\\u103f\\u1050-\\u1055\\u105a-\\u105d\\u1061\\u1065\\u1066\\u106e-\\u1070\\u1075-\\u1081\\u108e\\u10a0-\\u10c5\\u10c7\\u10cd\\u10d0-\\u10fa\\u10fc-\\u1248\\u124a-\\u124d\\u1250-\\u1256\\u1258\\u125a-\\u125d\\u1260-\\u1288\\u128a-\\u128d\\u1290-\\u12b0\\u12b2-\\u12b5\\u12b8-\\u12be\\u12c0\\u12c2-\\u12c5\\u12c8-\\u12d6\\u12d8-\\u1310\\u1312-\\u1315\\u1318-\\u135a\\u1380-\\u138f\\u13a0-\\u13f4\\u1401-\\u166c\\u166f-\\u167f\\u1681-\\u169a\\u16a0-\\u16ea\\u16ee-\\u16f0\\u1700-\\u170c\\u170e-\\u1711\\u1720-\\u1731\\u1740-\\u1751\\u1760-\\u176c\\u176e-\\u1770\\u1780-\\u17b3\\u17d7\\u17dc\\u1820-\\u1877\\u1880-\\u18a8\\u18aa\\u18b0-\\u18f5\\u1900-\\u191c\\u1950-\\u196d\\u1970-\\u1974\\u1980-\\u19ab\\u19c1-\\u19c7\\u1a00-\\u1a16\\u1a20-\\u1a54\\u1aa7\\u1b05-\\u1b33\\u1b45-\\u1b4b\\u1b83-\\u1ba0\\u1bae\\u1baf\\u1bba-\\u1be5\\u1c00-\\u1c23\\u1c4d-\\u1c4f\\u1c5a-\\u1c7d\\u1ce9-\\u1cec\\u1cee-\\u1cf1\\u1cf5\\u1cf6\\u1d00-\\u1dbf\\u1e00-\\u1f15\\u1f18-\\u1f1d\\u1f20-\\u1f45\\u1f48-\\u1f4d\\u1f50-\\u1f57\\u1f59\\u1f5b\\u1f5d\\u1f5f-\\u1f7d\\u1f80-\\u1fb4\\u1fb6-\\u1fbc\\u1fbe\\u1fc2-\\u1fc4\\u1fc6-\\u1fcc\\u1fd0-\\u1fd3\\u1fd6-\\u1fdb\\u1fe0-\\u1fec\\u1ff2-\\u1ff4\\u1ff6-\\u1ffc\\u2071\\u207f\\u2090-\\u209c\\u2102\\u2107\\u210a-\\u2113\\u2115\\u2119-\\u211d\\u2124\\u2126\\u2128\\u212a-\\u212d\\u212f-\\u2139\\u213c-\\u213f\\u2145-\\u2149\\u214e\\u2160-\\u2188\\u2c00-\\u2c2e\\u2c30-\\u2c5e\\u2c60-\\u2ce4\\u2ceb-\\u2cee\\u2cf2\\u2cf3\\u2d00-\\u2d25\\u2d27\\u2d2d\\u2d30-\\u2d67\\u2d6f\\u2d80-\\u2d96\\u2da0-\\u2da6\\u2da8-\\u2dae\\u2db0-\\u2db6\\u2db8-\\u2dbe\\u2dc0-\\u2dc6\\u2dc8-\\u2dce\\u2dd0-\\u2dd6\\u2dd8-\\u2dde\\u2e2f\\u3005-\\u3007\\u3021-\\u3029\\u3031-\\u3035\\u3038-\\u303c\\u3041-\\u3096\\u309d-\\u309f\\u30a1-\\u30fa\\u30fc-\\u30ff\\u3105-\\u312d\\u3131-\\u318e\\u31a0-\\u31ba\\u31f0-\\u31ff\\u3400-\\u4db5\\u4e00-\\u9fcc\\ua000-\\ua48c\\ua4d0-\\ua4fd\\ua500-\\ua60c\\ua610-\\ua61f\\ua62a\\ua62b\\ua640-\\ua66e\\ua67f-\\ua697\\ua6a0-\\ua6ef\\ua717-\\ua71f\\ua722-\\ua788\\ua78b-\\ua78e\\ua790-\\ua793\\ua7a0-\\ua7aa\\ua7f8-\\ua801\\ua803-\\ua805\\ua807-\\ua80a\\ua80c-\\ua822\\ua840-\\ua873\\ua882-\\ua8b3\\ua8f2-\\ua8f7\\ua8fb\\ua90a-\\ua925\\ua930-\\ua946\\ua960-\\ua97c\\ua984-\\ua9b2\\ua9cf\\uaa00-\\uaa28\\uaa40-\\uaa42\\uaa44-\\uaa4b\\uaa60-\\uaa76\\uaa7a\\uaa80-\\uaaaf\\uaab1\\uaab5\\uaab6\\uaab9-\\uaabd\\uaac0\\uaac2\\uaadb-\\uaadd\\uaae0-\\uaaea\\uaaf2-\\uaaf4\\uab01-\\uab06\\uab09-\\uab0e\\uab11-\\uab16\\uab20-\\uab26\\uab28-\\uab2e\\uabc0-\\uabe2\\uac00-\\ud7a3\\ud7b0-\\ud7c6\\ud7cb-\\ud7fb\\uf900-\\ufa6d\\ufa70-\\ufad9\\ufb00-\\ufb06\\ufb13-\\ufb17\\ufb1d\\ufb1f-\\ufb28\\ufb2a-\\ufb36\\ufb38-\\ufb3c\\ufb3e\\ufb40\\ufb41\\ufb43\\ufb44\\ufb46-\\ufbb1\\ufbd3-\\ufd3d\\ufd50-\\ufd8f\\ufd92-\\ufdc7\\ufdf0-\\ufdfb\\ufe70-\\ufe74\\ufe76-\\ufefc\\uff21-\\uff3a\\uff41-\\uff5a\\uff66-\\uffbe\\uffc2-\\uffc7\\uffca-\\uffcf\\uffd2-\\uffd7\\uffda-\\uffdc
7`,Ft=`\\u0300-\\u036f\\u0483-\\u0487\\u0591-\\u05bd\\u05bf\\u05c1\\u05c2\\u05c4\\u05c5\\u05c7\\u0610-\\u061a\\u0620-\\u0649\\u0672-\\u06d3\\u06e7-\\u06e8\\u06fb-\\u06fc\\u0730-\\u074a\\u0800-\\u0814\\u081b-\\u0823\\u0825-\\u0827\\u0829-\\u082d\\u0840-\\u0857\\u08e4-\\u08fe\\u0900-\\u0903\\u093a-\\u093c\\u093e-\\u094f\\u0951-\\u0957\\u0962-\\u0963\\u0966-\\u096f\\u0981-\\u0983\\u09bc\\u09be-\\u09c4\\u09c7\\u09c8\\u09d7\\u09df-\\u09e0\\u0a01-\\u0a03\\u0a3c\\u0a3e-\\u0a42\\u0a47\\u0a48\\u0a4b-\\u0a4d\\u0a51\\u0a66-\\u0a71\\u0a75\\u0a81-\\u0a83\\u0abc\\u0abe-\\u0ac5\\u0ac7-\\u0ac9\\u0acb-\\u0acd\\u0ae2-\\u0ae3\\u0ae6-\\u0aef\\u0b01-\\u0b03\\u0b3c\\u0b3e-\\u0b44\\u0b47\\u0b48\\u0b4b-\\u0b4d\\u0b56\\u0b57\\u0b5f-\\u0b60\\u0b66-\\u0b6f\\u0b82\\u0bbe-\\u0bc2\\u0bc6-\\u0bc8\\u0bca-\\u0bcd\\u0bd7\\u0be6-\\u0bef\\u0c01-\\u0c03\\u0c46-\\u0c48\\u0c4a-\\u0c4d\\u0c55\\u0c56\\u0c62-\\u0c63\\u0c66-\\u0c6f\\u0c82\\u0c83\\u0cbc\\u0cbe-\\u0cc4\\u0cc6-\\u0cc8\\u0cca-\\u0ccd\\u0cd5\\u0cd6\\u0ce2-\\u0ce3\\u0ce6-\\u0cef\\u0d02\\u0d03\\u0d46-\\u0d48\\u0d57\\u0d62-\\u0d63\\u0d66-\\u0d6f\\u0d82\\u0d83\\u0dca\\u0dcf-\\u0dd4\\u0dd6\\u0dd8-\\u0ddf\\u0df2\\u0df3\\u0e34-\\u0e3a\\u0e40-\\u0e45\\u0e50-\\u0e59\\u0eb4-\\u0eb9\\u0ec8-\\u0ecd\\u0ed0-\\u0ed9\\u0f18\\u0f19\\u0f20-\\u0f29\\u0f35\\u0f37\\u0f39\\u0f41-\\u0f47\\u0f71-\\u0f84\\u0f86-\\u0f87\\u0f8d-\\u0f97\\u0f99-\\u0fbc\\u0fc6\\u1000-\\u1029\\u1040-\\u1049\\u1067-\\u106d\\u1071-\\u1074\\u1082-\\u108d\\u108f-\\u109d\\u135d-\\u135f\\u170e-\\u1710\\u1720-\\u1730\\u1740-\\u1750\\u1772\\u1773\\u1780-\\u17b2\\u17dd\\u17e0-\\u17e9\\u180b-\\u180d\\u1810-\\u1819\\u1920-\\u192b\\u1930-\\u193b\\u1951-\\u196d\\u19b0-\\u19c0\\u19c8-\\u19c9\\u19d0-\\u19d9\\u1a00-\\u1a15\\u1a20-\\u1a53\\u1a60-\\u1a7c\\u1a7f-\\u1a89\\u1a90-\\u1a99\\u1b46-\\u1b4b\\u1b50-\\u1b59\\u1b6b-\\u1b73\\u1bb0-\\u1bb9\\u1be6-\\u1bf3\\u1c00-\\u1c22\\u1c40-\\u1c49\\u1c5b-\\u1c7d\\u1cd0-\\u1cd2\\u1d00-\\u1dbe\\u1e01-\\u1f15\\u200c\\u200d\\u203f\\u2040\\u2054\\u20d0-\\u20dc\\u20e1\\u20e5-\\u20f0\\u2d81-\\u2d96\\u2de0-\\u2dff\\u3021-\\u3028\\u3099\\u309a\\ua640-\\ua66d\\ua674-\\ua67d\\ua69f\\ua6f0-\\ua6f1\\ua7f8-\\ua800\\ua806\\ua80b\\ua823-\\ua827\\ua880-\\ua881\\ua8b4-\\ua8c4\\ua8d0-\\ua8d9\\ua8f3-\\ua8f7\\ua900-\\ua909\\ua926-\\ua92d\\ua930-\\ua945\\ua980-\\ua983\\ua9b3-\\ua9c0\\uaa00-\\uaa27\\uaa40-\\uaa41\\uaa4c-\\uaa4d\\uaa50-\\uaa59\\uaa7b\\uaae0-\\uaae9\\uaaf2-\\uaaf3\\uabc0-\\uabe1\\uabec\\uabed\\uabf0-\\uabf9\\ufb20-\\ufb28\\ufe00-\\ufe0f\\ufe20-\\ufe26\\ufe33\\ufe34\\ufe4d-\\ufe4f\\uff10-\\uff19\\uff3f`,bt=`\\\\u[0-9a-fA-F]{4}|\\\\u\\{[0-9a-fA-F]+\\}`,Vt=`(?:`+bt+`|[`+$e+mt+`])`,Qe=`(?:`+bt+`|[`+Xt+mt+Ft+`])*`;D.identifier=new RegExp(Vt+Qe,`g`);D.identifierStart=new RegExp(Vt);D.identifierMatch=new RegExp(`(?:`+bt+`|[`+Xt+mt+Ft+`])+`);D.newline=/[\n\r\u2028\u2029]/;D.lineBreak=new RegExp(`\r
8|`+D.newline.source);D.allLineBreaks=new RegExp(D.lineBreak.source,`g`)});var at$1=u$9((es,nt)=>{"use strict";function W(t,e){this.raw_options=Gt(t,e),this.disabled=this._get_boolean(`disabled`),this.eol=this._get_characters(`eol`,`auto`),this.end_with_newline=this._get_boolean(`end_with_newline`),this.indent_size=this._get_number(`indent_size`,4),this.indent_char=this._get_characters(`indent_char`,` `),this.indent_level=this._get_number(`indent_level`),this.preserve_newlines=this._get_boolean(`preserve_newlines`,!0),this.max_preserve_newlines=this._get_number(`max_preserve_newlines`,32786),this.preserve_newlines||(this.max_preserve_newlines=0),this.indent_with_tabs=this._get_boolean(`indent_with_tabs`,this.indent_char===`	`),this.indent_with_tabs&&(this.indent_char=`	`,this.indent_size===1&&(this.indent_size=4)),this.wrap_line_length=this._get_number(`wrap_line_length`,this._get_number(`max_char`)),this.indent_empty_lines=this._get_boolean(`indent_empty_lines`),this.templating=this._get_selection_list(`templating`,[`auto`,`none`,`angular`,`django`,`erb`,`handlebars`,`php`,`smarty`],[`auto`])}W.prototype._get_array=function(t,e){var i=this.raw_options[t],s=e||[];return typeof i==`object`?i!==null&&typeof i.concat==`function`&&(s=i.concat()):typeof i==`string`&&(s=i.split(/[^a-zA-Z0-9_\/\-]+/)),s};W.prototype._get_boolean=function(t,e){var i=this.raw_options[t];return i===void 0?!!e:!!i};W.prototype._get_characters=function(t,e){var i=this.raw_options[t],s=e||``;return typeof i==`string`&&(s=i.replace(/\\r/,`\r`).replace(/\\n
vendor: 62,592 bytes, lines 8-30
8/,`
9`).replace(/\\t/,`	`)),s};W.prototype._get_number=function(t,e){var i=this.raw_options[t];e=parseInt(e,10),isNaN(e)&&(e=0);var s=parseInt(i,10);return isNaN(s)&&(s=e),s};W.prototype._get_selection=function(t,e,i){var s=this._get_selection_list(t,e,i);if(s.length!==1)throw new Error(`Invalid Option Value: The option '`+t+`' can only be one of the following values:
10`+e+`
11You passed in: '`+this.raw_options[t]+`'`);return s[0]};W.prototype._get_selection_list=function(t,e,i){if(!e||e.length===0)throw new Error(`Selection list cannot be empty.`);if(i=i||[e[0]],!this._is_valid_selection(i,e))throw new Error(`Invalid Default Value!`);var s=this._get_array(t,i);if(!this._is_valid_selection(s,e))throw new Error(`Invalid Option Value: The option '`+t+`' can contain only the following values:
12`+e+`
13You passed in: '`+this.raw_options[t]+`'`);return s};W.prototype._is_valid_selection=function(t,e){return t.length&&e.length&&!t.some(function(i){return e.indexOf(i)===-1})};function Gt(t,e){var i={};t=$t(t);var s;for(s in t)s!==e&&(i[s]=t[s]);if(e&&t[e])for(s in t[e])i[s]=t[e][s];return i}function $t(t){var e={},i;for(i in t){var s=i.replace(/-/g,`_`);e[s]=t[i]}return e}nt.exports.Options=W;nt.exports.normalizeOpts=$t;nt.exports.mergeOpts=Gt});var vt=u$9((is,Yt)=>{"use strict";var Qt=at$1().Options,Je=[`before-newline`,`after-newline`,`preserve-newline`];function Jt(t){Qt.call(this,t,`js`);var e=this.raw_options.brace_style||null;e===`expand-strict`?this.raw_options.brace_style=`expand`:e===`collapse-preserve-inline`?this.raw_options.brace_style=`collapse,preserve-inline`:this.raw_options.braces_on_own_line!==void 0&&(this.raw_options.brace_style=this.raw_options.braces_on_own_line?`expand`:`collapse`);var i=this._get_selection_list(`brace_style`,[`collapse`,`expand`,`end-expand`,`none`,`preserve-inline`]);this.brace_preserve_inline=!1,this.brace_style=`collapse`;for(var s=0;s<i.length;s++)i[s]===`preserve-inline`?this.brace_preserve_inline=!0:this.brace_style=i[s];this.unindent_chained_methods=this._get_boolean(`unindent_chained_methods`),this.break_chained_methods=this._get_boolean(`break_chained_methods`),this.space_in_paren=this._get_boolean(`space_in_paren`),this.space_in_empty_paren=this._get_boolean(`space_in_empty_paren`),this.jslint_happy=this._get_boolean(`jslint_happy`),this.space_after_anon_function=this._get_boolean(`space_after_anon_function`),this.space_after_named_function=this._get_boolean(`space_after_named_function`),this.keep_array_indentation=this._get_boolean(`keep_array_indentation`),this.space_before_conditional=this._get_boolean(`space_before_conditional`,!0),this.unescape_strings=this._get_boolean(`unescape_strings`),this.e4x=this._get_boolean(`e4x`),this.comma_first=this._get_boolean(`comma_first`),this.operator_position=this._get_selection(`operator_position`,Je),this.test_output_raw=this._get_boolean(`test_output_raw`),this.jslint_happy&&(this.space_after_anon_function=!0)}Jt.prototype=new Qt;Yt.exports.Options=Jt});var rt$1=u$9((ss,Ht)=>{"use strict";var Zt=RegExp.prototype.hasOwnProperty(`sticky`);function O(t){this.__input=t||``,this.__input_length=this.__input.length,this.__position=0}O.prototype.restart=function(){this.__position=0};O.prototype.back=function(){this.__position>0&&(this.__position-=1)};O.prototype.hasNext=function(){return this.__position<this.__input_length};O.prototype.next=function(){var t=null;return this.hasNext()&&(t=this.__input.charAt(this.__position),this.__position+=1),t};O.prototype.peek=function(t){var e=null;return t=t||0,t+=this.__position,t>=0&&t<this.__input_length&&(e=this.__input.charAt(t)),e};O.prototype.__match=function(t,e){t.lastIndex=e;var i=t.exec(this.__input);return i&&!(Zt&&t.sticky)&&i.index!==e&&(i=null),i};O.prototype.test=function(t,e){return e=e||0,e+=this.__position,e>=0&&e<this.__input_length?!!this.__match(t,e):!1};O.prototype.testChar=function(t,e){var i=this.peek(e);return t.lastIndex=0,i!==null&&t.test(i)};O.prototype.match=function(t){var e=this.__match(t,this.__position);return e?this.__position+=e[0].length:e=null,e};O.prototype.read=function(t,e,i){var s=``,_;return t&&(_=this.match(t),_&&(s+=_[0])),e&&(_||!t)&&(s+=this.readUntil(e,i)),s};O.prototype.readUntil=function(t,e){var i=``,s=this.__position;t.lastIndex=this.__position;var _=t.exec(this.__input);return _?(s=_.index,e&&(s+=_[0].length)):s=this.__input_length,i=this.__input.substring(this.__position,s),this.__position=s,i};O.prototype.readUntilAfter=function(t){return this.readUntil(t,!0)};O.prototype.get_regexp=function(t,e){var i=null,s=`g`;return e&&Zt&&(s=`y`),typeof t==`string`&&t!==``?i=new RegExp(t,s):t&&(i=new RegExp(t.source,s)),i};O.prototype.get_literal_regexp=function(t){return RegExp(t.replace(/[-\/\\^$*+?.()|[\]{}]/g,`\\$&`))};O.prototype.peekUntilAfter=function(t){var e=this.__position,i=this.readUntilAfter(t);return this.__position=e,i};O.prototype.lookBack=function(t){var e=this.__position-1;return e>=t.length&&this.__input.substring(e-t.length,e).toLowerCase()===t};Ht.exports.InputScanner=O});var ee$2=u$9((_s,te)=>{"use strict";function K(t){this.__tokens=[],this.__tokens_length=this.__tokens.length,this.__position=0,this.__parent_token=t}K.prototype.restart=function(){this.__position=0};K.prototype.isEmpty=function(){return this.__tokens_length===0};K.prototype.hasNext=function(){return this.__position<this.__tokens_length};K.prototype.next=function(){var t=null;return this.hasNext()&&(t=this.__tokens[this.__position],this.__position+=1),t};K.prototype.peek=function(t){var e=null;return t=t||0,t+=this.__position,t>=0&&t<this.__tokens_length&&(e=this.__tokens[t]),e};K.prototype.add=function(t){this.__parent_token&&(t.parent=this.__parent_token),this.__tokens.push(t),this.__tokens_length+=1};te.exports.TokenStream=K});var G$2=u$9((ns,ie)=>{"use strict";function C(t,e){this._input=t,this._starting_pattern=null,this._match_pattern=null,this._until_pattern=null,this._until_after=!1,e&&(this._starting_pattern=this._input.get_regexp(e._starting_pattern,!0),this._match_pattern=this._input.get_regexp(e._match_pattern,!0),this._until_pattern=this._input.get_regexp(e._until_pattern),this._until_after=e._until_after)}C.prototype.read=function(){var t=this._input.read(this._starting_pattern);return(!this._starting_pattern||t)&&(t+=this._input.read(this._match_pattern,this._until_pattern,this._until_after)),t};C.prototype.read_match=function(){return this._input.match(this._match_pattern)};C.prototype.until_after=function(t){var e=this._create();return e._until_after=!0,e._until_pattern=this._input.get_regexp(t),e._update(),e};C.prototype.until=function(t){var e=this._create();return e._until_after=!1,e._until_pattern=this._input.get_regexp(t),e._update(),e};C.prototype.starting_with=function(t){var e=this._create();return e._starting_pattern=this._input.get_regexp(t,!0),e._update(),e};C.prototype.matching=function(t){var e=this._create();return e._match_pattern=this._input.get_regexp(t,!0),e._update(),e};C.prototype._create=function(){return new C(this._input,this)};C.prototype._update=function(){};ie.exports.Pattern=C});var ne$1=u$9((as,_e)=>{"use strict";var se=G$2().Pattern;function I(t,e){se.call(this,t,e),e?this._line_regexp=this._input.get_regexp(e._line_regexp):this.__set_whitespace_patterns(``,``),this.newline_count=0,this.whitespace_before_token=``}I.prototype=new se;I.prototype.__set_whitespace_patterns=function(t,e){t+=`\\t `,e+=`\\n\\r`,this._match_pattern=this._input.get_regexp(`[`+t+e+`]+`,!0),this._newline_regexp=this._input.get_regexp(`\\r\\n|[`+e+`]`)};I.prototype.read=function(){this.newline_count=0,this.whitespace_before_token=``;var t=this._input.read(this._match_pattern);if(t===` `)this.whitespace_before_token=` `;else if(t){var e=this.__split(this._newline_regexp,t);this.newline_count=e.length-1,this.whitespace_before_token=e[this.newline_count]}return t};I.prototype.matching=function(t,e){var i=this._create();return i.__set_whitespace_patterns(t,e),i._update(),i};I.prototype._create=function(){return new I(this._input,this)};I.prototype.__split=function(t,e){t.lastIndex=0;for(var i=0,s=[],_=t.exec(e);_;)s.push(e.substring(i,_.index)),i=_.index+_[0].length,_=t.exec(e);return i<e.length?s.push(e.substring(i,e.length)):s.push(``),s};_e.exports.WhitespacePattern=I});var Q$1=u$9((rs,xt)=>{"use strict";var Ye=rt$1().InputScanner,ae=gt().Token,wt=ee$2().TokenStream,Ze=ne$1().WhitespacePattern,$={START:`TK_START`,RAW:`TK_RAW`,EOF:`TK_EOF`},P=function(t,e){this._input=new Ye(t),this._options=e||{},this.__tokens=null,this._patterns={},this._patterns.whitespace=new Ze(this._input)};P.prototype.tokenize=function(){this._input.restart(),this.__tokens=new wt,this._reset();for(var t,e=new ae($.START,``),i=null,s=[],_=new wt;e.type!==$.EOF;){for(t=this._get_next_token(e,i);this._is_comment(t);)_.add(t),t=this._get_next_token(e,i);_.isEmpty()||(t.comments_before=_,_=new wt),t.parent=i,this._is_opening(t)?(s.push(i),i=t):i&&this._is_closing(t,i)&&(t.opened=i,i.closed=t,i=s.pop(),t.parent=i),t.previous=e,e.next=t,this.__tokens.add(t),e=t}return this.__tokens};P.prototype._is_first_token=function(){return this.__tokens.isEmpty()};P.prototype._reset=function(){};P.prototype._get_next_token=function(t,e){this._readWhitespace();var i=this._input.read(/.+/g);return i?this._create_token($.RAW,i):this._create_token($.EOF,``)};P.prototype._is_comment=function(t){return!1};P.prototype._is_opening=function(t){return!1};P.prototype._is_closing=function(t,e){return!1};P.prototype._create_token=function(t,e){return new ae(t,e,this._patterns.whitespace.newline_count,this._patterns.whitespace.whitespace_before_token)};P.prototype._readWhitespace=function(){return this._patterns.whitespace.read()};xt.exports.Tokenizer=P;xt.exports.TOKEN=$});var ut=u$9((us,re)=>{"use strict";function Ot(t,e){t=typeof t==`string`?t:t.source,e=typeof e==`string`?e:e.source,this.__directives_block_pattern=new RegExp(t+/ beautify( \w+[:]\w+)+ /.source+e,`g`),this.__directive_pattern=/ (\w+)[:](\w+)/g,this.__directives_end_ignore_pattern=new RegExp(t+/\sbeautify\signore:end\s/.source+e,`g`)}Ot.prototype.get_directives=function(t){if(!t.match(this.__directives_block_pattern))return null;var e={};this.__directive_pattern.lastIndex=0;for(var i=this.__directive_pattern.exec(t);i;)e[i[1]]=i[2],i=this.__directive_pattern.exec(t);return e};Ot.prototype.readIgnored=function(t){return t.readUntilAfter(this.__directives_end_ignore_pattern)};re.exports.Directives=Ot});var kt$1=u$9((os,ue)=>{"use strict";var Et=G$2().Pattern,Tt={django:!1,erb:!1,handlebars:!1,php:!1,smarty:!1,angular:!1};function N(t,e){Et.call(this,t,e),this.__template_pattern=null,this._disabled=Object.assign({},Tt),this._excluded=Object.assign({},Tt),e&&(this.__template_pattern=this._input.get_regexp(e.__template_pattern),this._excluded=Object.assign(this._excluded,e._excluded),this._disabled=Object.assign(this._disabled,e._disabled));var i=new Et(t);this.__patterns={handlebars_comment:i.starting_with(/{{!--/).until_after(/--}}/),handlebars_unescaped:i.starting_with(/{{{/).until_after(/}}}/),handlebars:i.starting_with(/{{/).until_after(/}}/),php:i.starting_with(/<\?(?:[= ]|php)/).until_after(/\?>/),erb:i.starting_with(/<%[^%]/).until_after(/[^%]%>/),django:i.starting_with(/{%/).until_after(/%}/),django_value:i.starting_with(/{{/).until_after(/}}/),django_comment:i.starting_with(/{#/).until_after(/#}/),smarty:i.starting_with(/{(?=[^}{\s\n])/).until_after(/[^\s\n]}/),smarty_comment:i.starting_with(/{\*/).until_after(/\*}/),smarty_literal:i.starting_with(/{literal}/).until_after(/{\/literal}/)}}N.prototype=new Et;N.prototype._create=function(){return new N(this._input,this)};N.prototype._update=function(){this.__set_templated_pattern()};N.prototype.disable=function(t){var e=this._create();return e._disabled[t]=!0,e._update(),e};N.prototype.read_options=function(t){var e=this._create();for(var i in Tt)e._disabled[i]=t.templating.indexOf(i)===-1;return e._update(),e};N.prototype.exclude=function(t){var e=this._create();return e._excluded[t]=!0,e._update(),e};N.prototype.read=function(){var t=``;this._match_pattern?t=this._input.read(this._starting_pattern):t=this._input.read(this._starting_pattern,this.__template_pattern);for(var e=this._read_template();e;)this._match_pattern?e+=this._input.read(this._match_pattern):e+=this._input.readUntil(this.__template_pattern),t+=e,e=this._read_template();return this._until_after&&(t+=this._input.readUntilAfter(this._until_pattern)),t};N.prototype.__set_templated_pattern=function(){var t=[];this._disabled.php||t.push(this.__patterns.php._starting_pattern.source),this._disabled.handlebars||t.push(this.__patterns.handlebars._starting_pattern.source),this._disabled.angular||t.push(this.__patterns.handlebars._starting_pattern.source),this._disabled.erb||t.push(this.__patterns.erb._starting_pattern.source),this._disabled.django||(t.push(this.__patterns.django._starting_pattern.source),t.push(this.__patterns.django_value._starting_pattern.source),t.push(this.__patterns.django_comment._starting_pattern.source)),this._disabled.smarty||t.push(this.__patterns.smarty._starting_pattern.source),this._until_pattern&&t.push(this._until_pattern.source),this.__template_pattern=this._input.get_regexp(`(?:`+t.join(`|`)+`)`)};N.prototype._read_template=function(){var t=``,e=this._input.peek();if(e===`<`){var i=this._input.peek(1);!this._disabled.php&&!this._excluded.php&&i===`?`&&(t=t||this.__patterns.php.read()),!this._disabled.erb&&!this._excluded.erb&&i===`%`&&(t=t||this.__patterns.erb.read())}else e===`{`&&(!this._disabled.handlebars&&!this._excluded.handlebars&&(t=t||this.__patterns.handlebars_comment.read(),t=t||this.__patterns.handlebars_unescaped.read(),t=t||this.__patterns.handlebars.read()),this._disabled.django||(!this._excluded.django&&!this._excluded.handlebars&&(t=t||this.__patterns.django_value.read()),this._excluded.django||(t=t||this.__patterns.django_comment.read(),t=t||this.__patterns.django.read())),this._disabled.smarty||this._disabled.django&&this._disabled.handlebars&&(t=t||this.__patterns.smarty_comment.read(),t=t||this.__patterns.smarty_literal.read(),t=t||this.__patterns.smarty.read()));return t};ue.exports.TemplatablePattern=N});var Y$2=u$9((ls,J)=>{"use strict";var He=rt$1().InputScanner,le=Q$1().Tokenizer,Rt=Q$1().TOKEN,ti=ut().Directives,S=yt(),ei=G$2().Pattern,ii=kt$1().TemplatablePattern;function St(t,e){return e.indexOf(t)!==-1}var u={START_EXPR:`TK_START_EXPR`,END_EXPR:`TK_END_EXPR`,START_BLOCK:`TK_START_BLOCK`,END_BLOCK:`TK_END_BLOCK`,WORD:`TK_WORD`,RESERVED:`TK_RESERVED`,SEMICOLON:`TK_SEMICOLON`,STRING:`TK_STRING`,EQUALS:`TK_EQUALS`,OPERATOR:`TK_OPERATOR`,COMMA:`TK_COMMA`,BLOCK_COMMENT:`TK_BLOCK_COMMENT`,COMMENT:`TK_COMMENT`,DOT:`TK_DOT`,UNKNOWN:`TK_UNKNOWN`,START:Rt.START,RAW:Rt.RAW,EOF:Rt.EOF},oe=new ti(/\/\*/,/\*\//),si=/0[xX][0123456789abcdefABCDEF_]*n?|0[oO][01234567_]*n?|0[bB][01_]*n?|\d[\d_]*n|(?:\.\d[\d_]*|\d[\d_]*\.?[\d_]*)(?:[eE][+-]?[\d_]+)?/,_i=/[0-9]/,ni=/[^\d\.]/,ai=`>>> === !== &&= ??= ||= << && >= ** != == <= >> || ?? |> < / - + > : & % ? ^ | *`.split(` `),z=`>>>= ... >>= <<= === >>> !== **= &&= ??= ||= => ^= :: /= << <= == && -= >= >> != -- += ** || ?? ++ %= &= *= |= |> = ! ? > < : / ^ - + * & % ~ |`;z=z.replace(/[-[\]{}()*+?.,\\^$|#]/g,`\\$&`);z=`\\?\\.(?!\\d) `+z;z=z.replace(/ /g,`|`);var ri=new RegExp(z),he=`continue,try,throw,return,var,let,const,if,switch,case,default,for,while,break,function,import,export`.split(`,`),ui=he.concat([`do`,`in`,`of`,`else`,`get`,`set`,`new`,`catch`,`finally`,`typeof`,`yield`,`async`,`await`,`from`,`as`,`class`,`extends`]),oi=new RegExp(`^(?:`+ui.join(`|`)+`)$`),ot,w=function(t,e){le.call(this,t,e),this._patterns.whitespace=this._patterns.whitespace.matching(/\u00A0\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff/.source,/\u2028\u2029/.source);var i=new ei(this._input),s=new ii(this._input).read_options(this._options);this.__patterns={template:s,identifier:s.starting_with(S.identifier).matching(S.identifierMatch),number:i.matching(si),punct:i.matching(ri),comment:i.starting_with(/\/\//).until(/[\n\r\u2028\u2029]/),block_comment:i.starting_with(/\/\*/).until_after(/\*\//),html_comment_start:i.matching(/<!--/),html_comment_end:i.matching(/-->/),include:i.starting_with(/#include/).until_after(S.lineBreak),shebang:i.starting_with(/#!/).until_after(S.lineBreak),xml:i.matching(/[\s\S]*?<(\/?)([-a-zA-Z:0-9_.]+|{[^}]+?}|!\[CDATA\[[^\]]*?\]\]|)(\s*{[^}]+?}|\s+[-a-zA-Z:0-9_.]+|\s+[-a-zA-Z:0-9_.]+\s*=\s*('[^']*'|"[^"]*"|{([^{}]|{[^}]+?})+?}))*\s*(\/?)\s*>/),single_quote:s.until(/['\\\n\r\u2028\u2029]/),double_quote:s.until(/["\\\n\r\u2028\u2029]/),template_text:s.until(/[`\\$]/),template_expression:s.until(/[`}\\]/)}};w.prototype=new le;w.prototype._is_comment=function(t){return t.type===u.COMMENT||t.type===u.BLOCK_COMMENT||t.type===u.UNKNOWN};w.prototype._is_opening=function(t){return t.type===u.START_BLOCK||t.type===u.START_EXPR};w.prototype._is_closing=function(t,e){return(t.type===u.END_BLOCK||t.type===u.END_EXPR)&&e&&(t.text===`]`&&e.text===`[`||t.text===`)`&&e.text===`(`||t.text===`}`&&e.text===`{`)};w.prototype._reset=function(){ot=!1};w.prototype._get_next_token=function(t,e){var i=null;this._readWhitespace();var s=this._input.peek();return s===null?this._create_token(u.EOF,``):(i=i||this._read_non_javascript(s),i=i||this._read_string(s),i=i||this._read_pair(s,this._input.peek(1)),i=i||this._read_word(t),i=i||this._read_singles(s),i=i||this._read_comment(s),i=i||this._read_regexp(s,t),i=i||this._read_xml(s,t),i=i||this._read_punctuation(),i=i||this._create_token(u.UNKNOWN,this._input.next()),i)};w.prototype._read_word=function(t){var e;if(e=this.__patterns.identifier.read(),e!==``)return e=e.replace(S.allLineBreaks,`
14`),!(t.type===u.DOT||t.type===u.RESERVED&&(t.text===`set`||t.text===`get`))&&oi.test(e)?(e===`in`||e===`of`)&&(t.type===u.WORD||t.type===u.STRING)?this._create_token(u.OPERATOR,e):this._create_token(u.RESERVED,e):this._create_token(u.WORD,e);if(e=this.__patterns.number.read(),e!==``)return this._create_token(u.WORD,e)};w.prototype._read_singles=function(t){var e=null;return t===`(`||t===`[`?e=this._create_token(u.START_EXPR,t):t===`)`||t===`]`?e=this._create_token(u.END_EXPR,t):t===`{`?e=this._create_token(u.START_BLOCK,t):t===`}`?e=this._create_token(u.END_BLOCK,t):t===`;`?e=this._create_token(u.SEMICOLON,t):t===`.`&&ni.test(this._input.peek(1))?e=this._create_token(u.DOT,t):t===`,`&&(e=this._create_token(u.COMMA,t)),e&&this._input.next(),e};w.prototype._read_pair=function(t,e){var i=null;return t===`#`&&e===`{`&&(i=this._create_token(u.START_BLOCK,t+e)),i&&(this._input.next(),this._input.next()),i};w.prototype._read_punctuation=function(){var t=this.__patterns.punct.read();if(t!==``)return t===`=`?this._create_token(u.EQUALS,t):t===`?.`?this._create_token(u.DOT,t):this._create_token(u.OPERATOR,t)};w.prototype._read_non_javascript=function(t){var e=``;if(t===`#`){if(this._is_first_token()&&(e=this.__patterns.shebang.read(),e))return this._create_token(u.UNKNOWN,e.trim()+`
15`);if(e=this.__patterns.include.read(),e)return this._create_token(u.UNKNOWN,e.trim()+`
16`);t=this._input.next();var i=`#`;if(this._input.hasNext()&&this._input.testChar(_i)){do t=this._input.next(),i+=t;while(this._input.hasNext()&&t!==`#`&&t!==`=`);return t===`#`||(this._input.peek()===`[`&&this._input.peek(1)===`]`?(i+=`[]`,this._input.next(),this._input.next()):this._input.peek()===`{`&&this._input.peek(1)===`}`&&(i+=`{}`,this._input.next(),this._input.next())),this._create_token(u.WORD,i)}this._input.back()}else if(t===`<`&&this._is_first_token()){if(e=this.__patterns.html_comment_start.read(),e){for(;this._input.hasNext()&&!this._input.testChar(S.newline);)e+=this._input.next();return ot=!0,this._create_token(u.COMMENT,e)}}else if(ot&&t===`-`&&(e=this.__patterns.html_comment_end.read(),e))return ot=!1,this._create_token(u.COMMENT,e);return null};w.prototype._read_comment=function(t){var e=null;if(t===`/`){var i=``;if(this._input.peek(1)===`*`){i=this.__patterns.block_comment.read();var s=oe.get_directives(i);s&&s.ignore===`start`&&(i+=oe.readIgnored(this._input)),i=i.replace(S.allLineBreaks,`
17`),e=this._create_token(u.BLOCK_COMMENT,i),e.directives=s}else this._input.peek(1)===`/`&&(i=this.__patterns.comment.read(),e=this._create_token(u.COMMENT,i))}return e};w.prototype._read_string=function(t){if(t==="`"||t===`'`||t===`"`){var e=this._input.next();return this.has_char_escapes=!1,t==="`"?e+=this._read_string_recursive("`",!0,"${"):e+=this._read_string_recursive(t),this.has_char_escapes&&this._options.unescape_strings&&(e=li(e)),this._input.peek()===t&&(e+=this._input.next()),e=e.replace(S.allLineBreaks,`
18`),this._create_token(u.STRING,e)}return null};w.prototype._allow_regexp_or_xml=function(t){return t.type===u.RESERVED&&St(t.text,[`return`,`case`,`throw`,`else`,`do`,`typeof`,`yield`])||t.type===u.END_EXPR&&t.text===`)`&&t.opened.previous.type===u.RESERVED&&St(t.opened.previous.text,[`if`,`while`,`for`])||St(t.type,[u.COMMENT,u.START_EXPR,u.START_BLOCK,u.START,u.END_BLOCK,u.OPERATOR,u.EQUALS,u.EOF,u.SEMICOLON,u.COMMA])};w.prototype._read_regexp=function(t,e){if(t===`/`&&this._allow_regexp_or_xml(e)){for(var i=this._input.next(),s=!1,_=!1;this._input.hasNext()&&(s||_||this._input.peek()!==t)&&!this._input.testChar(S.newline);)i+=this._input.peek(),s?s=!1:(s=this._input.peek()===`\\`,this._input.peek()===`[`?_=!0:this._input.peek()===`]`&&(_=!1)),this._input.next();return this._input.peek()===t&&(i+=this._input.next(),i+=this._input.read(S.identifier)),this._create_token(u.STRING,i)}return null};w.prototype._read_xml=function(t,e){if(this._options.e4x&&t===`<`&&this._allow_regexp_or_xml(e)){var i=``,s=this.__patterns.xml.read_match();if(s){for(var _=s[2].replace(/^{\s+/,`{`).replace(/\s+}$/,`}`),a=_.indexOf(`{`)===0,r=0;s;){var p=!!s[1],h=s[2];if(!(!!s[s.length-1]||h.slice(0,8)===`![CDATA[`)&&(h===_||a&&h.replace(/^{\s+/,`{`).replace(/\s+}$/,`}`))&&(p?--r:++r),i+=s[0],r<=0)break;s=this.__patterns.xml.read_match()}return s||(i+=this._input.match(/[\s\S]*/g)[0]),i=i.replace(S.allLineBreaks,`
19`),this._create_token(u.STRING,i)}}return null};function li(t){for(var e=``,i=0,s=new He(t),_=null;s.hasNext();)if(_=s.match(/([\s]|[^\\]|\\\\)+/g),_&&(e+=_[0]),s.peek()===`\\`){if(s.next(),s.peek()===`x`)_=s.match(/x([0-9A-Fa-f]{2})/g);else if(s.peek()===`u`)_=s.match(/u([0-9A-Fa-f]{4})/g),_||(_=s.match(/u\{([0-9A-Fa-f]+)\}/g));else{e+=`\\`,s.hasNext()&&(e+=s.next());continue}if(!_||(i=parseInt(_[1],16),i>126&&i<=255&&_[0].indexOf(`x`)===0))return t;i>=0&&i<32||i>1114111?e+=`\\`+_[0]:i===34||i===39||i===92?e+=`\\`+String.fromCharCode(i):e+=String.fromCharCode(i)}return e}w.prototype._read_string_recursive=function(t,e,i){var s,_;t===`'`?_=this.__patterns.single_quote:t===`"`?_=this.__patterns.double_quote:t==="`"?_=this.__patterns.template_text:t===`}`&&(_=this.__patterns.template_expression);for(var a=_.read(),r=``;this._input.hasNext();){if(r=this._input.next(),r===t||!e&&S.newline.test(r)){this._input.back();break}else r===`\\`&&this._input.hasNext()?(s=this._input.peek(),s===`x`||s===`u`?this.has_char_escapes=!0:s===`\r`&&this._input.peek(1)===`
20`&&this._input.next(),r+=this._input.next()):i&&(i==="${"&&r===`$`&&this._input.peek()===`{`&&(r+=this._input.next()),i===r&&(t==="`"?r+=this._read_string_recursive(`}`,e,"`"):r+=this._read_string_recursive("`",e,"${"),this._input.hasNext()&&(r+=this._input.next())));r+=_.read(),a+=r}return a};J.exports.Tokenizer=w;J.exports.TOKEN=u;J.exports.positionable_operators=ai.slice();J.exports.line_starters=he.slice()});var de$1=u$9((hs,ce)=>{"use strict";var hi=_t$1().Output,pi=gt().Token,lt=yt(),fi=vt().Options,ci=Y$2().Tokenizer,et=Y$2().line_starters,Z=Y$2().positionable_operators,n=Y$2().TOKEN;function l(t,e){return e.indexOf(t)!==-1}function di(t){return t.replace(/^\s+/g,``)}function gi(t){for(var e={},i=0;i<t.length;i++)e[t[i].replace(/-/g,`_`)]=t[i];return e}function A(t,e){return t&&t.type===n.RESERVED&&t.text===e}function g(t,e){return t&&t.type===n.RESERVED&&l(t.text,e)}var ht=[`case`,`return`,`do`,`if`,`throw`,`else`,`await`,`break`,`continue`,`async`],H=gi([`before-newline`,`after-newline`,`preserve-newline`]),pe=[H.before_newline,H.preserve_newline],o={BlockStatement:`BlockStatement`,Statement:`Statement`,ObjectLiteral:`ObjectLiteral`,ArrayLiteral:`ArrayLiteral`,ForInitializer:`ForInitializer`,Conditional:`Conditional`,Expression:`Expression`};function fe(t,e){e.multiline_frame||e.mode===o.ForInitializer||e.mode===o.Conditional||t.remove_indent(e.start_line_index)}function bi(t){t=t.replace(lt.allLineBreaks,`
21`);for(var e=[],i=t.indexOf(`
22`);i!==-1;)e.push(t.substring(0,i)),t=t.substring(i+1),i=t.indexOf(`
23`);return t.length&&e.push(t),e}function M(t){return t===o.ArrayLiteral}function tt(t){return l(t,[o.Expression,o.ForInitializer,o.Conditional])}function yi(t,e){for(var i=0;i<t.length;i++)if(t[i].trim().charAt(0)!==e)return!1;return!0}function vi(t,e){for(var i=0,s=t.length,_;i<s;i++)if(_=t[i],_&&_.indexOf(e)!==0)return!1;return!0}function f(t,e){e=e||{},this._source_text=t||``,this._output=null,this._tokens=null,this._last_last_text=null,this._flags=null,this._previous_flags=null,this._flag_store=null,this._options=new fi(e)}f.prototype.create_flags=function(t,e){var i=0;t&&(i=t.indentation_level,!this._output.just_added_newline()&&t.line_indent_level>i&&(i=t.line_indent_level));return{mode:e,parent:t,last_token:t?t.last_token:new pi(n.START_BLOCK,``),last_word:t?t.last_word:``,declaration_statement:!1,declaration_assignment:!1,multiline_frame:!1,inline_frame:!1,if_block:!1,else_block:!1,class_start_block:!1,do_block:!1,do_while:!1,import_block:!1,in_case_statement:!1,in_case:!1,case_body:!1,case_block:!1,indentation_level:i,alignment:0,line_indent_level:t?t.line_indent_level:i,start_line_index:this._output.get_line_number(),ternary_depth:0}};f.prototype._reset=function(t){var e=t.match(/^[\t ]*/)[0];this._last_last_text=``,this._output=new hi(this._options,e),this._output.raw=this._options.test_output_raw,this._flag_store=[],this.set_mode(o.BlockStatement);var i=new ci(t,this._options);return this._tokens=i.tokenize(),t};f.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var t,e=this._reset(this._source_text),i=this._options.eol;this._options.eol===`auto`&&(i=`
24`,e&&lt.lineBreak.test(e||``)&&(i=e.match(lt.lineBreak)[0]));for(var s=this._tokens.next();s;)this.handle_token(s),this._last_last_text=this._flags.last_token.text,this._flags.last_token=s,s=this._tokens.next();return t=this._output.get_code(i),t};f.prototype.handle_token=function(t,e){t.type===n.START_EXPR?this.handle_start_expr(t):t.type===n.END_EXPR?this.handle_end_expr(t):t.type===n.START_BLOCK?this.handle_start_block(t):t.type===n.END_BLOCK?this.handle_end_block(t):t.type===n.WORD?this.handle_word(t):t.type===n.RESERVED?this.handle_word(t):t.type===n.SEMICOLON?this.handle_semicolon(t):t.type===n.STRING?this.handle_string(t):t.type===n.EQUALS?this.handle_equals(t):t.type===n.OPERATOR?this.handle_operator(t):t.type===n.COMMA?this.handle_comma(t):t.type===n.BLOCK_COMMENT?this.handle_block_comment(t,e):t.type===n.COMMENT?this.handle_comment(t,e):t.type===n.DOT?this.handle_dot(t):t.type===n.EOF?this.handle_eof(t):t.type===n.UNKNOWN?this.handle_unknown(t,e):this.handle_unknown(t,e)};f.prototype.handle_whitespace_and_comments=function(t,e){var i=t.newlines,s=this._options.keep_array_indentation&&M(this._flags.mode);if(t.comments_before)for(var _=t.comments_before.next();_;)this.handle_whitespace_and_comments(_,e),this.handle_token(_,e),_=t.comments_before.next();if(s)for(var a=0;a<i;a+=1)this.print_newline(a>0,e);else if(this._options.max_preserve_newlines&&i>this._options.max_preserve_newlines&&(i=this._options.max_preserve_newlines),this._options.preserve_newlines&&i>1){this.print_newline(!1,e);for(var r=1;r<i;r+=1)this.print_newline(!0,e)}};var At=[`async`,`break`,`continue`,`return`,`throw`,`yield`];f.prototype.allow_wrap_or_preserved_newline=function(t,e){if(e=e===void 0?!1:e,!this._output.just_added_newline()){var i=this._options.preserve_newlines&&t.newlines||e;if(l(this._flags.last_token.text,Z)||l(t.text,Z)){var _=l(this._flags.last_token.text,Z)&&l(this._options.operator_position,pe)||l(t.text,Z);i=i&&_}if(i)this.print_newline(!1,!0);else if(this._options.wrap_line_length){if(g(this._flags.last_token,At))return;this._output.set_wrap_point()}}};f.prototype.print_newline=function(t,e){if(!e&&this._flags.last_token.text!==`;`&&this._flags.last_token.text!==`,`&&this._flags.last_token.text!==`=`&&(this._flags.last_token.type!==n.OPERATOR||this._flags.last_token.text===`--`||this._flags.last_token.text===`++`))for(var i=this._tokens.peek();this._flags.mode===o.Statement&&!(this._flags.if_block&&A(i,`else`))&&!this._flags.do_block;)this.restore_mode();this._output.add_new_line(t)&&(this._flags.multiline_frame=!0)};f.prototype.print_token_line_indentation=function(t){this._output.just_added_newline()&&(this._options.keep_array_indentation&&t.newlines&&(t.text===`[`||M(this._flags.mode))?(this._output.current_line.set_indent(-1),this._output.current_line.push(t.whitespace_before),this._output.space_before_token=!1):this._output.set_indent(this._flags.indentation_level,this._flags.alignment)&&(this._flags.line_indent_level=this._flags.indentation_level))};f.prototype.print_token=function(t){if(this._output.raw){this._output.add_raw_token(t);return}if(this._options.comma_first&&t.previous&&t.previous.type===n.COMMA&&this._output.just_added_newline()&&this._output.previous_line.last()===`,`){var e=this._output.previous_line.pop();this._output.previous_line.is_empty()&&(this._output.previous_line.push(e),this._output.trim(!0),this._output.current_line.pop(),this._output.trim()),this.print_token_line_indentation(t),this._output.add_token(`,`),this._output.space_before_token=!0}this.print_token_line_indentation(t),this._output.non_breaking_space=!0,this._output.add_token(t.text),this._output.previous_token_wrapped&&(this._flags.multiline_frame=!0)};f.prototype.indent=function(){this._flags.indentation_level+=1,this._output.set_indent(this._flags.indentation_level,this._flags.alignment)};f.prototype.deindent=function(){this._flags.indentation_level>0&&(!this._flags.parent||this._flags.indentation_level>this._flags.parent.indentation_level)&&(this._flags.indentation_level-=1,this._output.set_indent(this._flags.indentation_level,this._flags.alignment))};f.prototype.set_mode=function(t){this._flags?(this._flag_store.push(this._flags),this._previous_flags=this._flags):this._previous_flags=this.create_flags(null,t),this._flags=this.create_flags(this._previous_flags,t),this._output.set_indent(this._flags.indentation_level,this._flags.alignment)};f.prototype.restore_mode=function(){this._flag_store.length>0&&(this._previous_flags=this._flags,this._flags=this._flag_store.pop(),this._previous_flags.mode===o.Statement&&fe(this._output,this._previous_flags),this._output.set_indent(this._flags.indentation_level,this._flags.alignment))};f.prototype.start_of_object_property=function(){return this._flags.parent.mode===o.ObjectLiteral&&this._flags.mode===o.Statement&&(this._flags.last_token.text===`:`&&this._flags.ternary_depth===0||g(this._flags.last_token,[`get`,`set`]))};f.prototype.start_of_statement=function(t){var e=!1;return e=e||g(this._flags.last_token,[`var`,`let`,`const`])&&t.type===n.WORD,e=e||A(this._flags.last_token,`do`),e=e||!(this._flags.parent.mode===o.ObjectLiteral&&this._flags.mode===o.Statement)&&g(this._flags.last_token,At)&&!t.newlines,e=e||A(this._flags.last_token,`else`)&&!(A(t,`if`)&&!t.comments_before),e=e||this._flags.last_token.type===n.END_EXPR&&(this._previous_flags.mode===o.ForInitializer||this._previous_flags.mode===o.Conditional),e=e||this._flags.last_token.type===n.WORD&&this._flags.mode===o.BlockStatement&&!this._flags.in_case&&!(t.text===`--`||t.text===`++`)&&this._last_last_text!==`function`&&t.type!==n.WORD&&t.type!==n.RESERVED,e=e||this._flags.mode===o.ObjectLiteral&&(this._flags.last_token.text===`:`&&this._flags.ternary_depth===0||g(this._flags.last_token,[`get`,`set`])),e?(this.set_mode(o.Statement),this.indent(),this.handle_whitespace_and_comments(t,!0),this.start_of_object_property()||this.allow_wrap_or_preserved_newline(t,g(t,[`do`,`for`,`if`,`while`])),!0):!1};f.prototype.handle_start_expr=function(t){this.start_of_statement(t)||this.handle_whitespace_and_comments(t);var e=o.Expression;if(t.text===`[`){if(this._flags.last_token.type===n.WORD||this._flags.last_token.text===`)`){g(this._flags.last_token,et)&&(this._output.space_before_token=!0),this.print_token(t),this.set_mode(e),this.indent(),this._options.space_in_paren&&(this._output.space_before_token=!0);return}e=o.ArrayLiteral,M(this._flags.mode)&&(this._flags.last_token.text===`[`||this._flags.last_token.text===`,`&&(this._last_last_text===`]`||this._last_last_text===`}`))&&(this._options.keep_array_indentation||this.print_newline()),l(this._flags.last_token.type,[n.START_EXPR,n.END_EXPR,n.WORD,n.OPERATOR,n.DOT])||(this._output.space_before_token=!0)}else{if(this._flags.last_token.type===n.RESERVED)this._flags.last_token.text===`for`?(this._output.space_before_token=this._options.space_before_conditional,e=o.ForInitializer):l(this._flags.last_token.text,[`if`,`while`,`switch`])?(this._output.space_before_token=this._options.space_before_conditional,e=o.Conditional):l(this._flags.last_word,[`await`,`async`])?this._output.space_before_token=!0:this._flags.last_token.text===`import`&&t.whitespace_before===``?this._output.space_before_token=!1:(l(this._flags.last_token.text,et)||this._flags.last_token.text===`catch`)&&(this._output.space_before_token=!0);else if(this._flags.last_token.type===n.EQUALS||this._flags.last_token.type===n.OPERATOR)this.start_of_object_property()||this.allow_wrap_or_preserved_newline(t);else if(this._flags.last_token.type===n.WORD){this._output.space_before_token=!1;var i=this._tokens.peek(-3);if(this._options.space_after_named_function&&i){var s=this._tokens.peek(-4);g(i,[`async`,`function`])||i.text===`*`&&g(s,[`async`,`function`])?this._output.space_before_token=!0:this._flags.mode===o.ObjectLiteral?(i.text===`{`||i.text===`,`||i.text===`*`&&(s.text===`{`||s.text===`,`))&&(this._output.space_before_token=!0):this._flags.parent&&this._flags.parent.class_start_block&&(this._output.space_before_token=!0)}}else this.allow_wrap_or_preserved_newline(t);(this._flags.last_token.type===n.RESERVED&&(this._flags.last_word===`function`||this._flags.last_word===`typeof`)||this._flags.last_token.text===`*`&&(l(this._last_last_text,[`function`,`yield`])||this._flags.mode===o.ObjectLiteral&&l(this._last_last_text,[`{`,`,`])))&&(this._output.space_before_token=this._options.space_after_anon_function)}this._flags.last_token.text===`;`||this._flags.last_token.type===n.START_BLOCK?this.print_newline():(this._flags.last_token.type===n.END_EXPR||this._flags.last_token.type===n.START_EXPR||this._flags.last_token.type===n.END_BLOCK||this._flags.last_token.text===`.`||this._flags.last_token.type===n.COMMA)&&this.allow_wrap_or_preserved_newline(t,t.newlines),this.print_token(t),this.set_mode(e),this._options.space_in_paren&&(this._output.space_before_token=!0),this.indent()};f.prototype.handle_end_expr=function(t){for(;this._flags.mode===o.Statement;)this.restore_mode();this.handle_whitespace_and_comments(t),this._flags.multiline_frame&&this.allow_wrap_or_preserved_newline(t,t.text===`]`&&M(this._flags.mode)&&!this._options.keep_array_indentation),this._options.space_in_paren&&(this._flags.last_token.type===n.START_EXPR&&!this._options.space_in_empty_paren?(this._output.trim(),this._output.space_before_token=!1):this._output.space_before_token=!0),this.deindent(),this.print_token(t),this.restore_mode(),fe(this._output,this._previous_flags),this._flags.do_while&&this._previous_flags.mode===o.Conditional&&(this._previous_flags.mode=o.Expression,this._flags.do_block=!1,this._flags.do_while=!1)};f.prototype.handle_start_block=function(t){this.handle_whitespace_and_comments(t);var e=this._tokens.peek(),i=this._tokens.peek(1);this._flags.last_word===`switch`&&this._flags.last_token.type===n.END_EXPR?(this.set_mode(o.BlockStatement),this._flags.in_case_statement=!0):this._flags.case_body?this.set_mode(o.BlockStatement):i&&(l(i.text,[`:`,`,`])&&l(e.type,[n.STRING,n.WORD,n.RESERVED])||l(e.text,[`get`,`set`,`...`])&&l(i.type,[n.WORD,n.RESERVED]))?l(this._last_last_text,[`class`,`interface`])&&!l(i.text,[`:`,`,`])?this.set_mode(o.BlockStatement):this.set_mode(o.ObjectLiteral):this._flags.last_token.type===n.OPERATOR&&this._flags.last_token.text===`=>`?this.set_mode(o.BlockStatement):l(this._flags.last_token.type,[n.EQUALS,n.START_EXPR,n.COMMA,n.OPERATOR])||g(this._flags.last_token,[`return`,`throw`,`import`,`default`])?this.set_mode(o.ObjectLiteral):this.set_mode(o.BlockStatement),this._flags.last_token&&g(this._flags.last_token.previous,[`class`,`extends`])&&(this._flags.class_start_block=!0);var s=!e.comments_before&&e.text===`}`,_=s&&this._flags.last_word===`function`&&this._flags.last_token.type===n.END_EXPR;if(this._options.brace_preserve_inline){var a=0,r=null;this._flags.inline_frame=!0;do if(a+=1,r=this._tokens.peek(a-1),r.newlines){this._flags.inline_frame=!1;break}while(r.type!==n.EOF&&!(r.type===n.END_BLOCK&&r.opened===t))}(this._options.brace_style===`expand`||this._options.brace_style===`none`&&t.newlines)&&!this._flags.inline_frame?this._flags.last_token.type!==n.OPERATOR&&(_||this._flags.last_token.type===n.EQUALS||g(this._flags.last_token,ht)&&this._flags.last_token.text!==`else`)?this._output.space_before_token=!0:this.print_newline(!1,!0):(M(this._previous_flags.mode)&&(this._flags.last_token.type===n.START_EXPR||this._flags.last_token.type===n.COMMA)&&((this._flags.last_token.type===n.COMMA||this._options.space_in_paren)&&(this._output.space_before_token=!0),(this._flags.last_token.type===n.COMMA||this._flags.last_token.type===n.START_EXPR&&this._flags.inline_frame)&&(this.allow_wrap_or_preserved_newline(t),this._previous_flags.multiline_frame=this._previous_flags.multiline_frame||this._flags.multiline_frame,this._flags.multiline_frame=!1)),this._flags.last_token.type!==n.OPERATOR&&this._flags.last_token.type!==n.START_EXPR&&(l(this._flags.last_token.type,[n.START_BLOCK,n.SEMICOLON])&&!this._flags.inline_frame?this.print_newline():this._output.space_before_token=!0)),this.print_token(t),this.indent(),!s&&!(this._options.brace_preserve_inline&&this._flags.inline_frame)&&this.print_newline()};f.prototype.handle_end_block=function(t){for(this.handle_whitespace_and_comments(t);this._flags.mode===o.Statement;)this.restore_mode();var e=this._flags.last_token.type===n.START_BLOCK;this._flags.inline_frame&&!e?this._output.space_before_token=!0:this._options.brace_style===`expand`?e||this.print_newline():e||(M(this._flags.mode)&&this._options.keep_array_indentation?(this._options.keep_array_indentation=!1,this.print_newline(),this._options.keep_array_indentation=!0):this.print_newline()),this.restore_mode(),this.print_token(t)};f.prototype.handle_word=function(t){if(t.type===n.RESERVED){if(l(t.text,[`set`,`get`])&&this._flags.mode!==o.ObjectLiteral)t.type=n.WORD;else if(t.text===`import`&&l(this._tokens.peek().text,[`(`,`.`]))t.type=n.WORD;else if(l(t.text,[`as`,`from`])&&!this._flags.import_block)t.type=n.WORD;else if(this._flags.mode===o.ObjectLiteral)this._tokens.peek().text===`:`&&(t.type=n.WORD)}if(this.start_of_statement(t)?g(this._flags.last_token,[`var`,`let`,`const`])&&t.type===n.WORD&&(this._flags.declaration_statement=!0):t.newlines&&!tt(this._flags.mode)&&(this._flags.last_token.type!==n.OPERATOR||this._flags.last_token.text===`--`||this._flags.last_token.text===`++`)&&this._flags.last_token.type!==n.EQUALS&&(this._options.preserve_newlines||!g(this._flags.last_token,[`var`,`let`,`const`,`set`,`get`]))?(this.handle_whitespace_and_comments(t),this.print_newline()):this.handle_whitespace_and_comments(t),this._flags.do_block&&!this._flags.do_while)if(A(t,`while`)){this._output.space_before_token=!0,this.print_token(t),this._output.space_before_token=!0,this._flags.do_while=!0;return}else this.print_newline(),this._flags.do_block=!1;if(this._flags.if_block)if(!this._flags.else_block&&A(t,`else`))this._flags.else_block=!0;else{for(;this._flags.mode===o.Statement;)this.restore_mode();this._flags.if_block=!1,this._flags.else_block=!1}if(this._flags.in_case_statement&&g(t,[`case`,`default`])){this.print_newline(),!this._flags.case_block&&(this._flags.case_body||this._options.jslint_happy)&&this.deindent(),this._flags.case_body=!1,this.print_token(t),this._flags.in_case=!0;return}if((this._flags.last_token.type===n.COMMA||this._flags.last_token.type===n.START_EXPR||this._flags.last_token.type===n.EQUALS||this._flags.last_token.type===n.OPERATOR)&&!this.start_of_object_property()&&!(l(this._flags.last_token.text,[`+`,`-`])&&this._last_last_text===`:`&&this._flags.parent.mode===o.ObjectLiteral)&&this.allow_wrap_or_preserved_newline(t),A(t,`function`)){(l(this._flags.last_token.text,[`}`,`;`])||this._output.just_added_newline()&&!(l(this._flags.last_token.text,[`(`,`[`,`{`,`:`,`=`,`,`])||this._flags.last_token.type===n.OPERATOR))&&!this._output.just_added_blankline()&&!t.comments_before&&(this.print_newline(),this.print_newline(!0)),this._flags.last_token.type===n.RESERVED||this._flags.last_token.type===n.WORD?g(this._flags.last_token,[`get`,`set`,`new`,`export`])||g(this._flags.last_token,At)?this._output.space_before_token=!0:A(this._flags.last_token,`default`)&&this._last_last_text===`export`?this._output.space_before_token=!0:this._flags.last_token.text===`declare`?this._output.space_before_token=!0:this.print_newline():this._flags.last_token.type===n.OPERATOR||this._flags.last_token.text===`=`?this._output.space_before_token=!0:!this._flags.multiline_frame&&(tt(this._flags.mode)||M(this._flags.mode))||this.print_newline(),this.print_token(t),this._flags.last_word=t.text;return}var i=`NONE`;if(this._flags.last_token.type===n.END_BLOCK?this._previous_flags.inline_frame?i=`SPACE`:g(t,[`else`,`catch`,`finally`,`from`])?this._options.brace_style===`expand`||this._options.brace_style===`end-expand`||this._options.brace_style===`none`&&t.newlines?i=`NEWLINE`:(i=`SPACE`,this._output.space_before_token=!0):i=`NEWLINE`:this._flags.last_token.type===n.SEMICOLON&&this._flags.mode===o.BlockStatement?i=`NEWLINE`:this._flags.last_token.type===n.SEMICOLON&&tt(this._flags.mode)?i=`SPACE`:this._flags.last_token.type===n.STRING?i=`NEWLINE`:this._flags.last_token.type===n.RESERVED||this._flags.last_token.type===n.WORD||this._flags.last_token.text===`*`&&(l(this._last_last_text,[`function`,`yield`])||this._flags.mode===o.ObjectLiteral&&l(this._last_last_text,[`{`,`,`]))?i=`SPACE`:this._flags.last_token.type===n.START_BLOCK?this._flags.inline_frame?i=`SPACE`:i=`NEWLINE`:this._flags.last_token.type===n.END_EXPR&&(this._output.space_before_token=!0,i=`NEWLINE`),g(t,et)&&this._flags.last_token.text!==`)`&&(this._flags.inline_frame||this._flags.last_token.text===`else`||this._flags.last_token.text===`export`?i=`SPACE`:i=`NEWLINE`),g(t,[`else`,`catch`,`finally`]))if((!(this._flags.last_token.type===n.END_BLOCK&&this._previous_flags.mode===o.BlockStatement)||this._options.brace_style===`expand`||this._options.brace_style===`end-expand`||this._options.brace_style===`none`&&t.newlines)&&!this._flags.inline_frame)this.print_newline();else{this._output.trim(!0);this._output.current_line.last()!==`}`&&this.print_newline(),this._output.space_before_token=!0}else i===`NEWLINE`?g(this._flags.last_token,ht)?this._output.space_before_token=!0:this._flags.last_token.text===`declare`&&g(t,[`var`,`let`,`const`])?this._output.space_before_token=!0:this._flags.last_token.type!==n.END_EXPR?(this._flags.last_token.type!==n.START_EXPR||!g(t,[`var`,`let`,`const`]))&&this._flags.last_token.text!==`:`&&(A(t,`if`)&&A(t.previous,`else`)?this._output.space_before_token=!0:this.print_newline()):g(t,et)&&this._flags.last_token.text!==`)`&&this.print_newline():this._flags.multiline_frame&&M(this._flags.mode)&&this._flags.last_token.text===`,`&&this._last_last_text===`}`?this.print_newline():i===`SPACE`&&(this._output.space_before_token=!0);t.previous&&(t.previous.type===n.WORD||t.previous.type===n.RESERVED)&&(this._output.space_before_token=!0),this.print_token(t),this._flags.last_word=t.text,t.type===n.RESERVED&&(t.text===`do`?this._flags.do_block=!0:t.text===`if`?this._flags.if_block=!0:t.text===`import`?this._flags.import_block=!0:this._flags.import_block&&A(t,`from`)&&(this._flags.import_block=!1))};f.prototype.handle_semicolon=function(t){this.start_of_statement(t)?this._output.space_before_token=!1:this.handle_whitespace_and_comments(t);for(var e=this._tokens.peek();this._flags.mode===o.Statement&&!(this._flags.if_block&&A(e,`else`))&&!this._flags.do_block;)this.restore_mode();this._flags.import_block&&(this._flags.import_block=!1),this.print_token(t)};f.prototype.handle_string=function(t){t.text.startsWith("`")&&t.newlines===0&&t.whitespace_before===``&&(t.previous.text===`)`||this._flags.last_token.type===n.WORD)||(this.start_of_statement(t)?this._output.space_before_token=!0:(this.handle_whitespace_and_comments(t),this._flags.last_token.type===n.RESERVED||this._flags.last_token.type===n.WORD||this._flags.inline_frame?this._output.space_before_token=!0:this._flags.last_token.type===n.COMMA||this._flags.last_token.type===n.START_EXPR||this._flags.last_token.type===n.EQUALS||this._flags.last_token.type===n.OPERATOR?this.start_of_object_property()||this.allow_wrap_or_preserved_newline(t):t.text.startsWith("`")&&this._flags.last_token.type===n.END_EXPR&&(t.previous.text===`]`||t.previous.text===`)`)&&t.newlines===0?this._output.space_before_token=!0:this.print_newline())),this.print_token(t)};f.prototype.handle_equals=function(t){this.start_of_statement(t)||this.handle_whitespace_and_comments(t),this._flags.declaration_statement&&(this._flags.declaration_assignment=!0),this._output.space_before_token=!0,this.print_token(t),this._output.space_before_token=!0};f.prototype.handle_comma=function(t){this.handle_whitespace_and_comments(t,!0),this.print_token(t),this._output.space_before_token=!0,this._flags.declaration_statement?(tt(this._flags.parent.mode)&&(this._flags.declaration_assignment=!1),this._flags.declaration_assignment?(this._flags.declaration_assignment=!1,this.print_newline(!1,!0)):this._options.comma_first&&this.allow_wrap_or_preserved_newline(t)):this._flags.mode===o.ObjectLiteral||this._flags.mode===o.Statement&&this._flags.parent.mode===o.ObjectLiteral?(this._flags.mode===o.Statement&&this.restore_mode(),this._flags.inline_frame||this.print_newline()):this._options.comma_first&&this.allow_wrap_or_preserved_newline(t)};f.prototype.handle_operator=function(t){var e=t.text===`*`&&(g(this._flags.last_token,[`function`,`yield`])||l(this._flags.last_token.type,[n.START_BLOCK,n.COMMA,n.END_BLOCK,n.SEMICOLON])),i=l(t.text,[`-`,`+`])&&(l(this._flags.last_token.type,[n.START_BLOCK,n.START_EXPR,n.EQUALS,n.OPERATOR])||l(this._flags.last_token.text,et)||this._flags.last_token.text===`,`);if(!this.start_of_statement(t)){var s=!e;this.handle_whitespace_and_comments(t,s)}if(t.text===`*`&&this._flags.last_token.type===n.DOT){this.print_token(t);return}if(t.text===`::`){this.print_token(t);return}if(l(t.text,[`-`,`+`])&&this.start_of_object_property()){this.print_token(t);return}if(this._flags.last_token.type===n.OPERATOR&&l(this._options.operator_position,pe)&&this.allow_wrap_or_preserved_newline(t),t.text===`:`&&this._flags.in_case){this.print_token(t),this._flags.in_case=!1,this._flags.case_body=!0,this._tokens.peek().type!==n.START_BLOCK?(this.indent(),this.print_newline(),this._flags.case_block=!1):(this._flags.case_block=!0,this._output.space_before_token=!0);return}var _=!0,a=!0,r=!1;if(t.text===`:`?this._flags.ternary_depth===0?_=!1:(this._flags.ternary_depth-=1,r=!0):t.text===`?`&&(this._flags.ternary_depth+=1),!i&&!e&&this._options.preserve_newlines&&l(t.text,Z)){var p=t.text===`:`,h=p&&r,E=p&&!r;switch(this._options.operator_position){case H.before_newline:this._output.space_before_token=!E,this.print_token(t),(!p||h)&&this.allow_wrap_or_preserved_newline(t),this._output.space_before_token=!0;return;case H.after_newline:this._output.space_before_token=!0,!p||h?this._tokens.peek().newlines?this.print_newline(!1,!0):this.allow_wrap_or_preserved_newline(t):this._output.space_before_token=!1,this.print_token(t),this._output.space_before_token=!0;return;case H.preserve_newline:E||this.allow_wrap_or_preserved_newline(t),_=!(this._output.just_added_newline()||E),this._output.space_before_token=_,this.print_token(t),this._output.space_before_token=!0;return}}if(e){this.allow_wrap_or_preserved_newline(t),_=!1;var b=this._tokens.peek();a=b&&l(b.type,[n.WORD,n.RESERVED])}else if(t.text===`...`)this.allow_wrap_or_preserved_newline(t),_=this._flags.last_token.type===n.START_BLOCK,a=!1;else if(l(t.text,[`--`,`++`,`!`,`~`])||i){if((this._flags.last_token.type===n.COMMA||this._flags.last_token.type===n.START_EXPR)&&this.allow_wrap_or_preserved_newline(t),_=!1,a=!1,t.newlines&&(t.text===`--`||t.text===`++`||t.text===`~`)){var B=g(this._flags.last_token,ht)&&t.newlines;B&&(this._previous_flags.if_block||this._previous_flags.else_block)&&this.restore_mode(),this.print_newline(B,!0)}this._flags.last_token.text===`;`&&tt(this._flags.mode)&&(_=!0),this._flags.last_token.type===n.RESERVED?_=!0:this._flags.last_token.type===n.END_EXPR?_=!(this._flags.last_token.text===`]`&&(t.text===`--`||t.text===`++`)):this._flags.last_token.type===n.OPERATOR&&(_=l(t.text,[`--`,`-`,`++`,`+`])&&l(this._flags.last_token.text,[`--`,`-`,`++`,`+`]),l(t.text,[`+`,`-`])&&l(this._flags.last_token.text,[`--`,`++`])&&(a=!0)),(this._flags.mode===o.BlockStatement&&!this._flags.inline_frame||this._flags.mode===o.Statement)&&(this._flags.last_token.text===`{`||this._flags.last_token.text===`;`)&&this.print_newline()}this._output.space_before_token=this._output.space_before_token||_,this.print_token(t),this._output.space_before_token=a};f.prototype.handle_block_comment=function(t,e){if(this._output.raw){this._output.add_raw_token(t),t.directives&&t.directives.preserve===`end`&&(this._output.raw=this._options.test_output_raw);return}if(t.directives){this.print_newline(!1,e),this.print_token(t),t.directives.preserve===`start`&&(this._output.raw=!0),this.print_newline(!1,!0);return}if(!lt.newline.test(t.text)&&!t.newlines){this._output.space_before_token=!0,this.print_token(t),this._output.space_before_token=!0;return}else this.print_block_commment(t,e)};f.prototype.print_block_commment=function(t,e){var i=bi(t.text),s,_=!1,a=!1,r=t.whitespace_before,p=r.length;if(this.print_newline(!1,e),this.print_token_line_indentation(t),this._output.add_token(i[0]),this.print_newline(!1,e),i.length>1){for(i=i.slice(1),_=yi(i,`*`),a=vi(i,r),_&&(this._flags.alignment=1),s=0;s<i.length;s++)_?(this.print_token_line_indentation(t),this._output.add_token(di(i[s]))):a&&i[s]?(this.print_token_line_indentation(t),this._output.add_token(i[s].substring(p))):(this._output.current_line.set_indent(-1),this._output.add_token(i[s])),this.print_newline(!1,e);this._flags.alignment=0}};f.prototype.handle_comment=function(t,e){t.newlines?this.print_newline(!1,e):this._output.trim(!0),this._output.space_before_token=!0,this.print_token(t),this.print_newline(!1,e)};f.prototype.handle_dot=function(t){this.start_of_statement(t)||this.handle_whitespace_and_comments(t,!0),this._flags.last_token.text.match(`^[0-9]+$`)&&(this._output.space_before_token=!0),g(this._flags.last_token,ht)?this._output.space_before_token=!1:this.allow_wrap_or_preserved_newline(t,this._flags.last_token.text===`)`&&this._options.break_chained_methods),this._options.unindent_chained_methods&&this._output.just_added_newline()&&this.deindent(),this.print_token(t)};f.prototype.handle_unknown=function(t,e){this.print_token(t),t.text[t.text.length-1]===`
25`&&this.print_newline(!1,e)};f.prototype.handle_eof=function(t){for(;this._flags.mode===o.Statement;)this.restore_mode();this.handle_whitespace_and_comments(t)};ce.exports.Beautifier=f});var ge$2=u$9((ps,Nt)=>{"use strict";var wi=de$1().Beautifier,xi=vt().Options;function Oi(t,e){return new wi(t,e).beautify()}Nt.exports=Oi;Nt.exports.defaultOptions=function(){return new xi}});var Lt=u$9((fs,ye)=>{"use strict";var me=at$1().Options;function be(t){me.call(this,t,`css`),this.selector_separator_newline=this._get_boolean(`selector_separator_newline`,!0),this.newline_between_rules=this._get_boolean(`newline_between_rules`,!0);var e=this._get_boolean(`space_around_selector_separator`);this.space_around_combinator=this._get_boolean(`space_around_combinator`)||e;var i=this._get_selection_list(`brace_style`,[`collapse`,`expand`,`end-expand`,`none`,`preserve-inline`]);this.brace_style=`collapse`;for(var s=0;s<i.length;s++)i[s]!==`expand`?this.brace_style=`collapse`:this.brace_style=i[s]}be.prototype=new me;ye.exports.Options=be});var Oe$1=u$9((cs,xe)=>{"use strict";var Ei=Lt().Options,Ti=_t$1().Output,ki=rt$1().InputScanner,Ri=ut().Directives,ve=new Ri(/\/\*/,/\*\//),we=/\r\n|[\r\n]/,Si=/\r\n|[\r\n]/g,pt=/\s/,Ai=/(?:\s|\n)+/g,Ni=/\/\*(?:[\s\S]*?)((?:\*\/)|$)/g,Li=/\/\/(?:[^\n\r\u2028\u2029]*)/g;function j(t,e){this._source_text=t||``,this._options=new Ei(e),this._ch=null,this._input=null,this.NESTED_AT_RULE={page:!0,"font-face":!0,keyframes:!0,media:!0,supports:!0,document:!0},this.CONDITIONAL_GROUP_RULE={media:!0,supports:!0,document:!0},this.NON_SEMICOLON_NEWLINE_PROPERTY=[`grid-template-areas`,`grid-template`]}j.prototype.eatString=function(t){var e=``;for(this._ch=this._input.next();this._ch;){if(e+=this._ch,this._ch===`\\`)e+=this._input.next();else if(t.indexOf(this._ch)!==-1||this._ch===`
26`)break;this._ch=this._input.next()}return e};j.prototype.eatWhitespace=function(t){for(var e=pt.test(this._input.peek()),i=0;pt.test(this._input.peek());)this._ch=this._input.next(),t&&this._ch===`
27`&&(i===0||i<this._options.max_preserve_newlines)&&(i++,this._output.add_new_line(!0));return e};j.prototype.foundNestedPseudoClass=function(){for(var t=0,e=1,i=this._input.peek(e);i;){if(i===`{`)return!0;if(i===`(`)t+=1;else if(i===`)`){if(t===0)return!1;t-=1}else if(i===`;`||i===`}`)return!1;e++,i=this._input.peek(e)}return!1};j.prototype.print_string=function(t){this._output.set_indent(this._indentLevel),this._output.non_breaking_space=!0,this._output.add_token(t)};j.prototype.preserveSingleSpace=function(t){t&&(this._output.space_before_token=!0)};j.prototype.indent=function(){this._indentLevel++};j.prototype.outdent=function(){this._indentLevel>0&&this._indentLevel--};j.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var t=this._source_text,e=this._options.eol;e===`auto`&&(e=`
28`,t&&we.test(t||``)&&(e=t.match(we)[0])),t=t.replace(Si,`
29`);var i=t.match(/^[\t ]*/)[0];this._output=new Ti(this._options,i),this._input=new ki(t),this._indentLevel=0,this._nestedLevel=0,this._ch=null;for(var s=0,_=!1,a=!1,r=!1,p=!1,h=!1,E=this._ch,b=!1,B,L,R;B=this._input.read(Ai),L=B!==``,R=E,this._ch=this._input.next(),this._ch===`\\`&&this._input.hasNext()&&(this._ch+=this._input.next()),E=this._ch,this._ch;)if(this._ch===`/`&&this._input.peek()===`*`){this._output.add_new_line(),this._input.back();var F=this._input.read(Ni),st=ve.get_directives(F);st&&st.ignore===`start`&&(F+=ve.readIgnored(this._input)),this.print_string(F),this.eatWhitespace(!0),this._output.add_new_line()}else if(this._ch===`/`&&this._input.peek()===`/`)this._output.space_before_token=!0,this._input.back(),this.print_string(this._input.read(Li)),this.eatWhitespace(!0);else if(this._ch===`$`){this.preserveSingleSpace(L),this.print_string(this._ch);var q=this._input.peekUntilAfter(/[: ,;{}()[\]\/='"]/g);q.match(/[ :]$/)&&(q=this.eatString(`: `).replace(/\s+$/,``),this.print_string(q),this._output.space_before_token=!0),s===0&&q.indexOf(`:`)!==-1&&(a=!0,this.indent())}else if(this._ch===`@`)if(this.preserveSingleSpace(L),this._input.peek()===`{`)this.print_string(this._ch+this.eatString(`}`));else{this.print_string(this._ch);var X=this._input.peekUntilAfter(/[: ,;{}()[\]\/='"]/g);X.match(/[ :]$/)&&(X=this.eatString(`: `).replace(/\s+$/,``),this.print_string(X),this._output.space_before_token=!0),s===0&&X.indexOf(`:`)!==-1?(a=!0,this.indent()):X in this.NESTED_AT_RULE?(this._nestedLevel+=1,X in this.CONDITIONAL_GROUP_RULE&&(r=!0)):s===0&&!a&&(p=!0)}else if(this._ch===`#`&&this._input.peek()===`{`)this.preserveSingleSpace(L),this.print_string(this._ch+this.eatString(`}`));else if(this._ch===`{`)a&&(a=!1,this.outdent()),p=!1,r?(r=!1,_=this._indentLevel>=this._nestedLevel):_=this._indentLevel>=this._nestedLevel-1,this._options.newline_between_rules&&_&&this._output.previous_line&&this._output.previous_line.item(-1)!==`{`&&this._output.ensure_empty_line_above(`/`,`,`),this._output.space_before_token=!0,this._options.brace_style===`expand`?(this._output.add_new_line(),this.print_string(this._ch),this.indent(),this._output.set_indent(this._indentLevel)):(R===`(`?this._output.space_before_token=!1:R!==`,`&&this.indent(),this.print_string(this._ch)),this.eatWhitespace(!0),this._output.add_new_line();else if(this._ch===`}`)this.outdent(),this._output.add_new_line(),R===`{`&&this._output.trim(!0),a&&(this.outdent(),a=!1),this.print_string(this._ch),_=!1,this._nestedLevel&&this._nestedLevel--,this.eatWhitespace(!0),this._output.add_new_line(),this._options.newline_between_rules&&!this._output.just_added_blankline()&&this._input.peek()!==`}`&&this._output.add_new_line(!0),this._input.peek()===`)`&&(this._output.trim(!0),this._options.brace_style===`expand`&&this._output.add_new_line(!0));else if(this._ch===`:`){for(var dt=0;dt<this.NON_SEMICOLON_NEWLINE_PROPERTY.length;dt++)if(this._input.lookBack(this.NON_SEMICOLON_NEWLINE_PROPERTY[dt])){b=!0;break}(_||r)&&!(this._input.lookBack(`&`)||this.foundNestedPseudoClass())&&!this._input.lookBack(`(`)&&!p&&s===0?(this.print_string(`:`),a||(a=!0,this._output.space_before_token=!0,this.eatWhitespace(!0),this.indent())):(this._input.lookBack(` `)&&(this._output.space_before_token=!0),this._input.peek()===`:`?(this._ch=this._input.next(),this.print_string(`::`)):this.print_string(`:`))}else if(this._ch===`"`||this._ch===`'`){var qe=R===`"`||R===`'`;this.preserveSingleSpace(qe||L),this.print_string(this._ch+this.eatString(this._ch)),this.eatWhitespace(!0)}else if(this._ch===`;`)b=!1,s===0?(a&&(this.outdent(),a=!1),p=!1,this.print_string(this._ch),this.eatWhitespace(!0),this._input.peek()!==`/`&&this._output.add_new_line()):(this.print_string(this._ch),this.eatWhitespace(!0),this._output.space_before_token=!0);else if(this._ch===`(`)if(this._input.lookBack(`url`))this.print_string(this._ch),this.eatWhitespace(),s++,this.indent(),this._ch=this._input.next(),this._ch===`)`||this._ch===`"`||this._ch===`'`?this._input.back():this._ch&&(this.print_string(this._ch+this.eatString(`)`)),s&&(s--,this.outdent()));else{var It=!1;this._input.lookBack(`with`)&&(It=!0),this.preserveSingleSpace(L||It),this.print_string(this._ch),a&&R===`$`&&this._options.selector_separator_newline?(this._output.add_new_line(),h=!0):(this.eatWhitespace(),s++,this.indent())}else if(this._ch===`)`)s&&(s--,this.outdent()),h&&this._input.peek()===`;`&&this._options.selector_separator_newline&&(h=!1,this.outdent(),this._output.add_new_line()),this.print_string(this._ch);else if(this._ch===`,`)this.print_string(this._ch),this.eatWhitespace(!0),this._options.selector_separator_newline&&(!a||h)&&s===0&&!p?this._output.add_new_line():this._output.space_before_token=!0;else if((this._ch===`>`||this._ch===`+`||this._ch===`~`)&&!a&&s===0)this._options.space_around_combinator?(this._output.space_before_token=!0,this.print_string(this._ch),this._output.space_before_token=!0):(this.print_string(this._ch),this.eatWhitespace(),this._ch&&pt.test(this._ch)&&(this._ch=``));else if(this._ch===`]`)this.print_string(this._ch);else if(this._ch===`[`)this.preserveSingleSpace(L),this.print_string(this._ch);else if(this._ch===`=`)this.eatWhitespace(),this.print_string(`=`),pt.test(this._ch)&&(this._ch=``);else if(this._ch===`!`&&!this._input.lookBack(`\\`))this._output.space_before_token=!0,this.print_string(this._ch);else{var Xe=R===`"`||R===`'`;this.preserveSingleSpace(Xe||L),this.print_string(this._ch),!this._output.just_added_newline()&&this._input.peek()===`
30`&&b&&this._output.add_new_line()}return this._output.get_code(e)};xe.exports.Beautifier=j});var Ee=u$9((ds,Ct)=>{"use strict";var Ci=Oe$1().Beautifier,Pi=Lt().Options;function Di(t,e){return new Ci(t,e).beautify()}Ct.exports=Di;Ct.exports.defaultOptions=function(){return new Pi}});var Pt$1=u$9((gs,Re)=>{"use strict";var Te=at$1().Options;function ke(t){Te.call(this,t,`html`),this.templating.length===1&&this.templating[0]===`auto`&&(this.templating=[`django`,`erb`,`handlebars`,`php`]),this.indent_inner_html=this._get_boolean(`indent_inner_html`),this.indent_body_inner_html=this._get_boolean(`indent_body_inner_html`,!0),this.indent_head_inner_html=this._get_boolean(`indent_head_inner_html`,!0),this.indent_handlebars=this._get_boolean(`indent_handlebars`,!0),this.wrap_attributes=this._get_selection(`wrap_attributes`,[`auto`,`force`,`force-aligned`,`force-expand-multiline`,`aligned-multiple`,`preserve`,`preserve-aligned`]),this.wrap_attributes_min_attrs=this._get_number(`wrap_attributes_min_attrs`,2),this.wrap_attributes_indent_size=this._get_number(`wrap_attributes_indent_size`,this.indent_size),this.extra_liners=this._get_array(`extra_liners`,[`head`,`body`,`/html`]),this.inline=this._get_array(`inline`,[`a`,`abbr`,`area`,`audio`,`b`,`bdi`,`bdo`,`br`,`button`,`canvas`,`cite`,`code`,`data`,`datalist`,`del`,`dfn`,`em`,`embed`,`i`,`iframe`,`img`,`input`,`ins`,`kbd`,`keygen`,`label`,`map`,`mark`,`math`,`meter`,`noscript`,`object`,`output`,`progress`,`q`,`ruby`,`s`,`samp`,`select`,`small`,`span`,`strong`,`sub`,`sup`,`svg`,`template`,`textarea`,`time`,`u`,`var`,`video`,`wbr`,`text`,`acronym`,`big`,`strike`,`tt`]),this.inline_custom_elements=this._get_boolean(`inline_custom_elements`,!0),this.void_elements=this._get_array(`void_elements`,[`area`,`base`,`br`,`col`,`embed`,`hr`,`img`,`input`,`keygen`,`link`,`menuitem`,`meta`,`param`,`source`,`track`,`wbr`,`!doctype`,`?xml`,`basefont`,`isindex`]),this.unformatted=this._get_array(`unformatted`,[]),this.content_unformatted=this._get_array(`content_unformatted`,[`pre`,`textarea`]),this.unformatted_content_delimiter=this._get_characters(`unformatted_content_delimiter`),this.indent_scripts=this._get_selection(`
30indent_scripts`,[`normal`,`keep`,`separate`])}ke.prototype=new Te;Re.exports.Options=ke});var Bt=u$9((ms,jt)=>{"use strict";var Ae=Q$1().Tokenizer,Dt=Q$1().TOKEN,ji=ut().Directives,Bi=kt$1().TemplatablePattern,Wi=G$2().Pattern,c={TAG_OPEN:`TK_TAG_OPEN`,TAG_CLOSE:`TK_TAG_CLOSE`,CONTROL_FLOW_OPEN:`TK_CONTROL_FLOW_OPEN`,CONTROL_FLOW_CLOSE:`TK_CONTROL_FLOW_CLOSE`,ATTRIBUTE:`TK_ATTRIBUTE`,EQUALS:`TK_EQUALS`,VALUE:`TK_VALUE`,COMMENT:`TK_COMMENT`,TEXT:`TK_TEXT`,UNKNOWN:`TK_UNKNOWN`,START:Dt.START,RAW:Dt.RAW,EOF:Dt.EOF},Se=new ji(/<\!--/,/-->/),x=function(t,e){Ae.call(this,t,e),this._current_tag_name=``;var i=new Bi(this._input).read_options(this._options),s=new Wi(this._input);if(this.__patterns={word:i.until(/[\n\r\t <]/),word_control_flow_close_excluded:i.until(/[\n\r\t <}]/),single_quote:i.until_after(/'/),double_quote:i.until_after(/"/),attribute:i.until(/[\n\r\t =>]|\/>/),element_name:i.until(/[\n\r\t >\/]/),angular_control_flow_start:s.matching(/\@[a-zA-Z]+[^({]*[({]/),handlebars_comment:s.starting_with(/{{!--/).until_after(/--}}/),handlebars:s.starting_with(/{{/).until_after(/}}/),handlebars_open:s.until(/[\n\r\t }]/),handlebars_raw_close:s.until(/}}/),comment:s.starting_with(/<!--/).until_after(/-->/),cdata:s.starting_with(/<!\[CDATA\[/).until_after(/]]>/),conditional_comment:s.starting_with(/<!\[/).until_after(/]>/),processing:s.starting_with(/<\?/).until_after(/\?>/)},this._options.indent_handlebars&&(this.__patterns.word=this.__patterns.word.exclude(`handlebars`),this.__patterns.word_control_flow_close_excluded=this.__patterns.word_control_flow_close_excluded.exclude(`handlebars`)),this._unformatted_content_delimiter=null,this._options.unformatted_content_delimiter){var _=this._input.get_literal_regexp(this._options.unformatted_content_delimiter);this.__patterns.unformatted_content_delimiter=s.matching(_).until_after(_)}};x.prototype=new Ae;x.prototype._is_comment=function(t){return!1};x.prototype._is_opening=function(t){return t.type===c.TAG_OPEN||t.type===c.CONTROL_FLOW_OPEN};x.prototype._is_closing=function(t,e){return t.type===c.TAG_CLOSE&&e&&((t.text===`>`||t.text===`/>`)&&e.text[0]===`<`||t.text===`}}`&&e.text[0]===`{`&&e.text[1]===`{`)||t.type===c.CONTROL_FLOW_CLOSE&&t.text===`}`&&e.text.endsWith(`{`)};x.prototype._reset=function(){this._current_tag_name=``};x.prototype._get_next_token=function(t,e){var i=null;this._readWhitespace();var s=this._input.peek();return s===null?this._create_token(c.EOF,``):(i=i||this._read_open_handlebars(s,e),i=i||this._read_attribute(s,t,e),i=i||this._read_close(s,e),i=i||this._read_script_and_style(s,t),i=i||this._read_control_flows(s,e),i=i||this._read_raw_content(s,t,e),i=i||this._read_content_word(s,e),i=i||this._read_comment_or_cdata(s),i=i||this._read_processing(s),i=i||this._read_open(s,e),i=i||this._create_token(c.UNKNOWN,this._input.next()),i)};x.prototype._read_comment_or_cdata=function(t){var e=null,i=null,s=null;if(t===`<`)this._input.peek(1)===`!`&&(i=this.__patterns.comment.read(),i?(s=Se.get_directives(i),s&&s.ignore===`start`&&(i+=Se.readIgnored(this._input))):i=this.__patterns.cdata.read()),i&&(e=this._create_token(c.COMMENT,i),e.directives=s);return e};x.prototype._read_processing=function(t){var e=null,i=null,s=null;if(t===`<`){var _=this._input.peek(1);(_===`!`||_===`?`)&&(i=this.__patterns.conditional_comment.read(),i=i||this.__patterns.processing.read()),i&&(e=this._create_token(c.COMMENT,i),e.directives=s)}return e};x.prototype._read_open=function(t,e){var i=null,s=null;return(!e||e.type===c.CONTROL_FLOW_OPEN)&&t===`<`&&(i=this._input.next(),this._input.peek()===`/`&&(i+=this._input.next()),i+=this.__patterns.element_name.read(),s=this._create_token(c.TAG_OPEN,i)),s};x.prototype._read_open_handlebars=function(t,e){var i=null,s=null;return(!e||e.type===c.CONTROL_FLOW_OPEN)&&(this._options.templating.includes(`angular`)||this._options.indent_handlebars)&&t===`{`&&this._input.peek(1)===`{`&&(this._options.indent_handlebars&&this._input.peek(2)===`!`?(i=this.__patterns.handlebars_comment.read(),i=i||this.__patterns.handlebars.read(),s=this._create_token(c.COMMENT,i)):(i=this.__patterns.handlebars_open.read(),s=this._create_token(c.TAG_OPEN,i))),s};x.prototype._read_control_flows=function(t,e){var i=``,s=null;if(!this._options.templating.includes(`angular`))return s;if(t===`@`){if(i=this.__patterns.angular_control_flow_start.read(),i===``)return s;for(var _=i.endsWith(`(`)?1:0,a=0;!(i.endsWith(`{`)&&_===a);){var r=this._input.next();if(r===null)break;r===`(`?_++:r===`)`&&a++,i+=r}s=this._create_token(c.CONTROL_FLOW_OPEN,i)}else t===`}`&&e&&e.type===c.CONTROL_FLOW_OPEN&&(i=this._input.next(),s=this._create_token(c.CONTROL_FLOW_CLOSE,i));return s};x.prototype._read_close=function(t,e){var i=null,s=null;return e&&e.type===c.TAG_OPEN&&(e.text[0]===`<`&&(t===`>`||t===`/`&&this._input.peek(1)===`>`)?(i=this._input.next(),t===`/`&&(i+=this._input.next()),s=this._create_token(c.TAG_CLOSE,i)):e.text[0]===`{`&&t===`}`&&this._input.peek(1)===`}`&&(this._input.next(),this._input.next(),s=this._create_token(c.TAG_CLOSE,`}}`))),s};
vendor: 17,079 bytes, lines 30-40
30x.prototype._read_attribute=function(t,e,i){var s=null,_=``;if(i&&i.text[0]===`<`)if(t===`=`)s=this._create_token(c.EQUALS,this._input.next());else if(t===`"`||t===`'`){var a=this._input.next();t===`"`?a+=this.__patterns.double_quote.read():a+=this.__patterns.single_quote.read(),s=this._create_token(c.VALUE,a)}else _=this.__patterns.attribute.read(),_&&(e.type===c.EQUALS?s=this._create_token(c.VALUE,_):s=this._create_token(c.ATTRIBUTE,_));return s};x.prototype._is_content_unformatted=function(t){return this._options.void_elements.indexOf(t)===-1&&(this._options.content_unformatted.indexOf(t)!==-1||this._options.unformatted.indexOf(t)!==-1)};x.prototype._read_raw_content=function(t,e,i){var s=``;if(i&&i.text[0]===`{`)s=this.__patterns.handlebars_raw_close.read();else if(e.type===c.TAG_CLOSE&&e.opened.text[0]===`<`&&e.text[0]!==`/`){var _=e.opened.text.substr(1).toLowerCase();this._is_content_unformatted(_)&&(s=this._input.readUntil(new RegExp(`</`+_+`[\\n\\r\\t ]*?>`,`ig`)))}return s?this._create_token(c.TEXT,s):null};x.prototype._read_script_and_style=function(t,e){if(e.type===c.TAG_CLOSE&&e.opened.text[0]===`<`&&e.text[0]!==`/`){var i=e.opened.text.substr(1).toLowerCase();if(i===`script`||i===`style`){var s=this._read_comment_or_cdata(t);if(s)return s.type=c.TEXT,s;var _=this._input.readUntil(new RegExp(`</`+i+`[\\n\\r\\t ]*?>`,`ig`));if(_)return this._create_token(c.TEXT,_)}}return null};x.prototype._read_content_word=function(t,e){var i=``;return this._options.unformatted_content_delimiter&&t===this._options.unformatted_content_delimiter[0]&&(i=this.__patterns.unformatted_content_delimiter.read()),i||(i=e&&e.type===c.CONTROL_FLOW_OPEN?this.__patterns.word_control_flow_close_excluded.read():this.__patterns.word.read()),i?this._create_token(c.TEXT,i):null};jt.exports.Tokenizer=x;jt.exports.TOKEN=c});var Pe=u$9((bs,Ce)=>{"use strict";var Ii=Pt$1().Options,Mi=_t$1().Output,Ki=Bt().Tokenizer,d=Bt().TOKEN,Ne=/\r\n|[\r\n]/,zi=/\r\n|[\r\n]/g,k=function(t,e){this.indent_level=0,this.alignment_size=0,this.max_preserve_newlines=t.max_preserve_newlines,this.preserve_newlines=t.preserve_newlines,this._output=new Mi(t,e)};k.prototype.current_line_has_match=function(t){return this._output.current_line.has_match(t)};k.prototype.set_space_before_token=function(t,e){this._output.space_before_token=t,this._output.non_breaking_space=e};k.prototype.set_wrap_point=function(){this._output.set_indent(this.indent_level,this.alignment_size),this._output.set_wrap_point()};k.prototype.add_raw_token=function(t){this._output.add_raw_token(t)};k.prototype.print_preserved_newlines=function(t){var e=0;t.type!==d.TEXT&&t.previous.type!==d.TEXT&&(e=t.newlines?1:0),this.preserve_newlines&&(e=t.newlines<this.max_preserve_newlines+1?t.newlines:this.max_preserve_newlines+1);for(var i=0;i<e;i++)this.print_newline(i>0);return e!==0};k.prototype.traverse_whitespace=function(t){return t.whitespace_before||t.newlines?(this.print_preserved_newlines(t)||(this._output.space_before_token=!0),!0):!1};k.prototype.previous_token_wrapped=function(){return this._output.previous_token_wrapped};k.prototype.print_newline=function(t){this._output.add_new_line(t)};k.prototype.print_token=function(t){t.text&&(this._output.set_indent(this.indent_level,this.alignment_size),this._output.add_token(t.text))};k.prototype.indent=function(){this.indent_level++};k.prototype.deindent=function(){this.indent_level>0&&(this.indent_level--,this._output.set_indent(this.indent_level,this.alignment_size))};k.prototype.get_full_indent=function(t){return t=this.indent_level+(t||0),t<1?``:this._output.get_indent_string(t)};var Ui=function(t){for(var e=null,i=t.next;i.type!==d.EOF&&t.closed!==i;){if(i.type===d.ATTRIBUTE&&i.text===`type`){i.next&&i.next.type===d.EQUALS&&i.next.next&&i.next.next.type===d.VALUE&&(e=i.next.next.text);break}i=i.next}return e},qi=function(t,e){var i=null,s=null;return e.closed?(t===`script`?i=`text/javascript`:t===`style`&&(i=`text/css`),i=Ui(e)||i,i.search(`text/css`)>-1?s=`css`:i.search(/module|((text|application|dojo)\/(x-)?(javascript|ecmascript|jscript|livescript|(ld\+)?json|method|aspect))/)>-1?s=`javascript`:i.search(/(text|application|dojo)\/(x-)?(html)/)>-1?s=`html`:i.search(/test\/null/)>-1&&(s=`null`),s):null};function it(t,e){return e.indexOf(t)!==-1}function Xi(t,e,i){this.parent=t||null,this.tag=e?e.tag_name:``,this.indent_level=i||0,this.parser_token=e||null}function U(t){this._printer=t,this._current_frame=null}U.prototype.get_parser_token=function(){return this._current_frame?this._current_frame.parser_token:null};U.prototype.record_tag=function(t){var e=new Xi(this._current_frame,t,this._printer.indent_level);this._current_frame=e};U.prototype._try_pop_frame=function(t){var e=null;return t&&(e=t.parser_token,this._printer.indent_level=t.indent_level,this._current_frame=t.parent),e};U.prototype._get_frame=function(t,e){for(var i=this._current_frame;i&&t.indexOf(i.tag)===-1;){if(e&&e.indexOf(i.tag)!==-1){i=null;break}i=i.parent}return i};U.prototype.try_pop=function(t,e){var i=this._get_frame([t],e);return this._try_pop_frame(i)};U.prototype.indent_to_tag=function(t){var e=this._get_frame(t);e&&(this._printer.indent_level=e.indent_level)};function T(t,e,i,s){this._source_text=t||``,e=e||{},this._js_beautify=i,this._css_beautify=s,this._tag_stack=null;var _=new Ii(e,`html`);this._options=_,this._is_wrap_attributes_force=this._options.wrap_attributes.substr(0,5)===`force`,this._is_wrap_attributes_force_expand_multiline=this._options.wrap_attributes===`force-expand-multiline`,this._is_wrap_attributes_force_aligned=this._options.wrap_attributes===`force-aligned`,this._is_wrap_attributes_aligned_multiple=this._options.wrap_attributes===`aligned-multiple`,this._is_wrap_attributes_preserve=this._options.wrap_attributes.substr(0,8)===`preserve`,this._is_wrap_attributes_preserve_aligned=this._options.wrap_attributes===`preserve-aligned`}T.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var t=this._source_text,e=this._options.eol;this._options.eol===`auto`&&(e=`
31`,t&&Ne.test(t)&&(e=t.match(Ne)[0])),t=t.replace(zi,`
32`);var i=t.match(/^[\t ]*/)[0],s={text:``,type:``},_=new Le(this._options),a=new k(this._options,i),r=new Ki(t,this._options).tokenize();this._tag_stack=new U(a);for(var p=null,h=r.next();h.type!==d.EOF;)h.type===d.TAG_OPEN||h.type===d.COMMENT?(p=this._handle_tag_open(a,h,_,s,r),_=p):h.type===d.ATTRIBUTE||h.type===d.EQUALS||h.type===d.VALUE||h.type===d.TEXT&&!_.tag_complete?p=this._handle_inside_tag(a,h,_,s):h.type===d.TAG_CLOSE?p=this._handle_tag_close(a,h,_):h.type===d.TEXT?p=this._handle_text(a,h,_):h.type===d.CONTROL_FLOW_OPEN?p=this._handle_control_flow_open(a,h):h.type===d.CONTROL_FLOW_CLOSE?p=this._handle_control_flow_close(a,h):a.add_raw_token(h),s=p,h=r.next();return a._output.get_code(e)};T.prototype._handle_control_flow_open=function(t,e){var i={text:e.text,type:e.type};return t.set_space_before_token(e.newlines||e.whitespace_before!==``,!0),e.newlines?t.print_preserved_newlines(e):t.set_space_before_token(e.newlines||e.whitespace_before!==``,!0),t.print_token(e),t.indent(),i};T.prototype._handle_control_flow_close=function(t,e){var i={text:e.text,type:e.type};return t.deindent(),e.newlines?t.print_preserved_newlines(e):t.set_space_before_token(e.newlines||e.whitespace_before!==``,!0),t.print_token(e),i};T.prototype._handle_tag_close=function(t,e,i){var s={text:e.text,type:e.type};return t.alignment_size=0,i.tag_complete=!0,t.set_space_before_token(e.newlines||e.whitespace_before!==``,!0),i.is_unformatted?t.add_raw_token(e):(i.tag_start_char===`<`&&(t.set_space_before_token(e.text[0]===`/`,!0),this._is_wrap_attributes_force_expand_multiline&&i.has_wrapped_attrs&&t.print_newline(!1)),t.print_token(e)),i.indent_content&&!(i.is_unformatted||i.is_content_unformatted)&&(t.indent(),i.indent_content=!1),!i.is_inline_element&&!(i.is_unformatted||i.is_content_unformatted)&&t.set_wrap_point(),s};T.prototype._handle_inside_tag=function(t,e,i,s){var _=i.has_wrapped_attrs,a={text:e.text,type:e.type};return t.set_space_before_token(e.newlines||e.whitespace_before!==``,!0),i.is_unformatted?t.add_raw_token(e):i.tag_start_char===`{`&&e.type===d.TEXT?t.print_preserved_newlines(e)?(e.newlines=0,t.add_raw_token(e)):t.print_token(e):(e.type===d.ATTRIBUTE?t.set_space_before_token(!0):(e.type===d.EQUALS||e.type===d.VALUE&&e.previous.type===d.EQUALS)&&t.set_space_before_token(!1),e.type===d.ATTRIBUTE&&i.tag_start_char===`<`&&((this._is_wrap_attributes_preserve||this._is_wrap_attributes_preserve_aligned)&&(t.traverse_whitespace(e),_=_||e.newlines!==0),this._is_wrap_attributes_force&&i.attr_count>=this._options.wrap_attributes_min_attrs&&(s.type!==d.TAG_OPEN||this._is_wrap_attributes_force_expand_multiline)&&(t.print_newline(!1),_=!0)),t.print_token(e),_=_||t.previous_token_wrapped(),i.has_wrapped_attrs=_),a};T.prototype._handle_text=function(t,e,i){var s={text:e.text,type:`TK_CONTENT`};return i.custom_beautifier_name?this._print_custom_beatifier_text(t,e,i):i.is_unformatted||i.is_content_unformatted?t.add_raw_token(e):(t.traverse_whitespace(e),t.print_token(e)),s};T.prototype._print_custom_beatifier_text=function(t,e,i){var s=this;if(e.text!==``){var _=e.text,a,r=1,p=``,h=``;i.custom_beautifier_name===`javascript`&&typeof this._js_beautify==`function`?a=this._js_beautify:i.custom_beautifier_name===`css`&&typeof this._css_beautify==`function`?a=this._css_beautify:i.custom_beautifier_name===`html`&&(a=function(F,st){return new T(F,st,s._js_beautify,s._css_beautify).beautify()}),this._options.indent_scripts===`keep`?r=0:this._options.indent_scripts===`separate`&&(r=-t.indent_level);var E=t.get_full_indent(r);if(_=_.replace(/\n[ \t]*$/,``),i.custom_beautifier_name!==`html`&&_[0]===`<`&&_.match(/^(<!--|<!\[CDATA\[)/)){var b=/^(<!--[^\n]*|<!\[CDATA\[)(\n?)([ \t\n]*)([\s\S]*)(-->|]]>)$/.exec(_);if(!b){t.add_raw_token(e);return}p=E+b[1]+`
33`,_=b[4],b[5]&&(h=E+b[5]),_=_.replace(/\n[ \t]*$/,``),(b[2]||b[3].indexOf(`
34`)!==-1)&&(b=b[3].match(/[ \t]+$/),b&&(e.whitespace_before=b[0]))}if(_)if(a){var B=function(){this.eol=`
35`};B.prototype=this._options.raw_options;var L=new B;_=a(E+_,L)}else{var R=e.whitespace_before;R&&(_=_.replace(new RegExp(`
36(`+R+`)?`,`g`),`
37`)),_=E+_.replace(/\n/g,`
38`+E)}p&&(_?_=p+_+`
39`+h:_=p+h),t.print_newline(!1),_&&(e.text=_,e.whitespace_before=``,e.newlines=0,t.add_raw_token(e),t.print_newline(!0))}};T.prototype._handle_tag_open=function(t,e,i,s,_){var a=this._get_tag_open_token(e);if((i.is_unformatted||i.is_content_unformatted)&&!i.is_empty_element&&e.type===d.TAG_OPEN&&!a.is_start_tag?(t.add_raw_token(e),a.start_tag_token=this._tag_stack.try_pop(a.tag_name)):(t.traverse_whitespace(e),this._set_tag_position(t,e,a,i,s),a.is_inline_element||t.set_wrap_point(),t.print_token(e)),a.is_start_tag&&this._is_wrap_attributes_force){var r=0,p;do p=_.peek(r),p.type===d.ATTRIBUTE&&(a.attr_count+=1),r+=1;while(p.type!==d.EOF&&p.type!==d.TAG_CLOSE)}return(this._is_wrap_attributes_force_aligned||this._is_wrap_attributes_aligned_multiple||this._is_wrap_attributes_preserve_aligned)&&(a.alignment_size=e.text.length+1),!a.tag_complete&&!a.is_unformatted&&(t.alignment_size=a.alignment_size),a};var Le=function(t,e,i){if(this.parent=e||null,this.text=``,this.type=`TK_TAG_OPEN`,this.tag_name=``,this.is_inline_element=!1,this.is_unformatted=!1,this.is_content_unformatted=!1,this.is_empty_element=!1,this.is_start_tag=!1,this.is_end_tag=!1,this.indent_content=!1,this.multiline_content=!1,this.custom_beautifier_name=null,this.start_tag_token=null,this.attr_count=0,this.has_wrapped_attrs=!1,this.alignment_size=0,this.tag_complete=!1,this.tag_start_char=``,this.tag_check=``,!i)this.tag_complete=!0;else{var s;this.tag_start_char=i.text[0],this.text=i.text,this.tag_start_char===`<`?(s=i.text.match(/^<([^\s>]*)/),this.tag_check=s?s[1]:``):(s=i.text.match(/^{{~?(?:[\^]|#\*?)?([^\s}]+)/),this.tag_check=s?s[1]:``,(i.text.startsWith(`{{#>`)||i.text.startsWith(`{{~#>`))&&this.tag_check[0]===`>`&&(this.tag_check===`>`&&i.next!==null?this.tag_check=i.next.text.split(` `)[0]:this.tag_check=i.text.split(`>`)[1])),this.tag_check=this.tag_check.toLowerCase(),i.type===d.COMMENT&&(this.tag_complete=!0),this.is_start_tag=this.tag_check.charAt(0)!==`/`,this.tag_name=this.is_start_tag?this.tag_check:this.tag_check.substr(1),this.is_end_tag=!this.is_start_tag||i.closed&&i.closed.text===`/>`;var _=2;this.tag_start_char===`{`&&this.text.length>=3&&this.text.charAt(2)===`~`&&(_=3),this.is_end_tag=this.is_end_tag||this.tag_start_char===`{`&&(!t.indent_handlebars||this.text.length<3||/[^#\^]/.test(this.text.charAt(_)))}};T.prototype._get_tag_open_token=function(t){var e=new Le(this._options,this._tag_stack.get_parser_token(),t);return e.alignment_size=this._options.wrap_attributes_indent_size,e.is_end_tag=e.is_end_tag||it(e.tag_check,this._options.void_elements),e.is_empty_element=e.tag_complete||e.is_start_tag&&e.is_end_tag,e.is_unformatted=!e.tag_complete&&it(e.tag_check,this._options.unformatted),e.is_content_unformatted=!e.is_empty_element&&it(e.tag_check,this._options.content_unformatted),e.is_inline_element=it(e.tag_name,this._options.inline)||this._options.inline_custom_elements&&e.tag_name.includes(`-`)||e.tag_start_char===`{`,e};T.prototype._set_tag_position=function(t,e,i,s,_){if(i.is_empty_element||(i.is_end_tag?i.start_tag_token=this._tag_stack.try_pop(i.tag_name):(this._do_optional_end_element(i)&&(i.is_inline_element||t.print_newline(!1)),this._tag_stack.record_tag(i),(i.tag_name===`script`||i.tag_name===`style`)&&!(i.is_unformatted||i.is_content_unformatted)&&(i.custom_beautifier_name=qi(i.tag_check,e)))),it(i.tag_check,this._options.extra_liners)&&(t.print_newline(!1),t._output.just_added_blankline()||t.print_newline(!0)),i.is_empty_element){if(i.tag_start_char===`{`&&i.tag_check===`else`){this._tag_stack.indent_to_tag([`if`,`unless`,`each`]),i.indent_content=!0;t.current_line_has_match(/{{#if/)||t.print_newline(!1)}i.tag_name===`!--`&&_.type===d.TAG_CLOSE&&s.is_end_tag&&i.text.indexOf(`
40`)===-1||(i.is_inline_element||i.is_unformatted||t.print_newline(!1),this._calcluate_parent_multiline(t,i))}else if(i.is_end_tag){var r=!1;r=i.start_tag_token&&i.start_tag_token.multiline_content,r=r||!i.is_inline_element&&!(s.is_inline_element||s.is_unformatted)&&!(_.type===d.TAG_CLOSE&&i.start_tag_token===s)&&_.type!==`TK_CONTENT`,(i.is_content_unformatted||i.is_unformatted)&&(r=!1),r&&t.print_newline(!1)}else i.indent_content=!i.custom_beautifier_name,i.tag_start_char===`<`&&(i.tag_name===`html`?i.indent_content=this._options.indent_inner_html:i.tag_name===`head`?i.indent_content=this._options.indent_head_inner_html:i.tag_name===`body`&&(i.indent_content=this._options.indent_body_inner_html)),!(i.is_inline_element||i.is_unformatted)&&(_.type!==`TK_CONTENT`||i.is_content_unformatted)&&t.print_newline(!1),this._calcluate_parent_multiline(t,i)};T.prototype._calcluate_parent_multiline=function(t,e){e.parent&&t._output.just_added_newline()&&!((e.is_inline_element||e.is_unformatted)&&e.parent.is_inline_element)&&(e.parent.multiline_content=!0)};var Fi=[`address`,`article`,`aside`,`blockquote`,`details`,`div`,`dl`,`fieldset`,`figcaption`,`figure`,`footer`,`form`,`h1`,`h2`,`h3`,`h4`,`h5`,`h6`,`header`,`hr`,`main`,`menu`,`nav`,`ol`,`p`,`pre`,`section`,`table`,`ul`],Vi=[`a`,`audio`,`del`,`ins`,`map`,`noscript`,`video`];T.prototype._do_optional_end_element=function(t){var e=null;if(!(t.is_empty_element||!t.is_start_tag||!t.parent)){if(t.tag_name===`body`)e=e||this._tag_stack.try_pop(`head`);else if(t.tag_name===`li`)e=e||this._tag_stack.try_pop(`li`,[`ol`,`ul`,`menu`]);else if(t.tag_name===`dd`||t.tag_name===`dt`)e=e||this._tag_stack.try_pop(`dt`,[`dl`]),e=e||this._tag_stack.try_pop(`dd`,[`dl`]);else if(t.parent.tag_name===`p`&&Fi.indexOf(t.tag_name)!==-1){var i=t.parent.parent;(!i||Vi.indexOf(i.tag_name)===-1)&&(e=e||this._tag_stack.try_pop(`p`))}else t.tag_name===`rp`||t.tag_name===`rt`?(e=e||this._tag_stack.try_pop(`rt`,[`ruby`,`rtc`]),e=e||this._tag_stack.try_pop(`rp`,[`ruby`,`rtc`])):t.tag_name===`optgroup`?e=e||this._tag_stack.try_pop(`optgroup`,[`select`]):t.tag_name===`option`?e=e||this._tag_stack.try_pop(`option`,[`select`,`datalist`,`optgroup`]):t.tag_name===`colgroup`?e=e||this._tag_stack.try_pop(`caption`,[`table`]):t.tag_name===`thead`?(e=e||this._tag_stack.try_pop(`caption`,[`table`]),e=e||this._tag_stack.try_pop(`colgroup`,[`table`])):t.tag_name===`tbody`||t.tag_name===`tfoot`?(e=e||this._tag_stack.try_pop(`caption`,[`table`]),e=e||this._tag_stack.try_pop(`colgroup`,[`table`]),e=e||this._tag_stack.try_pop(`thead`,[`table`]),e=e||this._tag_stack.try_pop(`tbody`,[`table`])):t.tag_name===`tr`?(e=e||this._tag_stack.try_pop(`caption`,[`table`]),e=e||this._tag_stack.try_pop(`colgroup`,[`table`]),e=e||this._tag_stack.try_pop(`tr`,[`table`,`thead`,`tbody`,`tfoot`])):(t.tag_name===`th`||t.tag_name===`td`)&&(e=e||this._tag_stack.try_pop(`td`,[`table`,`thead`,`tbody`,`tfoot`,`tr`]),e=e||this._tag_stack.try_pop(`th`,[`table`,`thead`,`tbody`,`tfoot`,`tr`]));return t.parent=this._tag_stack.get_parser_token(),e}};
40Ce.exports.Beautifier=T});var De$1=u$9((ys,Wt)=>{"use strict";var Gi=Pe().Beautifier,$i=Pt$1().Options;function Qi(t,e,i,s){return new Gi(t,e,i,s).beautify()}Wt.exports=Qi;Wt.exports.defaultOptions=function(){return new $i}});var Me$1=u$9((vs,ft)=>{"use strict";var je=ge$2(),Be=Ee(),We=De$1();function Ie(t,e,i,s){return i=i||je,s=s||Be,We(t,e,i,s)}Ie.defaultOptions=We.defaultOptions;ft.exports.js=je;ft.exports.css=Be;ft.exports.html=Ie});var ct$2=w$6(u$9((ws,ze)=>{"use strict";function Ke(t,e,i){var s=function(_,a){return t.js_beautify(_,a)};return s.js=t.js_beautify,s.css=e.css_beautify,s.html=i.html_beautify,s.js_beautify=t.js_beautify,s.css_beautify=e.css_beautify,s.html_beautify=i.html_beautify,s}typeof define==`function`&&define.amd?define([`./lib/beautify`,`./lib/beautify-css`,`./lib/beautify-html`],function(t,e,i){return Ke(t,e,i)}):(function(t){var e=Me$1();e.js_beautify=e.js,e.css_beautify=e.css,e.html_beautify=e.html,t.exports=Ke(e,e,e)})(ze)})());var Ji=ct$2.default.html;var Yi=ct$2.default.css;var ks=(()=>{class t{constructor(){this.logger=T$9(G$4)}static{this.SPACES=2}isSupported(i){return[`json`,`xml`,`html`,`javascript`,`css`].includes(i)}format(i,s){switch(i){case`json`:return this.formatJSON(s);case`xml`:return this.formatXML(s);case`html`:return this.formatHTML(s);case`javascript`:return this.formatJS(s);case`css`:return this.formatCSS(s)}return s}formatJSON(i){try{return JSON.stringify(JSON.parse(i),null,t.SPACES)}catch(s){return this.logger.error(`FormatterService`,s),i}}formatXML(i){return this.formatHTML(i)}formatHTML(i){return Ji(i,{preserve_newlines:!1,indent_size:t.SPACES})}formatJS(i){return(0,ct$2.default)(i,{preserve_newlines:!1,indent_size:t.SPACES})}formatCSS(i){return Yi(i,{preserve_newlines:!1,indent_size:t.SPACES})}static{this.ɵfac=function(s){return new(s||t)}}static{this.ɵprov=ce$3({token:t,factory:t.ɵfac,providedIn:`root`})}}return t})();var he$2=u$9((ke,ce)=>{"use strict";(function(){var R=`ace`,E=(function(){return this})();if(!E&&typeof window<`u`&&(E=window),!R&&typeof requirejs<`u`)return;
40var F=function(r,o,i){if(typeof r!=`string`){F.original?F.original.apply(this,arguments):(console.error(`dropping module because define wasn't a string.`),console.trace());return}arguments.length==2&&(i=o),F.modules[r]||(F.payloads[r]=i,F.modules[r]=null)};F.modules={},F.payloads={};var k=function(r,o,i){if(typeof o==`string`){var t=a(r,o);if(t!=null)return i&&i(),t}else if(Object.prototype.toString.call(o)===`[object Array]`){for(var e=[],n=0,s=o.length;n<s;++n){var d=a(r,o[n]);if(d==null&&L.original)return;e.push(d)}return i&&i.apply(null,e)||!0}},L=function(r,o){var i=k(``,r,o);return i==null&&L.original?L.original.apply(this,arguments):i},M=function(r,o){if(o.indexOf(`!`)!==-1){var i=o.split(`!`);return M(r,i[0])+`!`+M(r,i[1])}if(o.charAt(0)==`.`)for(o=r.split(`/`).slice(0,-1).join(`/`)+`/`+o;o.indexOf(`.`)!==-1&&e!=o;){var e=o;o=o.replace(/\/\.\//,`/`).replace(/[^\/]+\/\.\.\//,``)}return o},a=function(r,o){o=M(r,o);var i=F.modules[o];if(!i){if(i=F.payloads[o],typeof i==`function`){var t={},e={id:o,uri:``,exports:t,packaged:!0},n=function(d,g){return k(o,d,g)};t=i(n,t,e)||e.exports,F.modules[o]=t,delete F.payloads[o]}i=F.modules[o]=t||i}return i};function l(r){var o=E;r&&(E[r]||(E[r]={}),o=E[r]),(!o.define||!o.define.packaged)&&(F.original=o.define,o.define=F,o.define.packaged=!0),(!o.require||!o.require.packaged)&&(L.original=o.require,o.require=L,o.require.packaged=!0)}l(R)})();ace.define(`ace/lib/es6-shim`,[`require`,`exports`,`module`],function(R,E,F){function k(L,M,a){Object.defineProperty(L,M,{value:a,enumerable:!1,writable:!0,configurable:!0})}String.prototype.startsWith||k(String.prototype,`startsWith`,function(L,M){return M=M||0,this.lastIndexOf(L,M)===M}),String.prototype.endsWith||k(String.prototype,`endsWith`,function(L,M){var a=this;(M===void 0||M>a.length)&&(M=a.length),M-=L.length;var l=a.indexOf(L,M);return l!==-1&&l===M}),String.prototype.repeat||k(String.prototype,`repeat`,function(L){for(var M=``,a=this;L>0;)L&1&&(M+=a),(L>>=1)&&(a+=a);return M}),String.prototype.includes||k(String.prototype,`includes`,function(L,M){return this.indexOf(L,M)!=-1}),Object.assign||(Object.assign=function(L){if(L==null)throw new TypeError(`Cannot convert undefined or null to object`);for(var M=Object(L),a=1;a<arguments.length;a++){var l=arguments[a];l!=null&&Object.keys(l).forEach(function(r){M[r]=l[r]})}return M}),Object.values||(Object.values=function(L){return Object.keys(L).map(function(M){return L[M]})}),Array.prototype.find||k(Array.prototype,`find`,function(L){for(var M=this.length,a=arguments[1],l=0;l<M;l++){var r=this[l];if(L.call(a,r,l,this))return r}}),Array.prototype.findIndex||k(Array.prototype,`findIndex`,function(L){for(var M=this.length,a=arguments[1],l=0;l<M;l++){var r=this[l];if(L.call(a,r,l,this))return l}}),Array.prototype.includes||k(Array.prototype,`includes`,function(L,M){return this.indexOf(L,M)!=-1}),Array.prototype.fill||k(Array.prototype,`fill`,function(L){for(var M=this,a=M.length>>>0,r=arguments[1]>>0,o=r<0?Math.max(a+r,0):Math.min(r,a),i=arguments[2],t=i===void 0?a:i>>0,e=t<0?Math.max(a+t,0):Math.min(t,a);o<e;)M[o]=L,o++;return M}),Array.of||k(Array,`of`,function(){return Array.prototype.slice.call(arguments)})});ace.define(`ace/lib/fixoldbrowsers`,[`require`,`exports`,`module`,`ace/lib/es6-shim`],function(R,E,F){"use strict";R(`./es6-shim`)});ace.define(`ace/lib/deep_copy`,[`require`,`exports`,`module`],function(R,E,F){E.deepCopy=function k(L){if(typeof L!=`object`||!L)return L;var M;if(Array.isArray(L)){M=[];for(var a=0;a<L.length;a++)M[a]=k(L[a]);return M}if(Object.prototype.toString.call(L)!==`[object Object]`)return L;M={};for(var a in L)M[a]=k(L[a]);return M}});ace.define(`ace/lib/lang`,[`require`,`exports`,`module`,`ace/lib/deep_copy`],function(R,E,F){"use strict";E.last=function(M){return M[M.length-1]},E.stringReverse=function(M){return M.split(``).reverse().join(``)},E.stringRepeat=function(M,a){for(var l=``;a>0;)a&1&&(l+=M),(a>>=1)&&(M+=M);return l};var k=/^\s\s*/,L=/\s\s*$/;E.stringTrimLeft=function(M){return M.replace(k,``)},E.stringTrimRight=function(M){return M.replace(L,``)},E.copyObject=function(M){var a={};for(var l in M)a[l]=M[l];return a},E.copyArray=function(M){for(var a=[],l=0,r=M.length;l<r;l++)M[l]&&typeof M[l]==`object`?a[l]=this.copyObject(M[l]):a[l]=M[l];return a},E.deepCopy=R(`./deep_copy`).deepCopy,E.arrayToMap=function(M){for(var a={},l=0;l<M.length;l++)a[M[l]]=1;return a},E.createMap=function(M){var a=Object.create(null);for(var l in M)a[l]=M[l];return a},E.arrayRemove=function(M,a){for(var l=0;l<=M.length;l++)a===M[l]&&M.splice(l,1)},E.escapeRegExp=function(M){return M.replace(/([.*+?^${}()|[\]\/\\])/g,`\\$1`)},E.escapeHTML=function(M){return(``+M).replace(/&/g,`&#38;`).replace(/"/g,`&#34;`).replace(/'/g,`&#39;`).replace(/</g,`&#60;`)},E.getMatchOffsets=function(M,a){var l=[];return M.replace(a,function(r){l.push({offset:arguments[arguments.length-2],length:r.length})}),l},E.deferredCall=function(M){var a=null,l=function(){a=null,M()},r=function(o){return r.cancel(),a=setTimeout(l,o||0),r};return r.schedule=r,r.call=function(){return this.cancel(),M(),r},r.cancel=function(){return clearTimeout(a),a=null,r},r.isPending=function(){return a},r},E.delayedCall=function(M,a){var l=null,r=function(){l=null,M()},o=function(i){l??=setTimeout(r,i||a)};return o.delay=function(i){l&&clearTimeout(l),l=setTimeout(r,i||a)},o.schedule=o,o.call=function(){this.cancel(),M()},o.cancel=function(){l&&clearTimeout(l),l=null},o.isPending=function(){return l},o},E.supportsLookbehind=function(){return!0},E.skipEmptyMatch=function(M,a,l){return l&&M.codePointAt(a)>65535?2:1}});ace.define(`ace/lib/useragent`,[`require`,`exports`,`module`],function(R,E,F){"use strict";E.OS={LINUX:`LINUX`,MAC:`MAC`,WINDOWS:`WINDOWS`},E.getOS=function(){return E.isMac?E.OS.MAC:E.isLinux?E.OS.LINUX:E.OS.WINDOWS};var k=typeof navigator==`object`?navigator:{},L=(/mac|win|linux/i.exec(k.platform)||[`other`])[0].toLowerCase(),M=k.userAgent||``,a=k.appName||``;E.isWin=L==`win`,E.isMac=L==`mac`,E.isLinux=L==`linux`,E.isIE=a==`Microsoft Internet Explorer`||a.indexOf(`MSAppHost`)>=0?parseFloat((M.match(/(?:MSIE |Trident\/[0-9]+[\.0-9]+;.*rv:)([0-9]+[\.0-9]+)/)||[])[1]):parseFloat((M.match(/(?:Trident\/[0-9]+[\.0-9]+;.*rv:)([0-9]+[\.0-9]+)/)||[])[1]),E.isOldIE=E.isIE&&E.isIE<9,E.isGecko=E.isMozilla=M.match(/ Gecko\/\d+/),E.isOpera=typeof opera==`object`&&Object.prototype.toString.call(window.opera)==`[object Opera]`,E.isWebKit=parseFloat(M.split(`WebKit/`)[1])||void 0,E.isChrome=parseFloat(M.split(` Chrome/`)[1])||void 0,E.isSafari=parseFloat(M.split(` Safari/`)[1])&&!E.isChrome||void 0,E.isEdge=parseFloat(M.split(` Edge/`)[1])||void 0,E.isAIR=M.indexOf(`AdobeAIR`)>=0,E.isAndroid=M.indexOf(`Android`)>=0,E.isChromeOS=M.indexOf(` CrOS `)>=0,E.isIOS=/iPad|iPhone|iPod/.test(M)&&!window.MSStream,E.isIOS&&(E.isMac=!0),E.isMobile=E.isIOS||E.isAndroid});ace.define(`ace/lib/dom`,[`require`,`exports`,`module`,`ace/lib/useragent`],function(R,E,F){"use strict";var k=R(`./useragent`),L=`http://www.w3.org/1999/xhtml`;E.buildDom=function i(t,e,n){if(typeof t==`string`&&t){var s=document.createTextNode(t);return e&&e.appendChild(s),s}if(!Array.isArray(t))return t&&t.appendChild&&e&&e.appendChild(t),t;if(typeof t[0]!=`string`||!t[0]){for(var d=[],g=0;g<t.length;g++){var $=i(t[g],e,n);$&&d.push($)}return d}var v=document.createElement(t[0]),b=t[1],u=1;b&&typeof b==`object`&&!Array.isArray(b)&&(u=2);for(var g=u;g<t.length;g++)i(t[g],v,n);return u==2&&Object.keys(b).forEach(function(h){var y=b[h];h===`class`?v.className=Array.isArray(y)?y.join(` `):y:typeof y==`function`||h==`value`||h[0]==`$`?v[h]=y:
40h===`ref`?n&&(n[y]=v):h===`style`?typeof y==`string`&&(v.style.cssText=y):y!=null&&v.setAttribute(h,y)}),e&&e.appendChild(v),v},E.getDocumentHead=function(i){return i||(i=document),i.head||i.getElementsByTagName(`head`)[0]||i.documentElement},E.createElement=function(i,t){return document.createElementNS?document.createElementNS(t||L,i):document.createElement(i)},E.removeChildren=function(i){i.innerHTML=``},E.createTextNode=function(i,t){return(t?t.ownerDocument:document).createTextNode(i)},E.createFragment=function(i){return(i?i.ownerDocument:document).createDocumentFragment()},E.hasCssClass=function(i,t){return(i.className+``).split(/\s+/g).indexOf(t)!==-1},E.addCssClass=function(i,t){E.hasCssClass(i,t)||(i.className+=` `+t)},E.removeCssClass=function(i,t){for(var e=i.className.split(/\s+/g);;){var n=e.indexOf(t);if(n==-1)break;e.splice(n,1)}i.className=e.join(` `)},E.toggleCssClass=function(i,t){for(var e=i.className.split(/\s+/g),n=!0;;){var s=e.indexOf(t);if(s==-1)break;n=!1,e.splice(s,1)}return n&&e.push(t),i.className=e.join(` `),n},E.setCssClass=function(i,t,e){e?E.addCssClass(i,t):E.removeCssClass(i,t)},E.hasCssString=function(i,t){var e=0,n;if(t=t||document,n=t.querySelectorAll(`style`)){for(;e<n.length;)if(n[e++].id===i)return!0}},E.removeElementById=function(i,t){t=t||document,t.getElementById(i)&&t.getElementById(i).remove()};var M,a=[];E.useStrictCSP=function(i){M=i,i==!1?l():a||(a=[])};function l(){var i=a;a=null,i&&i.forEach(function(t){r(t[0],t[1])})}function r(i,t,e){if(!(typeof document>`u`)){if(a){if(e)l();else if(e===!1)return a.push([i,t])}if(!M){var n=e;!e||!e.getRootNode?n=document:(n=e.getRootNode(),(!n||n==e)&&(n=document));var s=n.ownerDocument||n;if(t&&E.hasCssString(t,n))return null;t&&(i+=`
41/*# sourceURL=ace/css/`+t+` */`);var d=E.createElement(`style`);d.appendChild(s.createTextNode(i)),t&&(d.id=t),n==s&&(n=E.getDocumentHead(s)),n.insertBefore(d,n.firstChild)}}}if(E.importCssString=r,E.importCssStylsheet=function(i,t){E.buildDom([`link`,{rel:`stylesheet`,href:i}],E.getDocumentHead(t))},E.$fixPositionBug=function(i){var t=i.getBoundingClientRect();if(i.style.left){var e=parseFloat(i.style.left),n=+t.left;Math.abs(e-n)>1&&(i.style.left=2*e-n+`px`)}if(i.style.right){var e=parseFloat(i.style.right),n=window.innerWidth-t.right;Math.abs(e-n)>1&&(i.style.right=2*e-n+`px`)}if(i.style.top){var e=parseFloat(i.style.top),n=+t.top;Math.abs(e-n)>1&&(i.style.top=2*e-n+`px`)}if(i.style.bottom){var e=parseFloat(i.style.bottom),n=window.innerHeight-t.bottom;Math.abs(e-n)>1&&(i.style.bottom=2*e-n+`px`)}},E.scrollbarWidth=function(i){var t=E.createElement(`ace_inner`);t.style.width=`100%`,t.style.minWidth=`0px`,t.style.height=`200px`,t.style.display=`block`;var e=E.createElement(`ace_outer`),n=e.style;n.position=`absolute`,n.left=`-10000px`,n.overflow=`hidden`,n.width=`200px`,n.minWidth=`0px`,n.height=`150px`,n.display=`block`,e.appendChild(t);var s=i&&i.documentElement||document&&document.documentElement;if(!s)return 0;s.appendChild(e);var d=t.offsetWidth;n.overflow=`scroll`;var g=t.offsetWidth;return d===g&&(g=e.clientWidth),s.removeChild(e),d-g},E.computedStyle=function(i,t){return window.getComputedStyle(i,``)||{}},E.setStyle=function(i,t,e){i[t]!==e&&(i[t]=e)},E.HAS_CSS_ANIMATION=!1,E.HAS_CSS_TRANSFORMS=!1,E.HI_DPI=k.isWin?typeof window<`u`&&window.devicePixelRatio>=1.5:!0,k.isChromeOS&&(E.HI_DPI=!1),typeof document<`u`){var o=document.createElement(`div`);E.HI_DPI&&o.style.transform!==void 0&&(E.HAS_CSS_TRANSFORMS=!0),!k.isEdge&&typeof o.style.animationName<`u`&&(E.HAS_CSS_ANIMATION=!0),o=null}E.HAS_CSS_TRANSFORMS?E.translate=function(i,t,e){i.style.transform=`translate(`+Math.round(t)+`px, `+Math.round(e)+`px)`}:E.translate=function(i,t,e){i.style.top=Math.round(e)+`px`,i.style.left=Math.round(t)+`px`}});ace.define(`ace/lib/net`,[`require`,`exports`,`module`,`ace/lib/dom`],function(R,E,F){"use strict";var k=R(`./dom`);E.get=function(L,M){var a=new XMLHttpRequest;a.open(`GET`,L,!0),a.onreadystatechange=function(){a.readyState===4&&M(a.responseText)},a.send(null)},E.loadScript=function(L,M){var a=k.getDocumentHead(),l=document.createElement(`script`);l.src=L,a.appendChild(l),l.onload=l.onreadystatechange=function(r,o){(o||!l.readyState||l.readyState==`loaded`||l.readyState==`complete`)&&(l=l.onload=l.onreadystatechange=null,o||M())}},E.qualifyURL=function(L){var M=document.createElement(`a`);return M.href=L,M.href}});ace.define(`ace/lib/oop`,[`require`,`exports`,`module`],function(R,E,F){"use strict";E.inherits=function(k,L){k.super_=L,k.prototype=Object.create(L.prototype,{constructor:{value:k,enumerable:!1,writable:!0,configurable:!0}})},E.mixin=function(k,L){for(var M in L)k[M]=L[M];return k},E.implement=function(k,L){E.mixin(k,L)}});ace.define(`ace/lib/event_emitter`,[`require`,`exports`,`module`],function(R,E,F){"use strict";var k={}
41,L=function(){this.propagationStopped=!0},M=function(){this.defaultPrevented=!0};k._emit=k._dispatchEvent=function(a,l){this._eventRegistry||(this._eventRegistry={}),this._defaultHandlers||(this._defaultHandlers={});var r=this._eventRegistry[a]||[],o=this._defaultHandlers[a];if(!(!r.length&&!o)){(typeof l!=`object`||!l)&&(l={}),l.type||(l.type=a),l.stopPropagation||(l.stopPropagation=L),l.preventDefault||(l.preventDefault=M),r=r.slice();for(var i=0;i<r.length&&(r[i](l,this),!l.propagationStopped);i++);if(o&&!l.defaultPrevented)return o(l,this)}},k._signal=function(a,l){var r=(this._eventRegistry||{})[a];if(r){r=r.slice();for(var o=0;o<r.length;o++)r[o](l,this)}},k.once=function(a,l){var r=this;if(this.on(a,function o(){r.off(a,o),l.apply(null,arguments)}),!l)return new Promise(function(o){l=o})},k.setDefaultHandler=function(a,l){var r=this._defaultHandlers;if(r||(r=this._defaultHandlers={_disabled_:{}}),r[a]){var o=r[a],i=r._disabled_[a];i||(r._disabled_[a]=i=[]),i.push(o);var t=i.indexOf(l);t!=-1&&i.splice(t,1)}r[a]=l},k.removeDefaultHandler=function(a,l){var r=this._defaultHandlers;if(r){var o=r._disabled_[a];if(r[a]==l)o&&this.setDefaultHandler(a,o.pop());else if(o){var i=o.indexOf(l);i!=-1&&o.splice(i,1)}}},k.on=k.addEventListener=function(a,l,r){this._eventRegistry=this._eventRegistry||{};var o=this._eventRegistry[a];return o||(o=this._eventRegistry[a]=[]),o.indexOf(l)==-1&&o[r?`unshift`:`push`](l),l},k.off=k.removeListener=k.removeEventListener=function(a,l){this._eventRegistry=this._eventRegistry||{};var r=this._eventRegistry[a];if(r){var o=r.indexOf(l);o!==-1&&r.splice(o,1)}},k.removeAllListeners=function(a){a||(this._eventRegistry=this._defaultHandlers=void 0),this._eventRegistry&&(this._eventRegistry[a]=void 0),this._defaultHandlers&&(this._defaultHandlers[a]=void 0)},E.EventEmitter=k});ace.define(`ace/lib/report_error`,[`require`,`exports`,`module`],function(R,E,F){E.reportError=function(L,M){var a=new Error(L);a.data=M,typeof console==`object`&&console.error&&console.error(a),setTimeout(function(){throw a})}});ace.define(`ace/lib/default_english_messages`,[`require`,`exports`,`module`],function(R,E,F){E.defaultEnglishMessages={"autocomplete.popup.aria-roledescription":`Autocomplete suggestions`,"autocomplete.popup.aria-label":`Autocomplete suggestions`,"autocomplete.popup.item.aria-roledescription":`item`,"autocomplete.loading":`Loading...`,"editor.scroller.aria-roledescription":`editor`,"editor.scroller.aria-label":`Editor content, press Enter to start editing, press Escape to exit`,"editor.gutter.aria-roledescription":`editor gutter`,"editor.gutter.aria-label":`Editor gutter, press Enter to interact with controls using arrow keys, press Escape to exit`,"error-marker.good-state":`Looks good!`,"prompt.recently-used":`Recently used`,"prompt.other-commands":`Other commands`,"prompt.no-matching-commands":`No matching commands`,"search-box.find.placeholder":`Search for`,"search-box.find-all.text":`All`,"search-box.replace.placeholder":`Replace with`,"search-box.replace-next.text":`Replace`,"search-box.replace-all.text":`All`,"search-box.toggle-replace.title":`Toggle Replace mode`,"search-box.toggle-regexp.title":`RegExp Search`,"search-box.toggle-case.title":`CaseSensitive Search`,"search-box.toggle-whole-word.title":`Whole Word Search`,"search-box.toggle-in-selection.title":`Search In Selection`,"search-box.search-counter":`$0 of $1`,"text-input.aria-roledescription":`editor`,"text-input.aria-label":`Cursor at row $0`,"gutter.code-folding.range.aria-label":`Toggle code folding, rows $0 through $1`,"gutter.code-folding.closed.aria-label":`Toggle code folding, rows $0 through $1`,"gutter.code-folding.open.aria-label":`Toggle code folding, row $0`,"gutter.code-folding.closed.title":`Unfold code`,"gutter.code-folding.open.title":`Fold code`,"gutter.annotation.aria-label.error":`Error, read annotations row $0`,"gutter.annotation.aria-label.warning":`Warning, read annotations row $0`,"gutter.annotation.aria-label.info":`Info, read annotations row $0`,"inline-fold.closed.title":`Unfold code`,"gutter-tooltip.aria-label.error.singular":`error`,"gutter-tooltip.aria-label.error.plural"
41:`errors`,"gutter-tooltip.aria-label.warning.singular":`warning`,"gutter-tooltip.aria-label.warning.plural":`warnings`,"gutter-tooltip.aria-label.info.singular":`information message`,"gutter-tooltip.aria-label.info.plural":`information messages`,"gutter.annotation.aria-label.security":`Security finding, read annotations row $0`,"gutter.annotation.aria-label.hint":`Suggestion, read annotations row $0`,"gutter-tooltip.aria-label.security.singular":`security finding`,"gutter-tooltip.aria-label.security.plural":`security findings`,"gutter-tooltip.aria-label.hint.singular":`suggestion`,"gutter-tooltip.aria-label.hint.plural":`suggestions`,"editor.tooltip.disable-editing":`Editing is disabled`}});ace.define(`ace/lib/app_config`,[`require`,`exports`,`module`,`ace/lib/oop`,`ace/lib/event_emitter`,`ace/lib/report_error`,`ace/lib/default_english_messages`],function(R,E,F){"no use strict";var k=R(`./oop`),L=R(`./event_emitter`).EventEmitter,M=R(`./report_error`).reportError,a=R(`./default_english_messages`).defaultEnglishMessages,l={setOptions:function(e){Object.keys(e).forEach(function(n){this.setOption(n,e[n])},this)},getOptions:function(e){var n={};if(e)Array.isArray(e)||(e=Object.keys(e));else{var s=this.$options;e=Object.keys(s).filter(function(d){return!s[d].hidden})}return e.forEach(function(d){n[d]=this.getOption(d)},this),n},setOption:function(e,n){if(this[`$`+e]!==n){var s=this.$options[e];if(!s)return r(`misspelled option "`+e+`"`);if(s.forwardTo)return this[s.forwardTo]&&this[s.forwardTo].setOption(e,n);s.handlesSet||(this[`$`+e]=n),s&&s.set&&s.set.call(this,n)}},getOption:function(e){var n=this.$options[e];return n?n.forwardTo?this[n.forwardTo]&&this[n.forwardTo].getOption(e):n&&n.get?n.get.call(this):this[`$`+e]:r(`misspelled option "`+e+`"`)}};function r(e){typeof console<`u`&&console.warn&&console.warn.apply(console,arguments)}var o,i,t=(function(){function e(){this.$defaultOptions={},o=a,i=`dollarSigns`}return e.prototype.defineOptions=function(n,s,d){return n.$options||(this.$defaultOptions[s]=n.$options={}),Object.keys(d).forEach(function(g){var $=d[g];typeof $==`string`&&($={forwardTo:$}),$.name||($.name=g),n.$options[$.name]=$,`initialValue`in $&&(n[`$`+$.name]=$.initialValue)}),k.implement(n,l),this},e.prototype.resetOptions=function(n){Object.keys(n.$options).forEach(function(s){var d=n.$options[s];`value`in d&&n.setOption(s,d.value)})},e.prototype.setDefaultValue=function(n,s,d){if(!n){for(n in this.$defaultOptions)if(this.$defaultOptions[n][s])break;if(!this.$defaultOptions[n][s])return!1}var g=this.$defaultOptions[n]||(this.$defaultOptions[n]={});g[s]&&(g.forwardTo?this.setDefaultValue(g.forwardTo,s,d):g[s].value=d)},e.prototype.setDefaultValues=function(n,s){Object.keys(s).forEach(function(d){this.setDefaultValue(n,d,s[d])},this)},e.prototype.setMessages=function(n,s){o=n,s&&s.placeholders&&(i=s.placeholders)},e.prototype.nls=function(n,s,d){o[n]||(r(`No message found for the key '`+n+`' in messages with id `+o.$id+`, trying to find a translation for the default string '`+s+`'.`),o[s]||r(`No message found for the default string '`+s+`' in the provided messages. Falling back to the default English message.`));var g=o[n]||o[s]||s;return d&&(i===`dollarSigns`&&(g=g.replace(/\$(\$|[\d]+)/g,function($,v){return v==`$`?`$`:d[v]})),i===`curlyBrackets`&&(g=g.replace(/\{([^\}]+)\}/g,function($,v){return d[v]}))),g},e})();t.prototype.warn=r,t.prototype.reportError=M,k.implement(t.prototype,L),E.AppConfig=t});ace.define(`ace/theme/textmate-css`,[`require`,`exports`,`module`],function(R,E,F){F.exports=`.ace-tm .ace_gutter {
42  background: #f0f0f0;
43  color: #333;
44}
45
46.ace-tm .ace_print-margin {
47  width: 1px;
48  background: #e8e8e8;
49}
50
51.ace-tm .ace_fold {
52    background-color: #6B72E6;
53}
54
55.ace-tm {
56  background-color: #FFFFFF;
57  color: black;
58}
59
60.ace-tm .ace_cursor {
61  color: black;
62}
63        
64.ace-tm .ace_invisible {
65  color: rgb(191, 191, 191);
66}
67
68.ace-tm .ace_storage,
69.ace-tm .ace_keyword {
70  color: blue;
71}
72
73.ace-tm .ace_constant {
74  color: rgb(197, 6, 11);
75}
76
77.ace-tm .ace_constant.ace_buildin {
78  color: rgb(88, 72, 246);
79}
80
81.ace-tm .ace_constant.ace_language {
82  color: rgb(88, 92, 246);
83}
84
85.ace-tm .ace_constant.ace_library {
86  color: rgb(6, 150, 14);
87}
88
89.ace-tm .ace_invalid {
90  background-color: rgba(255, 0, 0, 0.1);
91  color: red;
92}
93
94.ace-tm .ace_support.ace_function {
95  color: rgb(60, 76, 114);
96}
97
98.ace-tm .ace_support.ace_constant {
99  color: rgb(6, 150, 14);
100}
101
102.ace-tm .ace_support.ace_type,
103.ace-tm .ace_support.ace_class {
104  color: rgb(109, 121, 222);
105}
106
107.ace-tm .ace_keyword.ace_operator {
108  color: rgb(104, 118, 135);
109}
110
111.ace-tm .ace_string {
112  color: rgb(3, 106, 7);
113}
114
115.ace-tm .ace_comment {
116  color: rgb(76, 136, 107);
117}
118
119.ace-tm .ace_comment.ace_doc {
120  color: rgb(0, 102, 255);
121}
122
123.ace-tm .ace_comment.ace_doc.ace_tag {
124  color: rgb(128, 159, 191);
125}
126
127.ace-tm .ace_constant.ace_numeric {
128  color: rgb(0, 0, 205);
129}
130
131.ace-tm .ace_variable {
132  color: rgb(49, 132, 149);
133}
134
135.ace-tm .ace_xml-pe {
136  color: rgb(104, 104, 91);
137}
138
139.ace-tm .ace_entity.ace_name.ace_function {
140  color: #0000A2;
141}
142
143
144.ace-tm .ace_heading {
145  color: rgb(12, 7, 255);
146}
147
148.ace-tm .ace_list {
149  color:rgb(185, 6, 144);
150}
151
152.ace-tm .ace_meta.ace_tag {
153  color:rgb(0, 22, 142);
154}
155
156.ace-tm .ace_string.ace_regex {
157  color: rgb(255, 0, 0)
158}
159
160.ace-tm .ace_marker-layer .ace_selection {
161  background: rgb(181, 213, 255);
162}
163.ace-tm.ace_multiselect .ace_selection.ace_start {
164  box-shadow: 0 0 3px 0px white;
165}
166.ace-tm .ace_marker-layer .ace_step {
167  background: rgb(252, 255, 0);
168}
169
170.ace-tm .ace_marker-layer .ace_stack {
171  background: rgb(164, 229, 101);
172}
173
174.ace-tm .ace_marker-layer .ace_bracket {
175  margin: -1px 0 0 -1px;
176  border: 1px solid rgb(192, 192, 192);
177}
178
179.ace-tm .ace_marker-layer .ace_active-line {
180  background: rgba(0, 0, 0, 0.07);
181}
182
183.ace-tm .ace_gutter-active-line {
184    background-color : #dcdcdc;
185}
186
187.ace-tm .ace_marker-layer .ace_selected-word {
188  background: rgb(250, 250, 255);
189  border: 1px solid rgb(200, 200, 250);
190}
191
192.ace-tm .ace_indent-guide {
193  background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4////f4bLly//BwAmVgd1/w11/gAAAABJRU5ErkJggg==") right repeat-y;
194}
195
196.ace-tm .ace_indent-guide-active {
197  background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAIGNIUk0AAHolAACAgwAA+f8AAIDpAAB1MAAA6mAAADqYAAAXb5JfxUYAAAAZSURBVHjaYvj///9/hivKyv8BAAAA//8DACLqBhbvk+/eAAAAAElFTkSuQmCC") right repeat-y;
198}
199`});ace.define(`ace/theme/textmate`,[`require`,`exports`,`module`,`ace/theme/textmate-css`,`ace/lib/dom`],function(R,E,F){"use strict";E.isDark=!1,E.cssClass=`ace-tm`,E.cssText=R(`./textmate-css`),E.$id=`ace/theme/textmate`;R(`../lib/dom`).importCssString(E.cssText,E.cssClass,!1)});ace.define(`ace/config`,[`require`,`exports`,`module`,`ace/lib/lang`,`ace/lib/net`,`ace/lib/dom`,`ace/lib/app_config`,`ace/theme/textmate`],function(R,E,F){"no use strict";var k=R(`./lib/lang`),L=R(`./lib/net`),M=R(`./lib/dom`),a=R(`./lib/app_config`).AppConfig;F.exports=E=new a;var l={packaged:!1,workerPath:null,modePath:null,themePath:null,basePath:``,suffix:`.js`,$moduleUrls:{},loadWorkerFromBlob:!0,sharedPopups:!1,useStrictCSP:null};E.get=function(t){if(!l.hasOwnProperty(t))throw new Error(`Unknown config key: `+t);return l[t]},E.set=function(t,e){if(l.hasOwnProperty(t))l[t]=e;else if(this.setDefaultValue(``,t,e)==!1)throw new Error(`Unknown config key: `+t);t==`useStrictCSP`&&M.useStrictCSP(e)},E.all=function(){return k.copyObject(l)},E.$modes={},E.moduleUrl=function(t,e){if(l.$moduleUrls[t])return l.$moduleUrls[t];var n=t.split(`/`);e=e||n[n.length-2]||``;var s=e==`snippets`?`/`:`-`,d=n[n.length-1];if(e==`worker`&&s==`-`){var g=new RegExp(`^`+e+`[\\-_]|[\\-_]`+e+`$`,`g`);d=d.replace(g,``)}(!d||d==e)&&n.length>1&&(d=n[n.length-2]);var $=l[e+`Path`];return $==null?$=l.basePath:s==`/`&&(e=s=``),$&&$.slice(-1)!=`/`&&($+=`/`),$+e+s+d+this.get(`suffix`)},E.setModuleUrl=function(t,e){return l.$moduleUrls[t]=e};var r=function(t,e){if(t===`ace/theme/textmate`||t===`./theme/textmate`)return e(null,R(`./theme/textmate`));if(o)return o(t,e);console.error(`loader is not configured`)},o;E.setLoader=function(t){o=t},E.dynamicModules=Object.create(null),E.$loading={},E.$loaded={},E.loadModule=function(t,e){var n;if(Array.isArray(t))var s=t[0],d=t[1];else if(typeof t==`string`)var d=t;var g=function($){if($&&!E.$loading[d])return e&&e($);if(E.$loading[d]||(E.$loading[d]=[]),E.$loading[d].push(e),!(E.$loading[d].length>1)){var v=function(){r(d,function(b,u){u&&(E.$loaded[d]=u),E._emit(`load.module`,{name:d,module:u});var h=E.$loading[d];E.$loading[d]=null,h.forEach(function(y){y&&y(u)})})};if(!E.get(`packaged`))return v();L.loadScript(E.moduleUrl(d,s),v),i()}};if(E.dynamicModules[d])E.dynamicModules[d]().then(function($){$.default?g($.default):g($)});
199else{try{n=this.$require(d)}catch{}g(n||E.$loaded[d])}},E.$require=function(t){if(typeof F.require==`function`)return F[`require`](t)},E.setModuleLoader=function(t,e){E.dynamicModules[t]=e};var i=function(){!l.basePath&&!l.workerPath&&!l.modePath&&!l.themePath&&!Object.keys(l.$moduleUrls).length&&(console.error(`Unable to infer path to ace from script src,`,`use ace.config.set('basePath', 'path') to enable dynamic loading of modes and themes`,`or with webpack use ace/webpack-resolver`),i=function(){})};E.version=`1.43.5`});ace.define(`ace/loader_build`,[`require`,`exports`,`module`,`ace/lib/fixoldbrowsers`,`ace/config`],function(R,E,F){"use strict";R(`./lib/fixoldbrowsers`);var k=R(`./config`);k.setLoader(function(l,r){R([l],function(o){r(null,o)})});var L=(function(){return this||typeof window<`u`&&window})();F.exports=function(l){k.init=M,k.$require=R,l.require=R,typeof define==`function`&&(l.define=define)},M(!0);function M(l){if(!(!L||!L.document)){k.set(`packaged`,l||R.packaged||F.packaged||L.define&&define.packaged);var r={},o=``,i=document.currentScript||document._currentScript,t=i&&i.ownerDocument||document;i&&i.src&&(o=i.src.split(/[?#]/)[0].split(`/`).slice(0,-1).join(`/`)||``);for(var e=t.getElementsByTagName(`script`),n=0;n<e.length;n++){var s=e[n],d=s.src||s.getAttribute(`src`);if(d){for(var g=s.attributes,$=0,v=g.length;$<v;$++){var b=g[$];b.name.indexOf(`data-ace-`)===0&&(r[a(b.name.replace(/^data-ace-/,``))]=b.value)}var u=d.match(/^(.*)\/ace([\-.]\w+)?\.js(\?|$)/);u&&(o=u[1])}}o&&(r.base=r.base||o,r.packaged=!0),r.basePath=r.base,r.workerPath=r.workerPath||r.base,r.modePath=r.modePath||r.base,r.themePath=r.themePath||r.base,delete r.base;for(var h in r)typeof r[h]<`u`&&k.set(h,r[h])}}function a(l){return l.replace(/-(.)/g,function(r,o){return o.toUpperCase()})}});ace.define(`ace/range`,[`require`,`exports`,`module`],function(R,E,F){"use strict";var k=(function(){function L(M,a,l,r){this.start={row:M,column:a},this.end={row:l,column:r}}return L.prototype.isEqual=function(M){return this.start.row===M.start.row&&this.end.row===M.end.row&&this.start.column===M.start.column&&this.end.column===M.end.column},L.prototype.toString=function(){return`Range: [`+this.start.row+`/`+this.start.column+`] -> [`+this.end.row+`/`+this.end.column+`]`},L.prototype.contains=function(M,a){return this.compare(M,a)==0},L.prototype.compareRange=function(M){var a,l=M.end,r=M.start;return a=this.compare(l.row,l.column),a==1?(a=this.compare(r.row,r.column),a==1?2:a==0?1:0):a==-1?-2:(a=this.compare(r.row,r.column),a==-1?-1:a==1?42:0)},L.prototype.comparePoint=function(M){return this.compare(M.row,M.column)},L.prototype.containsRange=function(M){return this.comparePoint(M.start)==0&&this.comparePoint(M.end)==0},L.prototype.intersects=function(M){var a=this.compareRange(M);return a==-1||a==0||a==1},L.prototype.isEnd=function(M,a){return this.end.row==M&&this.end.column==a},L.prototype.isStart=function(M,a){return this.start.row==M&&this.start.column==a},L.prototype.setStart=function(M,a){typeof M==`object`?(this.start.column=M.column,this.start.row=M.row):(this.start.row=M,this.start.column=a)},L.prototype.setEnd=function(M,a){typeof M==`object`?(this.end.column=M.column,this.end.row=M.row):(this.end.row=M,this.end.column=a)},L.prototype.inside=function(M,a){return this.compare(M,a)==0?!(this.isEnd(M,a)||this.isStart(M,a)):!1},L.prototype.insideStart=function(M,a){return this.compare(M,a)==0?!this.isEnd(M,a):!1},L.prototype.insideEnd=function(M,a){return this.compare(M,a)==0?!this.isStart(M,a):!1},L.prototype.compare=function(M,a){return!this.isMultiLine()&&M===this.start.row?a<this.start.column?-1:a>this.end.column?1:0:M<this.start.row?-1:M>this.end.row?1:this.start.row===M?a>=this.start.column?0:-1:this.end.row===M?a<=this.end.column?0:1:0},L.prototype.compareStart=function(M,a){return this.start.row==M&&this.start.column==a?-1:this.compare(M,a)},L.prototype.compareEnd=function(M,a){return this.end.row==M&&this.end.column==a?1:this.compare(M,a)},L.prototype.compareInside=function(M,a){return this.end.row==M&&this.end.column==a?1:this.start.row==M&&this.start.column==a?-1:this.compare(M,a)},L.prototype.clipRows=function(M,a){if(this.end.row>a)var l={row:a+1,column:0};else if(this.end.row<M)var l={row:M,column:0};if(this.start.row>a)var r={row:a+1,column:0};else if(this.start.row<M)var r={row:M,column:0};return L.fromPoints(r||this.start,l||this.end)},L.prototype.extend=function(M,a){var l=this.compare(M,a);if(l==0)return this;
199if(l==-1)var r={row:M,column:a};else var o={row:M,column:a};return L.fromPoints(r||this.start,o||this.end)},L.prototype.isEmpty=function(){return this.start.row===this.end.row&&this.start.column===this.end.column},L.prototype.isMultiLine=function(){return this.start.row!==this.end.row},L.prototype.clone=function(){return L.fromPoints(this.start,this.end)},L.prototype.collapseRows=function(){return this.end.column==0?new L(this.start.row,0,Math.max(this.start.row,this.end.row-1),0):new L(this.start.row,0,this.end.row,0)},L.prototype.toScreenRange=function(M){var a=M.documentToScreenPosition(this.start),l=M.documentToScreenPosition(this.end);return new L(a.row,a.column,l.row,l.column)},L.prototype.moveBy=function(M,a){this.start.row+=M,this.start.column+=a,this.end.row+=M,this.end.column+=a},L})();k.fromPoints=function(L,M){return new k(L.row,L.column,M.row,M.column)},k.comparePoints=function(L,M){return L.row-M.row||L.column-M.column},E.Range=k});ace.define(`ace/lib/keys`,[`require`,`exports`,`module`,`ace/lib/oop`],function(R,E,F){"use strict";for(var k=R(`./oop`),L={MODIFIER_KEYS:{16:`Shift`,17:`Ctrl`,18:`Alt`,224:`Meta`,91:`MetaLeft`,92:`MetaRight`,93:`ContextMenu`},KEY_MODS:{ctrl:1,alt:2,option:2,shift:4,super:8,meta:8,command:8,cmd:8,control:1},FUNCTION_KEYS:{8:`Backspace`,9:`Tab`,13:`Return`,19:`Pause`,27:`Esc`,32:`Space`,33:`PageUp`,34:`PageDown`,35:`End`,36:`Home`,37:`Left`,38:`Up`,39:`Right`,40:`Down`,44:`Print`,45:`Insert`,46:`Delete`,"-13":`NumpadEnter`,144:`Numlock`,145:`Scrolllock`},PRINTABLE_KEYS:{32:` `,59:`;`,61:`=`,107:`+`,109:`-`,110:`.`,186:`;`,187:`=`,188:`,`,189:`-`,190:`.`,191:`/`,192:"`",219:`[`,220:`\\`,221:`]`,222:`'`,111:`/`,106:`*`}},M={Command:224,Backspace:8,Tab:9,Return:13,Enter:13,Pause:19,Escape:27,PageUp:33,PageDown:34,End:35,Home:36,Insert:45,Delete:46,ArrowLeft:37,ArrowUp:38,ArrowRight:39,ArrowDown:40,Backquote:192,Minus:189,Equal:187,BracketLeft:219,Backslash:220,BracketRight:221,Semicolon:186,Quote:222,Comma:188,Period:190,Slash:191,Space:32,NumpadAdd:107,NumpadDecimal:110,NumpadSubtract:109,NumpadDivide:111,NumpadMultiply:106},a=0;a<10;a++)M[`Digit`+a]=48+a,M[`Numpad`+a]=96+a,L.PRINTABLE_KEYS[48+a]=``+a,L.FUNCTION_KEYS[96+a]=`Numpad`+a;for(var a=65;a<91;a++){var l=String.fromCharCode(a+32);M[`Key`+l.toUpperCase()]=a,L.PRINTABLE_KEYS[a]=l}for(var a=1;a<13;a++)M[`F`+a]=111+a,L.FUNCTION_KEYS[111+a]=`F`+a;var r={Shift:16,Control:17,Alt:18,Meta:224};for(var o in r)M[o]=M[o+`Left`]=M[o+`Right`]=r[o];E.$codeToKeyCode=M,L.PRINTABLE_KEYS[173]=`-`;for(var i in L.FUNCTION_KEYS){var t=L.FUNCTION_KEYS[i].toLowerCase();L[t]=parseInt(i,10)}for(var i in L.PRINTABLE_KEYS){var t=L.PRINTABLE_KEYS[i].toLowerCase();L[t]=parseInt(i,10)}k.mixin(L,L.MODIFIER_KEYS),k.mixin(L,L.PRINTABLE_KEYS),k.mixin(L,L.FUNCTION_KEYS),L.enter=L.return,L.escape=L.esc,L.del=L.delete,(function(){for(var e=[`cmd`,`ctrl`,`alt`,`shift`],n=Math.pow(2,e.length);n--;)L.KEY_MODS[n]=e.filter(function(s){return n&L.KEY_MODS[s]}).join(`-`)+`-`})(),L.KEY_MODS[0]=``,L.KEY_MODS[-1]=`input-`,k.mixin(E,L),E.default=E,E.keyCodeToString=function(e){var n=L[e];return typeof n!=`string`&&(n=String.fromCharCode(e)),n.toLowerCase()}});ace.define(`ace/lib/event`,[`require`,`exports`,`module`,`ace/lib/keys`,`ace/lib/useragent`],function(R,E,F){"use strict";var k=R(`./keys`),L=R(`./useragent`),M=null,a=0,l;function r(){l=!1;try{document.createComment(``).addEventListener(`test`,function(){},{get passive(){return l={passive:!1},!0}})}catch{}}function o(){return l??r(),l}function i($,v,b){this.elem=$,this.type=v,this.callback=b}i.prototype.destroy=function(){e(this.elem,this.type,this.callback),this.elem=this.type=this.callback=void 0};var t=E.addListener=function($,v,b,u){$.addEventListener(v,b,o()),u&&u.$toDestroy.push(new i($,v,b))},e=E.removeListener=function($,v,b){$.removeEventListener(v,b,o())};E.stopEvent=function($){return E.stopPropagation($),E.preventDefault($),!1},E.stopPropagation=function($){$.stopPropagation&&$.stopPropagation()},E.preventDefault=function($){$.preventDefault&&$.preventDefault()},E.getButton=function($){return $.type==`dblclick`?0:$.type==`contextmenu`||L.isMac&&$.ctrlKey&&!$.altKey&&!$.shiftKey?2:$.button},E.capture=function($,v,b){var u=$&&$.ownerDocument||document;
199function h(y){v&&v(y),b&&b(y),e(u,`mousemove`,v),e(u,`mouseup`,h),e(u,`dragstart`,h)}return t(u,`mousemove`,v),t(u,`mouseup`,h),t(u,`dragstart`,h),h},E.addMouseWheelListener=function($,v,b){t($,`wheel`,function(u){var h=.15,y=u.deltaX||0,m=u.deltaY||0;switch(u.deltaMode){case u.DOM_DELTA_PIXEL:u.wheelX=y*h,u.wheelY=m*h;break;case u.DOM_DELTA_LINE:var C=15;u.wheelX=y*C,u.wheelY=m*C;break;case u.DOM_DELTA_PAGE:var x=150;u.wheelX=y*x,u.wheelY=m*x;break}v(u)},b)},E.addMultiMouseDownListener=function($,v,b,u,h){var y=0,m,C,x,w={2:`dblclick`,3:`tripleclick`,4:`quadclick`};function p(f){if(E.getButton(f)!==0?y=0:f.detail>1?(y++,y>4&&(y=1)):y=1,L.isIE){var c=Math.abs(f.clientX-m)>5||Math.abs(f.clientY-C)>5;(!x||c)&&(y=1),x&&clearTimeout(x),x=setTimeout(function(){x=null},v[y-1]||600),y==1&&(m=f.clientX,C=f.clientY)}if(f._clicks=y,b[u](`mousedown`,f),y>4)y=0;else if(y>1)return b[u](w[y],f)}Array.isArray($)||($=[$]),$.forEach(function(f){t(f,`mousedown`,p,h)})};function n($){return 0|($.ctrlKey?1:0)|($.altKey?2:0)|($.shiftKey?4:0)|($.metaKey?8:0)}E.getModifierString=function($){return k.KEY_MODS[n($)]};function s($,v,b){var u=n(v);if(!b&&v.code&&(b=k.$codeToKeyCode[v.code]||b),!L.isMac&&M){if(v.getModifierState&&(v.getModifierState(`OS`)||v.getModifierState(`Win`))&&(u|=8),M.altGr)if((3&u)!=3)M.altGr=0;else return;if(b===18||b===17){var h=v.location;if(b===17&&h===1)M[b]==1&&(a=v.timeStamp);else if(b===18&&u===3&&h===2)v.timeStamp-a<50&&(M.altGr=!0)}}if(b in k.MODIFIER_KEYS&&(b=-1),!(!u&&b===13&&v.location===3&&($(v,u,-b),v.defaultPrevented))){if(L.isChromeOS&&u&8){if($(v,u,b),v.defaultPrevented)return;u&=-9}return!u&&!(b in k.FUNCTION_KEYS)&&!(b in k.PRINTABLE_KEYS)?!1:$(v,u,b)}}E.addCommandKeyListener=function($,v,b){var u=null;t($,`keydown`,function(h){M[h.keyCode]=(M[h.keyCode]||0)+1;var y=s(v,h,h.keyCode);return u=h.defaultPrevented,y},b),t($,`keypress`,function(h){u&&(h.ctrlKey||h.altKey||h.shiftKey||h.metaKey)&&(E.stopEvent(h),u=null)},b),t($,`keyup`,function(h){M[h.keyCode]=null},b),M||(d(),t(window,`focus`,d))};function d(){M=Object.create(null)}if(typeof window==`object`&&window.postMessage&&!L.isOldIE){var g=1;E.nextTick=function($,v){v=v||window;var b=`zero-timeout-message-`+g++,u=function(h){h.data==b&&(E.stopPropagation(h),e(v,`message`,u),$())};t(v,`message`,u),v.postMessage(b,`*`)}}E.$idleBlocked=!1,E.onIdle=function($,v){return setTimeout(function b(){E.$idleBlocked?setTimeout(b,100):$()},v)},E.$idleBlockId=null,E.blockIdle=function($){E.$idleBlockId&&clearTimeout(E.$idleBlockId),E.$idleBlocked=!0,E.$idleBlockId=setTimeout(function(){E.$idleBlocked=!1},$||100)},E.nextFrame=typeof window==`object`&&(window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame||window.oRequestAnimationFrame),E.nextFrame?E.nextFrame=E.nextFrame.bind(window):E.nextFrame=function($){setTimeout($,17)}});ace.define(`ace/clipboard`,[`require`,`exports`,`module`],function(R,E,F){"use strict";var k;F.exports={lineMode:!1,pasteCancelled:function(){return k&&k>Date.now()-50?!0:k=!1},cancel:function(){k=Date.now()}}});ace.define(`ace/keyboard/textinput`,[`require`,`exports`,`module`,`ace/lib/event`,`ace/config`,`ace/lib/useragent`,`ace/lib/dom`,`ace/lib/lang`,`ace/clipboard`,`ace/lib/keys`],function(R,E,F){"use strict";var k=R(`../lib/event`),L=R(`../config`).nls,M=R(`../lib/useragent`),a=R(`../lib/dom`),l=R(`../lib/lang`),r=R(`../clipboard`),o=M.isChrome<18,i=M.isIE,t=M.isChrome>63,e=400,n=R(`../lib/keys`),s=n.KEY_MODS,d=M.isIOS,g=d?/\s/:/\n/,$=M.isMobile;E.TextInput=(function(){function b(u,h){var y=this;this.host=h,this.text=a.createElement(`textarea`),this.text.className=`ace_text-input`,this.text.setAttribute(`wrap`,`off`),this.text.setAttribute(`autocomplete`,`off`),this.text.setAttribute(`autocorrect`,`off`),this.text.setAttribute(`autocapitalize`,`off`),this.text.setAttribute(`spellcheck`,`false`),this.text.style.opacity=`0`,u.insertBefore(this.text,u.firstChild),this.copied=!1,this.pasted=!1,this.inComposition=!1,this.sendingText=!1,this.tempStyle=``,$||(this.text.style.fontSize=`1px`),this.commandMode=!1,this.ignoreFocusEvents=!1,this.lastValue=``,this.lastSelectionStart=0,this.lastSelectionEnd=0,this.lastRestoreEnd=0,this.rowStart=Number.MAX_SAFE_INTEGER,this.rowEnd=Number.MIN_SAFE_INTEGER,this.numberOfExtraLines=0;try{this.$isFocused=document.activeElement===this.text}catch{}this.cancelComposition=this.cancelComposition.bind(this),this.setAriaOptions({role:`textbox`}
199),k.addListener(this.text,`blur`,function(m){y.ignoreFocusEvents||(h.onBlur(m),y.$isFocused=!1)},h),k.addListener(this.text,`focus`,function(m){if(!y.ignoreFocusEvents){if(y.$isFocused=!0,M.isEdge)try{if(!document.hasFocus())return}catch{}h.onFocus(m),M.isEdge?setTimeout(y.resetSelection.bind(y)):y.resetSelection()}},h),this.$focusScroll=!1,h.on(`beforeEndOperation`,function(){var m=h.curOp,C=m&&m.command&&m.command.name;if(C!=`insertstring`){var x=C&&(m.docChanged||m.selectionChanged);y.inComposition&&x&&(y.lastValue=y.text.value=``,y.onCompositionEnd()),y.resetSelection()}}),h.on(`changeSelection`,this.setAriaLabel.bind(this)),this.resetSelection=d?this.$resetSelectionIOS:this.$resetSelection,this.$isFocused&&h.onFocus(),this.inputHandler=null,this.afterContextMenu=!1,k.addCommandKeyListener(this.text,function(m,C,x){if(!y.inComposition)return h.onCommandKey(m,C,x)},h),k.addListener(this.text,`select`,this.onSelect.bind(this),h),k.addListener(this.text,`input`,this.onInput.bind(this),h),k.addListener(this.text,`cut`,this.onCut.bind(this),h),k.addListener(this.text,`copy`,this.onCopy.bind(this),h),k.addListener(this.text,`paste`,this.onPaste.bind(this),h),(!(`oncut`in this.text)||!(`oncopy`in this.text)||!(`onpaste`in this.text))&&k.addListener(u,`keydown`,function(m){if(!(M.isMac&&!m.metaKey||!m.ctrlKey))switch(m.keyCode){case 67:y.onCopy(m);break;case 86:y.onPaste(m);break;case 88:y.onCut(m);break}},h),this.syncComposition=l.delayedCall(this.onCompositionUpdate.bind(this),50).schedule.bind(null,null),k.addListener(this.text,`compositionstart`,this.onCompositionStart.bind(this),h),k.addListener(this.text,`compositionupdate`,this.onCompositionUpdate.bind(this),h),k.addListener(this.text,`keyup`,this.onKeyup.bind(this),h),k.addListener(this.text,`keydown`,this.syncComposition.bind(this),h),k.addListener(this.text,`compositionend`,this.onCompositionEnd.bind(this),h),this.closeTimeout,k.addListener(this.text,`mouseup`,this.$onContextMenu.bind(this),h),k.addListener(this.text,`mousedown`,function(m){m.preventDefault(),y.onContextMenuClose()},h),k.addListener(h.renderer.scroller,`contextmenu`,this.$onContextMenu.bind(this),h),k.addListener(this.text,`contextmenu`,this.$onContextMenu.bind(this),h),d&&this.addIosSelectionHandler(u,h,this.text)}return b.prototype.addIosSelectionHandler=function(u,h,y){var m=this,C=null,x=!1;y.addEventListener(`keydown`,function(p){C&&clearTimeout(C),x=!0},!0),y.addEventListener(`keyup`,function(p){C=setTimeout(function(){x=!1},100)},!0);var w=function(p){if(document.activeElement===y&&!(x||m.inComposition||h.$mouseHandler.isMousePressed)&&!m.copied){var f=y.selectionStart,c=y.selectionEnd,S=null,A=0;if(f==0?S=n.up:f==1?S=n.home:c>m.lastSelectionEnd&&m.lastValue[c]==`
200`?S=n.end:f<m.lastSelectionStart&&m.lastValue[f-1]==` `?(S=n.left,A=s.option):f<m.lastSelectionStart||f==m.lastSelectionStart&&m.lastSelectionEnd!=m.lastSelectionStart&&f==c?S=n.left:c>m.lastSelectionEnd&&m.lastValue.slice(0,c).split(`
201`).length>2?S=n.down:c>m.lastSelectionEnd&&m.lastValue[c-1]==` `?(S=n.right,A=s.option):(c>m.lastSelectionEnd||c==m.lastSelectionEnd&&m.lastSelectionEnd!=m.lastSelectionStart&&f==c)&&(S=n.right),f!==c&&(A|=s.shift),S){if(!h.onCommandKey({},A,S)&&h.commands){S=n.keyCodeToString(S);var _=h.commands.findKeyCommand(A,S);_&&h.execCommand(_)}m.lastSelectionStart=f,m.lastSelectionEnd=c,m.resetSelection(``)}}};document.addEventListener(`selectionchange`,w),h.on(`destroy`,function(){document.removeEventListener(`selectionchange`,w)})},b.prototype.onContextMenuClose=function(){var u=this;clearTimeout(this.closeTimeout),this.closeTimeout=setTimeout(function(){u.tempStyle&&(u.text.style.cssText=u.tempStyle,u.tempStyle=``),u.host.renderer.$isMousePressed=!1,u.host.renderer.$keepTextAreaAtCursor&&u.host.renderer.$moveTextAreaToCursor()},0)},b.prototype.$onContextMenu=function(u){this.host.textInput.onContextMenu(u),this.onContextMenuClose()},b.prototype.onKeyup=function(u){u.keyCode==27&&this.text.value.length<this.text.selectionStart&&(this.inComposition||(this.lastValue=this.text.value),this.lastSelectionStart=this.lastSelectionEnd=-1,this.resetSelection()),this.syncComposition()},b.prototype.cancelComposition=function(){this.ignoreFocusEvents=!0,this.text.blur(),this.text.focus(),this.ignoreFocusEvents=!1},b.prototype.onCompositionStart=function(u){if(!(this.inComposition||!this.host.onCompositionStart||this.host.$readOnly)&&
201(this.inComposition={},!this.commandMode)){u.data&&(this.inComposition.useTextareaForIME=!1),setTimeout(this.onCompositionUpdate.bind(this),0),this.host._signal(`compositionStart`),this.host.on(`mousedown`,this.cancelComposition);var h=this.host.getSelectionRange();h.end.row=h.start.row,h.end.column=h.start.column,this.inComposition.markerRange=h,this.inComposition.selectionStart=this.lastSelectionStart,this.host.onCompositionStart(this.inComposition),this.inComposition.useTextareaForIME?(this.lastValue=this.text.value=``,this.lastSelectionStart=0,this.lastSelectionEnd=0):(this.text.msGetInputContext&&(this.inComposition.context=this.text.msGetInputContext()),this.text.getInputContext&&(this.inComposition.context=this.text.getInputContext()))}},b.prototype.onCompositionUpdate=function(){if(!(!this.inComposition||!this.host.onCompositionUpdate||this.host.$readOnly)){if(this.commandMode)return this.cancelComposition();if(this.inComposition.useTextareaForIME)this.host.onCompositionUpdate(this.text.value);else{var u=this.text.value;this.sendText(u),this.inComposition.markerRange&&(this.inComposition.context&&(this.inComposition.markerRange.start.column=this.inComposition.selectionStart=this.inComposition.context.compositionStartOffset),this.inComposition.markerRange.end.column=this.inComposition.markerRange.start.column+this.lastSelectionEnd-this.inComposition.selectionStart+this.lastRestoreEnd)}}},b.prototype.onCompositionEnd=function(u){!this.host.onCompositionEnd||this.host.$readOnly||(this.inComposition=!1,this.host.onCompositionEnd(),this.host.off(`mousedown`,this.cancelComposition),u&&this.onInput())},b.prototype.onCut=function(u){this.doCopy(u,!0)},b.prototype.onCopy=function(u){this.doCopy(u,!1)},b.prototype.onPaste=function(u){var h=this.handleClipboardData(u);r.pasteCancelled()||(typeof h==`string`?(h&&this.host.onPaste(h,u),M.isIE&&setTimeout(this.resetSelection),k.preventDefault(u)):(this.text.value=``,this.pasted=!0))},b.prototype.doCopy=function(u,h){var y=this,m=this.host.getCopyText();if(!m)return k.preventDefault(u);this.handleClipboardData(u,m)?(d&&(this.resetSelection(m),this.copied=m,setTimeout(function(){y.copied=!1},10)),h?this.host.onCut():this.host.onCopy(),k.preventDefault(u)):(this.copied=!0,this.text.value=m,this.text.select(),setTimeout(function(){y.copied=!1,y.resetSelection(),h?y.host.onCut():y.host.onCopy()}))},b.prototype.handleClipboardData=function(u,h,y){var m=u.clipboardData||window.clipboardData;if(!(!m||o)){var C=i||y?`Text`:`text/plain`;try{return h?m.setData(C,h)!==!1:m.getData(C)}catch(x){if(!y)return this.handleClipboardData(x,h,!0)}}},b.prototype.onInput=function(u){if(this.inComposition)return this.onCompositionUpdate();if(u&&u.inputType){if(u.inputType==`historyUndo`)return this.host.execCommand(`undo`);if(u.inputType==`historyRedo`)return this.host.execCommand(`redo`)}var h=this.text.value,y=this.sendText(h,!0);(h.length>e+100||g.test(y)||$&&this.lastSelectionStart<1&&this.lastSelectionStart==this.lastSelectionEnd)&&this.resetSelection()},b.prototype.sendText=function(u,h){if(this.afterContextMenu&&(this.afterContextMenu=!1),this.pasted)return this.resetSelection(),u&&this.host.onPaste(u),this.pasted=!1,``;for(var y=this.text.selectionStart,m=this.text.selectionEnd,C=this.lastSelectionStart,x=this.lastValue.length-this.lastSelectionEnd,w=u,p=u.length-y,f=u.length-m,c=0;C>0&&this.lastValue[c]==u[c];)c++,C--;for(w=w.slice(c),c=1;x>0&&this.lastValue.length-c>this.lastSelectionStart-1&&this.lastValue[this.lastValue.length-c]==u[u.length-c];)c++,x--;p-=c-1,f-=c-1;var S=w.length-c+1;if(S<0&&(C=-S,S=0),w=w.slice(0,S),!h&&!w&&!p&&!C&&!x&&!f)return``;this.sendingText=!0;var A=!1;return M.isAndroid&&w==`. `&&(w=`  `,A=!0),w&&!C&&!x&&!p&&!f||this.commandMode?this.host.onTextInput(w):this.host.onTextInput(w,{extendLeft:C,extendRight:x,restoreStart:p,restoreEnd:f}),this.sendingText=!1,this.lastValue=u,this.lastSelectionStart=y,this.lastSelectionEnd=m,this.lastRestoreEnd=f,A?`
202`:w},b.prototype.onSelect=function(u){var h=this;if(!this.inComposition){var y=function(m){return m.selectionStart===0&&m.selectionEnd>
202=h.lastValue.length&&m.value===h.lastValue&&h.lastValue&&m.selectionEnd!==h.lastSelectionEnd};this.copied?this.copied=!1:y(this.text)?(this.host.selectAll(),this.resetSelection()):$&&this.text.selectionStart!=this.lastSelectionStart&&this.resetSelection()}},b.prototype.$resetSelectionIOS=function(u){if(!(!this.$isFocused||this.copied&&!u||this.sendingText)){u||(u=``);var h=`
203 ab`+u+`cde fg
204`;h!=this.text.value&&(this.text.value=this.lastValue=h);var y=4,m=4+(u.length||(this.host.selection.isEmpty()?0:1));(this.lastSelectionStart!=y||this.lastSelectionEnd!=m)&&this.text.setSelectionRange(y,m),this.lastSelectionStart=y,this.lastSelectionEnd=m}},b.prototype.$resetSelection=function(){var u=this;if(!(this.inComposition||this.sendingText)&&!(!this.$isFocused&&!this.afterContextMenu)){this.inComposition=!0;var h=0,y=0,m=``,C=function(_,I){for(var D=I,N=1;N<=_-u.rowStart&&N<2*u.numberOfExtraLines+1;N++)D+=u.host.session.getLine(_-N).length+1;return D};if(this.host.session){var x=this.host.selection,w=x.getRange(),p=x.cursor.row;p===this.rowEnd+1?(this.rowStart=this.rowEnd+1,this.rowEnd=this.rowStart+2*this.numberOfExtraLines):p===this.rowStart-1?(this.rowEnd=this.rowStart-1,this.rowStart=this.rowEnd-2*this.numberOfExtraLines):(p<this.rowStart-1||p>this.rowEnd+1)&&(this.rowStart=p>this.numberOfExtraLines?p-this.numberOfExtraLines:0,this.rowEnd=p>this.numberOfExtraLines?p+this.numberOfExtraLines:2*this.numberOfExtraLines);for(var f=[],c=this.rowStart;c<=this.rowEnd;c++)f.push(this.host.session.getLine(c));if(m=f.join(`
205`),h=C(w.start.row,w.start.column),y=C(w.end.row,w.end.column),w.start.row<this.rowStart){var S=this.host.session.getLine(this.rowStart-1);h=w.start.row<this.rowStart-1?0:h,y+=S.length+1,m=S+`
206`+m}else if(w.end.row>this.rowEnd){var A=this.host.session.getLine(this.rowEnd+1);y=w.end.row>this.rowEnd+1?A.length:w.end.column,y+=m.length+1,m=m+`
207`+A}else $&&p>0&&(m=`
208`+m,y+=1,h+=1);m.length>e&&(h<e&&y<e?m=m.slice(0,e):(m=`
209`,h==y?h=y=0:(h=0,y=1)));var T=m+`
210
211`;T!=this.lastValue&&(this.text.value=this.lastValue=T,this.lastSelectionStart=this.lastSelectionEnd=T.length)}if(this.afterContextMenu&&(this.lastSelectionStart=this.text.selectionStart,this.lastSelectionEnd=this.text.selectionEnd),this.lastSelectionEnd!=y||this.lastSelectionStart!=h||this.text.selectionEnd!=this.lastSelectionEnd)try{this.text.setSelectionRange(h,y),this.lastSelectionStart=h,this.lastSelectionEnd=y}catch{}this.inComposition=!1}},b.prototype.setHost=function(u){this.host=u},b.prototype.setNumberOfExtraLines=function(u){if(this.rowStart=Number.MAX_SAFE_INTEGER,this.rowEnd=Number.MIN_SAFE_INTEGER,u<0){this.numberOfExtraLines=0;return}this.numberOfExtraLines=u},b.prototype.setAriaLabel=function(){var u=``;if(this.host.$textInputAriaLabel&&(u+=``.concat(this.host.$textInputAriaLabel,`, `)),this.host.session){var h=this.host.session.selection.cursor.row;u+=L(`text-input.aria-label`,`Cursor at row $0`,[h+1])}this.text.setAttribute(`aria-label`,u)},b.prototype.setAriaOptions=function(u){u.activeDescendant?(this.text.setAttribute(`aria-haspopup`,`true`),this.text.setAttribute(`aria-autocomplete`,u.inline?`both`:`list`),this.text.setAttribute(`aria-activedescendant`,u.activeDescendant)):(this.text.setAttribute(`aria-haspopup`,`false`),this.text.setAttribute(`aria-autocomplete`,`both`),this.text.removeAttribute(`aria-activedescendant`)),u.role&&this.text.setAttribute(`role`,u.role),u.setLabel&&(this.text.setAttribute(`aria-roledescription`,L(`text-input.aria-roledescription`,`editor`)),this.setAriaLabel())},b.prototype.focus=function(){var u=this;if(this.setAriaOptions({setLabel:this.host.renderer.enableKeyboardAccessibility}),this.tempStyle||t||this.$focusScroll==`browser`)return this.text.focus({preventScroll:!0});var h=this.text.style.top;this.text.style.position=`fixed`,this.text.style.top=`0px`;try{var y=this.text.getBoundingClientRect().top!=0}catch{return}var m=[];if(y)for(var C=this.text.parentElement;C&&C.nodeType==1;)m.push(C),C.setAttribute(`ace_nocontext`,`true`),!C.parentElement&&C.getRootNode?C=C.getRootNode().host:C=C.parentElement;this.text.focus({preventScroll:!0}),y&&m.forEach(function(x){x.removeAttribute(`ace_nocontext`)}),setTimeout(function(){u.text.style.position=``,u.text.style.top==`0px`&&(u.text.style.top=h)},0)},b.prototype.blur=function(){this.text.blur()},b.prototype.isFocused=function(){return this.$isFocused},b.prototype.setInputHandler=function(u){this.inputHandler=u},b.prototype.getInputHandler=function(){return this.inputHandler},b.prototype.getElement=function(){return this.text},b.prototype.setCommandMode=function(u){this.commandMode=u,this.text.readOnly=!1},b.prototype.setReadOnly=function(u){this.commandMode||(this.text.readOnly=u)},b.prototype.setCopyWithEmptySelection=function(u){},b.prototype.onContextMenu=function(u){this.afterContextMenu=!0,this.resetSelection(),this.host._emit(`n
211ativecontextmenu`,{target:this.host,domEvent:u}),this.moveToMouse(u,!0)},b.prototype.moveToMouse=function(u,h){var y=this;this.tempStyle||(this.tempStyle=this.text.style.cssText),this.text.style.cssText=(h?`z-index:100000;`:``)+(M.isIE?`opacity:0.1;`:``)+`text-indent: -`+(this.lastSelectionStart+this.lastSelectionEnd)*this.host.renderer.characterWidth*.5+`px;`;var m=this.host.container.getBoundingClientRect(),C=a.computedStyle(this.host.container),x=m.top+(parseInt(C.borderTopWidth)||0),w=m.left+(parseInt(C.borderLeftWidth)||0),p=m.bottom-x-this.text.clientHeight-2,f=function(c){a.translate(y.text,c.clientX-w-2,Math.min(c.clientY-x-2,p))};f(u),u.type==`mousedown`&&(this.host.renderer.$isMousePressed=!0,clearTimeout(this.closeTimeout),M.isWin&&k.capture(this.host.container,f,this.onContextMenuClose.bind(this)))},b.prototype.destroy=function(){this.text.parentElement&&this.text.parentElement.removeChild(this.text)},b})(),E.$setUserAgentForTests=function(b,u){$=b,d=u}});ace.define(`ace/mouse/default_handlers`,[`require`,`exports`,`module`,`ace/lib/useragent`],function(R,E,F){"use strict";var k=R(`../lib/useragent`),L=0,M=550,a=(function(){function o(i){i.$clickSelection=null;var t=i.editor;t.setDefaultHandler(`mousedown`,this.onMouseDown.bind(i)),t.setDefaultHandler(`dblclick`,this.onDoubleClick.bind(i)),t.setDefaultHandler(`tripleclick`,this.onTripleClick.bind(i)),t.setDefaultHandler(`quadclick`,this.onQuadClick.bind(i)),t.setDefaultHandler(`mousewheel`,this.onMouseWheel.bind(i));[`select`,`startSelect`,`selectEnd`,`selectAllEnd`,`selectByWordsEnd`,`selectByLinesEnd`,`dragWait`,`dragWaitEnd`,`focusWait`].forEach(function(n){i[n]=this[n]},this),i.selectByLines=this.extendSelectionBy.bind(i,`getLineRange`),i.selectByWords=this.extendSelectionBy.bind(i,`getWordRange`)}return o.prototype.onMouseDown=function(i){var t=i.inSelection(),e=i.getDocumentPosition();this.mousedownEvent=i;var n=this.editor,s=i.getButton();if(s!==0){(n.getSelectionRange().isEmpty()||s==1)&&n.selection.moveToPosition(e),s==2&&(n.textInput.onContextMenu(i.domEvent),k.isMozilla||i.preventDefault());return}if(this.mousedownEvent.time=Date.now(),t&&!n.isFocused()&&(n.focus(),this.$focusTimeout&&!this.$clickSelection&&!n.inMultiSelectMode)){this.setState(`focusWait`),this.captureMouse(i);return}return this.captureMouse(i),this.startSelect(e,i.domEvent._clicks>1),i.preventDefault()},o.prototype.startSelect=function(i,t){i=i||this.editor.renderer.screenToTextCoordinates(this.x,this.y);var e=this.editor;this.mousedownEvent&&(this.mousedownEvent.getShiftKey()?e.selection.selectToPosition(i):t||e.selection.moveToPosition(i),t||this.select(),e.setStyle(`ace_selecting`),this.setState(`select`))},o.prototype.select=function(){var i,t=this.editor,e=t.renderer.screenToTextCoordinates(this.x,this.y);if(this.$clickSelection){var n=this.$clickSelection.comparePoint(e);if(n==-1)i=this.$clickSelection.end;else if(n==1)i=this.$clickSelection.start;else{var s=r(this.$clickSelection,e,t.session);e=s.cursor,i=s.anchor}t.selection.setSelectionAnchor(i.row,i.column)}t.selection.selectToPosition(e),t.renderer.scrollCursorIntoView()},o.prototype.extendSelectionBy=function(i){var t,e=this.editor,n=e.renderer.screenToTextCoordinates(this.x,this.y),s=e.selection[i](n.row,n.column);if(this.$clickSelection){var d=this.$clickSelection.comparePoint(s.start),g=this.$clickSelection.comparePoint(s.end);if(d==-1&&g<=0)t=this.$clickSelection.end,(s.end.row!=n.row||s.end.column!=n.column)&&(n=s.start);else if(g==1&&d>=0)t=this.$clickSelection.start,(s.start.row!=n.row||s.start.column!=n.column)&&(n=s.end);else if(d==-1&&g==1)n=s.end,t=s.start;else{var $=r(this.$clickSelection,n,e.session);n=$.cursor,t=$.anchor}e.selection.setSelectionAnchor(t.row,t.column)}e.selection.selectToPosition(n),e.renderer.scrollCursorIntoView()},o.prototype.selectByLinesEnd=function(){this.$clickSelection=null,this.editor.unsetStyle(`ace_selecting`)},o.prototype.focusWait=function(){(l(this.mousedownEvent.x,this.mousedownEvent.y,this.x,this.y)>L||Date.now()-this.mousedownEvent.time>this.$focusTimeout)&&this.startSelect(this.mousedownEvent.getDocumentPosition())},o.prototype.onDoubleClick=function(i){var t=i.getDocumentPosition(),e=this.editor,s=e.session.getBracketRange(t);s?(s.isEmpty()&&(s.start.column--,s.end.column++),this.setState(`select`)):(s=e.selection.getWordRange(t.row,t.column),this.setState(`selectByWords`)),this.$clickSelection=s,this.select()},o.prototype.onTripleClick=function(i){var t=i.getDocumentPosition(),e=this.editor;this.setState(`selectByLines`);var n=e.getSelectionRange();n.isMultiLine()&&n.contains(t.row,t.column)?(this.$clickSelection=e.selection.getLineRange(n.start.row),this.$clickSelection.end=e.selection.getLineRange(n.end.row).end):this.$clickSelection=e.selection.getLineRange(t.row),this.select()},o.prototype.onQuadClick=function(i){var t=this.editor;t.selectAll(),this.$clickSelection=t.getSelectionRange(),this.setState(`selectAll`)},o.prototype.onMouseWheel=function(i){if(!i.getAccelKey()){i.getShiftKey()&&i.wheelY&&!i.wheelX&&(i.wheelX=i.wheelY,i.wheelY=0);var t=this.editor;this.$lastScroll||(this.$lastScroll={t:0,vx:0,vy:0,allowed:0});var e=this.$lastScroll,n=i.domEvent.timeStamp,s=n-e.t,d=s?i.wheelX/s:e.vx,g=s?i.wheelY/s:e.vy;s<M&&(d=(d+e.vx)/2,g=(g+e.vy)/2);var $=Math.abs(d/g),v=!1;if($>
211=1&&t.renderer.isScrollableBy(i.wheelX*i.speed,0)&&(v=!0),$<=1&&t.renderer.isScrollableBy(0,i.wheelY*i.speed)&&(v=!0),v)e.allowed=n;else if(n-e.allowed<M)Math.abs(d)<=1.5*Math.abs(e.vx)&&Math.abs(g)<=1.5*Math.abs(e.vy)?(v=!0,e.allowed=n):e.allowed=0;if(e.t=n,e.vx=d,e.vy=g,v)return t.renderer.scrollBy(i.wheelX*i.speed,i.wheelY*i.speed),i.stop()}},o})();a.prototype.selectEnd=a.prototype.selectByLinesEnd,a.prototype.selectAllEnd=a.prototype.selectByLinesEnd,a.prototype.selectByWordsEnd=a.prototype.selectByLinesEnd,E.DefaultHandlers=a;function l(o,i,t,e){return Math.sqrt(Math.pow(t-o,2)+Math.pow(e-i,2))}function r(o,i,t){if(o.start.row==o.end.row)var e=2*i.column-o.start.column-o.end.column;else if(o.start.row==o.end.row-1&&!o.start.column&&!o.end.column)var e=3*i.column-2*t.getLine(o.start.row).length;else var e=2*i.row-o.start.row-o.end.row;return e<0?{cursor:o.start,anchor:o.end}:{cursor:o.end,anchor:o.start}}});ace.define(`ace/mouse/mouse_event`,[`require`,`exports`,`module`,`ace/lib/event`,`ace/lib/useragent`],function(R,E,F){"use strict";var k=R(`../lib/event`),L=R(`../lib/useragent`);E.MouseEvent=(function(){function a(l,r){this.speed,this.wheelX,this.wheelY,this.domEvent=l,this.editor=r,this.x=this.clientX=l.clientX,this.y=this.clientY=l.clientY,this.$pos=null,this.$inSelection=null,this.propagationStopped=!1,this.defaultPrevented=!1}return a.prototype.stopPropagation=function(){k.stopPropagation(this.domEvent),this.propagationStopped=!0},a.prototype.preventDefault=function(){k.preventDefault(this.domEvent),this.defaultPrevented=!0},a.prototype.stop=function(){this.stopPropagation(),this.preventDefault()},a.prototype.getDocumentPosition=function(){return this.$pos?this.$pos:(this.$pos=this.editor.renderer.screenToTextCoordinates(this.clientX,this.clientY),this.$pos)},a.prototype.getGutterRow=function(){var l=this.getDocumentPosition().row;return this.editor.session.documentToScreenRow(l,0)-this.editor.session.documentToScreenRow(this.editor.renderer.$gutterLayer.$lines.get(0).row,0)},a.prototype.inSelection=function(){if(this.$inSelection!==null)return this.$inSelection;var r=this.editor.getSelectionRange();if(r.isEmpty())this.$inSelection=!1;else{var o=this.getDocumentPosition();this.$inSelection=r.contains(o.row,o.column)}return this.$inSelection},a.prototype.getButton=function(){return k.getButton(this.domEvent)},a.prototype.getShiftKey=function(){return this.domEvent.shiftKey},a.prototype.getAccelKey=function(){return L.isMac?this.domEvent.metaKey:this.domEvent.ctrlKey},a})()});ace.define(`ace/lib/scroll`,[`require`,`exports`,`module`],function(R,E,F){E.preventParentScroll=function(L){L.stopPropagation();var M=L.currentTarget;M.scrollHeight>M.clientHeight||L.preventDefault()}});ace.define(`ace/tooltip`,[`require`,`exports`,`module`,`ace/lib/dom`,`ace/lib/event`,`ace/range`,`ace/lib/scroll`],function(R,E,F){"use strict";var k=this&&this.__extends||(function(){var s=function(d,g){return s=Object.
211setPrototypeOf||{__proto__:[]}instanceof Array&&function($,v){$.__proto__=v}||function($,v){for(var b in v)Object.prototype.hasOwnProperty.call(v,b)&&($[b]=v[b])},s(d,g)};return function(d,g){if(typeof g!=`function`&&g!==null)throw new TypeError(`Class extends value `+String(g)+` is not a constructor or null`);s(d,g);function $(){this.constructor=d}d.prototype=g===null?Object.create(g):($.prototype=g.prototype,new $)}})(),L=this&&this.__values||function(s){var d=typeof Symbol==`function`&&Symbol.iterator,g=d&&s[d],$=0;if(g)return g.call(s);if(s&&typeof s.length==`number`)return{next:function(){return s&&$>=s.length&&(s=void 0),{value:s&&s[$++],done:!s}}};throw new TypeError(d?`Object is not iterable.`:`Symbol.iterator is not defined.`)},M=R(`./lib/dom`);R(`./lib/event`);var l=R(`./range`).Range,r=R(`./lib/scroll`).preventParentScroll,o=`ace_tooltip`,i=(function(){function s(d){this.isOpen=!1,this.$element=null,this.$parentNode=d}return s.prototype.$init=function(){return this.$element=M.createElement(`div`),this.$element.className=o,this.$element.style.display=`none`,this.$parentNode.appendChild(this.$element),this.$element},s.prototype.getElement=function(){return this.$element||this.$init()},s.prototype.setText=function(d){this.getElement().textContent=d},s.prototype.setHtml=function(d){this.getElement().innerHTML=d},s.prototype.setPosition=function(d,g){this.getElement().style.left=d+`px`,this.getElement().style.top=g+`px`},s.prototype.setClassName=function(d){M.addCssClass(this.getElement(),d)},s.prototype.setTheme=function(d){this.theme&&(this.theme.isDark&&M.removeCssClass(this.getElement(),`ace_dark`),this.theme.cssClass&&M.removeCssClass(this.getElement(),this.theme.cssClass)),d.isDark&&M.addCssClass(this.getElement(),`ace_dark`),d.cssClass&&M.addCssClass(this.getElement(),d.cssClass),this.theme={isDark:d.isDark,cssClass:d.cssClass}},s.prototype.show=function(d,g,$){d!=null&&this.setText(d),g!=null&&$!=null&&this.setPosition(g,$),this.isOpen||(this.getElement().style.display=`block`,this.isOpen=!0)},s.prototype.hide=function(d){this.isOpen&&(this.getElement().style.display=`none`,this.getElement().className=o,this.isOpen=!1)},s.prototype.getHeight=function(){return this.getElement().offsetHeight},s.prototype.getWidth=function(){return this.getElement().offsetWidth},s.prototype.destroy=function(){this.isOpen=!1,this.$element&&this.$element.parentNode&&this.$element.parentNode.removeChild(this.$element)},s})(),e=new((function(){function s(){this.popups=[]}return s.prototype.addPopup=function(d){this.popups.push(d),this.updatePopups()},s.prototype.removePopup=function(d){var g=this.popups.indexOf(d);g!==-1&&(this.popups.splice(g,1),this.updatePopups())},s.prototype.updatePopups=function(){var d,g,$,v;this.popups.sort(function(p,f){return f.priority-p.priority});var b=[];try{for(var u=L(this.popups),h=u.next();!h.done;h=u.next()){var y=h.value,m=!0;try{for(var C=($=void 0,L(b)),x=C.next();!x.done;x=C.next()){var w=x.value;if(this.doPopupsOverlap(w,y)){m=!1;break}}}catch(p){$={error:p}}finally{try{x&&!x.done&&(v=C.return)&&v.call(C)}finally{if($)throw $.error}}m?b.push(y):y.hide()}}catch(p){d={error:p}}finally{try{h&&!h.done&&(g=u.return)&&g.call(u)}finally{if(d)throw d.error}}},s.prototype.doPopupsOverlap=function(d,g){var $=d.getElement().getBoundingClientRect(),v=g.getElement().getBoundingClientRect();return $.left<v.right&&$.right>v.left&&$.top<v.bottom&&$.bottom>v.top},s})());E.popupManager=e,E.Tooltip=i;E.HoverTooltip=(function(s){k(d,s);function d(g){g===void 0&&(g=document.body);var $=s.call(this,g)||this;$.timeout=void 0,$.lastT=0,$.idleTime=350,$.lastEvent=void 0,$.onMouseOut=$.onMouseOut.bind($),$.onMouseMove=$.onMouseMove.bind($),$.waitForHover=$.waitForHover.bind($),$.hide=$.hide.bind($);var v=$.getElement();return v.style.whiteSpace=`pre-wrap`,v.style.pointerEvents=`auto`,v.addEventListener(`mouseout`,$.onMouseOut),v.tabIndex=-1,v.addEventListener(`blur`,function(){v.contains(document.activeElement)||this.hide()}.bind($)),v.addEventListener(`wheel`,r),$}return d.prototype.addToEditor=function(g){g.on(`mousemove`,this.onMouseMove),g.on(`mousedown`,this.hide);var $=g.renderer.getMouseEventTarget();$&&typeof $.removeEventListener==`function`&&$.addEventListener(`mouseout`,this.onMouseOut,!0)},d.prototype.removeFromEditor=function(g){g.off(`mousemove`,this.onMouseMove),g.off(`mousedown`,this.hide);var $=g.renderer.getMouseEventTarget();$&&typeof $.removeEventListener==`function`&&$.removeEventListener(`mouseout`,this.onMouseOut,!0),this.timeout&&(clearTimeout(this.timeout),this.timeout=null)},d.prototype.onMouseMove=function(g,$){this.lastEvent=g,this.lastT=Date.now();var v=$.$mouseHandler.isMousePressed;if(this.isOpen){var b=this.lastEvent&&this.lastEvent.getDocumentPosition();(!this.range||!this.range.contains(b.row,b.column)||v||this.isOutsideOfText(this.lastEvent))&&this.hide()}this.timeout||v||(this.lastEvent=g,this.timeout=setTimeout(this.waitForHover,this.idleTime))},d.prototype.waitForHover=function(){this.timeout&&clearTimeout(this.timeout);var g=Date.now()-this.lastT;if(this.idleTime-g>10){this.timeout=setTimeout(this.waitForHover,this.idleTime-g);return}this.timeout=null,this.lastEvent&&!this.isOutsideOfText(this.lastEvent)&&this.$gatherData(this.lastEvent,this.lastEvent.editor)},d.prototype.isOutsideOfText=function(g){var $=g.editor,v=g.getDocumentPosition(),b=$.session.getLine(v.row);if(v.column==b.length){var u=$.renderer.pixelToScreenCoordinates(g.clientX,g.clientY),h=$.session.documentToScreenPosition(v.row,v.column);if(h.column!=u.column||h.row!=u.row)return!0}return!1},d.prototype.setDataProvider=function(g){this.$gatherData=g},d.prototype.showForRange=function(g,$,v,b){if(!(b&&b!=this.lastEvent)&&!(this.isOpen&&document.activeElement==this.getElement())){var u=g.renderer;this.isOpen||(e.addPopup(this),this.$registerCloseEvents(),this.setTheme(u.theme)),this.isOpen=!0,this.range=l.fromPoints($.start,$.end);var h=u.textToScreenCoordinates($.start.row,$.start.column),y=u.scroller.getBoundingClientRect();h.pageX<y.left&&(h.pageX=y.left);var m=this.getElement();m.innerHTML=``,m.appendChild(v),m.style.maxHeight=``,m.style.display=`block`,this.$setPosition(g,h,!0,$),M.$fixPositionBug(m)}},d.prototype.$setPosition=function(g,$,v,b){var u=10;v&&this.addMarker(b,g.session);var h=g.renderer,y=this.getElement(),m=y.offsetHeight,C=y.offsetWidth,x=$.pageY,w=$.pageX,p=window.innerHeight-x-h.lineHeight,f=this.$shouldPlaceAbove(m,x,p-u);y.style.maxHeight=(f?x:p)-u+`px`,y.style.top=f?``:x+h.lineHeight+`px`,y.style.bottom=f?window.innerHeight-x+`px`:``,y.style.left=Math.min(w,window.innerWidth-C-u)+`px`}
211,d.prototype.$shouldPlaceAbove=function(g,$,v){return!($-g<0&&$<v)},d.prototype.addMarker=function(g,$){this.marker&&this.$markerSession.removeMarker(this.marker),this.$markerSession=$,this.marker=$&&$.addMarker(g,`ace_highlight-marker`,`text`)},d.prototype.hide=function(g){g&&this.$fromKeyboard&&g.type==`keydown`&&g.code==`Escape`||!g&&document.activeElement==this.getElement()||g&&g.target&&(g.type!=`keydown`||g.ctrlKey||g.metaKey)&&this.$element.contains(g.target)||(this.lastEvent=null,this.timeout&&clearTimeout(this.timeout),this.timeout=null,this.addMarker(null),this.isOpen&&(this.$fromKeyboard=!1,this.$removeCloseEvents(),this.getElement().style.display=`none`,this.isOpen=!1,e.removePopup(this)))},d.prototype.$registerCloseEvents=function(){window.addEventListener(`keydown`,this.hide,!0),window.addEventListener(`wheel`,this.hide,!0),window.addEventListener(`mousedown`,this.hide,!0)},d.prototype.$removeCloseEvents=function(){window.removeEventListener(`keydown`,this.hide,!0),window.removeEventListener(`wheel`,this.hide,!0),window.removeEventListener(`mousedown`,this.hide,!0)},d.prototype.onMouseOut=function(g){this.timeout&&(clearTimeout(this.timeout),this.timeout=null),this.lastEvent=null,this.isOpen&&(!g.relatedTarget||this.getElement().contains(g.relatedTarget)||g&&g.currentTarget.contains(g.relatedTarget)||g.relatedTarget.classList.contains(`ace_content`)||this.hide())},d})(i)});ace.define(`ace/mouse/default_gutter_handler`,[`require`,`exports`,`module`,`ace/lib/dom`,`ace/mouse/mouse_event`,`ace/tooltip`,`ace/config`,`ace/range`],function(R,E,F){"use strict";var k=this&&this.__extends||(function(){var e=function(n,s){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,g){d.__proto__=g}||function(d,g){for(var $ in g)Object.prototype.hasOwnProperty.call(g,$)&&(d[$]=g[$])},e(n,s)};return function(n,s){if(typeof s!=`function`&&s!==null)throw new TypeError(`Class extends value `+String(s)+` is not a constructor or null`);e(n,s);function d(){this.constructor=n}n.prototype=s===null?Object.create(s):(d.prototype=s.prototype,new d)}})(),L=this&&this.__values||function(e){var n=typeof Symbol==`function`&&Symbol.iterator,s=n&&e[n],d=0;if(s)return s.call(e);if(e&&typeof e.length==`number`)return{next:function(){return e&&d>=e.length&&(e=void 0),{value:e&&e[d++],done:!e}}};throw new TypeError(n?`Object is not iterable.`:`Symbol.iterator is not defined.`)},M=R(`../lib/dom`),a=R(`./mouse_event`).MouseEvent,l=R(`../tooltip`).HoverTooltip,r=R(`../config`).nls,o=R(`../range`).Range;function i(e){var n=e.editor,s=n.renderer.$gutterLayer;e.$tooltip=new t(n),e.$tooltip.addToEditor(n),e.$tooltip.setDataProvider(function(d,g){var $=d.getDocumentPosition().row;e.$tooltip.showTooltip($)}),e.editor.setDefaultHandler(`guttermousedown`,function(d){if(!(!n.isFocused()||d.getButton()!=0)){if(s.getRegion(d)!=`foldWidgets`){var $=d.getDocumentPosition().row,v=n.session.selection;if(d.getShiftKey())v.selectTo($,0);else{if(d.domEvent.detail==2)return n.selectAll(),d.preventDefault();e.$clickSelection=n.selection.getLineRange($)}return e.setState(`selectByLines`),e.captureMouse(d),d.preventDefault()}}})}E.GutterHandler=i;var t=(function(e){k(n,e);function n(s){var d=e.call(this,s.container)||this;d.id=`gt`+ ++n.$uid,d.editor=s,d.visibleTooltipRow;var g=d.getElement();return g.setAttribute(`role`,`tooltip`),g.setAttribute(`id`,d.id),g.style.pointerEvents=`auto`,d.idleTime=50,d.onDomMouseMove=d.onDomMouseMove.bind(d),d.onDomMouseOut=d.onDomMouseOut.bind(d),d.setClassName(`ace_gutter-tooltip`),d}return n.prototype.onDomMouseMove=function(s){var d=new a(s,this.editor);this.onMouseMove(d,this.editor)},n.prototype.onDomMouseOut=function(s){var d=new a(s,this.editor);this.onMouseOut(d)},n.prototype.addToEditor=function(s){var d=s.renderer.$gutter;d.addEventListener(`mousemove`,this.onDomMouseMove),d.addEventListener(`mouseout`,this.onDomMouseOut),e.prototype.addToEditor.call(this,s)},n.prototype.removeFromEditor=function(s){var d=s.renderer.$gutter;d.removeEventListener(`mousemove`,this.onDomMouseMove),d.removeEventListener(`mouseout`,this.onDomMouseOut),e.prototype.removeFromEditor.call(this,s)},n.prototype.destroy=function(){this.editor&&this.removeFromEditor(this.editor),e.prototype.destroy.call(this)},Object.defineProperty(n,"annotationLabels",{get:function(){return{error:{singular:r(`gutter-tooltip.aria-label.error.singular`,`error`),plural:r(`gutter-tooltip.aria-label.error.plural`,`errors`)},security:{singular:r(`gutter-tooltip.aria-label.security.singular`,`security finding`),plural:r(`gutter-tooltip.aria-label.security.plural`,`security findings`)},warning:{singular:r(`gutter-tooltip.aria-label.warning.singular`,`warning`),plural:r(`gutter-tooltip.aria-label.warning.plural`,`warnings`)},info:{singular:r(`gutter-tooltip.aria-label.info.singular`,`information message`),plural:r(`gutter-tooltip.aria-label.info.plural`,`information messages`)},hint:{singular:r(`gutter-tooltip.aria-label.hint.singular`,`suggestion`),plural:r(`gutter-tooltip.aria-label.hint.plural`,`suggestions`)}}}
211,enumerable:!1,configurable:!0}),n.prototype.showTooltip=function(s){var d,g=this.editor.renderer.$gutterLayer,$=g.$annotations[s],v;$?v={displayText:Array.from($.displayText),type:Array.from($.type)}:v={displayText:[],type:[]};var b=g.session.getFoldLine(s);if(b&&g.$showFoldedAnnotations){for(var u={error:[],security:[],warning:[],info:[],hint:[]},h={error:1,security:2,warning:3,info:4,hint:5},y,m=s+1;m<=b.end.row;m++)if(g.$annotations[m])for(var C=0;C<g.$annotations[m].text.length;C++){var x=g.$annotations[m].type[C];u[x].push(g.$annotations[m].text[C]),(!y||h[x]<h[y])&&(y=x)}if([`error`,`security`,`warning`].includes(y)){var w=``.concat(n.annotationsToSummaryString(u),` in folded code.`);v.displayText.push(w),v.type.push(y+`_fold`)}}if(v.displayText.length===0)return this.hide();for(var p={error:[],security:[],warning:[],info:[],hint:[]},f=g.$useSvgGutterIcons?`ace_icon_svg`:`ace_icon`,m=0;m<v.displayText.length;m++){var c=M.createElement(`span`),S=M.createElement(`span`);(d=S.classList).add.apply(d,[`ace_`.concat(v.type[m]),f]),S.setAttribute(`aria-label`,``.concat(n.annotationLabels[v.type[m].replace(`_fold`,``)].singular)),S.setAttribute(`role`,`img`),S.appendChild(M.createTextNode(` `)),c.appendChild(S),c.appendChild(M.createTextNode(v.displayText[m])),c.appendChild(M.createElement(`br`)),p[v.type[m].replace(`_fold`,``)].push(c)}var A=M.createElement(`span`);p.error.forEach(function(I){return A.appendChild(I)}),p.security.forEach(function(I){return A.appendChild(I)}),p.warning.forEach(function(I){return A.appendChild(I)}),p.info.forEach(function(I){return A.appendChild(I)}),p.hint.forEach(function(I){return A.appendChild(I)}),A.setAttribute(`aria-live`,`polite`);var T=this.$findLinkedAnnotationNode(s);T&&T.setAttribute(`aria-describedby`,this.id);var _=o.fromPoints({row:s,column:0},{row:s,column:0});this.showForRange(this.editor,_,A),this.visibleTooltipRow=s,this.editor._signal(`showGutterTooltip`,this)},n.prototype.$setPosition=function(s,d,g,$){var v=this.$findCellByRow($.start.row);if(v){var b=v&&v.element,u=b&&b.querySelector(`.ace_gutter_annotation`);if(u){var h=u.getBoundingClientRect();if(h){var y={pageX:h.right,pageY:h.top};return e.prototype.$setPosition.call(this,s,y,!1,$)}}}},n.prototype.$shouldPlaceAbove=function(s,d,g){return g<s},n.prototype.$findLinkedAnnotationNode=function(s){var d=this.$findCellByRow(s);if(d){var g=d.element;if(g.childNodes.length>2)return g.childNodes[2]}},n.prototype.$findCellByRow=function(s){return this.editor.renderer.$gutterLayer.$lines.cells.find(function(d){return d.row===s})},n.prototype.hide=function(s){if(this.isOpen){if(this.$element.removeAttribute(`aria-live`),this.visibleTooltipRow!=null){var d=this.$findLinkedAnnotationNode(this.visibleTooltipRow);d&&d.removeAttribute(`aria-describedby`)}this.visibleTooltipRow=void 0,this.editor._signal(`hideGutterTooltip`,this),e.prototype.hide.call(this,s)}},n.annotationsToSummaryString=function(s){var d,g,$=[],v=[`error`,`security`,`warning`,`info`,`hint`];try{for(var b=L(v),u=b.next();!u.done;u=b.next()){var h=u.value;if(s[h].length){var y=s[h].length===1?n.annotationLabels[h].singular:n.annotationLabels[h].plural;$.push(``.concat(s[h].length,` `).concat(y))}}}catch(m){d={error:m}}finally{try{u&&!u.done&&(g=b.return)&&g.call(b)}finally{if(d)throw d.error}}return $.join(`, `)},n.prototype.isOutsideOfText=function(s){var g=s.editor.renderer.$gutter.getBoundingClientRect();return!(s.clientX>=g.left&&s.clientX<=g.right&&s.clientY>=g.top&&s.clientY<=g.bottom)},n})(l);t.$uid=0,E.GutterTooltip=t});ace.define(`ace/mouse/dragdrop_handler`,[`require`,`exports`,`module`,`ace/lib/dom`,`ace/lib/event`,`ace/lib/useragent`],function(R,E,F){"use strict";var k=R(`../lib/dom`),L=R(`../lib/event`),M=R(`../lib/useragent`),a=200,l=200,r=5;function o(t){var e=t.editor,n=k.createElement(`div`);n.style.cssText=`top:-100px;position:absolute;z-index:2147483647;opacity:0.5`,n.textContent=`\xA0`;[`dragWait`,`dragWaitEnd`,`startDrag`,`dragReadyEnd`,`onMouseDrag`].forEach(function(O){t[O]=this[O]},this),e.on(`mousedown`,this.onMouseDown.bind(t));var d=e.container,g,$,v,b,u,h,y=0,m,C,x,w,p;this.onDragStart=function(O){if(this.cancelDrag||!d.draggable){var B=this;return setTimeout(function(){B.startSelect(),B.captureMouse(O)},0),O.preventDefault()}u=e.getSelectionRange();var W=O.dataTransfer;W.effectAllowed=e.getReadOnly()?`copy`:`copyMove`,e.container.appendChild(n),W.setDragImage&&W.setDragImage(n,0,0),setTimeout(function(){e.container.removeChild(n)}),W.clearData(),W.setData(`Text`,e.session.getTextRange()),C=!0,this.setState(`drag`)},this.onDragEnd=function(O){if(d.draggable=!1,C=!1,this.setState(null),!e.getReadOnly()){var B=O.dataTransfer.dropEffect;!m&&B==`move`&&e.session.remove(e.getSelectionRange()),e.$resetCursorStyle()}this.editor.unsetStyle(`ace_dragging`),this.editor.renderer.setCursorStyle(``)},this.onDragEnter=function(O){if(!(e.getReadOnly()||!D(O.dataTransfer)))return $=O.clientX,v=O.clientY,g||A(),y++,O.dataTransfer.dropEffect=m=N(O),L.preventDefault(O)},this.onDragOver=function(O){if(!(e.getReadOnly()||!D(O.dataTransfer)))return $=O.clientX,v=O.clientY,g||(A(),y++),_!==null&&(_=null),O.dataTransfer.dropEffect=m=N(O),L.preventDefault(O)},this.onDragLeave=function(O){if(y--,y<=0&&g)return T(),m=null,L.preventDefault(O)},this.onDrop=function(O){if(h){var B=O.dataTransfer;if(C)switch(m){case`move`:u.contains(h.row,h.column)?u={start:h,end:h}:u=e.moveText(u,h);break;case`copy`:u=e.moveText(u,h,!0);break}else{var W=B.getData(`Text`);u={start:h,end:e.session.insert(h,W)},e.focus(),m=null}return T(),L.preventDefault(O)}},L.addListener(d,`dragstart`,this.onDragStart.bind(t),e),L.addListener(d,`dragend`,this.onDragEnd.bind(t),e),L.addListener(d,`dragenter`,this.onDragEnter.bind(t),e),L.addListener(d,`dragover`,this.onDragOver.bind(t),e),L.addListener(d,`dragleave`,this.onDragLeave.bind(t),e),L.addListener(d,`drop`,this.onDrop.bind(t),e);function f(O,B){var W=Date.now(),H=!B||O.row!=B.row,P=!B||O.column!=B.column;if(!w||H||P)e.moveCursorToPosition(O),w=W,p={x:$,y:v};else i(p.x,p.y,$,v)>r?w=null:W-w>=l&&(e.renderer.scrollCursorIntoView(),w=null)}function c(O,B){var W=Date.now(),H=e.renderer.layerConfig.lineHeight,P=e.renderer.layerConfig.characterWidth,V=e.renderer.scroller.getBoundingClientRect(),z={x:{left:$-V.left,right:V.right-$},y:{top:v-V.top,bottom:V.bottom-v}},U=Math.min(z.x.left,z.x.right),G=Math.min(z.y.top,z.y.bottom),j={row:O.row,column:O.column};U/P<=2&&(j.column+=z.x.left<z.x.right?-3:2),G/H<=1&&(j.row+=z.y.top<z.y.bottom?-1:1);var Y=O.row!=j.row,Q=O.column!=j.column,Z=!B||O.row!=B.row;Y||Q&&!Z?x?W-x>=a&&e.renderer.scrollCursorIntoView(j):x=W:x=null}function S(){var O=h;h=e.renderer.screenToTextCoordinates($,v),f(h,O),c(h,O)}function A(){u=e.selection.toOrientedRange(),g=e.session.addMarker(u,`ace_selection`,e.getSelectionStyle()),e.clearSelection(),e.isFocused()&&e.renderer.$cursorLayer.setBlinking(!1),clearInterval(b),S(),b=setInterval(S,20),y=0,L.addListener(document,`mousemove`,I)}function T(){clearInterval(b),e.session.removeMarker(g),g=null,e.selection.fromOrientedRange(u),e.isFocused()&&!C&&e.$resetCursorStyle(),u=null,h=null,y=0,x=null,w=null,L.removeListener(document,`mousemove`,I)}var _=null;function I(){_??=setTimeout(function(){_!=null&&g&&T()},20)}function D(O){var B=O.types;return!B||Array.prototype.some.call(B,function(W){return W==`text/plain`||W==`Text`})}function N(O){var B=[`copy`,`copymove`,`all`,`uninitialized`],W=[`move`,`copymove`,`linkmove`,`all`,`uninitialized`],H=M.isMac?O.altKey:O.ctrlKey,P=`uninitialized`;try{P=O.dataTransfer.effectAllowed.toLowerCase()}catch{}var V=`none`;return H&&B.indexOf(P)>=0?V=`copy`:W.indexOf(P)>=0?V=`move`:B.indexOf(P)>=0&&(V=`copy`),V}}(function(){this.dragWait=function(){Date.now()-this.mousedownEvent.time>this.editor.getDragDelay()&&this.startDrag()},this.dragWaitEnd=function(){var t=this.editor.container;t.draggable=!1,this.startSelect(this.mousedownEvent.getDocumentPosition()),this.selectEnd()},this.dragReadyEnd=function(t){this.editor.$resetCursorStyle(),this.editor.unsetStyle(`ace_dragging`),this.editor.renderer.setCursorStyle(``),this.dragWaitEnd()},this.startDrag=function(){this.cancelDrag=!1;var t=this.editor,e=t.container;e.draggable=!0,t.renderer.$cursorLayer.setBlinking(!1),t.setStyle(`ace_dragging`);var n=M.isWin?`default`:`move`;t.renderer.setCursorStyle(n),this.setState(`dragReady`)},this.onMouseDrag=function(t){var e=this.editor.container;if(M.isIE&&this.state==`dragReady`){var n=i(this.mousedownEvent.x,this.mousedownEvent.y,this.x,this.y);n>3&&e.dragDrop()}if(this.state===`dragWait`){var n=i(this.mousedownEvent.x,this.mousedownEvent.y,this.x,this.y);n>0&&(e.draggable=!1,this.startSelect(this.mousedownEvent.getDocumentPosition()))}},this.onMouseDown=function(t){if(this.$dragEnabled){this.mousedownEvent=t;var e=this.editor,n=t.inSelection(),s=t.getButton();
211if((t.domEvent.detail||1)===1&&s===0&&n){if(t.editor.inMultiSelectMode&&(t.getAccelKey()||t.getShiftKey()))return;this.mousedownEvent.time=Date.now();var g=t.domEvent.target||t.domEvent.srcElement;if(`unselectable`in g&&(g.unselectable=`on`),e.getDragDelay()){if(M.isWebKit){this.cancelDrag=!0;var $=e.container;$.draggable=!0}this.setState(`dragWait`)}else this.startDrag();this.captureMouse(t,this.onMouseDrag.bind(this)),t.defaultPrevented=!0}}}}).call(o.prototype);function i(t,e,n,s){return Math.sqrt(Math.pow(n-t,2)+Math.pow(s-e,2))}E.DragdropHandler=o});ace.define(`ace/mouse/touch_handler`,[`require`,`exports`,`module`,`ace/mouse/mouse_event`,`ace/lib/event`,`ace/lib/dom`],function(R,E,F){"use strict";var k=R(`./mouse_event`).MouseEvent,L=R(`../lib/event`),M=R(`../lib/dom`);E.addTouchListeners=function(a,l){var r=`scroll`,o,i,t,e,n,s,d=0,g,$=0,v=0,b=0,u,h;function y(){var f=window.navigator&&window.navigator.clipboard,c=!1,S=function(){var _=l.getCopyText(),I=l.session.getUndoManager().hasUndo();h.replaceChild(M.buildDom(c?[`span`,!_&&A(`selectall`)&&[`span`,{class:`ace_mobile-button`,action:`selectall`},`Select All`],_&&A(`copy`)&&[`span`,{class:`ace_mobile-button`,action:`copy`},`Copy`],_&&A(`cut`)&&[`span`,{class:`ace_mobile-button`,action:`cut`},`Cut`],f&&A(`paste`)&&[`span`,{class:`ace_mobile-button`,action:`paste`},`Paste`],I&&A(`undo`)&&[`span`,{class:`ace_mobile-button`,action:`undo`},`Undo`],A(`find`)&&[`span`,{class:`ace_mobile-button`,action:`find`},`Find`],A(`openCommandPalette`)&&[`span`,{class:`ace_mobile-button`,action:`openCommandPalette`},`Palette`]]:[`span`]),h.firstChild)},A=function(_){return l.commands.canExecute(_,l)},T=function(_){var I=_.target.getAttribute(`action`);if(I==`more`||!c)return c=!c,S();I==`paste`?f.readText().then(function(D){l.execCommand(I,D)}):I&&((I==`cut`||I==`copy`)&&(f?f.writeText(l.getCopyText()):document.execCommand(`copy`)),l.execCommand(I)),h.firstChild.style.display=`none`,c=!1,I!=`openCommandPalette`&&l.focus()};h=M.buildDom([`div`,{class:`ace_mobile-menu`,ontouchstart:function(_){r=`menu`,_.stopPropagation(),_.preventDefault(),l.textInput.focus()},ontouchend:function(_){_.stopPropagation(),_.preventDefault(),T(_)},onclick:T},[`span`],[`span`,{class:`ace_mobile-button`,action:`more`},`...`]],l.container)}function m(){if(!l.getOption(`enableMobileMenu`)){h&&C();return}h||y();var f=l.selection.cursor,c=l.renderer.textToScreenCoordinates(f.row,f.column),S=l.renderer.textToScreenCoordinates(0,0).pageX,A=l.renderer.scrollLeft,T=l.container.getBoundingClientRect();h.style.top=c.pageY-T.top-3+`px`,c.pageX-T.left<T.width-70?(h.style.left=``,h.style.right=`10px`):(h.style.right=``,h.style.left=S+A-T.left+`px`),h.style.display=``,h.firstChild.style.display=`none`,l.on(`input`,C)}function C(f){h&&(h.style.display=`none`),l.off(`input`,C)}function x(){n=null,clearTimeout(n);var f=l.selection.getRange(),c=f.contains(g.row,g.column);(f.isEmpty()||!c)&&(l.selection.moveToPosition(g),l.selection.selectWord()),r=`wait`,m()}function w(){n=null,clearTimeout(n),l.selection.moveToPosition(g);var f=$>=2?l.selection.getLineRange(g.row):l.session.getBracketRange(g);f&&!f.isEmpty()?l.selection.setRange(f):l.selection.selectWord(),r=`wait`}L.addListener(a,`contextmenu`,function(f){if(u)l.textInput.getElement().focus()},l),L.addListener(a,`touchstart`,function(f){var c=f.touches;if(n||c.length>1){clearTimeout(n),n=null,t=-1,r=`zoom`;return}u=l.$mouseHandler.isMousePressed=!0;var S=l.renderer.layerConfig.lineHeight,A=l.renderer.layerConfig.lineHeight,T=f.timeStamp;e=T;var _=c[0],I=_.clientX,D=_.clientY;Math.abs(o-I)+Math.abs(i-D)>S&&(t=-1),o=f.clientX=I,i=f.clientY=D,v=b=0;if(g=new k(f,l).getDocumentPosition(),T-t<500&&c.length==1&&!d)$++,f.preventDefault(),f.button=0,w();else{$=0;var O=l.selection.cursor,B=l.selection.isEmpty()?O:l.selection.anchor,W=l.renderer.$cursorLayer.getPixelPosition(O,!0),H=l.renderer.$cursorLayer.getPixelPosition(B,!0),P=l.renderer.scroller.getBoundingClientRect(),V=l.renderer.layerConfig.offset,z=l.renderer.scrollLeft,U=function(Y,Q){return Y=Y/A,Q=Q/S-.75,Y*Y+Q*Q};if(f.clientX<P.left){r=`zoom`;return}
211var G=U(f.clientX-P.left-W.left+z,f.clientY-P.top-W.top+V),j=U(f.clientX-P.left-H.left+z,f.clientY-P.top-H.top+V);G<3.5&&j<3.5&&(r=G>j?`cursor`:`anchor`),j<3.5?r=`anchor`:G<3.5?r=`cursor`:r=`scroll`,n=setTimeout(x,450)}t=T},l),L.addListener(a,`touchend`,function(f){u=l.$mouseHandler.isMousePressed=!1,s&&clearInterval(s),r==`zoom`?(r=``,d=0):n?(l.selection.moveToPosition(g),d=0,m()):r==`scroll`?(p(),C()):m(),clearTimeout(n),n=null},l),L.addListener(a,`touchmove`,function(f){n&&(clearTimeout(n),n=null);var c=f.touches;if(!(c.length>1||r==`zoom`)){var S=c[0],A=o-S.clientX,T=i-S.clientY;if(r==`wait`)if(A*A+T*T>4)r=`cursor`;else return f.preventDefault();o=S.clientX,i=S.clientY,f.clientX=S.clientX,f.clientY=S.clientY;var _=f.timeStamp,I=_-e;if(e=_,r==`scroll`){var D=new k(f,l);D.speed=1,D.wheelX=A,D.wheelY=T,10*Math.abs(A)<Math.abs(T)&&(A=0),10*Math.abs(T)<Math.abs(A)&&(T=0),I!=0&&(v=A/I,b=T/I),l._emit(`mousewheel`,D),D.propagationStopped||(v=b=0)}else{var O=new k(f,l).getDocumentPosition();r==`cursor`?l.selection.moveCursorToPosition(O):r==`anchor`&&l.selection.setSelectionAnchor(O.row,O.column),l.renderer.scrollCursorIntoView(O),f.preventDefault()}}},l);function p(){d+=60,s=setInterval(function(){d--<=0&&(clearInterval(s),s=null),Math.abs(v)<.01&&(v=0),Math.abs(b)<.01&&(b=0),d<20&&(v=.9*v),d<20&&(b=.9*b);var f=l.session.getScrollTop();l.renderer.scrollBy(10*v,10*b),f==l.session.getScrollTop()&&(d=0)},10)}}});ace.define(`ace/mouse/mouse_handler`,[`require`,`exports`,`module`,`ace/lib/event`,`ace/lib/useragent`,`ace/mouse/default_handlers`,`ace/mouse/default_gutter_handler`,`ace/mouse/mouse_event`,`ace/mouse/dragdrop_handler`,`ace/mouse/touch_handler`,`ace/config`],function(R,E,F){"use strict";var k=R(`../lib/event`),L=R(`../lib/useragent`),M=R(`./default_handlers`).DefaultHandlers,a=R(`./default_gutter_handler`).GutterHandler,l=R(`./mouse_event`).MouseEvent,r=R(`./dragdrop_handler`).DragdropHandler,o=R(`./touch_handler`).addTouchListeners,i=R(`../config`),t=(function(){function e(n){this.$dragDelay,this.$dragEnabled,this.$mouseMoved,this.mouseEvent,this.$focusTimeout;var s=this;this.editor=n,new M(this),new a(this),new r(this);var d=function(v){(!document.hasFocus||!document.hasFocus()||!n.isFocused()&&document.activeElement==(n.textInput&&n.textInput.getElement()))&&window.focus(),n.focus(),setTimeout(function(){n.isFocused()||n.focus()})},g=n.renderer.getMouseEventTarget();k.addListener(g,`click`,this.onMouseEvent.bind(this,`click`),n),k.addListener(g,`mousemove`,this.onMouseMove.bind(this,`mousemove`),n),k.addMultiMouseDownListener([g,n.renderer.scrollBarV&&n.renderer.scrollBarV.inner,n.renderer.scrollBarH&&n.renderer.scrollBarH.inner,n.textInput&&n.textInput.getElement()].filter(Boolean),[400,300,250],this,`onMouseEvent`,n),k.addMouseWheelListener(n.container,this.onMouseWheel.bind(this,`mousewheel`),n),o(n.container,n);var $=n.renderer.$gutter;k.addListener($,`mousedown`,this.onMouseEvent.bind(this,`guttermousedown`),n),k.addListener($,`click`,this.onMouseEvent.bind(this,`gutterclick`),n),k.addListener($,`dblclick`,this.onMouseEvent.bind(this,`gutterdblclick`),n),k.addListener($,`mousemove`,this.onMouseEvent.bind(this,`guttermousemove`),n),k.addListener(g,`mousedown`,d,n),k.addListener($,`mousedown`,d,n),L.isIE&&n.renderer.scrollBarV&&(k.addListener(n.renderer.scrollBarV.element,`mousedown`,d,n),k.addListener(n.renderer.scrollBarH.element,`mousedown`,d,n)),n.on(`mousemove`,function(v){if(!(s.state||s.$dragDelay||!s.$dragEnabled)){var b=n.renderer.screenToTextCoordinates(v.x,v.y),u=n.session.selection.getRange(),h=n.renderer;!u.isEmpty()&&u.insideStart(b.row,b.column)?h.setCursorStyle(`default`):h.setCursorStyle(``)}},n)}return e.prototype.onMouseEvent=function(n,s){this.editor.session&&this.editor._emit(n,new l(s,this.editor))},e.prototype.onMouseMove=function(n,s){var d=this.editor._eventRegistry&&this.editor._eventRegistry.mousemove;!d||!d.length||this.editor._emit(n,new l(s,this.editor))},e.prototype.onMouseWheel=function(n,s){var d=new l(s,this.editor);d.speed=this.$scrollSpeed*2,d.wheelX=s.wheelX,d.wheelY=s.wheelY,this.editor._emit(n,d)},e.prototype.setState=function(n){this.state=n},e.prototype.captureMouse=function(n,s){this.x=n.x,this.y=n.y,this.isMousePressed=!0;var d=this.editor,g=this.editor.renderer;g.$isMousePressed=!0;var $=this,v=!0,b=function(C){if(C){if(L.isWebKit&&!C.which&&$.releaseMouse)return $.releaseMouse();
211$.x=C.clientX,$.y=C.clientY,s&&s(C),$.mouseEvent=new l(C,$.editor),$.$mouseMoved=!0}},u=function(C){d.off(`beforeEndOperation`,m),v=!1,d.session&&h(),$[$.state+`End`]&&$[$.state+`End`](C),$.state=``,$.isMousePressed=g.$isMousePressed=!1,g.$keepTextAreaAtCursor&&g.$moveTextAreaToCursor(),$.$onCaptureMouseMove=$.releaseMouse=null,C&&$.onMouseEvent(`mouseup`,C),d.endOperation()},h=function(){$[$.state]&&$[$.state](),$.$mouseMoved=!1},y=function(){v&&(h(),k.nextFrame(y))};if(L.isOldIE&&n.domEvent.type==`dblclick`)return setTimeout(function(){u(n)});var m=function(C){$.releaseMouse&&d.curOp.command.name&&d.curOp.selectionChanged&&($[$.state+`End`]&&$[$.state+`End`](),$.state=``,$.releaseMouse())};d.on(`beforeEndOperation`,m),d.startOperation({command:{name:`mouse`}}),$.$onCaptureMouseMove=b,$.releaseMouse=k.capture(this.editor.container,b,u),y()},e.prototype.cancelContextMenu=function(){var n=function(s){s&&s.domEvent&&s.domEvent.type!=`contextmenu`||(this.editor.off(`nativecontextmenu`,n),s&&s.domEvent&&k.stopEvent(s.domEvent))}.bind(this);setTimeout(n,10),this.editor.on(`nativecontextmenu`,n)},e.prototype.destroy=function(){this.releaseMouse&&this.releaseMouse(),this.$tooltip&&this.$tooltip.destroy()},e})();t.prototype.releaseMouse=null,i.defineOptions(t.prototype,`mouseHandler`,{scrollSpeed:{initialValue:2},dragDelay:{initialValue:L.isMac?150:0},dragEnabled:{initialValue:!0},focusTimeout:{initialValue:0}}),E.MouseHandler=t});ace.define(`ace/mouse/fold_handler`,[`require`,`exports`,`module`,`ace/lib/dom`],function(R,E,F){"use strict";var k=R(`../lib/dom`);E.FoldHandler=(function(){function M(a){a.on(`click`,function(l){var r=l.getDocumentPosition(),o=a.session,i=o.getFoldAt(r.row,r.column,1);i&&(l.getAccelKey()?o.removeFold(i):o.expandFold(i),l.stop());var t=l.domEvent&&l.domEvent.target;t&&k.hasCssClass(t,`ace_inline_button`)&&k.hasCssClass(t,`ace_toggle_wrap`)&&(o.setOption(`wrap`,!o.getUseWrapMode()),a.renderer.scrollCursorIntoView())}),a.on(`gutterclick`,function(l){if(a.renderer.$gutterLayer.getRegion(l)==`foldWidgets`){var o=l.getDocumentPosition().row,i=a.session;i.foldWidgets&&i.foldWidgets[o]&&a.session.onFoldWidgetClick(o,l),a.isFocused()||a.focus(),l.stop()}}),a.on(`gutterdblclick`,function(l){if(a.renderer.$gutterLayer.getRegion(l)==`foldWidgets`){var o=l.getDocumentPosition().row,i=a.session,t=i.getParentFoldRangeData(o,!0),e=t.range||t.firstRange;if(e){o=e.start.row;var n=i.getFoldAt(o,i.getLine(o).length,1);n?i.removeFold(n):(i.addFold(`...`,e),a.renderer.scrollCursorIntoView({row:e.start.row,column:0}))}l.stop()}})}return M})()});ace.define(`ace/keyboard/keybinding`,[`require`,`exports`,`module`,`ace/lib/keys`,`ace/lib/event`],function(R,E,F){"use strict";var k=R(`../lib/keys`),L=R(`../lib/event`);E.KeyBinding=(function(){function a(l){this.$editor=l,this.$data={editor:l},this.$handlers=[],this.setDefaultHandler(l.commands)}return a.prototype.setDefaultHandler=function(l){this.removeKeyboardHandler(this.$defaultHandler),this.$defaultHandler=l,this.addKeyboardHandler(l,0)},a.prototype.setKeyboardHandler=function(l){var r=this.$handlers;if(r[r.length-1]!=l){for(;r[r.length-1]&&r[r.length-1]!=this.$defaultHandler;)this.removeKeyboardHandler(r[r.length-1]);this.addKeyboardHandler(l,1)}},a.prototype.addKeyboardHandler=function(l,r){if(l){typeof l==`function`&&!l.handleKeyboard&&(l.handleKeyboard=l);var o=this.$handlers.indexOf(l);o!=-1&&this.$handlers.splice(o,1),r==null?this.$handlers.push(l):this.$handlers.splice(r,0,l),o==-1&&l.attach&&l.attach(this.$editor)}},a.prototype.removeKeyboardHandler=function(l){var r=this.$handlers.indexOf(l);return r==-1?!1:(this.$handlers.splice(r,1),l.detach&&l.detach(this.$editor),!0)},a.prototype.getKeyboardHandler=function(){return this.$handlers[this.$handlers.length-1]},a.prototype.getStatusText=function(){var l=this.$data,r=l.editor;return this.$handlers.map(function(o){return o.getStatusText&&o.getStatusText(r,l)||``}).filter(Boolean).join(` `)},a.prototype.$callKeyboardHandlers=function(l,r,o,i){for(var t,e=!1,n=this.$editor.commands,s=this.$handlers.length;s--&&(t=this.$handlers[s].handleKeyboard(this.$data,l,r,o,i),!(!(!t||!t.command)&&(t.command==`null`?e=!0:e=n.exec(t.command,this.$editor,t.args,i),e&&i&&l!=-1&&t.passEvent!=!0&&t.command.passEvent!=!0&&L.stopEvent(i),e))););return!e&&l==-1&&(t={command:`insertstring`},e=n.exec(`insertstring`,this.$editor,r)),e&&this.$editor._signal&&this.$editor._signal(`keyboardActivity`,t),e},a.prototype.onCommandKey=function(l,r,o){var i=k.keyCodeToString(o);return this.$callKeyboardHandlers(r,i,o,l)},a.prototype.onTextInput=function(l){return this.$callKeyboardHandlers(-1,l)},a})()});ace.define(`ace/lib/bidiutil`,[`require`,`exports`,`module`],function(R,E,F){"use strict";var M=0,a=0,l=!1,o=!1,i=!1,n=[[0,3,0,1,0,0,0],[0,3,0,1,2,2,0],[0,3,0,17,2,0,1],[0,3,5,5,4,1,0],[0,3,21,21,4,0,1],[0,3,5,5,4,2,0]],s=[[2,0,1,1,0,1,0],[2,0,1,1,0,2,0],[2,0,2,1,3,2,0],[2,0,2,33,3,1,1]],d=0,g=1,$=0,v=1,b=2,u=3,h=4,y=5,m=6,C=7,x=8,w=9,p=10,f=11,c=12,S=13,A=14,T=15,_=16,I=17,D=18,N=[D,D,D,D,D,D,D,D,D,m,y,m,x,y,D,D,D,D,D,D,D,D,D,D,D,D,D,D,y,y,y,m,x,h,h,f,f,f,h,h,h,h,h,p,w,p,w,w,b,b,b,b,b,b,b,b,b,b,w,h,h,h,h,h,h,$,$,$,$,$,$,$,$,$,$,$,$,$,$,$,$,$,$,$,$,$,$,$,$,$,$,h,h,h,h,h,h,$,$,$,$,$,$,$,$,$,$,$,$,$,$,$,$,$,$,$,$,$,$,$,$,$,$,h,h,h,h,D,D,D,D,D,D,y,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,w,h,f,f,f,f,h,h,h,h,$,h,h,D,h,h,f,f,b,b,h,$,h,h,h,b,$,h,h,h,h,h],O=[x,x,x,x,x,x,x,x,x,x,x,D,D,D,$,v,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,x,y,S,A,T,_,I,w,f,f,f,f,f,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,w,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,x];function B(z,U,G,j){var Y=M?s:n,Q=null,Z=null,K=null,X=0,ie=null,oe=null,te=-1,J=null,q=null,ye=[];if(!j)for(J=0,j=[];J<G;J++)j[J]=P(z[J]);for(a=M,l=!1,o=!1,i=!1,q=0;q<G;q++){if(Q=X,ye[q]=Z=H(z,j,ye,q),X=Y[Q][Z],ie=X&240,X&=15,U[q]=K=Y[X][5],ie>0)if(ie==16){for(J=te;J<q;J++)U[J]=1;te=-1}else te=-1;if(oe=Y[X][6],oe)te==-1&&(te=q);else if(te>-1){for(J=te;J<q;J++)U[J]=K;te=-1}j[q]==y&&(U[q]=0),a|=K}if(i){for(J=0;J<G;J++)if(j[J]==m){U[J]=M;for(var se=J-1;se>=0&&j[se]==x;se--)U[se]=M}}}function W(z,U,G){if(!(a<z)){if(z==1&&M==g&&!o){G.reverse();return}for(var j=G.length,Y=0,Q,Z,K,X;Y<j;){if(U[Y]>=z){for(Q=Y+1;Q<j&&U[Q]>=z;)Q++;for(Z=Y,K=Q-1;Z<K;Z++,K--)X=G[Z],G[Z]=G[K],G[K]=X;Y=Q}Y++}}}function H(z,U,G,j){var Y=U[j],Q,Z,K,X;switch(Y){case $:case v:l=!1;case h:case u:return Y;case b:return l?u:b;case C:return l=!0,v;case x:return h;case w:return j<1||j+1>=U.length||(Q=G[j-1])!=b&&Q!=u||(Z=U[j+1])!=b&&Z!=u?h:(l&&(Z=u),Z==Q?Z:h);case p:return Q=j>0?G[j-1]:y,Q==b&&j+1<U.length&&U[j+1]==b?b:h;case f:if(j>0&&G[j-1]==b)return b;if(l)return h;for(X=j+1,K=U.length;X<K&&U[X]==f;)X++;return X<K&&U[X]==b?b:h;case c:for(K=U.length,X=j+1;X<K&&U[X]==c;)X++;if(X<K){var ie=z[j],oe=ie>=1425&&ie<=2303||ie==64286;if(Q=U[X],oe&&(Q==v||Q==C))return v}return j<1||(Q=U[j-1])==y?h:G[j-1];case y:return l=!1,o=!0,M;case m:return i=!0,h;case S:case A:case _:case I:case T:l=!1;case D:return h}}function P(z){var U=z.charCodeAt(0),G=U>>8;return G==0?U>
211191?$:N[U]:G==5?/[\u0591-\u05f4]/.test(z)?v:$:G==6?/[\u0610-\u061a\u064b-\u065f\u06d6-\u06e4\u06e7-\u06ed]/.test(z)?c:/[\u0660-\u0669\u066b-\u066c]/.test(z)?u:U==1642?f:/[\u06f0-\u06f9]/.test(z)?b:C:G==32&&U<=8287?O[U&255]:G==254&&U>=65136?C:h}E.L=$,E.R=v,E.EN=b,E.ON_R=3,E.AN=4,E.R_H=5,E.B=6,E.RLE=7,E.DOT=`·`,E.doBidiReorder=function(z,U,G){if(z.length<2)return{};var j=z.split(``),Y=new Array(j.length),Q=new Array(j.length),Z=[];M=G?g:d,B(j,Z,j.length,U);for(var K=0;K<Y.length;Y[K]=K,K++);W(2,Z,Y),W(1,Z,Y);for(var K=0;K<Y.length-1;K++)U[K]===u?Z[K]=E.AN:Z[K]===v&&(U[K]>C&&U[K]<S||U[K]===h||U[K]===D)?Z[K]=E.ON_R:K>0&&j[K-1]===`ل`&&/\u0622|\u0623|\u0625|\u0627/.test(j[K])&&(Z[K-1]=Z[K]=E.R_H,K++);j[j.length-1]===E.DOT&&(Z[j.length-1]=E.B),j[0]===`‫`&&(Z[0]=E.RLE);for(var K=0;K<Y.length;K++)Q[K]=Z[Y[K]];return{logicalFromVisual:Y,bidiLevels:Q}},E.hasBidiCharacters=function(z,U){for(var G=!1,j=0;j<z.length;j++)U[j]=P(z.charAt(j)),!G&&(U[j]==v||U[j]==C||U[j]==u)&&(G=!0);return G},E.getVisualFromLogicalIdx=function(z,U){for(var G=0;G<U.logicalFromVisual.length;G++)if(U.logicalFromVisual[G]==z)return G;return 0}});ace.define(`ace/bidihandler`,[`require`,`exports`,`module`,`ace/lib/bidiutil`,`ace/lib/lang`],function(R,E,F){"use strict";var k=R(`./lib/bidiutil`),L=R(`./lib/lang`),M=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac\u202B]/;E.BidiHandler=(function(){function l(r){this.session=r,this.bidiMap={},this.currentRow=null,this.bidiUtil=k,this.charWidths=[],this.EOL=`¬`,this.showInvisibles=!0,this.isRtlDir=!1,this.$isRtl=!1,this.line=``,this.wrapIndent=0,this.EOF=`¶`,this.RLE=`‫`,this.contentWidth=0,this.fontMetrics=null,this.rtlLineOffset=0,this.wrapOffset=0,this.isMoveLeftOperation=!1,this.seenBidi=M.test(r.getValue())}return l.prototype.isBidiRow=function(r,o,i){return this.seenBidi?(r!==this.currentRow&&(this.currentRow=r,this.updateRowLine(o,i),this.updateBidiMap()),this.bidiMap.bidiLevels):!1},l.prototype.onChange=function(r){this.seenBidi?this.currentRow=null:r.action==`insert`&&M.test(r.lines.join(`
212`))&&(this.seenBidi=!0,this.currentRow=null)},l.prototype.getDocumentRow=function(){var r=0,o=this.session.$screenRowCache;if(o.length){var i=this.session.$getRowCacheIndex(o,this.currentRow);i>=0&&(r=this.session.$docRowCache[i])}return r},l.prototype.getSplitIndex=function(){var r=0,o=this.session.$screenRowCache;if(o.length)for(var i,t=this.session.$getRowCacheIndex(o,this.currentRow);this.currentRow-r>0&&(i=this.session.$getRowCacheIndex(o,this.currentRow-r-1),i===t);)t=i,r++;else r=this.currentRow;return r},l.prototype.updateRowLine=function(r,o){r===void 0&&(r=this.getDocumentRow());var t=r===this.session.getLength()-1?this.EOF:this.EOL;if(this.wrapIndent=0,this.line=this.session.getLine(r),this.isRtlDir=this.$isRtl||this.line.charAt(0)===this.RLE,this.session.$useWrapMode){var e=this.session.$wrapData[r];e&&(o===void 0&&(o=this.getSplitIndex()),o>0&&e.length?(this.wrapIndent=e.indent,this.wrapOffset=this.wrapIndent*this.charWidths[k.L],this.line=o<e.length?this.line.substring(e[o-1],e[o]):this.line.substring(e[e.length-1])):this.line=this.line.substring(0,e[o]),o==e.length&&(this.line+=this.showInvisibles?t:k.DOT))}else this.line+=this.showInvisibles?t:k.DOT;var n=this.session,s=0,d;this.line=this.line.replace(/\t|[\u1100-\u2029, \u202F-\uFFE6]/g,function(g,$){return g===`	`||n.isFullWidth(g.charCodeAt(0))?(d=g===`	`?n.getScreenTabSize($+s):2,s+=d-1,L.stringRepeat(k.DOT,d)):g}),this.isRtlDir&&(this.fontMetrics.$main.textContent=this.line.charAt(this.line.length-1)==k.DOT?this.line.substr(0,this.line.length-1):this.line,this.rtlLineOffset=this.contentWidth-this.fontMetrics.$main.getBoundingClientRect().width)},l.prototype.updateBidiMap=function(){var r=[];k.hasBidiCharacters(this.line,r)||this.isRtlDir?this.bidiMap=k.doBidiReorder(this.line,r,this.isRtlDir):this.bidiMap={}},l.prototype.markAsDirty=function(){this.currentRow=null},l.prototype.updateCharacterWidths=function(r){if(this.characterWidth!==r.$characterSize.width){this.fontMetrics=r;var o=this.characterWidth=r.$characterSize.width,i=r.$measureCharWidth(`ה`);this.charWidths[k.L]=this.charWidths[k.EN]=this.charWidths[k.ON_R]=o,this.charWidths[k.R]=this.charWidths[k.AN]=i,this.charWidths[k.R_H]=i*.45,this.charWidths[k.B]=this.charWidths[k.RLE]=0,this.currentRow=null}},l.prototype.setShowInvisibles=function(r){this.showInvisibles=r,this.currentRow=null},l.prototype.setEolChar=function(r){this.EOL=r},l.prototype.setContentWidth=function(r){this.contentWidth=r},l.prototype.isRtlLine=function(r){return this.$isRtl?!0:r!=null?this.session.getLine(r).charAt(0)==this.RLE:this.isRtlDir},l.prototype.setRtlDirection=function(r,o){for(var i=r.getCursorPosition(),t=r.selection.getSelectionAnchor().row;t<=i.row;t++)!o&&r.session.getLine(t).charAt(0)===r.session.$bidiHandler.RLE?r.session.doc.removeInLine(t,0,1):o&&r.session.getLine(t).charAt(0)!==r.session.$bidiHandler.RLE&&r.session.doc.insert({column:0,row:t},r.session.$bidiHandler.RLE)},l.prototype.getPosLeft=function(r){r-=this.wrapIndent;var o=this.line.charAt(0)===this.RLE?1:0,i=r>o?this.session.getOverwrite()?r:r-1:o,t=k.getVisualFromLogicalIdx(i,this.bidiMap),e=this.bidiMap.bidiLevels,n=0;!this.session.getOverwrite()&&r<=o&&e[t]%2!==0&&t++;for(var s=0;s<t;s++)n+=this.charWidths[e[s]];return!this.session.getOverwrite()&&r>o&&e[t]%2===0&&(n+=this.charWidths[e[t]]),this.wrapIndent&&(n+=this.isRtlDir?-1*this.wrapOffset:this.wrapOffset),this.isRtlDir&&(n+=this.rtlLineOffset),n},l.prototype.getSelections=function(r,o){var i=this.bidiMap,t=i.bidiLevels,e,n=[],s=0,d=Math.min(r,o)-this.wrapIndent,g=Math.max(r,o)-this.wrapIndent,$=!1,v=!1,b=0;this.wrapIndent&&(s+=this.isRtlDir?-1*this.wrapOffset:this.wrapOffset);for(var u,h=0;h<t.length;h++)u=i.logicalFromVisual[h],e=t[h],$=u>=d&&u<g,$&&!v?b=s:!$&&v&&n.push({left:b,width:s-b}),s+=this.charWidths[e],v=$;if($&&h===t.length&&n.push({left:b,width:s-b}),this.isRtlDir)for(var y=0;y<n.length;y++)n[y].left+=this.rtlLineOffset;return n},l.prototype.offsetToCol=function(i){this.isRtlDir&&(i-=this.rtlLineOffset);var o=0,i=Math.max(i,0),t=0,e=0,n=this.bidiMap.bidiLevels,s=this.charWidths[n[e]];for(this.wrapIndent&&(i-=this.isRtlDir?-1*this.wrapOffset:this.wrapOffset);i>t+s/2;){if(t+=s,e===n.length-1){s=0;break}s=this.charWidths[n[++e]]}return e>
2120&&n[e-1]%2!==0&&n[e]%2===0?(i<t&&e--,o=this.bidiMap.logicalFromVisual[e]):e>0&&n[e-1]%2===0&&n[e]%2!==0?o=1+(i>t?this.bidiMap.logicalFromVisual[e]:this.bidiMap.logicalFromVisual[e-1]):this.isRtlDir&&e===n.length-1&&s===0&&n[e-1]%2===0||!this.isRtlDir&&e===0&&n[e]%2!==0?o=1+this.bidiMap.logicalFromVisual[e]:(e>0&&n[e-1]%2!==0&&s!==0&&e--,o=this.bidiMap.logicalFromVisual[e]),o===0&&this.isRtlDir&&o++,o+this.wrapIndent},l})()});ace.define(`ace/selection`,[`require`,`exports`,`module`,`ace/lib/oop`,`ace/lib/lang`,`ace/lib/event_emitter`,`ace/range`],function(R,E,F){"use strict";var k=R(`./lib/oop`),L=R(`./lib/lang`),M=R(`./lib/event_emitter`).EventEmitter,a=R(`./range`).Range,l=(function(){function r(o){this.session=o,this.doc=o.getDocument(),this.clearSelection(),this.cursor=this.lead=this.doc.createAnchor(0,0),this.anchor=this.doc.createAnchor(0,0),this.$silent=!1;var i=this;this.cursor.on(`change`,function(t){i.$cursorChanged=!0,i.$silent||i._emit(`changeCursor`),!i.$isEmpty&&!i.$silent&&i._emit(`changeSelection`),!i.$keepDesiredColumnOnChange&&t.old.column!=t.value.column&&(i.$desiredColumn=null)}),this.anchor.on(`change`,function(){i.$anchorChanged=!0,!i.$isEmpty&&!i.$silent&&i._emit(`changeSelection`)})}return r.prototype.isEmpty=function(){return this.$isEmpty||this.anchor.row==this.lead.row&&this.anchor.column==this.lead.column},r.prototype.isMultiLine=function(){return!this.$isEmpty&&this.anchor.row!=this.cursor.row},r.prototype.getCursor=function(){return this.lead.getPosition()},r.prototype.setAnchor=function(o,i){this.$isEmpty=!1,this.anchor.setPosition(o,i)},r.prototype.getAnchor=function(){return this.$isEmpty?this.getSelectionLead():this.anchor.getPosition()},r.prototype.getSelectionLead=function(){return this.lead.getPosition()},r.prototype.isBackwards=function(){var o=this.anchor,i=this.lead;return o.row>i.row||o.row==i.row&&o.column>i.column},r.prototype.getRange=function(){var o=this.anchor,i=this.lead;return this.$isEmpty?a.fromPoints(i,i):this.isBackwards()?a.fromPoints(i,o):a.fromPoints(o,i)},r.prototype.clearSelection=function(){this.$isEmpty||(this.$isEmpty=!0,this._emit(`changeSelection`))},r.prototype.selectAll=function(){this.$setSelection(0,0,Number.MAX_VALUE,Number.MAX_VALUE)},r.prototype.setRange=function(o,i){var t=i?o.end:o.start,e=i?o.start:o.end;this.$setSelection(t.row,t.column,e.row,e.column)},r.prototype.$setSelection=function(o,i,t,e){if(!this.$silent){var n=this.$isEmpty,s=this.inMultiSelectMode;this.$silent=!0,this.$cursorChanged=this.$anchorChanged=!1,this.anchor.setPosition(o,i),this.cursor.setPosition(t,e),this.$isEmpty=!a.comparePoints(this.anchor,this.cursor),this.$silent=!1,this.$cursorChanged&&this._emit(`changeCursor`),(this.$cursorChanged||this.$anchorChanged||n!=this.$isEmpty||s)&&this._emit(`changeSelection`)}},r.prototype.$moveSelection=function(o){var i=this.lead;this.$isEmpty&&this.setSelectionAnchor(i.row,i.column),o.call(this)},r.prototype.selectTo=function(o,i){this.$moveSelection(function(){this.moveCursorTo(o,i)})},r.prototype.selectToPosition=function(o){this.$moveSelection(function(){this.moveCursorToPosition(o)})},r.prototype.moveTo=function(o,i){this.clearSelection(),this.moveCursorTo(o,i)},r.prototype.moveToPosition=function(o){this.clearSelection(),this.moveCursorToPosition(o)},r.prototype.selectUp=function(){this.$moveSelection(this.moveCursorUp)},r.prototype.selectDown=function(){this.$moveSelection(this.moveCursorDown)},r.prototype.selectRight=function(){this.$moveSelection(this.moveCursorRight)},r.prototype.selectLeft=function(){this.$moveSelection(this.moveCursorLeft)},r.prototype.selectLineStart=function(){this.$moveSelection(this.moveCursorLineStart)},r.prototype.selectLineEnd=function(){this.$moveSelection(this.moveCursorLineEnd)},r.prototype.selectFileEnd=function(){this.$moveSelection(this.moveCursorFileEnd)},r.prototype.selectFileStart=function(){this.$moveSelection(this.moveCursorFileStart)},r.prototype.selectWordRight=function(){this.$moveSelection(this.moveCursorWordRight)},r.prototype.selectWordLeft=function(){this.$moveSelection(this.moveCursorWordLeft)},r.prototype.getWordRange=function(o,i){if(typeof i>`u`){var t=o||this.lead;o=t.row,i=t.column}return this.session.getWordRange(o,i)},r.prototype.selectWord=function(){this.setSelectionRange(this.getWordRange())},r.prototype.selectAWord=function(){var o=this.getCursor(),i=this.session.getAWordRange(o.row,o.column);this.setSelectionRange(i)},r.prototype.getLineRange=function(o,i){var t=typeof o==`number`?o:this.lead.row,e,n=this.session.getFoldLine(t);return n?(t=n.start.row,e=n.end.row):e=t,i===!0?new a(t,0,e,this.session.getLine(e).length):new a(t,0,e+1,0)},r.prototype.selectLine=function(){this.setSelectionRange(this.getLineRange())},r.prototype.moveCursorUp=function(){this.moveCursorBy(-1,0)},r.prototype.moveCursorDown=function(){this.moveCursorBy(1,0)},r.prototype.wouldMoveIntoSoftTab=function(o,i,t){var e=o.column,n=o.column+i;return t<0&&(e=o.column-i,n=o.column),this.session.isTabStop(o)&&this.doc.getLine(o.row).slice(e,n).split(` `).length-1==i},r.prototype.moveCursorLeft=function(){var o=this.lead.getPosition(),i;if(i=this.session.getFoldAt(o.row,o.column,-1))this.moveCursorTo(i.start.row,i.start.column);else if(o.column===0)o.row>0&&this.moveCursorTo(o.row-1,this.doc.getLine(o.row-1).length);else{var t=this.session.getTabSize();this.wouldMoveIntoSoftTab(o,t,-1)&&!this.session.getNavigateWithinSoftTabs()?this.moveCursorBy(0,-t):this.moveCursorBy(0,-1)}},r.prototype.moveCursorRight=function(){var o=this.lead.getPosition(),i;if(i=this.session.getFoldAt(o.row,o.column,1))this.moveCursorTo(i.end.row,i.end.column);else if(this.lead.column==this.doc.getLine(this.lead.row).length)this.lead.row<this.doc.getLength()-1&&this.moveCursorTo(this.lead.row+1,0);else{var t=this.session.getTabSize(),o=this.lead;this.wouldMoveIntoSoftTab(o,t,1)&&!this.session.getNavigateWithinSoftTabs()?this.moveCursorBy(0,t):this.moveCursorBy(0,1)}},r.prototype.moveCursorLineStart=function(){var o=this.lead.row,i=this.lead.column,t=this.session.documentToScreenRow(o,i),e=this.session.screenToDocumentPosition(t,0),s=this.session.getDisplayLine(o,null,e.row,e.column).match(/^\s*/);s[0].length!=i&&!this.session.$useEmacsStyleLineStart&&(e.column+=s[0].length),this.moveCursorToPosition(e)},r.prototype.moveCursorLineEnd=function(){var o=this.lead,i=this.session.getDocumentLastRowColumnPosition(o.row,o.column);if(this.lead.column==i.column){var t=this.session.getLine(i.row);if(i.column==t.length){var e=t.search(/\s+$/);e>0&&(i.column=e)}}this.moveCursorTo(i.row,i.column)},r.prototype.moveCursorFileEnd=function(){var o=this.doc.getLength()-1,i=this.doc.getLine(o).length;this.moveCursorTo(o,i)},r.prototype.moveCursorFileStart=function(){this.moveCursorTo(0,0)},r.prototype.moveCursorLongWordRight=function(){var o=this.lead.row,i=this.lead.column,t=this.doc.getLine(o),e=t.substring(i);
212this.session.nonTokenRe.lastIndex=0,this.session.tokenRe.lastIndex=0;var n=this.session.getFoldAt(o,i,1);if(n){this.moveCursorTo(n.end.row,n.end.column);return}if(this.session.nonTokenRe.exec(e)&&(i+=this.session.nonTokenRe.lastIndex,this.session.nonTokenRe.lastIndex=0,e=t.substring(i)),i>=t.length){this.moveCursorTo(o,t.length),this.moveCursorRight(),o<this.doc.getLength()-1&&this.moveCursorWordRight();return}this.session.tokenRe.exec(e)&&(i+=this.session.tokenRe.lastIndex,this.session.tokenRe.lastIndex=0),this.moveCursorTo(o,i)},r.prototype.moveCursorLongWordLeft=function(){var o=this.lead.row,i=this.lead.column,t;if(t=this.session.getFoldAt(o,i,-1)){this.moveCursorTo(t.start.row,t.start.column);return}var e=this.session.getFoldStringAt(o,i,-1);e??=this.doc.getLine(o).substring(0,i);var n=L.stringReverse(e);if(this.session.nonTokenRe.lastIndex=0,this.session.tokenRe.lastIndex=0,this.session.nonTokenRe.exec(n)&&(i-=this.session.nonTokenRe.lastIndex,n=n.slice(this.session.nonTokenRe.lastIndex),this.session.nonTokenRe.lastIndex=0),i<=0){this.moveCursorTo(o,0),this.moveCursorLeft(),o>0&&this.moveCursorWordLeft();return}this.session.tokenRe.exec(n)&&(i-=this.session.tokenRe.lastIndex,this.session.tokenRe.lastIndex=0),this.moveCursorTo(o,i)},r.prototype.$shortWordEndIndex=function(o){var i=0,t,e=/\s/,n=this.session.tokenRe;if(n.lastIndex=0,this.session.tokenRe.exec(o))i=this.session.tokenRe.lastIndex;else{for(;(t=o[i])&&e.test(t);)i++;if(i<1){for(n.lastIndex=0;(t=o[i])&&!n.test(t);)if(n.lastIndex=0,i++,e.test(t))if(i>2){i--;break}else{for(;(t=o[i])&&e.test(t);)i++;if(i>2)break}}}return n.lastIndex=0,i},r.prototype.moveCursorShortWordRight=function(){var o=this.lead.row,i=this.lead.column,t=this.doc.getLine(o),e=t.substring(i),n=this.session.getFoldAt(o,i,1);if(n)return this.moveCursorTo(n.end.row,n.end.column);if(i==t.length){var s=this.doc.getLength();do o++,e=this.doc.getLine(o);while(o<s&&/^\s*$/.test(e));/^\s+/.test(e)||(e=``),i=0}var d=this.$shortWordEndIndex(e);this.moveCursorTo(o,i+d)},r.prototype.moveCursorShortWordLeft=function(){var o=this.lead.row,i=this.lead.column,t;if(t=this.session.getFoldAt(o,i,-1))return this.moveCursorTo(t.start.row,t.start.column);var e=this.session.getLine(o).substring(0,i);if(i===0){do o--,e=this.doc.getLine(o);while(o>0&&/^\s*$/.test(e));i=e.length,/\s+$/.test(e)||(e=``)}var n=L.stringReverse(e),s=this.$shortWordEndIndex(n);return this.moveCursorTo(o,i-s)},r.prototype.moveCursorWordRight=function(){this.session.$selectLongWords?this.moveCursorLongWordRight():this.moveCursorShortWordRight()},r.prototype.moveCursorWordLeft=function(){this.session.$selectLongWords?this.moveCursorLongWordLeft():this.moveCursorShortWordLeft()},r.prototype.moveCursorBy=function(o,i){var t=this.session.documentToScreenPosition(this.lead.row,this.lead.column),e;if(i===0&&(o!==0&&(this.session.$bidiHandler.isBidiRow(t.row,this.lead.row)?(e=this.session.$bidiHandler.getPosLeft(t.column),t.column=Math.round(e/this.session.$bidiHandler.charWidths[0])):e=t.column*this.session.$bidiHandler.charWidths[0]),this.$desiredColumn?t.column=this.$desiredColumn:this.$desiredColumn=t.column),o!=0&&this.session.lineWidgets&&this.session.lineWidgets[this.lead.row]){var n=this.session.lineWidgets[this.lead.row];o<0?o-=n.rowsAbove||0:o>0&&(o+=n.rowCount-(n.rowsAbove||0))}var s=this.session.screenToDocumentPosition(t.row+o,t.column,e);o!==0&&i===0&&s.row===this.lead.row&&(s.column,this.lead.column),this.moveCursorTo(s.row,s.column+i,i===0)},r.prototype.moveCursorToPosition=function(o){this.moveCursorTo(o.row,o.column)},r.prototype.moveCursorTo=function(o,i,t){var e=this.session.getFoldAt(o,i,1);e&&(o=e.start.row,i=e.start.column),this.$keepDesiredColumnOnChange=!0;var n=this.session.getLine(o);/[\uDC00-\uDFFF]/.test(n.charAt(i))&&n.charAt(i-1)&&(this.lead.row==o&&this.lead.column==i+1?i=i-1:i=i+1),this.lead.setPosition(o,i),this.$keepDesiredColumnOnChange=!1,t||(this.$desiredColumn=null)},r.prototype.moveCursorToScreen=function(o,i,t){var e=this.session.screenToDocumentPosition(o,i);this.moveCursorTo(e.row,e.column,t)},r.prototype.detach=function(){this.lead.detach(),this.anchor.detach()},r.prototype.fromOrientedRange=function(o){this.setSelectionRange(o,o.cursor==o.start),this.$desiredColumn=o.desiredColumn||this.$desiredColumn},r.prototype.toOrientedRange=function(o){var i=this.getRange();return o?(o.start.column=i.start.column,o.start.row=i.start.row,o.end.column=i.end.column,o.end.row=i.end.row):o=i,o.cursor=this.isBackwards()?o.start:o.end,o.desiredColumn=this.$desiredColumn,o},r.prototype.getRangeOfMovements=function(o){var i=this.getCursor();try{o(this);var t=this.getCursor();return a.fromPoints(i,t)}catch{return a.fromPoints(i,i)}finally{this.moveCursorToPosition(i)}},r.prototype.toJSON=function(){if(this.rangeCount)var o=this.ranges.map(function(i){var t=i.clone();return t.isBackwards=i.cursor==i.start,t});else{var o=this.getRange();o.isBackwards=this.isBackwards()}return o}
212,r.prototype.fromJSON=function(o){if(o.start==null)if(this.rangeList&&o.length>1){this.toSingleRange(o[0]);for(var i=o.length;i--;){var t=a.fromPoints(o[i].start,o[i].end);o[i].isBackwards&&(t.cursor=t.start),this.addRange(t,!0)}return}else o=o[0];this.rangeList&&this.toSingleRange(o),this.setSelectionRange(o,o.isBackwards)},r.prototype.isEqual=function(o){if((o.length||this.rangeCount)&&o.length!=this.rangeCount)return!1;if(!o.length||!this.ranges)return this.getRange().isEqual(o);for(var i=this.ranges.length;i--;)if(!this.ranges[i].isEqual(o[i]))return!1;return!0},r})();l.prototype.setSelectionAnchor=l.prototype.setAnchor,l.prototype.getSelectionAnchor=l.prototype.getAnchor,l.prototype.setSelectionRange=l.prototype.setRange,k.implement(l.prototype,M),E.Selection=l});ace.define(`ace/tokenizer`,[`require`,`exports`,`module`,`ace/lib/report_error`],function(R,E,F){"use strict";var k=R(`./lib/report_error`).reportError,L=2e3,M=(function(){function a(l){this.splitRegex,this.states=l,this.regExps={},this.matchMappings={};for(var r in this.states){for(var o=this.states[r],i=[],t=0,e=this.matchMappings[r]={defaultToken:`text`},n=`g`,s=[],d=0;d<o.length;d++){var g=o[d];if(g.defaultToken&&(e.defaultToken=g.defaultToken),g.caseInsensitive&&n.indexOf(`i`)===-1&&(n+=`i`),g.unicode&&n.indexOf(`u`)===-1&&(n+=`u`),g.regex!=null){g.regex instanceof RegExp&&(g.regex=g.regex.toString().slice(1,-1));var $=g.regex,v=new RegExp(`(?:(`+$+`)|(.))`).exec(`a`).length-2;Array.isArray(g.token)?g.token.length==1||v==1?g.token=g.token[0]:v-1!=g.token.length?(this.reportError(`number of classes and regexp groups doesn't match`,{rule:g,groupCount:v-1}),g.token=g.token[0]):(g.tokenArray=g.token,g.token=null,g.onMatch=this.$arrayTokens):typeof g.token==`function`&&!g.onMatch&&(v>1?g.onMatch=this.$applyToken:g.onMatch=g.token),v>1&&(/\\\d/.test(g.regex)?$=g.regex.replace(/\\([0-9]+)/g,function(b,u){return`\\`+(parseInt(u,10)+t+1)}):(v=1,$=this.removeCapturingGroups(g.regex)),!g.splitRegex&&typeof g.token!=`string`&&s.push(g)),e[t]=d,t+=v,i.push($),g.onMatch||(g.onMatch=null)}}i.length||(e[0]=0,i.push(`$`)),s.forEach(function(b){b.splitRegex=this.createSplitterRegexp(b.regex,n)},this),this.regExps[r]=new RegExp(`(`+i.join(`)|(`)+`)|($)`,n)}}return a.prototype.$setMaxTokenCount=function(l){L=l|0},a.prototype.$applyToken=function(l){var r=this.splitRegex.exec(l).slice(1),o=this.token.apply(this,r);if(typeof o==`string`)return[{type:o,value:l}];for(var i=[],t=0,e=o.length;t<e;t++)r[t]&&(i[i.length]={type:o[t],value:r[t]});return i},a.prototype.$arrayTokens=function(l){if(!l)return[];var r=this.splitRegex.exec(l);if(!r)return`text`;for(var o=[],i=this.tokenArray,t=0,e=i.length;t<e;t++)r[t+1]&&(o[o.length]={type:i[t],value:r[t+1]});return o},a.prototype.removeCapturingGroups=function(l){return l.replace(/\\.|\[(?:\\.|[^\\\]])*|\(\?[:=!<]|(\()/g,function(o,i){return i?`(?:`:o})},a.prototype.createSplitterRegexp=function(l,r){if(l.indexOf(`(?=`)!=-1){var o=0,i=!1,t={};l.replace(/(\\.)|(\((?:\?[=!])?)|(\))|([\[\]])/g,function(e,n,s,d,g,$){return i?i=g!=`]`:g?i=!0:d?(o==t.stack&&(t.end=$+1,t.stack=-1),o--):s&&(o++,s.length!=1&&(t.stack=o,t.start=$)),e}),t.end!=null&&/^\)*$/.test(l.substr(t.end))&&(l=l.substring(0,t.start)+l.substr(t.end))}return l.charAt(0)!=`^`&&(l=`^`+l),l.charAt(l.length-1)!=`$`&&(l+=`$`),new RegExp(l,(r||``).replace(`g`,``))},a.prototype.getLineTokens=function(l,r){if(r&&typeof r!=`string`){var o=r.slice(0);r=o[0],r===`#tmp`&&(o.shift(),r=o.shift())}else var o=[];var i=r||`start`,t=this.states[i];t||(i=`start`,t=this.states[i]);var e=this.matchMappings[i],n=this.regExps[i];n.lastIndex=0;for(var s,d=[],g=0,$=0,v={type:null,value:``};s=n.exec(l);){var b=e.defaultToken,u=null,h=s[0],y=n.lastIndex;if(y-h.length>g){var m=l.substring(g,y-h.length);v.type==b?v.value+=m:(v.type&&d.push(v),v={type:b,value:m})}for(var C=0;C<s.length-2;C++)if(s[C+1]!==void 0){u=t[e[C]],u.onMatch?b=u.onMatch(h,i,o,l):b=u.token,u.next&&(typeof u.next==`string`?i=u.next:i=u.next(i,o),t=this.states[i],t||(this.reportError(`state doesn't exist`,i),i=`start`,t=this.states[i]),e=this.matchMappings[i],g=y,n=this.regExps[i],n.lastIndex=y),u.consumeLineEnd&&(g=y);break}
212if(h){if(typeof b==`string`)(!u||u.merge!==!1)&&v.type===b?v.value+=h:(v.type&&d.push(v),v={type:b,value:h});else if(b){v.type&&d.push(v),v={type:null,value:``};for(var C=0;C<b.length;C++)d.push(b[C])}}if(g==l.length)break;if(g=y,$++>L){for($>2*l.length&&this.reportError(`infinite loop with in ace tokenizer`,{startState:r,line:l});g<l.length;)v.type&&d.push(v),v={value:l.substring(g,g+=500),type:`overflow`};i=`start`,o=[];break}}return v.type&&d.push(v),o.length>1&&o[0]!==i&&o.unshift(`#tmp`,i),{tokens:d,state:o.length?o:i}},a})();M.prototype.reportError=k,E.Tokenizer=M});ace.define(`ace/mode/text_highlight_rules`,[`require`,`exports`,`module`,`ace/lib/deep_copy`],function(R,E,F){"use strict";var k=R(`../lib/deep_copy`).deepCopy,L=function(){this.$rules={start:[{token:`empty_line`,regex:`^$`},{defaultToken:`text`}]}};(function(){this.addRules=function(l,r){if(!r){for(var o in l)this.$rules[o]=l[o];return}for(var o in l){for(var i=l[o],t=0;t<i.length;t++){var e=i[t];(e.next||e.onMatch)&&(typeof e.next==`string`&&e.next.indexOf(r)!==0&&(e.next=r+e.next),e.nextState&&e.nextState.indexOf(r)!==0&&(e.nextState=r+e.nextState))}this.$rules[r+o]=i}},this.getRules=function(){return this.$rules},this.embedRules=function(l,r,o,i,t){var e=typeof l==`function`?new l().getRules():l;if(i)for(var n=0;n<i.length;n++)i[n]=r+i[n];else{i=[];for(var s in e)i.push(r+s)}if(this.addRules(e,r),o)for(var d=Array.prototype[t?`push`:`unshift`],n=0;n<i.length;n++)d.apply(this.$rules[i[n]],k(o));this.$embeds||(this.$embeds=[]),this.$embeds.push(r)},this.getEmbeds=function(){return this.$embeds};var M=function(l,r){return(l!=`start`||r.length)&&r.unshift(this.nextState,l),this.nextState},a=function(l,r){return r.shift(),r.shift()||`start`};this.normalizeRules=function(){var l=0,r=this.$rules;function o(i){var t=r[i];t.processed=!0;for(var e=0;e<t.length;e++){var n=t[e],s=null;Array.isArray(n)&&(s=n,n={}),!n.regex&&n.start&&(n.regex=n.start,n.next||(n.next=[]),n.next.push({defaultToken:n.token},{token:n.token+`.end`,regex:n.end||n.start,next:`pop`}),n.token=n.token+`.start`,n.push=!0);var d=n.next||n.push;if(d&&Array.isArray(d)){var g=n.stateName;g||(g=n.token,typeof g!=`string`&&(g=g[0]||``),r[g]&&(g+=l++)),r[g]=d,n.next=g,o(g)}else d==`pop`&&(n.next=a);if(n.push&&(n.nextState=n.next||n.push,n.next=M,delete n.push),n.rules)for(var $ in n.rules)r[$]?r[$].push&&r[$].push.apply(r[$],n.rules[$]):r[$]=n.rules[$];var v=typeof n==`string`?n:n.include;if(v&&(v===`$self`&&(v=`start`),Array.isArray(v)?s=v.map(function(u){return r[u]}):s=r[v]),s){var b=[e,1].concat(s);n.noEscape&&(b=b.filter(function(u){return!u.next})),t.splice.apply(t,b),e--}n.keywordMap&&(n.token=this.createKeywordMapper(n.keywordMap,n.defaultToken||`text`,n.caseInsensitive),delete n.defaultToken)}}Object.keys(r).forEach(o,this)},this.createKeywordMapper=function(l,r,o,i){var t=Object.create(null);return this.$keywordList=[],Object.keys(l).forEach(function(e){for(var s=l[e].split(i||`|`),d=s.length;d--;){var g=s[d];this.$keywordList.push(g),o&&(g=g.toLowerCase()),t[g]=e}},this),l=null,o?function(e){return t[e.toLowerCase()]||r}:function(e){return t[e]||r}},this.getKeywords=function(){return this.$keywords}}).call(L.prototype),E.TextHighlightRules=L});ace.define(`ace/mode/behaviour`,[`require`,`exports`,`module`],function(R,E,F){"use strict";var k=function(){this.$behaviours={}};(function(){this.add=function(L,M,a){switch(void 0){case this.$behaviours:this.$behaviours={};case this.$behaviours[L]:this.$behaviours[L]={}}this.$behaviours[L][M]=a},this.addBehaviours=function(L){for(var M in L)for(var a in L[M])this.add(M,a,L[M][a])},this.remove=function(L){this.$behaviours&&this.$behaviours[L]&&delete this.$behaviours[L]},this.inherit=function(L,M){if(typeof L==`function`)var a=new L().getBehaviours(M);else var a=L.getBehaviours(M);this.addBehaviours(a)},this.getBehaviours=function(L){if(L){for(var M={},a=0;a<L.length;a++)this.$behaviours[L[a]]&&(M[L[a]]=this.$behaviours[L[a]]);return M}else return this.$behaviours}}).call(k.prototype),E.Behaviour=k});ace.define(`ace/token_iterator`,[`require`,`exports`,`module`,`ace/range`],function(R,E,F){"use strict";var k=R(`./range`).Range;E.TokenIterator=(function(){function M(a,l,r){this.$session=a,this.$row=l,this.$rowTokens=a.getTokens(l);var o=a.getTokenAt(l,r);this.$tokenIndex=o?o.index:-1}return M.prototype.stepBackward=function(){for(this.$tokenIndex-=1;this.$tokenIndex<0;){if(this.$row-=1,this.$row<0)return this.$row=0,null;this.$rowTokens=this.$session.getTokens(this.$row),this.$tokenIndex=this.$rowTokens.length-1}return this.$rowTokens[this.$tokenIndex]},M.prototype.stepForward=function(){this.$tokenIndex+=1;for(var a;this.$tokenIndex>
212=this.$rowTokens.length;){if(this.$row+=1,a||(a=this.$session.getLength()),this.$row>=a)return this.$row=a-1,null;this.$rowTokens=this.$session.getTokens(this.$row),this.$tokenIndex=0}return this.$rowTokens[this.$tokenIndex]},M.prototype.getCurrentToken=function(){return this.$rowTokens[this.$tokenIndex]},M.prototype.getCurrentTokenRow=function(){return this.$row},M.prototype.getCurrentTokenColumn=function(){var a=this.$rowTokens,l=this.$tokenIndex,r=a[l].start;if(r!==void 0)return r;for(r=0;l>0;)l-=1,r+=a[l].value.length;return r},M.prototype.getCurrentTokenPosition=function(){return{row:this.$row,column:this.getCurrentTokenColumn()}},M.prototype.getCurrentTokenRange=function(){var a=this.$rowTokens[this.$tokenIndex],l=this.getCurrentTokenColumn();return new k(this.$row,l,this.$row,l+a.value.length)},M})()});ace.define(`ace/mode/behaviour/cstyle`,[`require`,`exports`,`module`,`ace/lib/oop`,`ace/mode/behaviour`,`ace/token_iterator`,`ace/lib/lang`],function(R,E,F){"use strict";var k=R(`../../lib/oop`),L=R(`../behaviour`).Behaviour,M=R(`../../token_iterator`).TokenIterator,a=R(`../../lib/lang`),l=[`text`,`paren.rparen`,`rparen`,`paren`,`punctuation.operator`],r=[`text`,`paren.rparen`,`rparen`,`paren`,`punctuation.operator`,`comment`],o,i={},t={'"':`"`,"'":`'`},e=function(d){var g=-1;if(d.multiSelect&&(g=d.selection.index,i.rangeCount!=d.multiSelect.rangeCount&&(i={rangeCount:d.multiSelect.rangeCount})),i[g])return o=i[g];o=i[g]={autoInsertedBrackets:0,autoInsertedRow:-1,autoInsertedLineEnd:``,maybeInsertedBrackets:0,maybeInsertedRow:-1,maybeInsertedLineStart:``,maybeInsertedLineEnd:``}},n=function(d,g,$,v){var b=d.end.row-d.start.row;return{text:$+g+v,selection:[0,d.start.column+1,b,d.end.column+(b?0:1)]}},s=function(d){d=d||{},this.add(`braces`,`insertion`,function(g,$,v,b,u){var h=v.getCursorPosition(),y=b.doc.getLine(h.row);if(u==`{`){e(v);var m=v.getSelectionRange(),C=b.doc.getTextRange(m),x=b.getTokenAt(h.row,h.column);if(C!==``&&C!==`{`&&v.getWrapBehavioursEnabled())return n(m,C,`{`,`}`);if(x&&/(?:string)\.quasi|\.xml/.test(x.type))return[/tag\-(?:open|name)/,/attribute\-name/].some(function(_){return _.test(x.type)})||/(string)\.quasi/.test(x.type)&&x.value[h.column-x.start-1]!==`$`?void 0:(s.recordAutoInsert(v,b,`}`),{text:`{}`,selection:[1,1]});else if(s.isSaneInsertion(v,b))return/[\]\}\)]/.test(y[h.column])||v.inMultiSelectMode||d.braces?(s.recordAutoInsert(v,b,`}`),{text:`{}`,selection:[1,1]}):(s.recordMaybeInsert(v,b,`{`),{text:`{`,selection:[1,1]})}else if(u==`}`){e(v);var p=y.substring(h.column,h.column+1);if(p==`}`){if(b.$findOpeningBracket(`}`,{column:h.column+1,row:h.row})!==null&&s.isAutoInsertedClosing(h,y,u))return s.popAutoInsertedClosing(),{text:``,selection:[1,1]}}}else if(u==`
213`||u==`\r
214`){e(v);var c=``;s.isMaybeInsertedClosing(h,y)&&(c=a.stringRepeat(`}`,o.maybeInsertedBrackets),s.clearMaybeInsertedClosing());var p=y.substring(h.column,h.column+1);if(p===`}`){var S=b.findMatchingBracket({row:h.row,column:h.column+1},`}`);if(!S)return null;var A=this.$getIndent(b.getLine(S.row))}else if(c)var A=this.$getIndent(y);else{s.clearMaybeInsertedClosing();return}var T=A+b.getTabString();return{text:`
215`+T+`
216`+A+c,selection:[1,T.length,1,T.length]}}else s.clearMaybeInsertedClosing()}),this.add(`braces`,`deletion`,function(g,$,v,b,u){var h=b.doc.getTextRange(u);if(!u.isMultiLine()&&h==`{`){e(v);if(b.doc.getLine(u.start.row).substring(u.end.column,u.end.column+1)==`}`)return u.end.column++,u;o.maybeInsertedBrackets--}}),this.add(`parens`,`insertion`,function(g,$,v,b,u){if(u==`(`){e(v);var h=v.getSelectionRange(),y=b.doc.getTextRange(h);if(y!==``&&v.getWrapBehavioursEnabled())return n(h,y,`(`,`)`);if(s.isSaneInsertion(v,b))return s.recordAutoInsert(v,b,`)`),{text:`()`,selection:[1,1]}}else if(u==`)`){e(v);var m=v.getCursorPosition(),C=b.doc.getLine(m.row);if(C.substring(m.column,m.column+1)==`)`){if(b.$findOpeningBracket(`)`,{column:m.column+1,row:m.row})!==null&&s.isAutoInsertedClosing(m,C,u))return s.popAutoInsertedClosing(),{text:``,selection:[1,1]}}}}),this.add(`parens`,`deletion`,function(g,$,v,b,u){var h=b.doc.getTextRange(u);if(!u.isMultiLine()&&h==`(`){e(v);
216if(b.doc.getLine(u.start.row).substring(u.start.column+1,u.start.column+2)==`)`)return u.end.column++,u}}),this.add(`brackets`,`insertion`,function(g,$,v,b,u){if(u==`[`){e(v);var h=v.getSelectionRange(),y=b.doc.getTextRange(h);if(y!==``&&v.getWrapBehavioursEnabled())return n(h,y,`[`,`]`);if(s.isSaneInsertion(v,b))return s.recordAutoInsert(v,b,`]`),{text:`[]`,selection:[1,1]}}else if(u==`]`){e(v);var m=v.getCursorPosition(),C=b.doc.getLine(m.row);if(C.substring(m.column,m.column+1)==`]`){if(b.$findOpeningBracket(`]`,{column:m.column+1,row:m.row})!==null&&s.isAutoInsertedClosing(m,C,u))return s.popAutoInsertedClosing(),{text:``,selection:[1,1]}}}}),this.add(`brackets`,`deletion`,function(g,$,v,b,u){var h=b.doc.getTextRange(u);if(!u.isMultiLine()&&h==`[`){e(v);if(b.doc.getLine(u.start.row).substring(u.start.column+1,u.start.column+2)==`]`)return u.end.column++,u}}),this.add(`string_dquotes`,`insertion`,function(g,$,v,b,u){var h=b.$mode.$quotes||t;if(u.length==1&&h[u]){if(this.lineCommentStart&&this.lineCommentStart.indexOf(u)!=-1)return;e(v);var y=u,m=v.getSelectionRange(),C=b.doc.getTextRange(m);if(C!==``&&(C.length!=1||!h[C])&&v.getWrapBehavioursEnabled())return n(m,C,y,y);if(!C){var x=v.getCursorPosition(),w=b.doc.getLine(x.row),p=w.substring(x.column-1,x.column),f=w.substring(x.column,x.column+1),c=b.getTokenAt(x.row,x.column),S=b.getTokenAt(x.row,x.column+1);if(p==`\\`&&c&&/escape/.test(c.type))return null;var A=c&&/string|escape/.test(c.type),T=!S||/string|escape/.test(S.type),_;if(f==y)_=A!==T,_&&/string\.end/.test(S.type)&&(_=!1);else{if(A&&!T||A&&T)return null;var I=b.$mode.tokenRe;I.lastIndex=0;var D=I.test(p);I.lastIndex=0;var N=I.test(f),O=b.$mode.$pairQuotesAfter;if(!(O&&O[y]&&O[y].test(p))&&D||N||f&&!/[\s;,.})\]\\]/.test(f))return null;var W=w[x.column-2];if(p==y&&(W==y||I.test(W)))return null;_=!0}return{text:_?y+y:``,selection:[1,1]}}}}),this.add(`string_dquotes`,`deletion`,function(g,$,v,b,u){var h=b.$mode.$quotes||t,y=b.doc.getTextRange(u);if(!u.isMultiLine()&&h.hasOwnProperty(y)){e(v);if(b.doc.getLine(u.start.row).substring(u.start.column+1,u.start.column+2)==y)return u.end.column++,u}}),d.closeDocComment!==!1&&this.add(`doc comment end`,`insertion`,function(g,$,v,b,u){if(g===`doc-start`&&(u===`
217`||u===`\r
218`)&&v.selection.isEmpty()){var h=v.getCursorPosition();if(h.column===0)return;for(var y=b.doc.getLine(h.row),m=b.doc.getLine(h.row+1),C=b.getTokens(h.row),x=0,w=0;w<C.length;w++){x+=C[w].value.length;var p=C[w];if(x>=h.column){if(x===h.column){if(!/\.doc/.test(p.type))return;if(/\*\//.test(p.value)){var f=C[w+1];if(!f||!/\.doc/.test(f.type))return}}var c=h.column-(x-p.value.length),S=p.value.indexOf(`*/`),A=p.value.indexOf(`/**`,S>-1?S+2:0);if(A!==-1&&c>A&&c<A+3||S!==-1&&A!==-1&&c>=S&&c<=A||!/\.doc/.test(p.type))return;break}}var T=this.$getIndent(y);if(/\s*\*/.test(m))return/^\s*\*/.test(y)?{text:u+T+`* `,selection:[1,2+T.length,1,2+T.length]}:{text:u+T+` * `,selection:[1,3+T.length,1,3+T.length]};if(/\/\*\*/.test(y.substring(0,h.column)))return{text:u+T+` * `+u+` `+T+`*/`,selection:[1,4+T.length,1,4+T.length]}}})};s.isSaneInsertion=function(d,g){var $=d.getCursorPosition(),v=new M(g,$.row,$.column);if(!this.$matchTokenType(v.getCurrentToken()||`text`,l)){if(/[)}\]]/.test(d.session.getLine($.row)[$.column]))return!0;var b=new M(g,$.row,$.column+1);if(!this.$matchTokenType(b.getCurrentToken()||`text`,l))return!1}return v.stepForward(),v.getCurrentTokenRow()!==$.row||this.$matchTokenType(v.getCurrentToken()||`text`,r)},s.$matchTokenType=function(d,g){return g.indexOf(d.type||d)>-1},s.recordAutoInsert=function(d,g,$){var v=d.getCursorPosition(),b=g.doc.getLine(v.row);this.isAutoInsertedClosing(v,b,o.autoInsertedLineEnd[0])||(o.autoInsertedBrackets=0),o.autoInsertedRow=v.row,o.autoInsertedLineEnd=$+b.substr(v.column),o.autoInsertedBrackets++},s.recordMaybeInsert=function(d,g,$){var v=d.getCursorPosition(),b=g.doc.getLine(v.row);this.isMaybeInsertedClosing(v,b)||(o.maybeInsertedBrackets=0),o.maybeInsertedRow=v.row,o.maybeInsertedLineStart=b.substr(0,v.column)+$,o.maybeInsertedLineEnd=b.substr(v.column),o.maybeInsertedBrackets++},s.isAutoInsertedClosing=function(d,g,$){return o.autoInsertedBrackets>0&&d.row===o.autoInsertedRow&&$===o.autoInsertedLineEnd[0]&&g.substr(d.column)===o.autoInsertedLineEnd},s.isMaybeInsertedClosing=function(d,g){return o.maybeInsertedBrackets>0&&d.row===o.maybeInsertedRow&&g.substr(d.column)===o.maybeInsertedLineEnd&&g.substr(0,d.column)==o.maybeInsertedLineStart},s.popAutoInsertedClosing=function(){o.autoInsertedLineEnd=o.autoInsertedLineEnd.substr(1),o.autoInsertedBrackets--},s.clearMaybeInsertedClosing=function(){o&&(o.maybeInsertedBrackets=0,o.maybeInsertedRow=-1)},k.inherits(s,L),E.CstyleBehaviour=s});ace.define(`ace/unicode`,[`require`,`exports`,`module`],function(R,E,F){"use strict";for(var k=[48,9,8,25,5,0,2,25,48,0,11,0,5,0,6,22,2,30,2,457,5,11,15,4,8,0,2,0,18,116,2,1,3,3,9,0,2,2,2,0,2,19,2,82,2,138,2,4,3,155,12,37,3,0,8,38,10,44,2,0,2,1,2,1,2,0,9,26,6,2,30,10,7,61,2,9,5,101,2,7,3,9,2,18,3,0,17,58,3,100,15,53,5,0,6,45,211,57,3,18,2,5,3,11,3,9,2,1,7,6,2,2,2,7,3,1,3,21,2,6,2,0,4,3,3,8,3,1,3,3,9,0,5,1,2,4,3,11,16,2,2,5,5,1,3,21,2,6,2,1,2,1,2,1,3,0,2,4,5,1,3,2,4,0,8,3,2,0,8,15,12,2,2,8,2,2,2,21,2,6,2,1,2,4,3,9,2,2,2,2,3,0,16,3,3,9,18,2,2,7,3,1,3,21,2,6,2,1,2,4,3,8,3,1,3,2,9,1,5,1,2,4,3,9,2,0,17,1,2,5,4,2,2,3,4,1,2,0,2,1,4,1,4,2,4,11,5,4,4,2,2,3,3,0,7,0,15,9,18,2,2,7,2,2,2,22,2,9,2,4,4,7,2,2,2,3,8,1,2,1,7,3,3,9,19,1,2,7,2,2,2,22,2,9,2,4,3,8,2,2,2,3,8,1,8,0,2,3,3,9,19,1,2,7,2,2,2,22,2,15,4,7,2,2,2,3,10,0,9,3,3,9,11,5,3,1,2,17,4,23,2,8,2,0,3,6,4,0,5,5,2,0,2,7,19,1,14,57,6,14,2,9,40,1,2,0,3,1,2,0,3,0,7,3,2,6,2,2,2,0,2,0,3,1,2,12,2,2,3,4,2,0,2,5,3,9,3,1,35,0,24,1,7,9,12,0,2,0,2,0,5,9,2,35,5,19,2,5,5,7,2,35,10,0,58,73,7,77,3,37,11,42,2,0,4,328,2,3,3,6,2,0,2,3,3,40,2,3,3,32,2,3,3,6,2,0,2,3,3,14,2,56,2,3,3,66,5,0,33,15,17,84,13,619,3,16,2,25,6,74,22,12,2,6,12,20,12,19,13,12,2,2,2,1,13,51,3,29,4,0,5,1,3,9,34,2,3,9,7,87,9,42,6,69,11,28,4,11,5,11,11,39,3,4,12,43,5,25,7,10,38,27,5,62,2,28,3,10,7,9,14,0,89,75,5,9,18,8,13,42,4,11,71,55,9,9,4,48,83,2,2,30,14,230,23,280,3,5,3,37,3,5,3,7,2,0,2,0,2,0,2,30,3,52,2,6,2,0,4,2,2,6,4,3,3,5,5,12,6,2,2,6,67,1,20,0,29,0,14,0,17,4,60,12,5,0,4,11,18,0,5,0,3,9,2,0,4,4,7,0,2,0,2,0,2,3,2,10,3,3,6,4,5,0,53,1,2684,46,2,46,2,132,7,6,15,37,11,53,10,0,17,22,10,6,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,31,48,0,470,1,36,5,2,4,6,1,5,85,3,1,3,2,2,89,2,3,6,40,4,93,18,23,57,15,513,6581,75,20939,53,1164,68,45,3,268,4,27,21,31,3,13,13,1,2,24,9,69,11,1,38,8,3,102,3,1,111,44,25,51,13,68,12,9,7,23,4,0,5,45,3,35,13,28,4,64,15,10,39,54,10,13,3,9,7,22,4,1,5,66,25,2,227,42,2,1,3,9,7,11171,13,22,5,48,8453,301,3,61,3,105,39,6,13,4,6,11,2,12,2,4,2,0,2,1,2,1,2,107,34,362,19,63,3,53,41,11,5,15,17,6,13,1,25,2,33,4,2,134,20,9,8,25,5,0,2,25,12,88,4,5,3,5,3,5,3,2],L=0,M=[],a=0;a<k.length;a+=2)M.push(L+=k[a]),k[a+1]&&M.push(45,L+=k[a+1]);E.wordChars=String.fromCharCode.apply(null,M)});ace.define(`ace/mode/text`,[`require`,`exports`,`module`,`ace/config`,`ace/tokenizer`,`ace/mode/text_highlight_rules`,`ace/mode/behaviour/cstyle`,`ace/unicode`,`ace/lib/lang`,`ace/token_iterator`,`ace/range`],function(R,E,F){"use strict";var k=R(`../config`),L=R(`../tokenizer`).Tokenizer,M=R(`./text_highlight_rules`).TextHighlightRules,a=R(`./behaviour/cstyle`).CstyleBehaviour,l=R(`../unicode`),r=R(`../lib/lang`),o=R(`../token_iterator`).TokenIterator,i=R(`../range`).Range,t=function(){this.HighlightRules=M};(function(){this.$defaultBehaviour=new a,this.tokenRe=new RegExp(`^[`+l.wordChars+`\\$_]+`,`g`),this.nonTokenRe=new RegExp(`^(?:[^`+l.wordChars+`\\$_]|\\s])+`,`g`),this.getTokenizer=function(){return this.$tokenizer||(this.$highlightRules=this.$highlightRules||new this.HighlightRules(this.$highlightRuleConfig),this.$tokenizer=new L(this.$highlightRules.getRules())),this.$tokenizer},this.lineCommentStart=``,this.blockComment=``,this.toggleCommentLines=function(e,n,s,d){var g=n.doc,$=!0,v=!0,b=Infinity,u=n.getTabSize(),h=!1;if(this.lineCommentStart){if(Array.isArray(this.lineCommentStart))var C=this.lineCommentStart.map(r.escapeRegExp).join(`|`),y=this.lineCommentStart[0];else var C=r.escapeRegExp(this.lineCommentStart),y=this.lineCommentStart;C=new RegExp(`^(\\s*)(?:`+C+`) ?`),h=n.getUseSoftTabs();var p=function(N,O){var B=N.match(C);if(B){var W=B[1].length,H=B[0].length;!S(N,W,H)&&B[0][H-1]==` `&&H--,g.removeInLine(O,W,H)}},c=y+` `,w=function(N,O){(!$||/\S/.test(N))&&(S(N,b,b)?g.insertInLine({row:O,column:b},c):g.insertInLine({row:O,column:b},y))},f=function(N,O){return C.test(N)},S=function(N,O,B){for(var W=0;O--&&N.charAt(O)==` `;)W++;if(W%u!=0)return!1;for(var W=0;N.charAt(B++)==` `;)W++;return u>2?W%u!=u-1:W%u==0}}else{if(!this.blockComment)return!1;var y=this.blockComment.start,m=this.blockComment.end,C=new RegExp(`^(\\s*)(?:`+r.escapeRegExp(y)+`)`),x=new RegExp(`(?:`+r.escapeRegExp(m)+`)\\s*$`),w=function(_,I){f(_,I)||(!$||/\S/.test(_))&&(g.insertInLine({row:I,column:_.length},m),g.insertInLine({row:I,column:b},y))},p=function(_,I){var D;(D=_.match(x))&&g.removeInLine(I,_.length-D[0].length,_.length),(D=_.match(C))&&g.removeInLine(I,D[1].length,D[0].length)},f=function(_,I){if(C.test(_))return!0;for(var D=n.getTokens(I),N=0;N<D.length;N++)if(D[N].type===`comment`)return!0}}function A(_){for(var I=s;I<=d;I++)_(g.getLine(I),I)}var T=Infinity;A(function(_,I){var D=_.search(/\S/);D!==-1?(D<b&&(b=D),v&&!f(_,I)&&(v=!1)):T>_.length&&(T=_.length)}),b==Infinity&&(b=T,$=!1,v=!1),h&&b%u!=0&&(b=Math.floor(b/u)*u),A(v?p:w)},this.toggleBlockComment=function(e,n,s,d){var g=this.blockComment;if(g){!g.start&&g[0]&&(g=g[0]);var $=new o(n,d.row,d.column),v=$.getCurrentToken();n.selection;var u=n.selection.toOrientedRange(),h,y;if(v&&/comment/.test(v.type)){for(var m,C;v&&/comment/.test(v.type);){var x=v.value.indexOf(g.start);if(x!=-1){var w=$.getCurrentTokenRow(),p=$.getCurrentTokenColumn()+x;
218m=new i(w,p,w,p+g.start.length);break}v=$.stepBackward()}for(var $=new o(n,d.row,d.column),v=$.getCurrentToken();v&&/comment/.test(v.type);){var x=v.value.indexOf(g.end);if(x!=-1){var w=$.getCurrentTokenRow(),p=$.getCurrentTokenColumn()+x;C=new i(w,p,w,p+g.end.length);break}v=$.stepForward()}C&&n.remove(C),m&&(n.remove(m),h=m.start.row,y=-g.start.length)}else y=g.start.length,h=s.start.row,n.insert(s.end,g.end),n.insert(s.start,g.start);u.start.row==h&&(u.start.column+=y),u.end.row==h&&(u.end.column+=y),n.selection.fromOrientedRange(u)}},this.getNextLineIndent=function(e,n,s){return this.$getIndent(n)},this.checkOutdent=function(e,n,s){return!1},this.autoOutdent=function(e,n,s){},this.$getIndent=function(e){return e.match(/^\s*/)[0]},this.createWorker=function(e){return null},this.createModeDelegates=function(e){this.$embeds=[],this.$modes={};for(var n in e)if(e[n]){var s=e[n],d=s.prototype.$id,g=k.$modes[d];g||(k.$modes[d]=g=new s),k.$modes[n]||(k.$modes[n]=g),this.$embeds.push(n),this.$modes[n]=g}for(var $=[`toggleBlockComment`,`toggleCommentLines`,`getNextLineIndent`,`checkOutdent`,`autoOutdent`,`transformAction`,`getCompletions`],v=function(u){(function(h){var y=$[u],m=h[y];h[$[u]]=function(){return this.$delegator(y,arguments,m)}})(b)},b=this,n=0;n<$.length;n++)v(n)},this.$delegator=function(e,n,s){var d=n[0]||`start`;if(typeof d!=`string`){if(Array.isArray(d[2])){var g=d[2][d[2].length-1],$=this.$modes[g];if($)return $[e].apply($,[d[1]].concat([].slice.call(n,1)))}d=d[0]||`start`}for(var v=0;v<this.$embeds.length;v++)if(this.$modes[this.$embeds[v]]){var b=d.split(this.$embeds[v]);if(!b[0]&&b[1]){n[0]=b[1];var $=this.$modes[this.$embeds[v]];return $[e].apply($,n)}}var u=s.apply(this,n);return s?u:void 0},this.transformAction=function(e,n,s,d,g){if(this.$behaviour){var $=this.$behaviour.getBehaviours();for(var v in $)if($[v][n]){var b=$[v][n].apply(this,arguments);if(b)return b}}},this.getKeywords=function(e){if(!this.completionKeywords){var n=this.$tokenizer.rules,s=[];for(var d in n)for(var g=n[d],$=0,v=g.length;$<v;$++)if(typeof g[$].token==`string`)/keyword|support|storage/.test(g[$].token)&&s.push(g[$].regex);else if(typeof g[$].token==`object`){for(var b=0,u=g[$].token.length;b<u;b++)if(/keyword|support|storage/.test(g[$].token[b])){var d=g[$].regex.match(/\(.+?\)/g)[b];s.push(d.substr(1,d.length-2))}}this.completionKeywords=s}return e?s.concat(this.$keywordList||[]):this.$keywordList},this.$createKeywordList=function(){return this.$highlightRules||this.getTokenizer(),this.$keywordList=this.$highlightRules.$keywordList||[]},this.getCompletions=function(e,n,s,d){return(this.$keywordList||this.$createKeywordList()).map(function($){return{name:$,value:$,score:0,meta:`keyword`}})},this.$id=`ace/mode/text`}).call(t.prototype),E.Mode=t});ace.define(`ace/line_widgets`,[`require`,`exports`,`module`,`ace/lib/dom`],function(R,E,F){"use strict";var k=R(`./lib/dom`);E.LineWidgets=(function(){function M(a){this.session=a,this.session.widgetManager=this,this.session.getRowLength=this.getRowLength,this.session.$getWidgetScreenLength=this.$getWidgetScreenLength,this.updateOnChange=this.updateOnChange.bind(this),this.renderWidgets=this.renderWidgets.bind(this),this.measureWidgets=this.measureWidgets.bind(this),this.session._changedWidgets=[],this.$onChangeEditor=this.$onChangeEditor.bind(this),this.session.on(`change`,this.updateOnChange),this.session.on(`changeFold`,this.updateOnFold),this.session.on(`changeEditor`,this.$onChangeEditor)}return M.prototype.getRowLength=function(a){var l;return this.lineWidgets?l=this.lineWidgets[a]&&this.lineWidgets[a].rowCount||0:l=0,!this.$useWrapMode||!this.$wrapData[a]?1+l:this.$wrapData[a].length+1+l},M.prototype.$getWidgetScreenLength=function(){var a=0;return this.lineWidgets.forEach(function(l){l&&l.rowCount&&!l.hidden&&(a+=l.rowCount)}),a},M.prototype.$onChangeEditor=function(a){this.attach(a.editor)},M.prototype.attach=function(a){a&&a.widgetManager&&a.widgetManager!=this&&a.widgetManager.detach(),this.editor!=a&&(this.detach(),this.editor=a,a&&(a.widgetManager=this,a.renderer.on(`beforeRender`,this.measureWidgets),a.renderer.on(`afterRe
218nder`,this.renderWidgets)))},M.prototype.detach=function(a){var l=this.editor;if(l){this.editor=null,l.widgetManager=null,l.renderer.off(`beforeRender`,this.measureWidgets),l.renderer.off(`afterRender`,this.renderWidgets);var r=this.session.lineWidgets;r&&r.forEach(function(o){o&&o.el&&o.el.parentNode&&(o._inDocument=!1,o.el.parentNode.removeChild(o.el))})}},M.prototype.updateOnFold=function(a,l){var r=l.lineWidgets;if(!(!r||!a.action)){for(var o=a.data,i=o.start.row,t=o.end.row,e=a.action==`add`,n=i+1;n<t;n++)r[n]&&(r[n].hidden=e);r[t]&&(e?r[i]?r[t].hidden=e:r[i]=r[t]:(r[i]==r[t]&&(r[i]=void 0),r[t].hidden=e))}},M.prototype.updateOnChange=function(a){var l=this.session.lineWidgets;if(l){var r=a.start.row,o=a.end.row-r;if(o!==0)if(a.action==`remove`){var i=l.splice(r+1,o);!l[r]&&i[i.length-1]&&(l[r]=i.pop()),i.forEach(function(e){e&&this.removeLineWidget(e)},this),this.$updateRows()}else{var t=new Array(o);l[r]&&l[r].column!=null&&a.start.column>l[r].column&&r++,t.unshift(r,0),l.splice.apply(l,t),this.$updateRows()}}},M.prototype.$updateRows=function(){var a=this.session.lineWidgets;if(a){var l=!0;a.forEach(function(r,o){if(r)for(l=!1,r.row=o;r.$oldWidget;)r.$oldWidget.row=o,r=r.$oldWidget}),l&&(this.session.lineWidgets=null)}},M.prototype.$registerLineWidget=function(a){this.session.lineWidgets||(this.session.lineWidgets=new Array(this.session.getLength()));var l=this.session.lineWidgets[a.row];return l&&(a.$oldWidget=l,l.el&&l.el.parentNode&&(l.el.parentNode.removeChild(l.el),l._inDocument=!1)),this.session.lineWidgets[a.row]=a,a},M.prototype.addLineWidget=function(a){if(this.$registerLineWidget(a),a.session=this.session,!this.editor)return a;var l=this.editor.renderer;a.html&&!a.el&&(a.el=k.createElement(`div`),a.el.innerHTML=a.html),a.text&&!a.el&&(a.el=k.createElement(`div`),a.el.textContent=a.text),a.el&&(k.addCssClass(a.el,`ace_lineWidgetContainer`),a.className&&k.addCssClass(a.el,a.className),a.el.style.position=`absolute`,a.el.style.zIndex=`5`,l.container.appendChild(a.el),a._inDocument=!0,a.coverGutter||(a.el.style.zIndex=`3`),a.pixelHeight??=a.el.offsetHeight),a.rowCount??=a.pixelHeight/l.layerConfig.lineHeight;var r=this.session.getFoldAt(a.row,0);if(a.$fold=r,r){var o=this.session.lineWidgets;a.row==r.end.row&&!o[r.start.row]?o[r.start.row]=a:a.hidden=!0}return this.session._emit(`changeFold`,{data:{start:{row:a.row}}}),this.$updateRows(),this.renderWidgets(null,l),this.onWidgetChanged(a),a},M.prototype.removeLineWidget=function(a){if(a._inDocument=!1,a.session=null,a.el&&a.el.parentNode&&a.el.parentNode.removeChild(a.el),a.editor&&a.editor.destroy)try{a.editor.destroy()}catch{}if(this.session.lineWidgets){var l=this.session.lineWidgets[a.row];if(l==a)this.session.lineWidgets[a.row]=a.$oldWidget,a.$oldWidget&&this.onWidgetChanged(a.$oldWidget);else for(;l;){if(l.$oldWidget==a){l.$oldWidget=a.$oldWidget;break}l=l.$oldWidget}}this.session._emit(`changeFold`,{data:{start:{row:a.row}}}),this.$updateRows()},M.prototype.getWidgetsAtRow=function(a){for(var l=this.session.lineWidgets,r=l&&l[a],o=[];r;)o.push(r),r=r.$oldWidget;return o},M.prototype.onWidgetChanged=function(a){this.session._changedWidgets.push(a),this.editor&&this.editor.renderer.updateFull()},M.prototype.measureWidgets=function(a,l){var r=this.session._changedWidgets,o=l.layerConfig;if(!(!r||!r.length)){for(var i=Infinity,t=0;t<r.length;t++){var e=r[t];if(!(!e||!e.el)&&e.session==this.session){if(!e._inDocument){if(this.session.lineWidgets[e.row]!=e)continue;e._inDocument=!0,l.container.appendChild(e.el)}e.h=e.el.offsetHeight,e.fixedWidth||(e.w=e.el.offsetWidth,e.screenWidth=Math.ceil(e.w/o.characterWidth));var n=e.h/o.lineHeight;e.coverLine&&(n-=this.session.getRowLineCount(e.row),n<0&&(n=0)),e.rowCount!=n&&(e.rowCount=n,e.row<i&&(i=e.row))}}i!=Infinity&&(this.session._emit(`changeFold`,{data:{start:{row:i}}}),this.session.lineWidgetWidth=null),this.session._changedWidgets=[]}},M.prototype.renderWidgets=function(a,l){var r=l.layerConfig,o=this.session.lineWidgets;if(o){for(var i=Math.min(this.firstRow,r.firstRow),t=Math.max(this.lastRow,r.lastRow,o.length);i>0&&!o[i];)i--;this.firstRow=r.firstRow,this.lastRow=r.lastRow,l.$cursorLayer.config=r;for(var e=i;e<=t;e++){var n=o[e];if(!(!n||!n.el)){if(n.hidden){n.el.style.top=-100-(n.pixelHeight||0)+`px`;continue}n._inDocument||(n._inDocument=!0,l.container.appendChild(n.el));var s=l.$cursorLayer.getPixelPosition({row:e,column:0},!0).top;n.coverLine||(s+=r.lineHeight*this.session.getRowLineCount(n.row)),n.el.style.top=s-r.offset+`px`;var d=n.coverGutter?0:l.gutterWidth;n.fixedWidth||(d-=l.scrollLeft),n.el.style.left=d+`px`,n.fullWidth&&n.screenWidth&&(n.el.style.minWidth=r.width+2*r.padding+`px`),n.fixedWidth?n.el.style.right=l.scrollBar.getWidth()+`px`:n.el.style.right=``}}}},M}
218)()});ace.define(`ace/apply_delta`,[`require`,`exports`,`module`],function(R,E,F){"use strict";E.applyDelta=function(a,l,r){var o=l.start.row,i=l.start.column,t=a[o]||``;switch(l.action){case`insert`:if(l.lines.length===1)a[o]=t.substring(0,i)+l.lines[0]+t.substring(i);else{var n=[o,1].concat(l.lines);a.splice.apply(a,n),a[o]=t.substring(0,i)+a[o],a[o+l.lines.length-1]+=t.substring(i)}break;case`remove`:var s=l.end.column,d=l.end.row;o===d?a[o]=t.substring(0,i)+t.substring(s):a.splice(o,d-o+1,t.substring(0,i)+a[d].substring(s));break}}});ace.define(`ace/anchor`,[`require`,`exports`,`module`,`ace/lib/oop`,`ace/lib/event_emitter`],function(R,E,F){"use strict";var k=R(`./lib/oop`),L=R(`./lib/event_emitter`).EventEmitter,M=(function(){function r(o,i,t){this.$onChange=this.onChange.bind(this),this.attach(o),typeof i!=`number`?this.setPosition(i.row,i.column):this.setPosition(i,t)}return r.prototype.getPosition=function(){return this.$clipPositionToDocument(this.row,this.column)},r.prototype.getDocument=function(){return this.document},r.prototype.onChange=function(o){if(!(o.start.row==o.end.row&&o.start.row!=this.row)&&!(o.start.row>this.row)){var i=l(o,{row:this.row,column:this.column},this.$insertRight);this.setPosition(i.row,i.column,!0)}},r.prototype.setPosition=function(o,i,t){var e;if(t?e={row:o,column:i}:e=this.$clipPositionToDocument(o,i),!(this.row==e.row&&this.column==e.column)){var n={row:this.row,column:this.column};this.row=e.row,this.column=e.column,this._signal(`change`,{old:n,value:e})}},r.prototype.detach=function(){this.document.off(`change`,this.$onChange)},r.prototype.attach=function(o){this.document=o||this.document,this.document.on(`change`,this.$onChange)},r.prototype.$clipPositionToDocument=function(o,i){var t={};return o>=this.document.getLength()?(t.row=Math.max(0,this.document.getLength()-1),t.column=this.document.getLine(t.row).length):o<0?(t.row=0,t.column=0):(t.row=o,t.column=Math.min(this.document.getLine(t.row).length,Math.max(0,i))),i<0&&(t.column=0),t},r})();M.prototype.$insertRight=!1,k.implement(M.prototype,L);function a(r,o,i){var t=i?r.column<=o.column:r.column<o.column;return r.row<o.row||r.row==o.row&&t}function l(r,o,i){var t=r.action==`insert`,e=(t?1:-1)*(r.end.row-r.start.row),n=(t?1:-1)*(r.end.column-r.start.column),s=r.start,d=t?s:r.end;return a(o,s,i)?{row:o.row,column:o.column}:a(d,o,!i)?{row:o.row+e,column:o.column+(o.row==d.row?n:0)}:{row:s.row,column:s.column}}E.Anchor=M});ace.define(`ace/document`,[`require`,`exports`,`module`,`ace/lib/oop`,`ace/apply_delta`,`ace/lib/event_emitter`,`ace/range`,`ace/anchor`],function(R,E,F){"use strict";var k=R(`./lib/oop`),L=R(`./apply_delta`).applyDelta,M=R(`./lib/event_emitter`).EventEmitter,a=R(`./range`).Range,l=R(`./anchor`).Anchor,r=(function(){function o(i){this.$lines=[``],i.length===0?this.$lines=[``]:Array.isArray(i)?this.insertMergedLines({row:0,column:0},i):this.insert({row:0,column:0},i)}return o.prototype.setValue=function(i){var t=this.getLength()-1;this.remove(new a(0,0,t,this.getLine(t).length)),this.insert({row:0,column:0},i||``)},o.prototype.getValue=function(){return this.getAllLines().join(this.getNewLineCharacter())},o.prototype.createAnchor=function(i,t){return new l(this,i,t)},o.prototype.$detectNewLine=function(i){var t=i.match(/^.*?(\r\n|\r|\n)/m);this.$autoNewLine=t?t[1]:`
219`,this._signal(`changeNewLineMode`)},o.prototype.getNewLineCharacter=function(){switch(this.$newLineMode){case`windows`:return`\r
220`;case`unix`:return`
221`;default:return this.$autoNewLine||`
222`}},o.prototype.setNewLineMode=function(i){this.$newLineMode!==i&&(this.$newLineMode=i,this._signal(`changeNewLineMode`))},o.prototype.getNewLineMode=function(){return this.$newLineMode},o.prototype.isNewLine=function(i){return i==`\r
223`||i==`\r`||i==`
224`},o.prototype.getLine=function(i){return this.$lines[i]||``},o.prototype.getLines=function(i,t){return this.$lines.slice(i,t+1)},o.prototype.getAllLines=function(){return this.getLines(0,this.getLength())},o.prototype.getLength=function(){return this.$lines.length},o.prototype.getTextRange=function(i){return this.getLinesForRange(i).join(this.getNewLineCharacter())},o.prototype.getLinesForRange=function(i){var t;if(i.start.row===i.end.row)t=[this.getLine(i.start.row).substring(i.start.column,i.end.column)];else{t=this.getLines(i.start.row,i.end.row),t[0]=(t[0]||``).substring(i.start.column);var e=t.length-1;i.end.row-i.start.row==e&&(t[e]=t[e].substring(0,i.end.column))}return t},o.prototype.insertLines=function(i,t){return console.warn(`Use of document.insertLines is deprecated. Use the insertFullLines method instead.`),this.insertFullLines(i,t)},o.prototype.removeLines=function(i,t){return console.warn(`Use of document.removeLines is deprecated. Use the removeFullLines method instead.`),this.removeFullLines(i,t)},o.prototype.insertNewLine=function(i){return console.warn(`Use of document.insertNewLine is deprecated. Use insertMergedLines(position, ['', '']) instead.`),this.insertMergedLines(i,[``,``])},o.prototype.insert=function(i,t){return this.getLength()<=1&&this.$detectNewLine(t),this.insertMergedLines(i,this.$split(t))},o.prototype.insertInLine=function(i,t){var e=this.clippedPos(i.row,i.column),n=this.pos(i.row,i.column+t.length);return this.applyDelta({start:e,end:n,action:`insert`,lines:[t]},!0),this.clonePos(n)},o.prototype.clippedPos=function(i,t){var e=this.getLength();i===void 0?i=e:i<0?i=0:i>=e&&(i=e-1,t=void 0);var n=this.getLine(i);return t??=n.length,t=Math.min(Math.max(t,0),n.length),{row:i,column:t}},o.prototype.clonePos=function(i){return{row:i.row,column:i.column}},o.prototype.pos=function(i,t){return{row:i,column:t}},o.prototype.$clipPosition=function(i){var t=this.getLength();return i.row>=t?(i.row=Math.max(0,t-1),i.column=this.getLine(t-1).length):(i.row=Math.max(0,i.row),i.column=Math.min(Math.max(i.column,0),this.getLine(i.row).length)),i},o.prototype.insertFullLines=function(i,t){i=Math.min(Math.max(i,0),this.getLength());var e=0;i<this.getLength()?(t=t.concat([``]),e=0):(t=[``].concat(t),i--,e=this.$lines[i].length),this.insertMergedLines({row:i,column:e},t)},o.prototype.insertMergedLines=function(i,t){var e=this.clippedPos(i.row,i.column),n={row:e.row+t.length-1,column:(t.length==1?e.column:0)+t[t.length-1].length};return this.applyDelta({start:e,end:n,action:`insert`,lines:t}),this.clonePos(n)},o.prototype.remove=function(i){var t=this.clippedPos(i.start.row,i.start.column),e=this.clippedPos(i.end.row,i.end.column);return this.applyDelta({start:t,end:e,action:`remove`,lines:this.getLinesForRange({start:t,end:e})}),this.clonePos(t)},o.prototype.removeInLine=function(i,t,e){var n=this.clippedPos(i,t),s=this.clippedPos(i,e);return this.applyDelta({start:n,end:s,action:`remove`,lines:this.getLinesForRange({start:n,end:s})},!0),this.clonePos(n)},o.prototype.removeFullLines=function(i,t){i=Math.min(Math.max(0,i),this.getLength()-1),t=Math.min(Math.max(0,t),this.getLength()-1);var e=t==this.getLength()-1&&i>0,n=t<this.getLength()-1,s=e?i-1:i,d=e?this.getLine(s).length:0,g=n?t+1:t,v=new a(s,d,g,n?0:this.getLine(g).length),b=this.$lines.slice(i,t+1);return this.applyDelta({start:v.start,end:v.end,action:`remove`,lines:this.getLinesForRange(v)}),b},o.prototype.removeNewLine=function(i){i<this.getLength()-1&&i>=0&&this.applyDelta({start:this.pos(i,this.getLine(i).length),end:this.pos(i+1,0),action:`remove`,lines:[``,``]})},o.prototype.replace=function(i,t){if(i instanceof a||(i=a.fromPoints(i.start,i.end)),t.length===0&&i.isEmpty())return i.start;if(t==this.getTextRange(i))return i.end;this.remove(i);var e;return t?e=this.insert(i.start,t):e=i.start,e},o.prototype.applyDeltas=function(i){for(var t=0;t<i.length;t++)this.applyDelta(i[t])},o.prototype.revertDeltas=function(i){for(var t=i.length-1;t>=0;t--)this.revertDelta(i[t])},o.prototype.applyDelta=function(i,t){var e=i.action==`insert`;(e?i.lines.length<=1&&!i.lines[0]:!a.comparePoints(i.start,i.end))||(e&&i.lines.length>2e4?this.$splitAndapplyLargeDelta(i,2e4):(L(this.$lines,i,t),this._signal(`change`,i)))},o.prototype.$safeApplyDelta=function(i){var t=this.$lines.length;(i.action==`remove`&&i.start.row<t&&i.end.row<t||i.action==`insert`&&i.start.row<=t)&&this.applyDelta(i)},o.prototype.$splitAndapplyLargeDelta=function(i,t){for(var e=i.lines,n=e.length-t+1,s=i.start.row,d=i.start.column,g=0,$=0;g<n;g=$){$+=t-1;var v=e.slice(g,$);v.push(``),this.applyDelta({start:this.pos(s+g,d),end:this.pos(s+$,d=0),action:i.action,lines:v},!0)}i.lines=e.slice(g),i.start.row=s+g,i.start.column=d,this.applyDelta(i,!0)},o.prototype.revertDelta=function(i){this.$safeApplyDelta({start:this.clonePos(i.start),end:this.clonePos(i.end),action:i.action==`insert`?`remove`:`insert`,lines:i.lines.slice()})},o.prototype.indexToPosition=function(i,t){for(var e=this.$lines||this.getAllLines(),n=this.getNewLineCharacter().length,s=t||0,d=e.length;s<d;s++)if(i-=e[s].length+n,i<0)return{row:s,column:i+e[s].length+n};return{row:d-1,column:i+e[d-1].length+n}},o.prototype.positionToIndex=function(i,t){for(var e=this.$lines||this.getAllLines(),n=this.getNewLineCharacter().length,s=0,d=Math.min(i.row,e.length),g=t||0;g<d;++g)s+=e[g].length+n;return s+i.column},o.prototype.$split=function(i){return i.split(/\r\n|\r|\n/)},o})();r.prototype.$autoNewLine=``,r.prototype.$newLineMode=`auto`,k.implement(r.prototype,M),E.Document=r});ace.define(`ace/background_tokenizer`,[`require`,`exports`,`module`,`ace/lib/oop`,`ace/lib/event_emitter`],function(R,E,F){"use strict";var k=R(`./lib/oop`),L=R(`./lib/event_emitter`).EventEmitter,M=(function(){function a(l,r){this.running=!1,this.lines=[],this.states=[],this.currentLine=0,this.tokenizer=l;var o=this;this.$worker=function(){if(o.running){for(var i=new Date,t=o.currentLine,e=-1,n=o.doc,s=t;o.lines[t];)t++;var d=n.getLength(),g=0;for(o.running=!1;t<d;){o.$tokenizeRow(t),e=t;do t++;while(o.lines[t]);if(g++,g%5===0&&new Date-i>20){o.running=setTimeout(o.$worker,20);break}}o.currentLine=t,e==-1&&(e=t),s<=e&&o.fireUpdateEvent(s,e)}}}return a.prototype.setTokenizer=function(l){this.tokenizer=l,this.lines=[],this.states=[],this.start(0)},a.prototype.setDocument=function(l){this.doc=l,this.lines=[],this.states=[],this.stop()},a.prototype.fireUpdateEvent=function(l,r){var o={first:l,last:r};this._signal(`update`,{data:o})},a.prototype.start=function(l){this.currentLine=Math.min(l||0,this.currentLine,this.doc.getLength()),this.lines.splice(this.currentLine,this.lines.length),this.states.splice(this.currentLine,this.states.length),this.stop(),this.running=setTimeout(this.$worker,700)},a.prototype.scheduleStart=function(){this.running||(this.running=setTimeout(this.$worker,700))},a.prototype.$updateOnChange=function(l){var r=l.start.row,o=l.end.row-r;if(o===0)this.lines[r]=null;else if(l.action==`remove`)this.lines.splice(r,o+1,null),this.states.splice(r,o+1,null);else{var i=Array(o+1);i.unshift(r,1),this.lines.splice.apply(this.lines,i),this.states.splice.apply(this.states,i)}this.currentLine=Math.min(r,this.currentLine,this.doc.getLength()),this.stop()},a.prototype.stop=function(){this.running&&clearTimeout(this.running),this.running=!1},a.prototype.getTokens=function(l){return this.lines[l]||this.$tokenizeRow(l)},a.prototype.getState=function(l){return this.currentLine==l&&this.$tokenizeRow(l),this.states[l]||`start`},a.prototype.$tokenizeRow=function(l){var r=this.doc.getLine(l),o=this.states[l-1],i=this.tokenizer.getLineTokens(r,o,l);return this.states[l]+``!=i.state+``?(this.states[l]=i.state,this.lines[l+1]=null,this.currentLine>l+1&&(this.currentLine=l+1)):this.currentLine==l&&(this.currentLine=l+1),this.lines[l]=i.tokens},a.prototype.cleanup=function(){this.running=!1,this.lines=[],this.states=[],this.currentLine=0,this.removeAllListeners()},a})();
224k.implement(M.prototype,L),E.BackgroundTokenizer=M});ace.define(`ace/search_highlight`,[`require`,`exports`,`module`,`ace/lib/lang`,`ace/range`],function(R,E,F){"use strict";var k=R(`./lib/lang`),L=R(`./range`).Range,M=(function(){function a(l,r,o){o===void 0&&(o=`text`),this.setRegexp(l),this.clazz=r,this.type=o,this.docLen=0}return a.prototype.setRegexp=function(l){this.regExp+``!=l+``&&(this.regExp=l,this.cache=[])},a.prototype.update=function(l,r,o,i){if(this.regExp){for(var t=i.firstRow,e=i.lastRow,n={},s=o.$editor&&o.$editor.$search,d=s&&s.$isMultilineSearch(o.$editor.getLastSearchOptions()),g=t;g<=e;g++){var $=this.cache[g];if($==null||o.getValue().length!=this.docLen){if(d){$=[];var v=s.$multiLineForward(o,this.regExp,g,e);if(v){var b=v.endRow<=e?v.endRow-1:e;b>g&&(g=b),$.push(new L(v.startRow,v.startCol,v.endRow,v.endCol))}$.length>this.MAX_RANGES&&($=$.slice(0,this.MAX_RANGES))}else $=k.getMatchOffsets(o.getLine(g),this.regExp),$.length>this.MAX_RANGES&&($=$.slice(0,this.MAX_RANGES)),$=$.map(function(m){return new L(g,m.offset,g,m.offset+m.length)});this.cache[g]=$.length?$:``}if($.length!==0)for(var u=$.length;u--;){var h=$[u].toScreenRange(o),y=h.toString();n[y]||(n[y]=!0,r.drawSingleLineMarker(l,h,this.clazz,i))}}this.docLen=o.getValue().length}},a})();M.prototype.MAX_RANGES=500,E.SearchHighlight=M});ace.define(`ace/undomanager`,[`require`,`exports`,`module`,`ace/range`],function(R,E,F){"use strict";var k=(function(){function h(){this.$keepRedoStack,this.$maxRev=0,this.$fromUndo=!1,this.$undoDepth=Infinity,this.reset()}return h.prototype.addSession=function(y){this.$session=y},h.prototype.add=function(y,m,C){if(!this.$fromUndo&&y!=this.$lastDelta){if(this.$keepRedoStack||(this.$redoStack.length=0),m===!1||!this.lastDeltas){this.lastDeltas=[];var x=this.$undoStack.length;x>this.$undoDepth-1&&this.$undoStack.splice(0,x-this.$undoDepth+1),this.$undoStack.push(this.lastDeltas),y.id=this.$rev=++this.$maxRev}(y.action==`remove`||y.action==`insert`)&&(this.$lastDelta=y),this.lastDeltas.push(y)}},h.prototype.addSelection=function(y,m){this.selections.push({value:y,rev:m||this.$rev})},h.prototype.startNewGroup=function(){return this.lastDeltas=null,this.$rev},h.prototype.markIgnored=function(y,m){m??=this.$rev+1;for(var C=this.$undoStack,x=C.length;x--;){var w=C[x][0];if(w.id<=y)break;w.id<m&&(w.ignore=!0)}this.lastDeltas=null},h.prototype.getSelection=function(y,m){for(var C=this.selections,x=C.length;x--;){var w=C[x];if(w.rev<y)return m&&(w=C[x+1]),w}},h.prototype.getRevision=function(){return this.$rev},h.prototype.getDeltas=function(y,m){m??=this.$rev+1;for(var C=this.$undoStack,x=null,w=0,p=C.length;p--;){var f=C[p][0];if(f.id<m&&!x&&(x=p+1),f.id<=y){w=p+1;break}}return C.slice(w,x)},h.prototype.getChangedRanges=function(y,m){m??=this.$rev+1},h.prototype.getChangedLines=function(y,m){m??=this.$rev+1},h.prototype.undo=function(y,m){this.lastDeltas=null;var C=this.$undoStack;if(L(C,C.length)){y||(y=this.$session),this.$redoStackBaseRev!==this.$rev&&this.$redoStack.length&&(this.$redoStack=[]),this.$fromUndo=!0;var x=C.pop(),w=null;return x&&(w=y.undoChanges(x,m),this.$redoStack.push(x),this.$syncRev()),this.$fromUndo=!1,w}},h.prototype.redo=function(y,m){if(this.lastDeltas=null,y||(y=this.$session),this.$fromUndo=!0,this.$redoStackBaseRev!=this.$rev){var C=this.getDeltas(this.$redoStackBaseRev,this.$rev+1);u(this.$redoStack,C),this.$redoStackBaseRev=this.$rev,this.$redoStack.forEach(function(p){p[0].id=++this.$maxRev},this)}var x=this.$redoStack.pop(),w=null;return x&&(w=y.redoChanges(x,m),this.$undoStack.push(x),this.$syncRev()),this.$fromUndo=!1,w},h.prototype.$syncRev=function(){var y=this.$undoStack,m=y[y.length-1],C=m&&m[0].id||0;this.$redoStackBaseRev=C,this.$rev=C},h.prototype.reset=function(){this.lastDeltas=null,this.$lastDelta=null,this.$undoStack=[],this.$redoStack=[],this.$rev=0,this.mark=0,this.$redoStackBaseRev=this.$rev,this.selections=[]},h.prototype.canUndo=function(){return this.$undoStack.length>0},h.prototype.canRedo=function(){return this.$redoStack.length>0},h.prototype.bookmark=function(y){y??=this.$rev,this.mark=y},h.prototype.isAtBookmark=function(){return this.$rev===this.mark},h.prototype.toJSON=function(){return{$redoStack:this.$redoStack,$undoStack:this.$undoStack}},h.prototype.fromJSON=function(y){this.reset(),this.$undoStack=y.$undoStack,this.$redoStack=y.$redoStack},h.prototype.$prettyPrint=function(y){return y?t(y):t(this.$undoStack)+`
225---
226`+t(this.$redoStack)},h})();k.prototype.hasUndo=k.prototype.canUndo,k.prototype.hasRedo=k.prototype.canRedo,k.prototype.isClean=k.prototype.isAtBookmark,k.prototype.markClean=k.prototype.bookmark;function L(h,y){for(var m=y;m--;
226){var C=h[m];if(C&&!C[0].ignore){for(;m<y-1;){var x=s(h[m],h[m+1]);h[m]=x[0],h[m+1]=x[1],m++}return!0}}}var M=R(`./range`).Range,a=M.comparePoints;M.comparePoints;function o(h){return{row:h.row,column:h.column}}function i(h){return{start:o(h.start),end:o(h.end),action:h.action,lines:h.lines.slice()}}function t(h){if(h=h||this,Array.isArray(h))return h.map(t).join(`
227`);var y=``;return h.action?(y=h.action==`insert`?`+`:`-`,y+=`[`+h.lines+`]`):h.value&&(Array.isArray(h.value)?y=h.value.map(e).join(`
228`):y=e(h.value)),h.start&&(y+=e(h)),(h.id||h.rev)&&(y+=`	(`+(h.id||h.rev)+`)`),y}function e(h){return h.start.row+`:`+h.start.column+`=>`+h.end.row+`:`+h.end.column}function n(h,y){var m=h.action==`insert`,C=y.action==`insert`;if(m&&C)if(a(y.start,h.end)>=0)g(y,h,-1);else if(a(y.start,h.start)<=0)g(h,y,1);else return null;else if(m&&!C)if(a(y.start,h.end)>=0)g(y,h,-1);else if(a(y.end,h.start)<=0)g(h,y,-1);else return null;else if(!m&&C)if(a(y.start,h.start)>=0)g(y,h,1);else if(a(y.start,h.start)<=0)g(h,y,1);else return null;else if(!m&&!C)if(a(y.start,h.start)>=0)g(y,h,1);else if(a(y.end,h.start)<=0)g(h,y,-1);else return null;return[y,h]}function s(h,y){for(var m=h.length;m--;)for(var C=0;C<y.length;C++)if(!n(h[m],y[C])){for(;m<h.length;){for(;C--;)n(y[C],h[m]);C=y.length,m++}return[h,y]}return h.selectionBefore=y.selectionBefore=h.selectionAfter=y.selectionAfter=null,[y,h]}function d(h,y){var m=h.action==`insert`,C=y.action==`insert`;if(m&&C)a(h.start,y.start)<0?g(y,h,1):g(h,y,1);else if(m&&!C)a(h.start,y.end)>=0?g(h,y,-1):(a(h.start,y.start)<=0||g(h,M.fromPoints(y.start,h.start),-1),g(y,h,1));else if(!m&&C)a(y.start,h.end)>=0?g(y,h,-1):(a(y.start,h.start)<=0||g(y,M.fromPoints(h.start,y.start),-1),g(h,y,1));else if(!m&&!C)if(a(y.start,h.end)>=0)g(y,h,-1);else if(a(y.end,h.start)<=0)g(h,y,-1);else{var x,w;return a(h.start,y.start)<0&&(x=h,h=v(h,y.start)),a(h.end,y.end)>0&&(w=v(h,y.end)),$(y.end,h.start,h.end,-1),w&&!x&&(h.lines=w.lines,h.start=w.start,h.end=w.end,w=h),[y,x,w].filter(Boolean)}return[y,h]}function g(h,y,m){$(h.start,y.start,y.end,m),$(h.end,y.start,y.end,m)}function $(h,y,m,C){h.row==(C==1?y:m).row&&(h.column+=C*(m.column-y.column)),h.row+=C*(m.row-y.row)}function v(h,y){var m=h.lines,C=h.end;h.end=o(y);var x=h.end.row-h.start.row,w=m.splice(x,m.length),p=x?y.column:y.column-h.start.column;m.push(w[0].substring(0,p)),w[0]=w[0].substr(p);return{start:o(y),end:C,lines:w,action:h.action}}function b(h,y){y=i(y);for(var m=h.length;m--;){for(var C=h[m],x=0;x<C.length;x++){var w=C[x],p=d(w,y);y=p[0],p.length!=2&&(p[2]?(C.splice(x+1,1,p[1],p[2]),x++):p[1]||(C.splice(x,1),x--))}C.length||h.splice(m,1)}return h}function u(h,y){for(var m=0;m<y.length;m++)for(var C=y[m],x=0;x<C.length;x++)b(h,C[x])}E.UndoManager=k});ace.define(`ace/edit_session/fold_line`,[`require`,`exports`,`module`,`ace/range`],function(R,E,F){"use strict";var k=R(`../range`).Range;E.FoldLine=(function(){function M(a,l){this.foldData=a,Array.isArray(l)?this.folds=l:l=this.folds=[l];var r=l[l.length-1];this.range=new k(l[0].start.row,l[0].start.column,r.end.row,r.end.column),this.start=this.range.start,this.end=this.range.end,this.folds.forEach(function(o){o.setFoldLine(this)},this)}return M.prototype.shiftRow=function(a){this.start.row+=a,this.end.row+=a,this.folds.forEach(function(l){l.start.row+=a,l.end.row+=a})},M.prototype.addFold=function(a){if(a.sameRow){if(a.start.row<this.startRow||a.endRow>this.endRow)throw new Error(`Can't add a fold to this FoldLine as it has no connection`);this.folds.push(a),this.folds.sort(function(l,r){return-l.range.compareEnd(r.start.row,r.start.column)}),this.range.compareEnd(a.start.row,a.start.column)>0?(this.end.row=a.end.row,this.end.column=a.end.column):this.range.compareStart(a.end.row,a.end.column)<0&&(this.start.row=a.start.row,this.start.column=a.start.column)}else if(a.start.row==this.end.row)this.folds.push(a),this.end.row=a.end.row,this.end.column=a.end.column;else if(a.end.row==this.start.row)this.folds.unshift(a),this.start.row=a.start.row,this.start.column=a.start.column;else throw new Error(`Trying to add fold to FoldRow that doesn't have a matching row`);a.foldLine=this},M.prototype.containsRow=function(a){return a>=this.start.row&&a<=this.end.row},M.prototype.walk=function(a,l,r){var o=0,i=this.folds,t,e,n,s=!0;l??(l=this.end.row,r=this.end.column);for(var d=0;d<i.length;d++){if(t=i[d],e=t.range.compareStart(l,r),e==-1){a(null,l,r,o,s);return}if(n=a(null,t.start.row,t.start.column,o,s),n=!n&&a(t.placeholder,t.start.row,t.start.column,o),n||e===0)return;s=!t.sameRow,o=t.end.column}a(null,l,r,o,s)},M.prototype.getNextFoldTo=function(a,l){for(var r,o,i=0;i<this.folds.length;i++){if(r=this.folds[i],o=r.range.compareEnd(a,l),o==-1)return{fold:r,kind:`after`};if(o===0)return{fold:r,kind:`inside`}}return null},M.prototype.addRemoveChars=function(a,l,r){var o=this.getNextFoldTo(a,l),i,t;if(o){if(i=o.fold,o.kind==`inside`&&i.start.column!=l&&i.start.row!=a)window.console&&window.console.log(a,l,i);else if(i.start.row==a){t=this.folds;var e=t.indexOf(i);for(e===0&&(this.start.column+=r);e<t.length;e++){if(i=t[e],i.start.column+=r,!i.sameRow)return;i.end.column+=r}this.end.column+=r}}},M.prototype.split=function(a,l){var r=this.getNextFoldTo(a,l);if(!r||r.kind==`inside`)return null;var o=r.fold,i=this.folds,t=this.foldData,e=i.indexOf(o),n=i[e-1];this.end.row=n.end.row,this.end.column=n.end.column,i=i.splice(e,i.length-e);var s=new M(t,i);return t.splice(t.indexOf(this)+1,0,s),s},M.prototype.merge=function(a){for(var l=a.folds,r=0;r<l.length;r++)this.addFold(l[r]);var o=this.foldData;o.splice(o.indexOf(a),1)},M.prototype.toString=function(){var a=[this.range.toString()+`: [`];return this.folds.forEach(function(l){a.push(`  `+l.toString())}),a.push(`]`),a.join(`
229`)},M.prototype.idxToPosition=function(a){for(var l=0,r=0;r<this.folds.length;r++){var o=this.folds[r];if(a-=o.start.column-l,a<0)return{row:o.start.row,column:o.start.column+a};if(a-=o.placeholder.length,a<0)return o.start;l=o.end.column}return{row:this.end.row,column:this.end.column+a}},M})()});ace.define(`ace/range_list`,[`require`,`exports`,`module`,`ace/range`],function(R,E,F){"use strict";var L=R(`./range`).Range.comparePoints,M=(function(){function a(){this.ranges=[],this.$bias=1}return a.prototype.pointIndex=function(l,r,o){for(var i=this.ranges,t=o||0;t<i.length;t++){var e=i[t],n=L(l,e.end);if(!(n>0)){var s=L(l,e.start);return n===0?r&&s!==0?-t-2:t:s>0||s===0&&!r?t:-t-1}}return-t-1},a.prototype.add=function(l){var r=!l.isEmpty(),o=this.pointIndex(l.start,r);o<0&&(o=-o-1);var i=this.pointIndex(l.end,r,o);return i<0?i=-i-1:i++,this.ranges.splice(o,i-o,l)},a.prototype.addList=function(l){for(var r=[],o=l.length;o--;)r.push.apply(r,this.add(l[o]));return r},a.prototype.substractPoint=function(l){var r=this.pointIndex(l);if(r>=0)return this.ranges.splice(r,1)},a.prototype.merge=function(){var l=[],r=this.ranges;r=r.sort(function(n,s){return L(n.start,s.start)});for(var o=r[0],i,t=1;t<r.length;t++){i=o,o=r[t];var e=L(i.end,o.start);e<0||e==0&&!i.isEmpty()&&!o.isEmpty()||(L(i.end,o.end)<0&&(i.end.row=o.end.row,i.end.column=o.end.column),r.splice(t,1),l.push(o),o=i,t--)}return this.ranges=r,l},a.prototype.contains=function(l,r){return this.pointIndex({row:l,column:r})>=0},a.prototype.containsPoint=function(l){return this.pointIndex(l)>=0},a.prototype.rangeAtPoint=function(l){var r=this.pointIndex(l);if(r>=0)return this.ranges[r]},a.prototype.clipRows=function(l,r){var o=this.ranges;if(o[0].start.row>r||o[o.length-1].start.row<l)return[];var i=this.pointIndex({row:l,column:0});i<0&&(i=-i-1);var t=this.pointIndex({row:r,column:0},i);t<0&&(t=-t-1);for(var e=[],n=i;n<t;n++)e.push(o[n]);return e},a.prototype.removeAll=function(){return this.ranges.splice(0,this.ranges.length)},a.prototype.attach=function(l){this.session&&this.detach(),this.session=l,this.onChange=this.$onChange.bind(this),this.session.on(`change`,this.onChange)},a.prototype.detach=function(){this.session&&(this.session.removeListener(`change`,this.onChange),this.session=null)},a.prototype.$onChange=function(l){for(var r=l.start,o=l.end,i=r.row,t=o.row,e=this.ranges,n=0,s=e.length;n<s;n++){var d=e[n];if(d.end.row>=i)break}if(l.action==`insert`)for(var g=t-i,$=-r.column+o.column;n<s;n++){var d=e[n];if(d.start.row>i)break;if(d.start.row==i&&d.start.column>=r.column&&(d.start.column==r.column&&this.$bias<=0||(d.start.column+=$,d.start.row+=g)),d.end.row==i&&d.end.column>=r.column){if(d.end.column==r.column&&this.$bias<0)continue;d.end.column==r.column&&$>0&&n<s-1&&d.end.column>d.start.column&&d.end.column==e[n+1].start.column&&(d.end.column-=$),d.end.column+=$,d.end.row+=g}}else for(var g=i-t,$=r.column-o.column;n<s;n++){var d=e[n];if(d.start.row>t)break;d.end.row<t&&(i<d.end.row||i==d.end.row&&r.column<d.end.column)?(d.end.row=i,d.end.column=r.column):d.end.row==t?d.end.column<=o.column?(g||d.end.column>r.column)&&(d.end.column=r.column,d.end.row=r.row):(d.end.column+=$,d.end.row+=g):d.end.row>t&&(d.end.row+=g),d.start.row<t&&(i<d.start.row||i==d.start.row&&r.column<d.start.column)?(d.start.row=i,d.start.column=r.column):d.start.row==t?d.start.column<=o.column?(g||d.start.column>r.column)&&(d.start.column=r.column,d.start.row=r.row):(d.start.column+=$,d.start.row+=g):d.start.row>t&&(d.start.row+=g)}if(g!=0&&n<s)for(;n<s;n++){var d=e[n];d.start.row+=g,d.end.row+=g}},a})();M.prototype.comparePoints=L,E.RangeList=M});ace.define(`ace/edit_session/fold`,[`require`,`exports`,`module`,`ace/range_list`],function(R,E,F){"use strict";var k=this&&this.__extends||(function(){var i=function(t,e){return i=Object.
229setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,s){n.__proto__=s}||function(n,s){for(var d in s)Object.prototype.hasOwnProperty.call(s,d)&&(n[d]=s[d])},i(t,e)};return function(t,e){if(typeof e!=`function`&&e!==null)throw new TypeError(`Class extends value `+String(e)+` is not a constructor or null`);i(t,e);function n(){this.constructor=t}t.prototype=e===null?Object.create(e):(n.prototype=e.prototype,new n)}})(),M=(function(i){k(t,i);function t(e,n){var s=i.call(this)||this;return s.foldLine=null,s.placeholder=n,s.range=e,s.start=e.start,s.end=e.end,s.sameRow=e.start.row==e.end.row,s.subFolds=s.ranges=[],s}return t.prototype.toString=function(){return`"`+this.placeholder+`" `+this.range.toString()},t.prototype.setFoldLine=function(e){this.foldLine=e,this.subFolds.forEach(function(n){n.setFoldLine(e)})},t.prototype.clone=function(){var n=new t(this.range.clone(),this.placeholder);return this.subFolds.forEach(function(s){n.subFolds.push(s.clone())}),n.collapseChildren=this.collapseChildren,n},t.prototype.addSubFold=function(e){if(!this.range.isEqual(e)){l(e,this.start);for(var $=e.start.row,v=e.start.column,n=0,s=-1;n<this.subFolds.length&&(s=this.subFolds[n].range.compare($,v),s==1);n++);var d=this.subFolds[n],g=0;if(s==0){if(d.range.containsRange(e))return d.addSubFold(e);g=1}for(var $=e.range.end.row,v=e.range.end.column,b=n,s=-1;b<this.subFolds.length&&(s=this.subFolds[b].range.compare($,v),s==1);b++);s==0&&b++;for(var u=this.subFolds.splice(n,b-n,e),h=s==0?u.length-1:u.length,y=g;y<h;y++)e.addSubFold(u[y]);return e.setFoldLine(this.foldLine),e}},t.prototype.restoreRange=function(e){return o(e,this.start)},t})(R(`../range_list`).RangeList);function a(i,t){i.row-=t.row,i.row==0&&(i.column-=t.column)}function l(i,t){a(i.start,t),a(i.end,t)}function r(i,t){i.row==0&&(i.column+=t.column),i.row+=t.row}function o(i,t){r(i.start,t),r(i.end,t)}E.Fold=M});ace.define(`ace/edit_session/folding`,[`require`,`exports`,`module`,`ace/range`,`ace/edit_session/fold_line`,`ace/edit_session/fold`,`ace/token_iterator`,`ace/mouse/mouse_event`],function(R,E,F){"use strict";var k=R(`../range`).Range,L=R(`./fold_line`).FoldLine,M=R(`./fold`).Fold,a=R(`../token_iterator`).TokenIterator,l=R(`../mouse/mouse_event`).MouseEvent;function r(){this.getFoldAt=function(o,i,t){var e=this.getFoldLine(o);if(!e)return null;for(var n=e.folds,s=0;s<n.length;s++){var d=n[s].range;if(d.contains(o,i)){if(t==1&&d.isEnd(o,i)&&!d.isEmpty())continue;if(t==-1&&d.isStart(o,i)&&!d.isEmpty())continue;return n[s]}}},this.getFoldsInRange=function(o){var i=o.start,t=o.end,e=this.$foldData,n=[];i.column+=1,t.column-=1;for(var s=0;s<e.length;s++){var d=e[s].range.compareRange(o);if(d!=2){if(d==-2)break;for(var g=e[s].folds,$=0;$<g.length;$++){var v=g[$];if(d=v.range.compareRange(o),d==-2)break;if(d==2)continue;if(d==42)break;n.push(v)}}}return i.column-=1,t.column+=1,n},this.getFoldsInRangeList=function(o){if(Array.isArray(o)){var i=[];o.forEach(function(t){i=i.concat(this.getFoldsInRange(t))},this)}else var i=this.getFoldsInRange(o);return i},this.getAllFolds=function(){for(var o=[],i=this.$foldData,t=0;t<i.length;t++)for(var e=0;e<i[t].folds.length;e++)o.push(i[t].folds[e]);return o},this.getFoldStringAt=function(o,i,t,e){if(e=e||this.getFoldLine(o),!e)return null;for(var n={end:{column:0}},s,d,g=0;g<e.folds.length;g++){d=e.folds[g];var $=d.range.compareEnd(o,i);if($==-1){s=this.getLine(d.start.row).substring(n.end.column,d.start.column);break}else if($===0)return null;n=d}return s||(s=this.getLine(d.start.row).substring(n.end.column)),t==-1?s.substring(0,i-n.end.column):t==1?s.substring(i-n.end.column):s},this.getFoldLine=function(o,i){var t=this.$foldData,e=0;for(i&&(e=t.indexOf(i)),e==-1&&(e=0);e<t.length;e++){var n=t[e];if(n.start.row<=o&&n.end.row>=o)return n;if(n.end.row>o)return null}return null},this.getNextFoldLine=function(o,i){var t=this.$foldData,e=0;for(i&&(e=t.indexOf(i)),e==-1&&(e=0);e<t.length;e++){var n=t[e];if(n.end.row>=o)return n}return null},this.getFoldedRowCount=function(o,i){for(var t=this.$foldData,e=i-o+1,n=0;n<t.length;n++){var s=t[n],d=s.end.row,g=s.start.row;if(d>=i){g<i&&(g>=o?e-=i-g:e=0);break}else d>=o&&(g>=o?e-=d-g:e-=d-o+1)}return e},this.$addFoldLine=function(o){return this.$foldData.push(o),this.$foldData.sort(function(i,t){return i.start.row-t.start.row}),o},this.addFold=function(o,i){var t=this.$foldData,e=!1,n;o instanceof M?n=o:(n=new M(i,o),n.collapseChildren=i.collapseChildren),this.$clipRangeToDocument(n.range);var s=n.start.row,d=n.start.column,g=n.end.row,$=n.end.column,v=this.getFoldAt(s,d,1),b=this.getFoldAt(g,$,-1);if(v&&b==v)return v.addSubFold(n);v&&!v.range.isStart(s,d)&&this.removeFold(v),b&&!b.range.isEnd(g,$)&&this.removeFold(b);var u=this.getFoldsInRange(n.range);u.length>0&&(this.removeFolds(u),n.collapseChildren||u.forEach(function(C){n.addSubFold(C)}));for(var h=0;h<t.length;h++){var y=t[h];if(g==y.start.row){y.addFold(n),e=!0;break}else if(s==y.end.row){if(y.addFold(n),e=!0,!n.sameRow){var m=t[h+1];if(m&&m.start.row==g){y.merge(m);break}}break}else if(g<=y.start.row)break}return e||(y=this.$addFoldLine(new L(this.$foldData,n))),this.$useWrapMode?this.$updateWrapData(y.start.row,y.start.row):this.$updateRowLengthCache(y.start.row,y.start.row),this.$modified=!0,this._signal(`changeFold`,{data:n,action:`add`}),n},this.addFolds=function(o){o.forEach(function(i){this.addFold(i)},this)},this.removeFold=function(o){var i=o.foldLine,t=i.start.row,e=i.end.row,n=this.$foldData,s=i.folds;if(s.length==1)n.splice(n.indexOf(i),1);else if(i.range.isEnd(o.end.row,o.end.column))s.pop(),i.end.row=s[s.length-1].end.row,i.end.column=s[s.length-1].end.column;else if(i.range.isStart(o.start.row,o.start.column))s.shift(),i.start.row=s[0].start.row,i.start.column=s[0].start.column;else if(o.sameRow)s.splice(s.indexOf(o),1);else{var d=i.split(o.start.row,o.start.column);s=d.folds,s.shift(),d.start.row=s[0].start.row,d.start.column=s[0].start.column}this.$updating||(this.$useWrapMode?this.$updateWrapData(t,e):this.$updateRowLengthCache(t,e)),this.$modified=!0,this._signal(`changeFold`,{data:o,action:`remove`})},this.removeFolds=function(o){for(var i=[],t=0;t<o.length;t++)i.push(o[t]);
229i.forEach(function(e){this.removeFold(e)},this),this.$modified=!0},this.expandFold=function(o){this.removeFold(o),o.subFolds.forEach(function(i){o.restoreRange(i),this.addFold(i)},this),o.collapseChildren>0&&this.foldAll(o.start.row+1,o.end.row,o.collapseChildren-1),o.subFolds=[]},this.expandFolds=function(o){o.forEach(function(i){this.expandFold(i)},this)},this.unfold=function(o,i){var t,e;if(o==null)t=new k(0,0,this.getLength(),0),i??=!0;else if(typeof o==`number`)t=new k(o,0,o,this.getLine(o).length);else if(`row`in o)t=k.fromPoints(o,o);else{if(Array.isArray(o))return e=[],o.forEach(function(s){e=e.concat(this.unfold(s))},this),e;t=o}e=this.getFoldsInRangeList(t);for(var n=e;e.length==1&&k.comparePoints(e[0].start,t.start)<0&&k.comparePoints(e[0].end,t.end)>0;)this.expandFolds(e),e=this.getFoldsInRangeList(t);if(i!=!1?this.removeFolds(e):this.expandFolds(e),n.length)return n},this.isRowFolded=function(o,i){return!!this.getFoldLine(o,i)},this.getRowFoldEnd=function(o,i){var t=this.getFoldLine(o,i);return t?t.end.row:o},this.getRowFoldStart=function(o,i){var t=this.getFoldLine(o,i);return t?t.start.row:o},this.getFoldDisplayLine=function(o,i,t,e,n){e??=o.start.row,n??=0,i??=o.end.row,t??=this.getLine(i).length;var s=this.doc,d=``;return o.walk(function(g,$,v,b){if(!($<e)){if($==e){if(v<n)return;b=Math.max(n,b)}g!=null?d+=g:d+=s.getLine($).substring(b,v)}},i,t),d},this.getDisplayLine=function(o,i,t,e){var n=this.getFoldLine(o);if(n)return this.getFoldDisplayLine(n,o,i,t,e);var s;return s=this.doc.getLine(o),s.substring(e||0,i||s.length)},this.$cloneFoldData=function(){var o=[];return o=this.$foldData.map(function(i){var t=i.folds.map(function(e){return e.clone()});return new L(o,t)}),o},this.toggleFold=function(o){var t=this.selection.getRange(),e,n;if(t.isEmpty()){var s=t.start;if(e=this.getFoldAt(s.row,s.column),e){this.expandFold(e);return}else if(o){var d=this.getFoldLine(s.row);d&&this.expandFolds(d.folds);return}else(n=this.findMatchingBracket(s))?t.comparePoint(n)==1?t.end=n:(t.start=n,t.start.column++,t.end.column--):(n=this.findMatchingBracket({row:s.row,column:s.column+1}))?(t.comparePoint(n)==1?t.end=n:t.start=n,t.start.column++):t=this.getCommentFoldRange(s.row,s.column)||t}else{var g=this.getFoldsInRange(t);if(o&&g.length){this.expandFolds(g);return}else g.length==1&&(e=g[0])}if(e||(e=this.getFoldAt(t.start.row,t.start.column)),e&&e.range.toString()==t.toString()){this.expandFold(e);return}var $=`...`;if(!t.isMultiLine()){if($=this.getTextRange(t),$.length<4)return;$=$.trim().substring(0,2)+`..`}this.addFold($,t)},this.getCommentFoldRange=function(o,i,t){var e=new a(this,o,i),n=e.getCurrentToken(),s=n&&n.type;if(n&&/^comment|string/.test(s)){s=s.match(/comment|string/)[0],s==`comment`&&(s+=`|doc-start|\\.doc`);var d=new RegExp(s),g=new k;if(t!=1){do n=e.stepBackward();while(n&&d.test(n.type));n=e.stepForward()}g.start.row=e.getCurrentTokenRow(),g.start.column=e.getCurrentTokenColumn()+n.value.length,e=new a(this,o,i);var $=this.getState(e.$row);if(t!=-1){var v=-1;do if(n=e.stepForward(),v==-1){var b=this.getState(e.$row);$.toString()!==b.toString()&&(v=e.$row)}else if(e.$row>v)break;while(n&&d.test(n.type));n=e.stepBackward()}else n=e.getCurrentToken();return g.end.row=e.getCurrentTokenRow(),g.end.column=e.getCurrentTokenColumn(),g.start.row==g.end.row&&g.start.column>g.end.column?void 0:g}},this.foldAll=function(o,i,t,e){t??=1e5;var n=this.foldWidgets;if(n){i=i||this.getLength(),o=o||0;for(var s=o;s<i;s++)if(n[s]??(n[s]=this.getFoldWidget(s)),n[s]==`start`&&!(e&&!e(s))){var d=this.getFoldWidgetRange(s);d&&d.isMultiLine()&&d.end.row<=i&&d.start.row>=o&&(s=d.end.row,d.collapseChildren=t,this.addFold(`...`,d))}}},this.foldToLevel=function(o){for(this.foldAll();o-->0;)this.unfold(null,!1)},this.foldAllComments=function(){var o=this;this.foldAll(null,null,null,function(i){for(var t=o.getTokens(i),e=0;e<t.length;e++){var n=t[e];if(!(n.type==`text`&&/^\s+$/.test(n.value)))return!!/comment/.test(n.type)}})},this.$foldStyles={manual:1,markbegin:1,markbeginend:1}
229,this.$foldStyle=`markbegin`,this.setFoldStyle=function(o){if(!this.$foldStyles[o])throw new Error(`invalid fold style: `+o+`[`+Object.keys(this.$foldStyles).join(`, `)+`]`);if(this.$foldStyle!=o){this.$foldStyle=o,o==`manual`&&this.unfold();var i=this.$foldMode;this.$setFolding(null),this.$setFolding(i)}},this.$setFolding=function(o){if(this.$foldMode!=o){if(this.$foldMode=o,this.off(`change`,this.$updateFoldWidgets),this.off(`tokenizerUpdate`,this.$tokenizerUpdateFoldWidgets),this._signal(`changeAnnotation`),!o||this.$foldStyle==`manual`){this.foldWidgets=null;return}this.foldWidgets=[],this.getFoldWidget=o.getFoldWidget.bind(o,this,this.$foldStyle),this.getFoldWidgetRange=o.getFoldWidgetRange.bind(o,this,this.$foldStyle),this.$updateFoldWidgets=this.updateFoldWidgets.bind(this),this.$tokenizerUpdateFoldWidgets=this.tokenizerUpdateFoldWidgets.bind(this),this.on(`change`,this.$updateFoldWidgets),this.on(`tokenizerUpdate`,this.$tokenizerUpdateFoldWidgets)}},this.getParentFoldRangeData=function(o,i){var t=this.foldWidgets;if(!t||i&&t[o])return{};for(var e=o-1,n;e>=0;){var s=t[e];if(s??=t[e]=this.getFoldWidget(e),s==`start`){var d=this.getFoldWidgetRange(e);if(n||(n=d),d&&d.end.row>=o)break}e--}return{range:e!==-1&&d,firstRange:n}},this.onFoldWidgetClick=function(o,i){i instanceof l&&(i=i.domEvent);var t={children:i.shiftKey,all:i.ctrlKey||i.metaKey,siblings:i.altKey};if(!this.$toggleFoldWidget(o,t)){var n=i.target||i.srcElement;n&&/ace_fold-widget/.test(n.className)&&(n.className+=` ace_invalid`)}},this.$toggleFoldWidget=function(o,i){if(this.getFoldWidget){var t=this.getFoldWidget(o),e=this.getLine(o),n=t===`end`?-1:1,s=this.getFoldAt(o,n===-1?0:e.length,n);if(s)return i.children||i.all?this.removeFold(s):this.expandFold(s),s;var d=this.getFoldWidgetRange(o,!0);if(d&&!d.isMultiLine()&&(s=this.getFoldAt(d.start.row,d.start.column,1),s&&d.isEqual(s.range)))return this.removeFold(s),s;if(i.siblings){var g=this.getParentFoldRangeData(o);if(g.range)var $=g.range.start.row+1,v=g.range.end.row;this.foldAll($,v,i.all?1e4:0)}else i.children?(v=d?d.end.row:this.getLength(),this.foldAll(o+1,v,i.all?1e4:0)):d&&(i.all&&(d.collapseChildren=1e4),this.addFold(`...`,d));return d}},this.toggleFoldWidget=function(o){var i=this.selection.getCursor().row;i=this.getRowFoldStart(i);var t=this.$toggleFoldWidget(i,{});if(!t){var e=this.getParentFoldRangeData(i,!0);if(t=e.range||e.firstRange,t){i=t.start.row;var n=this.getFoldAt(i,this.getLine(i).length,1);n?this.removeFold(n):this.addFold(`...`,t)}}},this.updateFoldWidgets=function(o){var i=o.start.row,t=o.end.row-i;if(t===0)this.foldWidgets[i]=null;else if(o.action==`remove`)this.foldWidgets.splice(i,t+1,null);else{var e=Array(t+1);e.unshift(i,1),this.foldWidgets.splice.apply(this.foldWidgets,e)}},this.tokenizerUpdateFoldWidgets=function(o){var i=o.data;i.first!=i.last&&this.foldWidgets.length>i.first&&this.foldWidgets.splice(i.first,this.foldWidgets.length)}}E.Folding=r});ace.define(`ace/edit_session/bracket_match`,[`require`,`exports`,`module`,`ace/token_iterator`,`ace/range`],function(R,E,F){"use strict";var k=R(`../token_iterator`).TokenIterator,L=R(`../range`).Range;function M(){this.findMatchingBracket=function(a,l){if(a.column==0)return null;var r=l||this.getLine(a.row).charAt(a.column-1);if(r==``)return null;var o=r.match(/([\(\[\{])|([\)\]\}])/);return o?o[1]?this.$findClosingBracket(o[1],a):this.$findOpeningBracket(o[2],a):null},this.getBracketRange=function(a){var l=this.getLine(a.row),r=!0,o,i=l.charAt(a.column-1),t=i&&i.match(/([\(\[\{])|([\)\]\}])/);if(t||(i=l.charAt(a.column),a={row:a.row,column:a.column+1},t=i&&i.match(/([\(\[\{])|([\)\]\}])/),r=!1),!t)return null;if(t[1]){var e=this.$findClosingBracket(t[1],a);if(!e)return null;o=L.fromPoints(a,e),r||(o.end.column++,o.start.column--),o.cursor=o.end}else{var e=this.$findOpeningBracket(t[2],a);if(!e)return null;o=L.fromPoints(e,a),r||(o.start.column++,o.end.column--),o.cursor=o.start}return o},this.getMatchingBracketRanges=function(a,l){var r=this.getLine(a.row),o=/([\(\[\{])|([\)\]\}])/,i=!l&&r.charAt(a.column-1),t=i&&i.match(o);if(t||(i=(l===void 0||l)&&r.charAt(a.column),a={row:a.row,column:a.column+1}
229,t=i&&i.match(o)),!t)return null;var e=new L(a.row,a.column-1,a.row,a.column),n=t[1]?this.$findClosingBracket(t[1],a):this.$findOpeningBracket(t[2],a);if(!n)return[e];return[e,new L(n.row,n.column,n.row,n.column+1)]},this.$brackets={")":`(`,"(":`)`,"]":`[`,"[":`]`,"{":`}`,"}":`{`,"<":`>`,">":`<`},this.$findOpeningBracket=function(a,l,r){var o=this.$brackets[a],i=1,t=new k(this,l.row,l.column),e=t.getCurrentToken();if(e||(e=t.stepForward()),!!e){r||(r=new RegExp(`(\\.?`+e.type.replace(`.`,`\\.`).replace(`rparen`,`.paren`).replace(/\b(?:end)\b/,`(?:start|begin|end)`).replace(/-close\b/,`-(close|open)`)+`)+`));for(var n=l.column-t.getCurrentTokenColumn()-2,s=e.value;;){for(;n>=0;){var d=s.charAt(n);if(d==o){if(i-=1,i==0)return{row:t.getCurrentTokenRow(),column:n+t.getCurrentTokenColumn()}}else d==a&&(i+=1);n-=1}do e=t.stepBackward();while(e&&!r.test(e.type));if(e==null)break;s=e.value,n=s.length-1}return null}},this.$findClosingBracket=function(a,l,r){var o=this.$brackets[a],i=1,t=new k(this,l.row,l.column),e=t.getCurrentToken();if(e||(e=t.stepForward()),!!e){r||(r=new RegExp(`(\\.?`+e.type.replace(`.`,`\\.`).replace(`lparen`,`.paren`).replace(/\b(?:start|begin)\b/,`(?:start|begin|end)`).replace(/-open\b/,`-(close|open)`)+`)+`));for(var n=l.column-t.getCurrentTokenColumn();;){for(var s=e.value,d=s.length;n<d;){var g=s.charAt(n);if(g==o){if(i-=1,i==0)return{row:t.getCurrentTokenRow(),column:n+t.getCurrentTokenColumn()}}else g==a&&(i+=1);n+=1}do e=t.stepForward();while(e&&!r.test(e.type));if(e==null)break;n=0}return null}},this.getMatchingTags=function(a){var l=new k(this,a.row,a.column),r=this.$findTagName(l);if(r)return l.stepBackward().value===`<`?this.$findClosingTag(l,r):this.$findOpeningTag(l,r)},this.$findTagName=function(a){var l=a.getCurrentToken(),r=!1,o=!1;if(l&&l.type.indexOf(`tag-name`)===-1)do o?l=a.stepBackward():l=a.stepForward(),l&&(l.value===`/>`?o=!0:l.type.indexOf(`tag-name`)!==-1&&(r=!0));while(l&&!r);return l},this.$findClosingTag=function(a,l){var r,o=l.value,i=l.value,t=0,e=new L(a.getCurrentTokenRow(),a.getCurrentTokenColumn(),a.getCurrentTokenRow(),a.getCurrentTokenColumn()+1);l=a.stepForward();var n=new L(a.getCurrentTokenRow(),a.getCurrentTokenColumn(),a.getCurrentTokenRow(),a.getCurrentTokenColumn()+l.value.length),s=!1;do{if(r=l,r.type.indexOf(`tag-close`)!==-1&&!s){var d=new L(a.getCurrentTokenRow(),a.getCurrentTokenColumn(),a.getCurrentTokenRow(),a.getCurrentTokenColumn()+1);s=!0}if(l=a.stepForward(),l){if(l.value===`>`&&!s){var d=new L(a.getCurrentTokenRow(),a.getCurrentTokenColumn(),a.getCurrentTokenRow(),a.getCurrentTokenColumn()+1);s=!0}if(l.type.indexOf(`tag-name`)!==-1){if(o=l.value,i===o){if(r.value===`<`)t++;else if(r.value===`</`&&(t--,t<0)){a.stepBackward();var g=new L(a.getCurrentTokenRow(),a.getCurrentTokenColumn(),a.getCurrentTokenRow(),a.getCurrentTokenColumn()+2);l=a.stepForward();var $=new L(a.getCurrentTokenRow(),a.getCurrentTokenColumn(),a.getCurrentTokenRow(),a.getCurrentTokenColumn()+l.value.length);if(l.type.indexOf(`tag-close`)===-1&&(l=a.stepForward()),l&&l.value===`>`)var v=new L(a.getCurrentTokenRow(),a.getCurrentTokenColumn(),a.getCurrentTokenRow(),a.getCurrentTokenColumn()+1);else return}}}else if(i===o&&l.value===`/>`&&(t--,t<0))var g=new L(a.getCurrentTokenRow(),a.getCurrentTokenColumn(),a.getCurrentTokenRow(),a.getCurrentTokenColumn()+2),$=g,v=$,d=new L(n.end.row,n.end.column,n.end.row,n.end.column+1)}}while(l&&t>=0);if(e&&d&&g&&v&&n&&$)return{openTag:new L(e.start.row,e.start.column,d.end.row,d.end.column),closeTag:new L(g.start.row,g.start.column,v.end.row,v.end.column),openTagName:n,closeTagName:$}},this.$findOpeningTag=function(a,l){var r=a.getCurrentToken(),o=l.value,i=0,t=a.getCurrentTokenRow(),e=a.getCurrentTokenColumn(),n=e+2,s=new L(t,e,t,n);a.stepForward();var d=new L(a.getCurrentTokenRow(),a.getCurrentTokenColumn(),a.getCurrentTokenRow(),a.getCurrentTokenColumn()+l.value.length);if(l.type.indexOf(`tag-close`)===-1&&(l=a.stepForward()),!(!l||l.value!==`>`)){var g=new L(a.getCurrentTokenRow(),a.getCurrentTokenColumn(),a.getCurrentTokenRow(),a.getCurrentTokenColumn()+1);a.stepBackward(),a.stepBackward();do if(l=r,t=a.getCurrentTokenRow(),e=a.getCurrentTokenColumn(),n=e+l.value.length,r=a.stepBackward(),l){if(l.type.indexOf(`tag-name`)!==-1){if(o===l.value)if(r.value===`<`){if(i++,i>0){var $=new L(t,e,t,n),v=new L(a.getCurrentTokenRow(),a.getCurrentTokenColumn(),a.getCurrentTokenRow(),a.getCurrentTokenColumn()+1);do l=a.stepForward();while(l&&l.value!==`>`);var b=new L(a.getCurrentTokenRow(),a.getCurrentTokenColumn(),a.getCurrentTokenRow(),a.getCurrentTokenColumn()+1)}}else r.value===`</`&&i--}else if(l.value===`/>`){for(var u=0,h=r;h;){if(h.type.indexOf(`tag-name`)!==-1&&h.value===o){i--;break}else if(h.value===`<`)break;h=a.stepBackward(),u++}for(var y=0;y<u;y++)a.stepForward()}}while(r&&i<=0);if(v&&b&&s&&g&&$&&d)return{openTag:new L(v.start.row,v.start.column,b.end.row,b.end.column),closeTag:new L(s.start.row,s.start.column,g.end.row,g.end.column),openTagName:$,closeTagName:d}}}}E.BracketMatch=M});ace.define(`ace/edit_session`,[`require`,`exports`,`module`,`ace/lib/oop`,`ace/lib/lang`,`ace/bidihandler`,`ace/config`,`ace/lib/event_emitter`,`ace/selection`,`ace/mode/text`,`ace/range`,`ace/line_widgets`,`ace/document`,`ace/background_tokenizer`,`ace/search_highlight`,`ace/undomanager`,`ace/edit_session/folding`,`ace/edit_session/bracket_match`],function(R,E,F){"use strict";var k=R(`./lib/oop`),L=R(`./lib/lang`),M=R(`./bidihandler`).BidiHandler,a=R(`./config`),l=R(`./lib/event_emitter`).EventEmitter,r=R(`./selection`).Selection,o=R(`./mode/text`).Mode,i=R(`./range`).Range,t=R(`./line_widgets`).LineWidgets,e=R(`./document`).Document,n=R(`./background_tokenizer`).Backgroun
229dTokenizer,s=R(`./search_highlight`).SearchHighlight,d=R(`./undomanager`).UndoManager,g=(function(){function w(p,f){this.doc,this.$breakpoints=[],this.$decorations=[],this.$frontMarkers={},this.$backMarkers={},this.$markerId=1,this.$undoSelect=!0,this.$editor=null,this.prevOp={},this.$foldData=[],this.id=`session`+ ++w.$uid,this.$foldData.toString=function(){return this.join(`
230`)},this.$gutterCustomWidgets={},this.bgTokenizer=new n(new o().getTokenizer(),this);var c=this;this.bgTokenizer.on(`update`,function(S){c._signal(`tokenizerUpdate`,S)}),this.on(`changeFold`,this.onChangeFold.bind(this)),this.$onChange=this.onChange.bind(this),(typeof p!=`object`||!p.getLine)&&(p=new e(p)),this.setDocument(p),this.selection=new r(this),this.$onSelectionChange=this.onSelectionChange.bind(this),this.selection.on(`changeSelection`,this.$onSelectionChange),this.selection.on(`changeCursor`,this.$onSelectionChange),this.$bidiHandler=new M(this),a.resetOptions(this),this.setMode(f),a._signal(`session`,this),this.destroyed=!1,this.$initOperationListeners()}return w.prototype.$initOperationListeners=function(){var p=this;this.curOp=null,this.on(`change`,function(){p.curOp||(p.startOperation(),p.curOp.selectionBefore=p.$lastSel),p.curOp.docChanged=!0},!0),this.on(`changeSelection`,function(){p.curOp||(p.startOperation(),p.curOp.selectionBefore=p.$lastSel),p.curOp.selectionChanged=!0},!0),this.$operationResetTimer=L.delayedCall(this.endOperation.bind(this,!0))},w.prototype.startOperation=function(p){if(this.curOp){if(!p||this.curOp.command)return;this.prevOp=this.curOp}p||(p={}),this.$operationResetTimer.schedule(),this.curOp={command:p.command||{},args:p.args},this.curOp.selectionBefore=this.selection.toJSON(),this._signal(`startOperation`,p)},w.prototype.endOperation=function(p){if(this.curOp){if(p&&p.returnValue===!1){this.curOp=null,this._signal(`endOperation`,p);return}if(p==!0&&this.curOp.command&&this.curOp.command.name==`mouse`)return;var f=this.selection.toJSON();this.curOp.selectionAfter=f,this.$lastSel=this.selection.toJSON(),this.getUndoManager().addSelection(f),this._signal(`beforeEndOperation`),this.prevOp=this.curOp,this.curOp=null,this._signal(`endOperation`,p)}},w.prototype.setDocument=function(p){this.doc&&this.doc.off(`change`,this.$onChange),this.doc=p,p.on(`change`,this.$onChange,!0),this.bgTokenizer.setDocument(this.getDocument()),this.resetCaches()},w.prototype.getDocument=function(){return this.doc},Object.defineProperty(w.prototype,"widgetManager",{get:function(){var p=new t(this);return this.widgetManager=p,this.$editor&&p.attach(this.$editor),p},set:function(p){Object.defineProperty(this,"widgetManager",{writable:!0,enumerable:!0,configurable:!0,value:p})},enumerable:!1,configurable:!0}),w.prototype.$resetRowCache=function(p){if(!p){this.$docRowCache=[],this.$screenRowCache=[];return}var f=this.$docRowCache.length,c=this.$getRowCacheIndex(this.$docRowCache,p)+1;f>c&&(this.$docRowCache.splice(c,f),this.$screenRowCache.splice(c,f))},w.prototype.$getRowCacheIndex=function(p,f){for(var c=0,S=p.length-1;c<=S;){var A=c+S>>1,T=p[A];if(f>T)c=A+1;else if(f<T)S=A-1;else return A}return c-1},w.prototype.resetCaches=function(){this.$modified=!0,this.$wrapData=[],this.$rowLengthCache=[],this.$resetRowCache(0),this.destroyed||this.bgTokenizer.start(0)},w.prototype.onChangeFold=function(p){var f=p.data;this.$resetRowCache(f.start.row)},w.prototype.onChange=function(p){this.$modified=!0,this.$bidiHandler.onChange(p),this.$resetRowCache(p.start.row);var f=this.$updateInternalDataOnChange(p);!this.$fromUndo&&this.$undoManager&&(f&&f.length&&(this.$undoManager.add({action:`removeFolds`,folds:f},this.mergeUndoDeltas),this.mergeUndoDeltas=!0),this.$undoManager.add(p,this.mergeUndoDeltas),this.mergeUndoDeltas=!0,this.$informUndoManager.schedule()),this.bgTokenizer.$updateOnChange(p),this._signal(`change`,p)},w.prototype.onSelectionChange=function(){this._signal(`changeSelection`)},w.prototype.setValue=function(p){this.doc.setValue(p),this.selection.moveTo(0,0),this.$resetRowCache(0),this.setUndoManager(this.$undoManager),this.getUndoManager().reset()},w.fromJSON=function(p){typeof p==`string`&&(p=JSON.parse(p));var f=new d;f.$undoStack=p.history.undo,f.$redoStack=p.history.redo,f.mark=p.history.mark,f.$rev=p.history.rev;var c=new w(p.value);return p.folds.forEach(function(S){c.addFold(`...`,i.fromPoints(S.start,S.end))}),c.setAnnotations(p.annotations),c.setBreakpoints(p.breakpoints),c.setMode(p.mode),c.setScrollLeft(p.scrollLeft),c.setScrollTop(p.scrollTop),c.setUndoManager(f),c.selection.fromJSON(p.selection),c},w.prototype.toJSON=function(){return{annotations:this.$annotations,breakpoints:this.$breakpoints,folds:this.getAllFolds().map(function(p){return p.range}),history:this.getUndoManager(),mode:this.$mode.$id,scrollLeft:this.$scrollLeft,scrollTop:this.$scrollTop,selection:this.selection.toJSON(),value:this.doc.getValue()}},w.prototype.toString=function(){return this.doc.getValue()},w.prototype.getSelection=function(){return this.selection},w.prototype.getState=function(p){return this.bgTokenizer.getState(p)},w.prototype.getTokens=function(p){return this.bgTokenizer.getTokens(p)},w.prototype.getTokenAt=function(p,f){var c=this.bgTokenizer.getTokens(p),S,A=0;if(f==null){var T=c.length-1;A=this.getLine(p).length}else for(var T=0;T<c.length&&(A+=c[T].value.length,!(A>=f));T++);return S=c[T],S?(S.index=T,S.start=A-S.value.length,S):null}
230,w.prototype.setUndoManager=function(p){if(this.$undoManager=p,this.$informUndoManager&&this.$informUndoManager.cancel(),p){var f=this;p.addSession(this),this.$syncInformUndoManager=function(){f.$informUndoManager.cancel(),f.mergeUndoDeltas=!1},this.$informUndoManager=L.delayedCall(this.$syncInformUndoManager)}else this.$syncInformUndoManager=function(){}},w.prototype.markUndoGroup=function(){this.$syncInformUndoManager&&this.$syncInformUndoManager()},w.prototype.getUndoManager=function(){return this.$undoManager||this.$defaultUndoManager},w.prototype.getTabString=function(){return this.getUseSoftTabs()?L.stringRepeat(` `,this.getTabSize()):`	`},w.prototype.setUseSoftTabs=function(p){this.setOption(`useSoftTabs`,p)},w.prototype.getUseSoftTabs=function(){return this.$useSoftTabs&&!this.$mode.$indentWithTabs},w.prototype.setTabSize=function(p){this.setOption(`tabSize`,p)},w.prototype.getTabSize=function(){return this.$tabSize},w.prototype.isTabStop=function(p){return this.$useSoftTabs&&p.column%this.$tabSize===0},w.prototype.setNavigateWithinSoftTabs=function(p){this.setOption(`navigateWithinSoftTabs`,p)},w.prototype.getNavigateWithinSoftTabs=function(){return this.$navigateWithinSoftTabs},w.prototype.setOverwrite=function(p){this.setOption(`overwrite`,p)},w.prototype.getOverwrite=function(){return this.$overwrite},w.prototype.toggleOverwrite=function(){this.setOverwrite(!this.$overwrite)},w.prototype.addGutterDecoration=function(p,f){this.$decorations[p]||(this.$decorations[p]=``),this.$decorations[p]+=` `+f,this._signal(`changeBreakpoint`,{})},w.prototype.removeGutterCustomWidget=function(p){this.$editor&&this.$editor.renderer.$gutterLayer.$removeCustomWidget(p)},w.prototype.addGutterCustomWidget=function(p,f){this.$editor&&this.$editor.renderer.$gutterLayer.$addCustomWidget(p,f)},w.prototype.removeGutterDecoration=function(p,f){this.$decorations[p]=(this.$decorations[p]||``).replace(` `+f,``),this._signal(`changeBreakpoint`,{})},w.prototype.getBreakpoints=function(){return this.$breakpoints},w.prototype.setBreakpoints=function(p){this.$breakpoints=[];for(var f=0;f<p.length;f++)this.$breakpoints[p[f]]=`ace_breakpoint`;this._signal(`changeBreakpoint`,{})},w.prototype.clearBreakpoints=function(){this.$breakpoints=[],this._signal(`changeBreakpoint`,{})},w.prototype.setBreakpoint=function(p,f){f===void 0&&(f=`ace_breakpoint`),f?this.$breakpoints[p]=f:delete this.$breakpoints[p],this._signal(`changeBreakpoint`,{})},w.prototype.clearBreakpoint=function(p){delete this.$breakpoints[p],this._signal(`changeBreakpoint`,{})},w.prototype.addMarker=function(p,f,c,S){var A=this.$markerId++,T={range:p,type:c||`line`,renderer:typeof c==`function`?c:null,clazz:f,inFront:!!S,id:A};return S?(this.$frontMarkers[A]=T,this._signal(`changeFrontMarker`)):(this.$backMarkers[A]=T,this._signal(`changeBackMarker`)),A},w.prototype.addDynamicMarker=function(p,f){if(p.update){var c=this.$markerId++;return p.id=c,p.inFront=!!f,f?(this.$frontMarkers[c]=p,this._signal(`changeFrontMarker`)):(this.$backMarkers[c]=p,this._signal(`changeBackMarker`)),p}},w.prototype.removeMarker=function(p){var f=this.$frontMarkers[p]||this.$backMarkers[p];if(f){var c=f.inFront?this.$frontMarkers:this.$backMarkers;delete c[p],this._signal(f.inFront?`changeFrontMarker`:`changeBackMarker`)}},w.prototype.getMarkers=function(p){return p?this.$frontMarkers:this.$backMarkers},w.prototype.highlight=function(p){if(!this.$searchHighlight){var f=new s(null,`ace_selected-word`,`text`);this.$searchHighlight=this.addDynamicMarker(f)}this.$searchHighlight.setRegexp(p)},w.prototype.highlightLines=function(p,f,c,S){typeof f!=`number`&&(c=f,f=p),c||(c=`ace_step`);var A=new i(p,0,f,Infinity);return A.id=this.addMarker(A,c,`fullLine`,S),A},w.prototype.setAnnotations=function(p){this.$annotations=p,this._signal(`changeAnnotation`,{})},w.prototype.getAnnotations=function(){return this.$annotations||[]},w.prototype.clearAnnotations=function(){this.setAnnotations([])},w.prototype.$detectNewLine=function(p){var f=p.match(/^.*?(\r?\n)/m);f?this.$autoNewLine=f[1]:this.$autoNewLine=`
231`},w.prototype.getWordRange=function(p,f){var c=this.getLine(p),S=!1;if(f>0&&(S=!!c.charAt(f-1).match(this.tokenRe)),S||(S=!!c.charAt(f).match(this.tokenRe)),S)var A=this.tokenRe;else if(/^\s+$/.test(c.slice(f-1,f+1)))var A=/\s/;else var A=this.nonTokenRe;var T=f;if(T>0){do T--;while(T>=0&&c.charAt(T).match(A));T++}for(var _=f;_<c.length&&c.charAt(_).match(A);)_++;return new i(p,T,p,_)},w.prototype.getAWordRange=function(p,f){for(var c=this.getWordRange(p,f),S=this.getLine(c.end.row);S.charAt(c.end.column).match(/[ \t]/);)c.end.column+=1;return c},w.prototype.setNewLineMode=function(p){this.doc.setNewLineMode(p)},w.prototype.getNewLineMode=function(){return this.doc.getNewLineMode()},w.prototype.setUseWorker=function(p){this.setOption(`useWorker`,p)},w.prototype.getUseWorker=function(){return this.$useWorker},w.prototype.onReloadTokenizer=function(p){var f=p.data;this.bgTokenizer.start(f.first),this._signal(`tokenizerUpdate`,p)},w.prototype.setMode=function(p,f){if(p&&typeof p==`object`){if(p.getTokenizer)return this.$onChangeMode(p);var c=p,S=c.path}else S=p||`ace/mode/text`;if(this.$modes[`ace/mode/text`]||(this.$modes[`ace/mode/text`]=new o),this.$modes[S]&&!c){this.$onChangeMode(this.$modes[S]),f&&f();return}this.$modeId=S,a.loadModule([`mode`,S],function(A){if(!this.destroyed){
231if(this.$modeId!==S)return f&&f();this.$modes[S]&&!c?this.$onChangeMode(this.$modes[S]):A&&A.Mode&&(A=new A.Mode(c),c||(this.$modes[S]=A,A.$id=S),this.$onChangeMode(A)),f&&f()}}.bind(this)),this.$mode||this.$onChangeMode(this.$modes[`ace/mode/text`],!0)},w.prototype.$onChangeMode=function(p,f){if(f||(this.$modeId=p.$id),this.$mode!==p){var c=this.$mode;this.$mode=p,this.$stopWorker(),this.$useWorker&&this.$startWorker();var S=p.getTokenizer();if(S.on!==void 0){var A=this.onReloadTokenizer.bind(this);S.on(`update`,A)}this.bgTokenizer.setTokenizer(S),this.bgTokenizer.setDocument(this.getDocument()),this.tokenRe=p.tokenRe,this.nonTokenRe=p.nonTokenRe,f||(p.attachToSession&&p.attachToSession(this),this.$options.wrapMethod.set.call(this,this.$wrapMethod),this.$setFolding(p.foldingRules),this.bgTokenizer.start(0),this._emit(`changeMode`,{oldMode:c,mode:p}))}},w.prototype.$stopWorker=function(){this.$worker&&(this.$worker.terminate(),this.$worker=null)},w.prototype.$startWorker=function(){try{this.$worker=this.$mode.createWorker(this)}catch(p){a.warn(`Could not load worker`,p),this.$worker=null}},w.prototype.getMode=function(){return this.$mode},w.prototype.setScrollTop=function(p){this.$scrollTop===p||isNaN(p)||(this.$scrollTop=p,this._signal(`changeScrollTop`,p))},w.prototype.getScrollTop=function(){return this.$scrollTop},w.prototype.setScrollLeft=function(p){this.$scrollLeft===p||isNaN(p)||(this.$scrollLeft=p,this._signal(`changeScrollLeft`,p))},w.prototype.getScrollLeft=function(){return this.$scrollLeft},w.prototype.getScreenWidth=function(){return this.$computeWidth(),this.lineWidgets?Math.max(this.getLineWidgetMaxWidth(),this.screenWidth):this.screenWidth},w.prototype.getLineWidgetMaxWidth=function(){if(this.lineWidgetsWidth!=null)return this.lineWidgetsWidth;var p=0;return this.lineWidgets.forEach(function(f){f&&f.screenWidth>p&&(p=f.screenWidth)}),this.lineWidgetWidth=p},w.prototype.$computeWidth=function(p){if(this.$modified||p){if(this.$modified=!1,this.$useWrapMode)return this.screenWidth=this.$wrapLimit;for(var f=this.doc.getAllLines(),c=this.$rowLengthCache,S=0,A=0,T=this.$foldData[A],_=T?T.start.row:Infinity,I=f.length,D=0;D<I;D++){if(D>_){if(D=T.end.row+1,D>=I)break;T=this.$foldData[A++],_=T?T.start.row:Infinity}c[D]??(c[D]=this.$getStringScreenWidth(f[D])[0]),c[D]>S&&(S=c[D])}this.screenWidth=S}},w.prototype.getLine=function(p){return this.doc.getLine(p)},w.prototype.getLines=function(p,f){return this.doc.getLines(p,f)},w.prototype.getLength=function(){return this.doc.getLength()},w.prototype.getTextRange=function(p){return this.doc.getTextRange(p||this.selection.getRange())},w.prototype.insert=function(p,f){return this.doc.insert(p,f)},w.prototype.remove=function(p){return this.doc.remove(p)},w.prototype.removeFullLines=function(p,f){return this.doc.removeFullLines(p,f)},w.prototype.undoChanges=function(p,f){if(p.length){this.$fromUndo=!0;for(var c=p.length-1;c!=-1;c--){var S=p[c];S.action==`insert`||S.action==`remove`?this.doc.revertDelta(S):S.folds&&this.addFolds(S.folds)}!f&&this.$undoSelect&&(p.selectionBefore?this.selection.fromJSON(p.selectionBefore):this.selection.setRange(this.$getUndoSelection(p,!0))),this.$fromUndo=!1}},w.prototype.redoChanges=function(p,f){if(p.length){this.$fromUndo=!0;for(var c=0;c<p.length;c++){var S=p[c];(S.action==`insert`||S.action==`remove`)&&this.doc.$safeApplyDelta(S)}!f&&this.$undoSelect&&(p.selectionAfter?this.selection.fromJSON(p.selectionAfter):this.selection.setRange(this.$getUndoSelection(p,!1))),this.$fromUndo=!1}},w.prototype.setUndoSelect=function(p){this.$undoSelect=p},w.prototype.$getUndoSelection=function(p,f){function c(I){return f?I.action!==`insert`:I.action===`insert`}for(var S,A,T=0;T<p.length;T++){var _=p[T];if(_.start){if(!S){c(_)?S=i.fromPoints(_.start,_.end):S=i.fromPoints(_.start,_.start);continue}c(_)?(A=_.start,S.compare(A.row,A.column)==-1&&S.setStart(A),A=_.end,S.c
231ompare(A.row,A.column)==1&&S.setEnd(A)):(A=_.start,S.compare(A.row,A.column)==-1&&(S=i.fromPoints(_.start,_.start)))}}return S},w.prototype.replace=function(p,f){return this.doc.replace(p,f)},w.prototype.moveText=function(p,f,c){var S=this.getTextRange(p),A=this.getFoldsInRange(p),T=i.fromPoints(f,f);if(!c){this.remove(p);var _=p.start.row-p.end.row,I=_?-p.end.column:p.start.column-p.end.column;I&&(T.start.row==p.end.row&&T.start.column>p.end.column&&(T.start.column+=I),T.end.row==p.end.row&&T.end.column>p.end.column&&(T.end.column+=I)),_&&T.start.row>=p.end.row&&(T.start.row+=_,T.end.row+=_)}if(T.end=this.insert(T.start,S),A.length){var D=p.start,N=T.start,_=N.row-D.row,I=N.column-D.column;this.addFolds(A.map(function(W){return W=W.clone(),W.start.row==D.row&&(W.start.column+=I),W.end.row==D.row&&(W.end.column+=I),W.start.row+=_,W.end.row+=_,W}))}return T},w.prototype.indentRows=function(p,f,c){c=c.replace(/\t/g,this.getTabString());for(var S=p;S<=f;S++)this.doc.insertInLine({row:S,column:0},c)},w.prototype.outdentRows=function(p){for(var f=p.collapseRows(),c=new i(0,0,0,0),S=this.getTabSize(),A=f.start.row;A<=f.end.row;++A){var T=this.getLine(A);c.start.row=A,c.end.row=A;for(var _=0;_<S&&T.charAt(_)==` `;++_);_<S&&T.charAt(_)==`	`?(c.start.column=_,c.end.column=_+1):(c.start.column=0,c.end.column=_),this.remove(c)}},w.prototype.$moveLines=function(p,f,c){if(p=this.getRowFoldStart(p),f=this.getRowFoldEnd(f),c<0){var S=this.getRowFoldStart(p+c);if(S<0)return 0;var A=S-p}else if(c>0){var S=this.getRowFoldEnd(f+c);if(S>this.doc.getLength()-1)return 0;var A=S-f}else{p=this.$clipRowToDocument(p),f=this.$clipRowToDocument(f);var A=f-p+1}var T=new i(p,0,f,Number.MAX_VALUE),_=this.getFoldsInRange(T).map(function(D){return D=D.clone(),D.start.row+=A,D.end.row+=A,D}),I=c==0?this.doc.getLines(p,f):this.doc.removeFullLines(p,f);return this.doc.insertFullLines(p+A,I),_.length&&this.addFolds(_),A},w.prototype.moveLinesUp=function(p,f){return this.$moveLines(p,f,-1)},w.prototype.moveLinesDown=function(p,f){return this.$moveLines(p,f,1)},w.prototype.duplicateLines=function(p,f){return this.$moveLines(p,f,0)},w.prototype.$clipRowToDocument=function(p){return Math.max(0,Math.min(p,this.doc.getLength()-1))},w.prototype.$clipColumnToRow=function(p,f){return f<0?0:Math.min(this.doc.getLine(p).length,f)},w.prototype.$clipPositionToDocument=function(p,f){if(f=Math.max(0,f),p<0)p=0,f=0;else{var c=this.doc.getLength();p>=c?(p=c-1,f=this.doc.getLine(c-1).length):f=Math.min(this.doc.getLine(p).length,f)}return{row:p,column:f}},w.prototype.$clipRangeToDocument=function(p){p.start.row<0?(p.start.row=0,p.start.column=0):p.start.column=this.$clipColumnToRow(p.start.row,p.start.column);var f=this.doc.getLength()-1;return p.end.row>f?(p.end.row=f,p.end.column=this.doc.getLine(f).length):p.end.column=this.$clipColumnToRow(p.end.row,p.end.column),p},w.prototype.setUseWrapMode=function(p){if(p!=this.$useWrapMode){if(this.$useWrapMode=p,this.$modified=!0,this.$resetRowCache(0),p){var f=this.getLength();this.$wrapData=Array(f),this.$updateWrapData(0,f-1)}this._signal(`changeWrapMode`)}},w.prototype.getUseWrapMode=function(){return this.$useWrapMode},w.prototype.setWrapLimitRange=function(p,f){(this.$wrapLimitRange.min!==p||this.$wrapLimitRange.max!==f)&&(this.$wrapLimitRange={min:p,max:f},this.$modified=!0,this.$bidiHandler.markAsDirty(),this.$useWrapMode&&this._signal(`changeWrapMode`))},w.prototype.adjustWrapLimit=function(p,f){var c=this.$wrapLimitRange;c.max<0&&(c={min:f,max:f});var S=this.$constrainWrapLimit(p,c.min,c.max);return S!=this.$wrapLimit&&S>1?(this.$wrapLimit=S,this.$modified=!0,this.$useWrapMode&&(this.$updateWrapData(0,this.getLength()-1),this.$resetRowCache(0),this._signal(`changeWrapLimit`)),!0):!1},w.prototype.$constrainWrapLimit=function(p,f,c){return f&&(p=Math.max(f,p)),c&&(p=Math.min(c,p)),p},w.prototype.getWrapLimit=function(){return this.$wrapLimit},w.prototype.setWrapLimit=function(p){this.setWrapLimitRange(p,p)},w.prototype.getWrapLimitRange=function(){return{min:this.$wrapLimitRange.min,max:this.$wrapLimitRange.max}},w.prototype.$updateInternalDataOnChange=function(p){var f=this.$useWrapMode,c=p.action,S=p.start,A=p.end,T=S.row,_=A.row,I=_-T,D=null;if(this.$updating=!0,I!=0)if(c===`remove`){this[f?`$wrapData`:`$rowLengthCache`].splice(T,I);var N=this.$foldData;D=this.getFoldsInRange(p),this.removeFolds(D);var O=this.getFoldLine(A.row),B=0;if(O){O.addRemoveChars(A.row,A.column,S.column-A.column),O.shiftRow(-I);var W=this.getFoldLine(T);W&&W!==O&&(W.merge(O),O=W),B=N.indexOf(O)+1}
231for(;B<N.length;B++){var O=N[B];O.start.row>=A.row&&O.shiftRow(-I)}_=T}else{var H=Array(I);H.unshift(T,0);var P=f?this.$wrapData:this.$rowLengthCache;P.splice.apply(P,H);var N=this.$foldData,O=this.getFoldLine(T),B=0;if(O){var V=O.range.compareInside(S.row,S.column);V==0?(O=O.split(S.row,S.column),O&&(O.shiftRow(I),O.addRemoveChars(_,0,A.column-S.column))):V==-1&&(O.addRemoveChars(T,0,A.column-S.column),O.shiftRow(I)),B=N.indexOf(O)+1}for(;B<N.length;B++){var O=N[B];O.start.row>=T&&O.shiftRow(I)}}else{I=Math.abs(p.start.column-p.end.column),c===`remove`&&(D=this.getFoldsInRange(p),this.removeFolds(D),I=-I);var O=this.getFoldLine(T);O&&O.addRemoveChars(T,S.column,I)}return f&&this.$wrapData.length!=this.doc.getLength()&&console.error(`doc.getLength() and $wrapData.length have to be the same!`),this.$updating=!1,f?this.$updateWrapData(T,_):this.$updateRowLengthCache(T,_),D},w.prototype.$updateRowLengthCache=function(p,f){this.$rowLengthCache[p]=null,this.$rowLengthCache[f]=null},w.prototype.$updateWrapData=function(p,f){var c=this.doc.getAllLines(),S=this.getTabSize(),A=this.$wrapData,T=this.$wrapLimit,_,I,D=p;for(f=Math.min(f,c.length-1);D<=f;)I=this.getFoldLine(D,I),I?(_=[],I.walk(function(N,O,B,W){var H;if(N!=null){H=this.$getDisplayTokens(N,_.length),H[0]=b;for(var P=1;P<H.length;P++)H[P]=u}else H=this.$getDisplayTokens(c[O].substring(W,B),_.length);_=_.concat(H)}.bind(this),I.end.row,c[I.end.row].length+1),A[I.start.row]=this.$computeWrapSplits(_,T,S),D=I.end.row+1):(_=this.$getDisplayTokens(c[D]),A[D]=this.$computeWrapSplits(_,T,S),D++)},w.prototype.$computeWrapSplits=function(p,f,c){if(p.length==0)return[];var S=[],A=p.length,T=0,_=0,I=this.$wrapAsCode,D=this.$indentedSoftWrap,N=f<=Math.max(2*c,8)||D===!1?0:Math.floor(f/2);function O(){var V=0;if(N===0)return V;if(D)for(var z=0;z<p.length;z++){var U=p[z];if(U==y)V+=1;else if(U==m)V+=c;else{if(U==C)continue;break}}return I&&D!==!1&&(V+=c),Math.min(V,N)}function B(V){for(var z=V-T,U=T;U<V;U++){var G=p[U];(G===12||G===2)&&(z-=1)}S.length||(W=O(),S.indent=W),_+=z,S.push(_),T=V}for(var W=0;A-T>f-W;){var H=T+f-W;if(p[H-1]>=y&&p[H]>=y){B(H);continue}if(p[H]==b||p[H]==u){for(;H!=T-1&&p[H]!=b;H--);if(H>T){B(H);continue}for(H=T+f;H<p.length&&p[H]==u;H++);if(H==p.length)break;B(H);continue}for(var P=Math.max(H-(f-(f>>2)),T-1);H>P&&p[H]<b;)H--;if(I){for(;H>P&&p[H]<b;)H--;for(;H>P&&p[H]==h;)H--}else for(;H>P&&p[H]<y;)H--;if(H>P){B(++H);continue}H=T+f,p[H]==v&&H--,B(H-W)}return S},w.prototype.$getDisplayTokens=function(p,f){var c=[],S;f=f||0;for(var A=0;A<p.length;A++){var T=p.charCodeAt(A);if(T==9){S=this.getScreenTabSize(c.length+f),c.push(m);for(var _=1;_<S;_++)c.push(C)}else T==32?c.push(y):T>39&&T<48||T>57&&T<64?c.push(h):T>=4352&&x(T)?c.push($,v):c.push($)}return c},w.prototype.$getStringScreenWidth=function(p,f,c){if(f==0)return[0,0];f??=Infinity,c=c||0;var S,A;for(A=0;A<p.length&&(S=p.charCodeAt(A),S==9?c+=this.getScreenTabSize(c):S>=4352&&x(S)?c+=2:c+=1,!(c>f));A++);return[c,A]},w.prototype.getRowLength=function(p){var f=1;return this.lineWidgets&&(f+=this.lineWidgets[p]&&this.lineWidgets[p].rowCount||0),!this.$useWrapMode||!this.$wrapData[p]?f:this.$wrapData[p].length+f},w.prototype.getRowLineCount=function(p){return!this.$useWrapMode||!this.$wrapData[p]?1:this.$wrapData[p].length+1},w.prototype.getRowWrapIndent=function(p){if(this.$useWrapMode){var f=this.screenToDocumentPosition(p,Number.MAX_VALUE),c=this.$wrapData[f.row];return c.length&&c[0]<f.column?c.indent:0}else return 0},w.prototype.getScreenLastRowColumn=function(p){var f=this.screenToDocumentPosition(p,Number.MAX_VALUE);return this.documentToScreenColumn(f.row,f.column)},w.prototype.getDocumentLastRowColumn=function(p,f){var c=this.documentToScreenRow(p,f);return this.getScreenLastRowColumn(c)},w.prototype.getDocumentLastRowColumnPosition=function(p,f){var c=this.documentToScreenRow(p,f);return this.screenToDocumentPosition(c,Number.MAX_VALUE/10)},w.prototype.getRowSplitData=function(p){if(this.$useWrapMode)return this.$wrapData[p]},w.prototype.getScreenTabSize=function(p){return this.$tabSize-(p%this.$tabSize|0)},w.prototype.screenToDocumentRow=function(p,f){return this.screenToDocumentPosition(p,f).row},w.prototype.screenToDocumentColumn=function(p,f){return this.screenToDocumentPosition(p,f).
231column},w.prototype.screenToDocumentPosition=function(p,f,c){if(p<0)return{row:0,column:0};var S,A=0,T=0,_,I=0,D=0,N=this.$screenRowCache,O=this.$getRowCacheIndex(N,p),B=N.length;if(B&&O>=0)var I=N[O],A=this.$docRowCache[O],W=p>N[B-1];else var W=!B;for(var H=this.getLength()-1,P=this.getNextFoldLine(A),V=P?P.start.row:Infinity;I<=p&&(D=this.getRowLength(A),!(I+D>p||A>=H));)I+=D,A++,A>V&&(A=P.end.row+1,P=this.getNextFoldLine(A,P),V=P?P.start.row:Infinity),W&&(this.$docRowCache.push(A),this.$screenRowCache.push(I));if(P&&P.start.row<=A)S=this.getFoldDisplayLine(P),A=P.start.row;else{if(I+D<=p||A>H)return{row:H,column:this.getLine(H).length};S=this.getLine(A),P=null}var z=0,U=Math.floor(p-I);if(this.$useWrapMode){var G=this.$wrapData[A];G&&(_=G[U],U>0&&G.length&&(z=G.indent,T=G[U-1]||G[G.length-1],S=S.substring(T)))}return c!==void 0&&this.$bidiHandler.isBidiRow(I+U,A,U)&&(f=this.$bidiHandler.offsetToCol(c)),T+=this.$getStringScreenWidth(S,f-z)[1],this.$useWrapMode&&T>=_&&(T=_-1),P?P.idxToPosition(T):{row:A,column:T}},w.prototype.documentToScreenPosition=function(p,f){if(typeof f>`u`)var c=this.$clipPositionToDocument(p.row,p.column);else c=this.$clipPositionToDocument(p,f);p=c.row,f=c.column;var S=0,A=null,T=null;T=this.getFoldAt(p,f,1),T&&(p=T.start.row,f=T.start.column);var _,I=0,D=this.$docRowCache,N=this.$getRowCacheIndex(D,p),O=D.length;if(O&&N>=0)var I=D[N],S=this.$screenRowCache[N],B=p>D[O-1];else var B=!O;for(var W=this.getNextFoldLine(I),H=W?W.start.row:Infinity;I<p;){if(I>=H){if(_=W.end.row+1,_>p)break;W=this.getNextFoldLine(_,W),H=W?W.start.row:Infinity}else _=I+1;S+=this.getRowLength(I),I=_,B&&(this.$docRowCache.push(I),this.$screenRowCache.push(S))}var P=``;W&&I>=H?(P=this.getFoldDisplayLine(W,p,f),A=W.start.row):(P=this.getLine(p).substring(0,f),A=p);var V=0;if(this.$useWrapMode){var z=this.$wrapData[A];if(z){for(var U=0;P.length>=z[U];)S++,U++;P=P.substring(z[U-1]||0,P.length),V=U>0?z.indent:0}}return this.lineWidgets&&this.lineWidgets[I]&&this.lineWidgets[I].rowsAbove&&(S+=this.lineWidgets[I].rowsAbove),{row:S,column:V+this.$getStringScreenWidth(P)[0]}},w.prototype.documentToScreenColumn=function(p,f){return this.documentToScreenPosition(p,f).column},w.prototype.documentToScreenRow=function(p,f){return this.documentToScreenPosition(p,f).row},w.prototype.getScreenLength=function(){var p=0,f=null;if(this.$useWrapMode)for(var A=this.$wrapData.length,T=0,S=0,f=this.$foldData[S++],_=f?f.start.row:Infinity;T<A;){var I=this.$wrapData[T];p+=I?I.length+1:1,T++,T>_&&(T=f.end.row+1,f=this.$foldData[S++],_=f?f.start.row:Infinity)}else{p=this.getLength();for(var c=this.$foldData,S=0;S<c.length;S++)f=c[S],p-=f.end.row-f.start.row}return this.lineWidgets&&(p+=this.$getWidgetScreenLength()),p},w.prototype.$setFontMetrics=function(p){this.$enableVarChar&&(this.$getStringScreenWidth=function(f,c,S){if(c===0)return[0,0];c||(c=Infinity),S=S||0;var A,T;for(T=0;T<f.length&&(A=f.charAt(T),A===`	`?S+=this.getScreenTabSize(S):S+=p.getCharacterWidth(A),!(S>c));T++);return[S,T]})},w.prototype.getPrecedingCharacter=function(){var p=this.selection.getCursor();if(p.column===0)return p.row===0?``:this.doc.getNewLineCharacter();return this.getLine(p.row)[p.column-1]},w.prototype.destroy=function(){this.destroyed||(this.bgTokenizer.setDocument(null),this.bgTokenizer.cleanup(),this.destroyed=!0),this.endOperation(),this.$stopWorker(),this.removeAllListeners(),this.doc&&this.doc.off(`change`,this.$onChange),this.selection&&(this.selection.off(`changeCursor`,this.$onSelectionChange),this.selection.off(`changeSelection`,this.$onSelectionChange)),this.selection.detach()},w})();g.$uid=0,g.prototype.$modes=a.$modes,g.prototype.getValue=g.prototype.toString,g.prototype.$defaultUndoManager={undo:function(){},redo:function(){},hasUndo:function(){},hasRedo:function(){},reset:function(){},add:function(){},addSelection:function(){},startNewGroup:function(){},addSession:function(){}},g.prototype.$overwrite=!1,g.prototype.$mode=null,g.prototype.$modeId=null,g.prototype.$scrollTop=0,g.prototype.$scrollLeft=0,g.prototype.$wrapLimit=80,g.prototype.$useWrapMode=!1,g.prototype.$wrapLimitRange={min:null,max:null},g.prototype.lineWidgets=null,g.prototype.isFullWidth=x,k.implement(g.prototype,l);var $=1,v=2,b=3,u=4,h=9,y=10,m=11,C=12;function x(w){return w<4352?!1:w>=4352&&w<=4447||w>=4515&&w<=4519||w>=4602&&w<=4607||w>=9001&&w<=9002||w>=11904&&w<=11929||w>=11931&&w<=12019||w>=12032&&w<=12245||w>=12272&&w<=12283||w>=12288&&w<=12350||w>=12353&&w<=12438||w>=12441&&w<=12543||w>=12549&&w<=12589||w>=12593&&w<=12686||w>=12688&&w<=12730||w>=12736&&w<=12771||w>=12784&&w<=12830||w>=12832&&w<=12871||w>=12880&&w<=13054||w>=13056&&w<=19903||w>=19968&&w<=42124||w>=42128&&w<=42182||w>=43360&&w<=43388||w>=44032&&w<=55203||w>=55216&&w<=55238||w>=55243&&w<=55291||w>=63744&&w<=64255||w>=65040&&w<=65049||w>
231=65072&&w<=65106||w>=65108&&w<=65126||w>=65128&&w<=65131||w>=65281&&w<=65376||w>=65504&&w<=65510}R(`./edit_session/folding`).Folding.call(g.prototype),R(`./edit_session/bracket_match`).BracketMatch.call(g.prototype),a.defineOptions(g.prototype,`session`,{wrap:{set:function(w){if(!w||w==`off`?w=!1:w==`free`?w=!0:w==`printMargin`?w=-1:typeof w==`string`&&(w=parseInt(w,10)||!1),this.$wrap!=w)if(this.$wrap=w,!w)this.setUseWrapMode(!1);else{var p=typeof w==`number`?w:null;this.setWrapLimitRange(p,p),this.setUseWrapMode(!0)}},get:function(){return this.getUseWrapMode()?this.$wrap==-1?`printMargin`:this.getWrapLimitRange().min?this.$wrap:`free`:`off`},handlesSet:!0},wrapMethod:{set:function(w){w=w==`auto`?this.$mode.type!=`text`:w!=`text`,w!=this.$wrapAsCode&&(this.$wrapAsCode=w,this.$useWrapMode&&(this.$useWrapMode=!1,this.setUseWrapMode(!0)))},initialValue:`auto`},indentedSoftWrap:{set:function(){this.$useWrapMode&&(this.$useWrapMode=!1,this.setUseWrapMode(!0))},initialValue:!0},firstLineNumber:{set:function(){this._signal(`changeBreakpoint`)},initialValue:1},useWorker:{set:function(w){this.$useWorker=w,this.$stopWorker(),w&&this.$startWorker()},initialValue:!0},useSoftTabs:{initialValue:!0},tabSize:{set:function(w){w=parseInt(w),w>0&&this.$tabSize!==w&&(this.$modified=!0,this.$rowLengthCache=[],this.$tabSize=w,this._signal(`changeTabSize`))},initialValue:4,handlesSet:!0},navigateWithinSoftTabs:{initialValue:!1},foldStyle:{set:function(w){this.setFoldStyle(w)},handlesSet:!0},overwrite:{set:function(w){this._signal(`changeOverwrite`)},initialValue:!1},newLineMode:{set:function(w){this.doc.setNewLineMode(w)},get:function(){return this.doc.getNewLineMode()},handlesSet:!0},mode:{set:function(w){this.setMode(w)},get:function(){return this.$modeId},handlesSet:!0}}),E.EditSession=g});ace.define(`ace/search`,[`require`,`exports`,`module`,`ace/lib/lang`,`ace/lib/oop`,`ace/range`],function(R,E,F){"use strict";var k=R(`./lib/lang`),L=R(`./lib/oop`),M=R(`./range`).Range,a=(function(){function i(){this.$options={}}return i.prototype.set=function(t){return L.mixin(this.$options,t),this},i.prototype.getOptions=function(){return k.copyObject(this.$options)},i.prototype.setOptions=function(t){this.$options=t},i.prototype.find=function(t){var e=this.$options,n=this.$matchIterator(t,e);if(!n)return!1;var s=null;return n.forEach(function(d,g,$,v){return s=new M(d,g,$,v),g==v&&e.start&&e.start.start&&e.skipCurrent!=!1&&s.isEqual(e.start)?(s=null,!1):!0}),s},i.prototype.findAll=function(t){var e=this.$options;if(!e.needle)return[];this.$assembleRegExp(e);var n=e.range,s=n?t.getLines(n.start.row,n.end.row):t.doc.getAllLines(),d=[],g=e.re;if(e.$isMultiLine){var $=g.length,v=s.length-$,b;e:for(var u=g.offset||0;u<=v;u++){for(var h=0;h<$;h++)if(s[u+h].search(g[h])==-1)continue e;var y=s[u],m=s[u+$-1],C=y.length-y.match(g[0])[0].length,x=m.match(g[$-1])[0].length;b&&b.end.row===u&&b.end.column>C||(d.push(b=new M(u,C,u+$-1,x)),$>2&&(u=u+$-2))}}else for(var w,p=0;p<s.length;p++)if(this.$isMultilineSearch(e)){var f=s.length-1;if(w=this.$multiLineForward(t,g,p,f),w){var c=w.endRow<=f?w.endRow-1:f;c>p&&(p=c),d.push(new M(w.startRow,w.startCol,w.endRow,w.endCol))}}else{w=k.getMatchOffsets(s[p],g);for(var h=0;h<w.length;h++){var S=w[h];d.push(new M(p,S.offset,p,S.offset+S.length))}}if(n){for(var A=n.start.column,T=n.end.column,p=0,h=d.length-1;p<h&&d[p].start.column<A&&d[p].start.row==0;)p++;for(var _=n.end.row-n.start.row;p<h&&d[h].end.column>T&&d[h].end.row==_;)h--;for(d=d.slice(p,h+1),p=0,h=d.length;p<h;p++)d[p].start.row+=n.start.row,d[p].end.row+=n.start.row}return d},i.prototype.parseReplaceString=function(t){for(var e={DollarSign:36,Ampersand:38,Digit0:48,Digit1:49,Digit9:57,Backslash:92,n:110,t:116},n=``,s=0,d=t.length;s<d;s++){var g=t.charCodeAt(s);if(g===e.Backslash){if(s++,s>=d){n+=`\\`;break}switch(t.charCodeAt(s)){case e.Backslash:n+=`\\`;break;case e.n:n+=`
232`;break;case e.t:n+=`	`;break}continue}if(g===e.DollarSign){if(s++,s>=d){n+=`$`;break}var v=t.charCodeAt(s);if(v===e.DollarSign){n+=`$$`;continue}if(v===e.Digit0||v===e.Ampersand){n+=`$&`;continue}if(e.Digit1<=v&&v<=e.Digit9){n+=`$`+t[s];continue}}n+=t[s]}return n||t},i.prototype.replace=function(t,e){var n=this.$options,s=this.$assembleRegExp(n);if(n.$isMultiLine)return e;if(s){var d=this.$isMultilineSearch(n);d&&(t=t.replace(/\r\n|\r|\n/g,`
233`));var g=s.exec(t);if(!g||!d&&g[0].length!=t.length)return null;if(e=n.regExp?this.parseReplaceString(e):e.replace(/\$/g,`$$$$`),e=t.replace(s,e),n.preserveCase){e=e.split(``);for(var $=Math.min(t.length,t.length);$--;){var v=t[$];v&&v.toLowerCase()!=v?e[$]=e[$].toUpperCase():e[$]=e[$].toLowerCase()}e=e.join(``)}return e}},i.prototype.$assembleRegExp=function(t,e){if(t.needle instanceof RegExp)return t.re=t.needle;var n=t.needle;if(!t.needle)return t.re=!1;t.regExp||(n=k.escapeRegExp(n));var s=t.caseSensitive?`gm`:`gmi`;
233try{new RegExp(n,`u`),t.$supportsUnicodeFlag=!0,s+=`u`}catch{t.$supportsUnicodeFlag=!1}if(t.wholeWord&&(n=l(n,t)),t.$isMultiLine=!e&&/[\n\r]/.test(n),t.$isMultiLine)return t.re=this.$assembleMultilineRegExp(n,s);try{var d=new RegExp(n,s)}catch{d=!1}return t.re=d},i.prototype.$assembleMultilineRegExp=function(t,e){for(var n=t.replace(/\r\n|\r|\n/g,`$
234^`).split(`
235`),s=[],d=0;d<n.length;d++)try{s.push(new RegExp(n[d],e))}catch{return!1}return s},i.prototype.$isMultilineSearch=function(t){return t.re&&/\\r\\n|\\r|\\n/.test(t.re.source)&&t.regExp&&!t.$isMultiLine},i.prototype.$multiLineForward=function(t,e,n,s){for(var d,g=o(t,n),$=n;$<=s;){for(var v=0;v<g&&!($>s);v++){var b=t.getLine($++);d=d==null?b:d+`
236`+b}var u=e.exec(d);if(e.lastIndex=0,u){var h=d.slice(0,u.index).split(`
237`),y=u[0].split(`
238`),m=n+h.length-1,C=h[h.length-1].length;return{startRow:m,startCol:C,endRow:m+y.length-1,endCol:y.length==1?C+y[0].length:y[y.length-1].length}}}return null},i.prototype.$multiLineBackward=function(t,e,n,s,d){for(var g,$=o(t,s),v=t.getLine(s).length-n,b=s;b>=d;){for(var u=0;u<$&&b>=d;u++){var h=t.getLine(b--);g=g==null?h:h+`
239`+g}var y=r(g,e,v);if(y){var m=g.slice(0,y.index).split(`
240`),C=y[0].split(`
241`),x=b+m.length,w=m[m.length-1].length;return{startRow:x,startCol:w,endRow:x+C.length-1,endCol:C.length==1?w+C[0].length:C[C.length-1].length}}}return null},i.prototype.$matchIterator=function(t,e){var n=this.$assembleRegExp(e);if(!n)return!1;var s=this.$isMultilineSearch(e),d=this.$multiLineForward,g=this.$multiLineBackward,$=e.backwards==!0,v=e.skipCurrent!=!1,b=n.unicode,u=e.range,h=e.start;h||(h=u?u[$?`end`:`start`]:t.selection.getRange()),h.start&&(h=h[v!=$?`end`:`start`]);var y=u?u.start.row:0,m=u?u.end.row:t.getLength()-1;if($)var C=function(p){var f=h.row;if(!w(f,h.column,p)){for(f--;f>=y;f--)if(w(f,Number.MAX_VALUE,p))return;if(e.wrap!=!1){for(f=m,y=h.row;f>=y;f--)if(w(f,Number.MAX_VALUE,p))return}}};else var C=function(f){var c=h.row;if(!w(c,h.column,f)){for(c=c+1;c<=m;c++)if(w(c,0,f))return;if(e.wrap!=!1){for(c=y,m=h.row;c<=m;c++)if(w(c,0,f))return}}};if(e.$isMultiLine)var x=n.length,w=function(p,f,c){var S=$?p-x+1:p;if(!(S<0||S+x>t.getLength())){var A=t.getLine(S),T=A.search(n[0]);if(!(!$&&T<f||T===-1)){for(var _=1;_<x;_++)if(A=t.getLine(S+_),A.search(n[_])==-1)return;var I=A.match(n[x-1])[0].length;if(!($&&I>f)&&c(S,T,S+x-1,I))return!0}}};else if($)var w=function(f,c,S){if(s){var A=g(t,n,c,f,y);if(!A)return!1;if(S(A.startRow,A.startCol,A.endRow,A.endCol))return!0}else{var T=t.getLine(f),_=[],I,D=0;for(n.lastIndex=0;I=n.exec(T);){var N=I[0].length;if(D=I.index,!N){if(D>=T.length)break;n.lastIndex=D+=k.skipEmptyMatch(T,D,b)}if(I.index+N>c)break;_.push(I.index,N)}for(var O=_.length-1;O>=0;O-=2){var B=_[O-1],N=_[O];if(S(f,B,f,B+N))return!0}}};else var w=function(f,c,S){if(n.lastIndex=c,s){var A=d(t,n,f,m);if(A){var T=A.endRow<=m?A.endRow-1:m;T>f&&(f=T)}if(!A)return!1;if(S(A.startRow,A.startCol,A.endRow,A.endCol))return!0}else for(var _=t.getLine(f),I,D;D=n.exec(_);){var N=D[0].length;if(I=D.index,S(f,I,f,I+N))return!0;if(!N&&(n.lastIndex=I+=k.skipEmptyMatch(_,I,b),I>=_.length))return!1}};return{forEach:C}},i})();function l(i,t){var e=k.supportsLookbehind();function n($,v){v===void 0&&(v=!0);return(e&&t.$supportsUnicodeFlag?new RegExp(`[\\p{L}\\p{N}_]`,`u`):new RegExp(`\\w`)).test($)||t.regExp?e&&t.$supportsUnicodeFlag?v?`(?<=^|[^\\p{L}\\p{N}_])`:`(?=[^\\p{L}\\p{N}_]|$)`:`\\b`:``}var s=Array.from(i),d=s[0],g=s[s.length-1];return n(d)+i+n(g,!1)}function r(i,t,e){for(var n=null,s=0;s<=i.length;){t.lastIndex=s;var d=t.exec(i);if(!d)break;var g=d.index+d[0].length;if(g>i.length-e)break;(!n||g>n.index+n[0].length)&&(n=d),s=d.index+1}return n}function o(i,t){var e=5e3,n={row:t,column:0},d=i.doc.positionToIndex(n)+e;return i.doc.indexToPosition(d).row+1}E.Search=a});ace.define(`ace/keyboard/hash_handler`,[`require`,`exports`,`module`,`ace/lib/keys`,`ace/lib/useragent`],function(R,E,F){"use strict";var k=this&&this.__extends||(function(){var i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,s){n.__proto__=s}||function(n,s){for(var d in s)Object.prototype.hasOwnProperty.call(s,d)&&(n[d]=s[d])},i(t,e)};return function(t,e){if(typeof e!=`function`&&e!==null)throw new TypeError(`Class extends value `+String(e)+` is not a constructor or null`);i(t,e);function n(){this.constructor=t}
241t.prototype=e===null?Object.create(e):(n.prototype=e.prototype,new n)}})(),L=R(`../lib/keys`),M=R(`../lib/useragent`),a=L.KEY_MODS,l=(function(){function i(t,e){this.$init(t,e,!1)}return i.prototype.$init=function(t,e,n){this.platform=e||(M.isMac?`mac`:`win`),this.commands={},this.commandKeyBinding={},this.addCommands(t),this.$singleCommand=n},i.prototype.addCommand=function(t){this.commands[t.name]&&this.removeCommand(t),this.commands[t.name]=t,t.bindKey&&this._buildKeyHash(t)},i.prototype.removeCommand=function(t,e){var n=t&&(typeof t==`string`?t:t.name);t=this.commands[n],e||delete this.commands[n];var s=this.commandKeyBinding;for(var d in s){var g=s[d];if(g==t)delete s[d];else if(Array.isArray(g)){var $=g.indexOf(t);$!=-1&&(g.splice($,1),g.length==1&&(s[d]=g[0]))}}},i.prototype.bindKey=function(t,e,n){if(typeof t==`object`&&t&&(n??=t.position,t=t[this.platform]),!!t){if(typeof e==`function`)return this.addCommand({exec:e,bindKey:t,name:e.name||t});t.split(`|`).forEach(function(s){var d=``;if(s.indexOf(` `)!=-1){var g=s.split(/\s+/);s=g.pop(),g.forEach(function(b){var u=this.parseKeys(b),h=a[u.hashId]+u.key;d+=(d?` `:``)+h,this._addCommandToBinding(d,`chainKeys`)},this),d+=` `}var $=this.parseKeys(s),v=a[$.hashId]+$.key;this._addCommandToBinding(d+v,e,n)},this)}},i.prototype._addCommandToBinding=function(t,e,n){var s=this.commandKeyBinding,d;if(!e)delete s[t];else if(!s[t]||this.$singleCommand)s[t]=e;else{Array.isArray(s[t])?(d=s[t].indexOf(e))!=-1&&s[t].splice(d,1):s[t]=[s[t]],typeof n!=`number`&&(n=r(e));var g=s[t];for(d=0;d<g.length;d++){var $=g[d];if(r($)>n)break}g.splice(d,0,e)}},i.prototype.addCommands=function(t){t&&Object.keys(t).forEach(function(e){var n=t[e];if(n){if(typeof n==`string`)return this.bindKey(n,e);typeof n==`function`&&(n={exec:n}),typeof n==`object`&&(n.name||(n.name=e),this.addCommand(n))}},this)},i.prototype.removeCommands=function(t){Object.keys(t).forEach(function(e){this.removeCommand(t[e])},this)},i.prototype.bindKeys=function(t){Object.keys(t).forEach(function(e){this.bindKey(e,t[e])},this)},i.prototype._buildKeyHash=function(t){this.bindKey(t.bindKey,t)},i.prototype.parseKeys=function(t){var e=t.toLowerCase().split(/[\-\+]([\-\+])?/).filter(function(v){return v}),n=e.pop(),s=L[n];if(L.FUNCTION_KEYS[s])n=L.FUNCTION_KEYS[s].toLowerCase();else if(e.length){if(e.length==1&&e[0]==`shift`)return{key:n.toUpperCase(),hashId:-1}}else return{key:n,hashId:-1};for(var d=0,g=e.length;g--;){var $=L.KEY_MODS[e[g]];if($==null)return typeof console<`u`&&console.error(`invalid modifier `+e[g]+` in `+t),!1;d|=$}return{key:n,hashId:d}},i.prototype.findKeyCommand=function(t,e){var n=a[t]+e;return this.commandKeyBinding[n]},i.prototype.handleKeyboard=function(t,e,n,s){if(!(s<0)){var d=a[e]+n,g=this.commandKeyBinding[d];return t.$keyChain&&(t.$keyChain+=` `+d,g=this.commandKeyBinding[t.$keyChain]||g),g&&(g==`chainKeys`||g[g.length-1]==`chainKeys`)?(t.$keyChain=t.$keyChain||d,{command:`null`}):(t.$keyChain&&((!e||e==4)&&n.length==1?t.$keyChain=t.$keyChain.slice(0,-d.length-1):(e==-1||s>0)&&(t.$keyChain=``)),{command:g})}},i.prototype.getStatusText=function(t,e){return e.$keyChain||``},i})();function r(i){return typeof i==`object`&&i.bindKey&&i.bindKey.position||(i.isDefault?-100:0)}var o=(function(i){k(t,i);function t(e,n){var s=i.call(this,e,n)||this;return s.$singleCommand=!0,s}return t})(l);o.call=function(i,t,e){l.prototype.$init.call(i,t,e,!0)},l.call=function(i,t,e){l.prototype.$init.call(i,t,e,!1)},E.HashHandler=o,E.MultiHashHandler=l});ace.define(`ace/commands/command_manager`,[`require`,`exports`,`module`,`ace/lib/oop`,`ace/keyboard/hash_handler`,`ace/lib/event_emitter`],function(R,E,F){"use strict";var k=this&&this.__extends||(function(){var r=function(o,i){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},r(o,i)};return function(o,i){if(typeof i!=`function`&&i!==null)throw new TypeError(`Class extends value `+String(i)+` is not a constructor or null`);r(o,i);function t(){this.constructor=o}
241o.prototype=i===null?Object.create(i):(t.prototype=i.prototype,new t)}})(),L=R(`../lib/oop`),M=R(`../keyboard/hash_handler`).MultiHashHandler,a=R(`../lib/event_emitter`).EventEmitter,l=(function(r){k(o,r);function o(i,t){var e=r.call(this,t,i)||this;return e.byName=e.commands,e.setDefaultHandler(`exec`,function(n){return n.args?n.command.exec(n.editor,n.args,n.event,!1):n.command.exec(n.editor,{},n.event,!0)}),e}return o.prototype.exec=function(i,t,e){if(Array.isArray(i)){for(var n=i.length;n--;)if(this.exec(i[n],t,e))return!0;return!1}typeof i==`string`&&(i=this.commands[i]);var s={editor:t,command:i,args:e};return this.canExecute(i,t)?(s.returnValue=this._emit(`exec`,s),this._signal(`afterExec`,s),s.returnValue!==!1):(this._signal(`commandUnavailable`,s),!1)},o.prototype.canExecute=function(i,t){return typeof i==`string`&&(i=this.commands[i]),!(!i||t&&t.$readOnly&&!i.readOnly||this.$checkCommandState!=!1&&i.isAvailable&&!i.isAvailable(t))},o.prototype.toggleRecording=function(i){if(!this.$inReplay)return i&&i._emit(`changeStatus`),this.recording?(this.macro.pop(),this.off(`exec`,this.$addCommandToMacro),this.macro.length||(this.macro=this.oldMacro),this.recording=!1):(this.$addCommandToMacro||(this.$addCommandToMacro=function(t){this.macro.push([t.command,t.args])}.bind(this)),this.oldMacro=this.macro,this.macro=[],this.on(`exec`,this.$addCommandToMacro),this.recording=!0)},o.prototype.replay=function(i){if(!(this.$inReplay||!this.macro)){if(this.recording)return this.toggleRecording(i);try{this.$inReplay=!0,this.macro.forEach(function(t){typeof t==`string`?this.exec(t,i):this.exec(t[0],i,t[1])},this)}finally{this.$inReplay=!1}}},o.prototype.trimMacro=function(i){return i.map(function(t){return typeof t[0]!=`string`&&(t[0]=t[0].name),t[1]||(t=t[0]),t})},o})(M);L.implement(l.prototype,a),E.CommandManager=l});ace.define(`ace/commands/default_commands`,[`require`,`exports`,`module`,`ace/lib/lang`,`ace/config`,`ace/range`],function(R,E,F){"use strict";var k=R(`../lib/lang`),L=R(`../config`),M=R(`../range`).Range;function a(r,o){return{win:r,mac:o}}E.commands=[{name:`showSettingsMenu`,description:`Show settings menu`,bindKey:a(`Ctrl-,`,`Command-,`),exec:function(r){L.loadModule(`ace/ext/settings_menu`,function(o){o.init(r),r.showSettingsMenu()})},readOnly:!0},{name:`goToNextError`,description:`Go to next error`,bindKey:a(`Alt-E`,`F4`),exec:function(r){L.loadModule(`ace/ext/error_marker`,function(o){o.showErrorMarker(r,1)})},scrollIntoView:`animate`,readOnly:!0},{name:`goToPreviousError`,description:`Go to previous error`,bindKey:a(`Alt-Shift-E`,`Shift-F4`),exec:function(r){L.loadModule(`ace/ext/error_marker`,function(o){o.showErrorMarker(r,-1)})},scrollIntoView:`animate`,readOnly:!0},{name:`selectall`,description:`Select all`,bindKey:a(`Ctrl-A`,`Command-A`),exec:function(r){r.selectAll()},readOnly:!0},{name:`centerselection`,description:`Center selection`,bindKey:a(null,`Ctrl-L`),exec:function(r){r.centerSelection()},readOnly:!0},{name:`gotoline`,description:`Go to line...`,bindKey:a(`Ctrl-L`,`Command-L`),exec:function(r,o){typeof o==`number`&&!isNaN(o)&&r.gotoLine(o),r.prompt({$type:`gotoLine`})},readOnly:!0},{name:`fold`,bindKey:a(`Alt-L|Ctrl-F1`,`Command-Alt-L|Command-F1`),exec:function(r){r.session.toggleFold(!1)},multiSelectAction:`forEach`,scrollIntoView:`center`,readOnly:!0},{name:`unfold`,bindKey:a(`Alt-Shift-L|Ctrl-Shift-F1`,`Command-Alt-Shift-L|Command-Shift-F1`),exec:function(r){r.session.toggleFold(!0)},multiSelectAction:`forEach`,scrollIntoView:`center`,readOnly:!0},{name:`toggleFoldWidget`,description:`Toggle fold widget`,bindKey:a(`F2`,`F2`),exec:function(r){r.session.toggleFoldWidget()},multiSelectAction:`forEach`,scrollIntoView:`center`,readOnly:!0},{name:`toggleParentFoldWidget`,description:`Toggle parent fold widget`,bindKey:a(`Alt-F2`,`Alt-F2`),exec:function(r){r.session.toggleFoldWidget(!0)},multiSelectAction:`forEach`,scrollIntoView:`center`,readOnly:!0},{name:`foldall`,description:`Fold all`,bindKey:a(null,`Ctrl-Command-Option-0`),exec:function(r){r.session.foldAll()},scrollIntoView:`center`,readOnly:!0},{name:`foldAllComments`,description:`Fold all comments`,bindKey:a(null,`Ctrl-Command-Option-0`),exec:function(r){r.session.foldAllComments()},scrollIntoView:`center`,readOnly:!0},{name:`foldOther`,description:`Fold other`,bindKey:a(`Alt-0`,`Command-Option-0`),exec:function(r){r.session.foldAll(),r.session.unfold(r.selection.getAllRanges())},scrollIntoView:`center`,readOnly:!0},{name:`unfoldall`,description:`Unfold all`,bindKey:a(`Alt-Shift-0`,`Command-Option-Shift-0`),exec:function(r){r.session.unfold()},scrollIntoView:`center`,readOnly:!0},{name:`findnext`,description:`Find next`,bindKey:a(`Ctrl-K`,`Command-G`),exec:function(r){r.findNext(
vendor: 11,479 bytes, line 241
241)},multiSelectAction:`forEach`,scrollIntoView:`center`,readOnly:!0},{name:`findprevious`,description:`Find previous`,bindKey:a(`Ctrl-Shift-K`,`Command-Shift-G`),exec:function(r){r.findPrevious()},multiSelectAction:`forEach`,scrollIntoView:`center`,readOnly:!0},{name:`selectOrFindNext`,description:`Select or find next`,bindKey:a(`Alt-K`,`Ctrl-G`),exec:function(r){r.selection.isEmpty()?r.selection.selectWord():r.findNext()},readOnly:!0},{name:`selectOrFindPrevious`,description:`Select or find previous`,bindKey:a(`Alt-Shift-K`,`Ctrl-Shift-G`),exec:function(r){r.selection.isEmpty()?r.selection.selectWord():r.findPrevious()},readOnly:!0},{name:`find`,description:`Find`,bindKey:a(`Ctrl-F`,`Command-F`),exec:function(r){L.loadModule(`ace/ext/searchbox`,function(o){o.Search(r)})},readOnly:!0},{name:`overwrite`,description:`Overwrite`,bindKey:`Insert`,exec:function(r){r.toggleOverwrite()},readOnly:!0},{name:`selecttostart`,description:`Select to start`,bindKey:a(`Ctrl-Shift-Home`,`Command-Shift-Home|Command-Shift-Up`),exec:function(r){r.getSelection().selectFileStart()},multiSelectAction:`forEach`,readOnly:!0,scrollIntoView:`animate`,aceCommandGroup:`fileJump`},{name:`gotostart`,description:`Go to start`,bindKey:a(`Ctrl-Home`,`Command-Home|Command-Up`),exec:function(r){r.navigateFileStart()},multiSelectAction:`forEach`,readOnly:!0,scrollIntoView:`animate`,aceCommandGroup:`fileJump`},{name:`selectup`,description:`Select up`,bindKey:a(`Shift-Up`,`Shift-Up|Ctrl-Shift-P`),exec:function(r){r.getSelection().selectUp()},multiSelectAction:`forEach`,scrollIntoView:`cursor`,readOnly:!0},{name:`golineup`,description:`Go line up`,bindKey:a(`Up`,`Up|Ctrl-P`),exec:function(r,o){r.navigateUp(o.times)},multiSelectAction:`forEach`,scrollIntoView:`cursor`,readOnly:!0},{name:`selecttoend`,description:`Select to end`,bindKey:a(`Ctrl-Shift-End`,`Command-Shift-End|Command-Shift-Down`),exec:function(r){r.getSelection().selectFileEnd()},multiSelectAction:`forEach`,readOnly:!0,scrollIntoView:`animate`,aceCommandGroup:`fileJump`},{name:`gotoend`,description:`Go to end`,bindKey:a(`Ctrl-End`,`Command-End|Command-Down`),exec:function(r){r.navigateFileEnd()},multiSelectAction:`forEach`,readOnly:!0,scrollIntoView:`animate`,aceCommandGroup:`fileJump`},{name:`selectdown`,description:`Select down`,bindKey:a(`Shift-Down`,`Shift-Down|Ctrl-Shift-N`),exec:function(r){r.getSelection().selectDown()},multiSelectAction:`forEach`,scrollIntoView:`cursor`,readOnly:!0},{name:`golinedown`,description:`Go line down`,bindKey:a(`Down`,`Down|Ctrl-N`),exec:function(r,o){r.navigateDown(o.times)},multiSelectAction:`forEach`,scrollIntoView:`cursor`,readOnly:!0},{name:`selectwordleft`,description:`Select word left`,bindKey:a(`Ctrl-Shift-Left`,`Option-Shift-Left`),exec:function(r){r.getSelection().selectWordLeft()},multiSelectAction:`forEach`,scrollIntoView:`cursor`,readOnly:!0},{name:`gotowordleft`,description:`Go to word left`,bindKey:a(`Ctrl-Left`,`Option-Left`),exec:function(r){r.navigateWordLeft()},multiSelectAction:`forEach`,scrollIntoView:`cursor`,readOnly:!0},{name:`selecttolinestart`,description:`Select to line start`,bindKey:a(`Alt-Shift-Left`,`Command-Shift-Left|Ctrl-Shift-A`),exec:function(r){r.getSelection().selectLineStart()},multiSelectAction:`forEach`,scrollIntoView:`cursor`,readOnly:!0},{name:`gotolinestart`,description:`Go to line start`,bindKey:a(`Alt-Left|Home`,`Command-Left|Home|Ctrl-A`),exec:function(r){r.navigateLineStart()},multiSelectAction:`forEach`,scrollIntoView:`cursor`,readOnly:!0},{name:`selectleft`,description:`Select left`,bindKey:a(`Shift-Left`,`Shift-Left|Ctrl-Shift-B`),exec:function(r){r.getSelection().selectLeft()},multiSelectAction:`forEach`,scrollIntoView:`cursor`,readOnly:!0},{name:`gotoleft`,description:`Go to left`,bindKey:a(`Left`,`Left|Ctrl-B`),exec:function(r,o){r.navigateLeft(o.times)},multiSelectAction:`forEach`,scrollIntoView:`cursor`,readOnly:!0},{name:`selectwordright`,description:`Select word right`,bindKey:a(`Ctrl-Shift-Right`,`Option-Shift-Right`),exec:function(r){r.getSelection().selectWordRight()},multiSelectAction:`forEach`,scrollIntoView:`cursor`,readOnly:!0},{name:`gotowordright`,description:`Go to word right`,bindKey:a(`Ctrl-Right`,`Option-Right`),exec:function(r){r.navigateWordRight()},multiSelectAction:`forEach`,scrollIntoView:`cursor`,readOnly:!0},{name:`selecttolineend`,description:`Select to line end`,bindKey:a(`Alt-Shift-Right`,`Command-Shift-Right|Shift-End|Ctrl-Shift-E`),exec:function(r){r.getSelection().selectLineEnd()},multiSelectAction:`forEach`,scrollIntoView:`cursor`,readOnly:!0},{name:`gotolineend`,description:`Go to line end`,bindKey:a(`Alt-Right|End`,`Command-Right|End|Ctrl-E`),exec:function(r){r.navigateLineEnd()},multiSelectAction:`forEach`,scrollIntoView:`cursor`,readOnly:!0},{name:`selectright`,description:`Select right`,bindKey:a(`Shift-Right`,`Shift-Right`),exec:function(r){r.getSelection().selectRight()},multiSelectAction:`forEach`,scrollIntoView:`cursor`,readOnly:!0},{name:`gotoright`,description:`Go to right`,bindKey:a(`Right`,`Right|Ctrl-F`),exec:function(r,o){r.navigateRight(o.times)},multiSelectAction:`forEach`,scrollIntoView:`cursor`,readOnly:!0},{name:`selectpagedown`,description:`Select page down`,bindKey:`Shift-PageDown`,exec:function(r){r.selectPageDown()},readOnly:!0},{name:`pagedown`,description:`Page down`,bindKey:a(null,`Option-PageDown`),exec:function(r){r.scrollPageDown()},readOnly:!0},{name:`gotopagedown`,description:`Go to page down`,bindKey:a(`PageDown`,`PageDown|Ctrl-V`),exec:function(r){r.gotoPageDown()},readOnly:!0},{name:`selectpageup`,description:`Select page up`,bindKey:`Shift-PageUp`,exec:function(r){r.selectPageUp()},readOnly:!0},{name:`pageup`,description:`Page up`,bindKey:a(null,`Option-PageUp`),exec:function(r){r.scrollPageUp()},readOnly:!0},{name:`gotopageup`,description:`Go to page up`,bindKey:`PageUp`,exec:function(r){r.gotoPageUp()},readOnly:!0},{name:`scrollup`,description:`Scroll up`,bindKey:a(`Ctrl-Up`,null),exec:function(r){r.renderer.scrollBy(0,-2*r.renderer.layerConfig.lineHeight)},readOnly:!0},{name:`scrolldown`,description:`Scroll down`,bindKey:a(`Ctrl-Down`,null),exec:function(r){r.renderer.scrollBy(0,2*r.renderer.layerConfig.lineHeight)},readOnly:!0},{name:`selectlinestart`,description:`Select line start`,bindKey:`Shift-Home`,exec:function(r){r.getSelection().selectLineStart()},multiSelectAction:`forEach`,scrollIntoView:`cursor`,readOnly:!0},{name:`selectlineend`,description:`Select line end`,bindKey:`Shift-End`,exec:function(r){r.getSelection().selectLineEnd()},multiSelectAction:`forEach`,scrollIntoView:`cursor`,readOnly:!0},{name:`togglerecording`,description:`Toggle recording`,bindKey:a(`Ctrl-Alt-E`,`Command-Option-E`),exec:function(r){r.commands.toggleRecording(r)},readOnly:!0},{name:`replaymacro`,description:`Replay macro`,bindKey:a(`Ctrl-Shift-E`,`Command-Shift-E`),exec:function(r){r.commands.replay(r)},readOnly:!0},{name:`jumptomatching`,description:`Jump to matching`,bindKey:a(`Ctrl-\\|Ctrl-P`,`Command-\\`),exec:function(r){r.jumpToMatching()},multiSelectAction:`forEach`,scrollIntoView:`animate`,readOnly:!0},{name:`selecttomatching`,description:`Select to matching`,bindKey:a(`Ctrl-Shift-\\|Ctrl-Shift-P`,`Command-Shift-\\`),exec:function(r){r.jumpToMatching(!0)},multiSelectAction:`forEach`,scrollIntoView:`animate`,readOnly:!0},{name:`expandToMatching`,description:`Expand to matching`,bindKey:a(`Ctrl-Shift-M`,`Ctrl-Shift-M`),exec:function(r){r.jumpToMatching(!0,!0)},multiSelectAction:`forEach`,scrollIntoView:`animate`,readOnly:!0},{name:`passKeysToBrowser`,description:`Pass keys to browser`,bindKey:a(null,null),exec:function(){},passEvent:!0,readOnly:!0},{name:`copy`,description:`Copy`,exec:function(r){},readOnly:!0},{name:`cut`,description:`Cut`,exec:function(r){var i=r.$copyWithEmptySelection&&r.selection.isEmpty()?r.selection.getLineRange():r.selection.getRange();r._emit(`cut`,i),i.isEmpty()||r.session.remove(i),r.clearSelection()},scrollIntoView:`cursor`,multiSelectAction:`forEach`},{name:`paste`,description:`Paste`,exec:function(r,o){r.$handlePaste(o)},scrollIntoView:`cursor`},{name:`removeline`,description:`Remove line`,bindKey:a(`Ctrl-D`,`Command-D`),exec:function(r){r.removeLines()},scrollIntoView:`cursor`,multiSelectAction:`forEachLine`},{name:`duplicateSelection`,description:`Duplicate selection`,bindKey:a(`Ctrl-Shift-D`,`Command-Shift-D`),exec:function(r){r.duplicateSelection()},scrollIntoView:`cursor`,multiSelectAction:`forEach`},{name:`sortlines`,description:`Sort lines`,bindKey:a(`Ctrl-Alt-S`,`Command-Alt-S`),exec:function(r){r.sortLines()},scrollIntoView:`selection`,multiSelectAction:`forEachLine`},{name:`togglecomment`,description:`Toggle comment`,bindKey:a(`Ctrl-/`,`Command-/`),exec:function(r){r.toggleCommentLines()},multiSelectAction:`forEachLine`,scrollIntoView:`selectionPart`},{name:`toggleBlockComment`,description:`Toggle block comment`,bindKey:a(`Ctrl-Shift-/`,`Command-Shift-/`),exec:function(r){r.toggleBlockComment()},multiSelectAction:`forEach`,scrollIntoView:`selectionPart`},{name:`modifyNumberUp`,description:`Modify number up`,bindKey:a(`Ctrl-Shift-Up`,`Alt-Shift-Up`),exec:function(r){r.modifyNumber(1)},scrollIntoView:`cursor`,multiSelectAction:`forEach`},{name:`modifyNumberDown`,description:`Modify number down`,bindKey:a(`Ctrl-Shift-Down`,`Alt-Shift-Down`),exec:function(r){r.modifyNumber(-1)},scrollIntoView:`cursor`,multiSelectAction:`forEach`},{name:`replace`,description:`Replace`,bindKey:a(`Ctrl-H`,`Command-Option-F`),exec:function(r){L.loadModule(`ace/ext/searchbox`,function(o){o.Search(r,!0)})}},{name:`undo`,description:`Undo`,bindKey:a(`Ctrl-Z`,`Command-Z`),exec:function(r){r.undo()}},{name:`redo`,description:`Redo`,bindKey:a(`Ctrl-Shift-Z|Ctrl-Y`,`Command-Shift-Z|Command-Y`),exec:function(r){r.redo()}},{name:`copylinesup`,description:`Copy lines up`,bindKey:a(`Alt-Shift-Up`,`Command-Option-Up`),exec:function(r){r.copyLinesUp()},scrollIntoView:`cursor`},{name:`movelinesup`,description:`Move lines up`,bindKey:a(`Alt-Up`,`Option-Up`),exec:function(r){r.moveLinesUp()},scrollIntoView:`cursor`},{name:`copylinesdown`,description:`Copy lines down`,bindKey:a(`Alt-Shift-Down`,`Command-Option-Down`),exec:function(r){r.copyLinesDown()},scrollIntoView:`cursor`},{name:`movelinesdown`,description:`Move lines down`,bindKey:a(`Alt-Down`,`Option-Down`),exec:function(r){r.moveLinesDown()},scrollIntoView:`cursor`},{name:`del`,description:`Delete`,bindKey:a(`Delete`,`Delete|Ctrl-D|Shift-Delete`),exec:function(r){r.remove(`right`)},multiSelectAction:`forEach`,scrollIntoView:`cursor`},{name:`backspace`,description:`Backspace`,bindKey:a(`Shift-Backspace|Backspace`,`Ctrl-Backspace|Shift-Backspace|Backspace|Ctrl-H`),exec:function(r){r.remove(`left`)},multiSelectAction:`forEach`,scrollIntoView:`cursor`},{name:`cut_or_delete`,description:`Cut or delete`,bindKey:a(`Shift-Delete`,null),exec:function(r){if(r.selection.isEmpty())r.remove(`left`);else return!1},multiSelectAction:`forEach`,scrollIntoView:`cursor`},{name:`removetolinestart`,description:`Remove to line start`,bindKey:a(`Alt-Backspace`,`Command-Backspace`),exec:function(r){r.removeToLineStart()},multiSelectAction:`forEach`,scrollIntoView:`cursor`},{name:`removetolineend`,description:`Remove to line end`,bindKey:a(`Alt-Delete`,`Ctrl-K|Command-Delete`),exec:function(r){r.removeToLineEnd()},multiSelectAction:`forEach`,scrollIntoView:`cursor`},{name:`removetolinestarthard`,description:`Remove to line start hard`,bindKey:a(`Ctrl-Shift-B
241ackspace`,null),exec:function(r){var o=r.selection.getRange();o.start.column=0,r.session.remove(o)},multiSelectAction:`forEach`,scrollIntoView:`cursor`},{name:`removetolineendhard`,description:`Remove to line end hard`,bindKey:a(`Ctrl-Shift-Delete`,null),exec:function(r){var o=r.selection.getRange();o.end.column=Number.MAX_VALUE,r.session.remove(o)},multiSelectAction:`forEach`,scrollIntoView:`cursor`},{name:`removewordleft`,description:`Remove word left`,bindKey:a(`Ctrl-Backspace`,`Alt-Backspace|Ctrl-Alt-Backspace`),exec:function(r){r.removeWordLeft()},multiSelectAction:`forEach`,scrollIntoView:`cursor`},{name:`removewordright`,description:`Remove word right`,bindKey:a(`Ctrl-Delete`,`Alt-Delete`),exec:function(r){r.removeWordRight()},multiSelectAction:`forEach`,scrollIntoView:`cursor`},{name:`outdent`,description:`Outdent`,bindKey:a(`Shift-Tab`,`Shift-Tab`),exec:function(r){r.blockOutdent()},multiSelectAction:`forEach`,scrollIntoView:`selectionPart`},{name:`indent`,description:`Indent`,bindKey:a(`Tab`,`Tab`),exec:function(r){r.indent()},multiSelectAction:`forEach`,scrollIntoView:`selectionPart`},{name:`blockoutdent`,description:`Block outdent`,bindKey:a(`Ctrl-[`,`Ctrl-[`),exec:function(r){r.blockOutdent()},multiSelectAction:`forEachLine`,scrollIntoView:`selectionPart`},{name:`blockindent`,description:`Block indent`,bindKey:a(`Ctrl-]`,`Ctrl-]`),exec:function(r){r.blockIndent()},multiSelectAction:`forEachLine`,scrollIntoView:`selectionPart`},{name:`insertstring`,description:`Insert string`,exec:function(r,o){r.insert(o)},multiSelectAction:`forEach`,scrollIntoView:`cursor`},{name:`inserttext`,description:`Insert text`,exec:function(r,o){r.insert(k.stringRepeat(o.text||``,o.times||1))},multiSelectAction:`forEach`,scrollIntoView:`cursor`},{name:`splitline`,description:`Split line`,bindKey:a(null,`Ctrl-O`),exec:function(r){r.splitLine()},multiSelectAction:`forEach`,scrollIntoView:`cursor`},{name:`transposeletters`,description:`Transpose letters`,bindKey:a(`Alt-Shift-X`,`Ctrl-T`),exec:function(r){r.transposeLetters()},multiSelectAction:function(r){r.transposeSelections(1)},scrollIntoView:`cursor`},{name:`touppercase`,description:`To uppercase`,bindKey:a(`Ctrl-U`,`Ctrl-U`),exec:function(r){r.toUpperCase()},multiSelectAction:`forEach`,scrollIntoView:`cursor`},{name:`tolowercase`,description:`To lowercase`,bindKey:a(`Ctrl-Shift-U`,`Ctrl-Shift-U`),exec:function(r){r.toLowerCase()},multiSelectAction:`forEach`,scrollIntoView:`cursor`},{name:`autoindent`,description:`Auto Indent`,bindKey:a(null,null),exec:function(r){r.autoIndent()},scrollIntoView:`animate`},{name:`expandtoline`,description:`Expand to line`,bindKey:a(`Ctrl-Shift-L`,`Command-Shift-L`),exec:function(r){var o=r.selection.getRange();o.start.column=o.end.column=0,o.end.row++,r.selection.setRange(o,!1)},multiSelectAction:`forEach`,scrollIntoView:`cursor`,readOnly:!0},{name:`openlink`,bindKey:a(`Ctrl+F3`,`F3`),exec:function(r){r.openLink()}},{name:`joinlines`,description:`Join lines`,bindKey:a(null,null),exec:function(r){for(var o=r.selection.isBackwards(),i=o?r.selection.getSelectionLead():r.selection.getSelectionAnchor(),t=o?r.selection.getSelectionAnchor():r.selection.getSelectionLead(),e=r.session.doc.getLine(i.row).length,s=r.session.doc.getTextRange(r.selection.getRange()).replace(/\n\s*/,` `).length,d=r.session.doc.getLine(i.row),g=i.row+1;g<=t.row+1;g++){var $=k.stringTrimLeft(k.stringTrimRight(r.session.doc.getLine(g)));$.length!==0&&($=` `+$),d+=$}t.row+1<r.session.doc.getLength()-1&&(d+=r.session.doc.getNewLineCharacter()),r.clearSelection(),r.session.doc.replace(new M(i.row,0,t.row+2,0),d),s>0?(r.selection.moveCursorTo(i.row,i.column),r.selection.selectTo(i.row,i.column+s)):(e=r.session.doc.getLine(i.row).length>e?e+1:e,r.selection.moveCursorTo(i.row,e))},multiSelectAction:`forEach`,readOnly:!0},{name:`invertSelection`,description:`Invert selection`,bindKey:a(null,null),exec:function(r){var o=r.session.doc.getLength()-1,i=r.session.doc.getLine(o).length,t=r.selection.rangeList.ranges,e=[];t.length<1&&(t=[r.selection.getRange()]);for(var n=0;n<t.length;n++)n==t.length-1&&(t[n].end.row===o&&t[n].end.column===i||e.push(new M(t[n].end.row,t[n].end.column,o,i))),n===0?t[n].start.row===0&&t[n].start.column===0||e.push(new M(0,0,t[n].start.row,t[n].start.column)):e.push(new M(t[n-1].end.row,t[n-1].end.column,t[n].start.row,t[n].start.column));r.exitMultiSelectMode(),r.clearSelection();for(var n=0;n<e.length;n++)r.selection.addRange(e[n],!1)},readOnly:!0,scrollIntoView:`none`},{name:`addLineAfter`,description:`Add new line after the current line`,exec:function(r){r.selection.clearSelection(),r.navigateLineEnd(),r.insert(`
242`)},multiSelectAction:`forEach`,scrollIntoView:`cursor`},{name:`addLineBefore`,description:`Add new line before the current line`,exec:function(r){r.selection.clearSelection();var o=r.getCursorPosition();r.selection.moveTo(o.row-1,Number.MAX_VALUE),r.insert(`
243`),o.row===0&&r.navigateUp()},multiSelectAction:`forEach`,scrollIntoView:`cursor`},{name:`openCommandPallete`,exec:function(r){console.warn("This is an obsolete command. Please use `openCommandPalette` instead."),r.prompt({$type:`commands`})},readOnly:!0},{name:`openCommandPalette`,description:`Open command palette`,bindKey:a(`F1`,`F1`),exec:function(r){r.prompt({$type:`commands`})},readOnly:!0},{name:`modeSelect`,description:`Change language mode...`,bindKey:a(null,null),exec:function(r){r.prompt({$type:`modes`})},readOnly:!0}];for(var l=1;l<9;l++)E.commands.push({name:`foldToLevel`+l,description:`Fold To Level `+l,level:l,exec:function(r){r.session.foldToLevel(this.level)},scrollIntoView:`center`,readOnly:!0})});ace.define(`ace/keyboard/gutter_handler`,[`require`,`exports`,`module`,`ace/lib/keys`],function(R,E,F){"use strict";var k=R(`../lib/keys`);E.GutterKeyboardHandler=(function(){function a(l){this.editor=l,this.gutterLayer=l.renderer.$gutterLayer,this.element=l.renderer.$gutter,this.lines=l.renderer.$gutterLayer.$lines,this.activeRowIndex=null,this.activeLane=null,this.annotationTooltip=this.editor.$mouseHandler.$tooltip}return a.prototype.addListener=function(){this.element.addEventListener(`ke
243ydown`,this.$onGutterKeyDown.bind(this)),this.element.addEventListener(`focusout`,this.$blurGutter.bind(this)),this.editor.on(`mousewheel`,this.$blurGutter.bind(this))},a.prototype.removeListener=function(){this.element.removeEventListener(`keydown`,this.$onGutterKeyDown.bind(this)),this.element.removeEventListener(`focusout`,this.$blurGutter.bind(this)),this.editor.off(`mousewheel`,this.$blurGutter.bind(this))},a.prototype.$onGutterKeyDown=function(l){if(this.annotationTooltip.isOpen){l.preventDefault(),l.keyCode===k.escape&&this.annotationTooltip.hide();return}if(l.target===this.element){if(l.keyCode!=k.enter)return;l.preventDefault();var r=this.editor.getCursorPosition().row;this.editor.isRowVisible(r)||this.editor.scrollToLine(r,!0,!0),setTimeout(function(){var o=this.$rowToRowIndex(this.gutterLayer.$cursorCell.row),i=this.$findNearestFoldLaneWidget(o),t=this.$findNearestAnnotation(o);if(!(i===null&&t===null))if(this.$findClosestNumber(i,t,o)===i)if(this.activeLane=`fold`,this.activeRowIndex=i,this.$isCustomWidgetVisible(i)){this.$focusCustomWidget(this.activeRowIndex);return}else{this.$focusFoldWidget(this.activeRowIndex);return}else{this.activeRowIndex=t,this.activeLane=`annotation`,this.$focusAnnotation(this.activeRowIndex);return}}.bind(this),10);return}this.$handleGutterKeyboardInteraction(l),setTimeout(function(){this.editor._signal(`gutterkeydown`,new M(l,this))}.bind(this),10)},a.prototype.$handleGutterKeyboardInteraction=function(l){if(l.keyCode===k.tab){l.preventDefault();return}if(l.keyCode===k.escape){l.preventDefault(),this.$blurGutter(),this.element.focus(),this.lane=null;return}if(l.keyCode===k.up){switch(l.preventDefault(),this.activeLane){case`fold`:this.$moveFoldWidgetUp();break;case`annotation`:this.$moveAnnotationUp();break}return}if(l.keyCode===k.down){switch(l.preventDefault(),this.activeLane){case`fold`:this.$moveFoldWidgetDown();break;case`annotation`:this.$moveAnnotationDown();break}return}if(l.keyCode===k.left){l.preventDefault(),this.$switchLane(`annotation`);return}if(l.keyCode===k.right){l.preventDefault(),this.$switchLane(`fold`);return}if(l.keyCode===k.enter||l.keyCode===k.space){switch(l.preventDefault(),this.activeLane){case`fold`:var r=this.$rowIndexToRow(this.activeRowIndex),o=this.editor.session.$gutterCustomWidgets[r];if(o)o.callbacks&&o.callbacks.onClick&&o.callbacks.onClick(l,r);else if(this.gutterLayer.session.foldWidgets[r]===`start`){this.editor.session.onFoldWidgetClick(this.$rowIndexToRow(this.activeRowIndex),l),setTimeout(function(){this.$rowIndexToRow(this.activeRowIndex)!==r&&(this.$blurFoldWidget(this.activeRowIndex),this.activeRowIndex=this.$rowToRowIndex(r),this.$focusFoldWidget(this.activeRowIndex))}.bind(this),10);break}else if(this.gutterLayer.session.foldWidgets[this.$rowIndexToRow(this.activeRowIndex)]===`end`)break;return;case`annotation`:this.annotationTooltip.showTooltip(this.$rowIndexToRow(this.activeRowIndex)),this.annotationTooltip.$fromKeyboard=!0;break}return}},a.prototype.$blurGutter=function(){if(this.activeRowIndex!==null)switch(this.activeLane){case`fold`:this.$blurFoldWidget(this.activeRowIndex),this.$blurCustomWidget(this.activeRowIndex);break;case`annotation`:this.$blurAnnotation(this.activeRowIndex);break}this.annotationTooltip.isOpen&&this.annotationTooltip.hide()},a.prototype.$isFoldWidgetVisible=function(l){var r=this.editor.isRowFullyVisible(this.$rowIndexToRow(l)),o=this.$getFoldWidget(l).style.display!==`none`;return r&&o},a.prototype.$isCustomWidgetVisible=function(l){var r=this.editor.isRowFullyVisible(this.$rowIndexToRow(l)),o=!!this.$getCustomWidget(l);return r&&o},a.prototype.$isAnnotationVisible=function(l){var r=this.editor.isRowFullyVisible(this.$rowIndexToRow(l)),o=this.$getAnnotation(l).style.display!==`none`;return r&&o},a.prototype.$getFoldWidget=function(l){return this.lines.get(l).element.childNodes[1]},a.prototype.$getCustomWidget=function(l){return this.lines.get(l).element.childNodes[3]},a.prototype.$getAnnotation=function(l){return this.lines.get(l).element.childNodes[2]},a.prototype.$findNearestFoldLaneWidget=function(l){if(this.$isCustomWidgetVisible(l)||this.$isFoldWidgetVisible(l))return l;for(var r=0;l-r>0||l+r<this.lines.getLength()-1;){if(r++,l-r>
243=0&&this.$isCustomWidgetVisible(l-r))return l-r;if(l+r<=this.lines.getLength()-1&&this.$isCustomWidgetVisible(l+r))return l+r;if(l-r>=0&&this.$isFoldWidgetVisible(l-r))return l-r;if(l+r<=this.lines.getLength()-1&&this.$isFoldWidgetVisible(l+r))return l+r}return null},a.prototype.$findNearestAnnotation=function(l){if(this.$isAnnotationVisible(l))return l;for(var r=0;l-r>0||l+r<this.lines.getLength()-1;){if(r++,l-r>=0&&this.$isAnnotationVisible(l-r))return l-r;if(l+r<=this.lines.getLength()-1&&this.$isAnnotationVisible(l+r))return l+r}return null},a.prototype.$focusFoldWidget=function(l){if(l!=null){var r=this.$getFoldWidget(l);r.classList.add(this.editor.renderer.keyboardFocusClassName),r.focus()}},a.prototype.$focusCustomWidget=function(l){if(l!=null){var r=this.$getCustomWidget(l);r&&(r.classList.add(this.editor.renderer.keyboardFocusClassName),r.focus())}},a.prototype.$focusAnnotation=function(l){if(l!=null){var r=this.$getAnnotation(l);r.classList.add(this.editor.renderer.keyboardFocusClassName),r.focus()}},a.prototype.$blurFoldWidget=function(l){var r=this.$getFoldWidget(l);r.classList.remove(this.editor.renderer.keyboardFocusClassName),r.blur()},a.prototype.$blurCustomWidget=function(l){var r=this.$getCustomWidget(l);r&&(r.classList.remove(this.editor.renderer.keyboardFocusClassName),r.blur())},a.prototype.$blurAnnotation=function(l){var r=this.$getAnnotation(l);r.classList.remove(this.editor.renderer.keyboardFocusClassName),r.blur()},a.prototype.$moveFoldWidgetUp=function(){for(var l=this.activeRowIndex;l>0;)if(l--,this.$isFoldWidgetVisible(l)||this.$isCustomWidgetVisible(l)){this.$blurFoldWidget(this.activeRowIndex),this.$blurCustomWidget(this.activeRowIndex),this.activeRowIndex=l,this.$isFoldWidgetVisible(l)?this.$focusFoldWidget(this.activeRowIndex):this.$focusCustomWidget(this.activeRowIndex);return}},a.prototype.$moveFoldWidgetDown=function(){for(var l=this.activeRowIndex;l<this.lines.getLength()-1;)if(l++,this.$isFoldWidgetVisible(l)||this.$isCustomWidgetVisible(l)){this.$blurFoldWidget(this.activeRowIndex),this.$blurCustomWidget(this.activeRowIndex),this.activeRowIndex=l,this.$isFoldWidgetVisible(l)?this.$focusFoldWidget(this.activeRowIndex):this.$focusCustomWidget(this.activeRowIndex);return}},a.prototype.$moveAnnotationUp=function(){for(var l=this.activeRowIndex;l>0;)if(l--,this.$isAnnotationVisible(l)){this.$blurAnnotation(this.activeRowIndex),this.activeRowIndex=l,this.$focusAnnotation(this.activeRowIndex);return}},a.prototype.$moveAnnotationDown=function(){for(var l=this.activeRowIndex;l<this.lines.getLength()-1;)if(l++,this.$isAnnotationVisible(l)){this.$blurAnnotation(this.activeRowIndex),this.activeRowIndex=l,this.$focusAnnotation(this.activeRowIndex);return}},a.prototype.$findClosestNumber=function(l,r,o){return l===null?r:r===null||Math.abs(o-l)<=Math.abs(o-r)?l:r},a.prototype.$switchLane=function(l){switch(l){case`annotation`:if(this.activeLane===`annotation`)break;var r=this.$findNearestAnnotation(this.activeRowIndex);if(r==null)break;this.activeLane=`annotation`,this.$blurFoldWidget(this.activeRowIndex),this.$blurCustomWidget(this.activeRowIndex),this.activeRowIndex=r,this.$focusAnnotation(this.activeRowIndex);break;case`fold`:if(this.activeLane===`fold`)break;var o=this.$findNearestFoldLaneWidget(this.activeRowIndex);if(o===null)break;this.activeLane=`fold`,this.$blurAnnotation(this.activeRowIndex),this.activeRowIndex=o,this.$isCustomWidgetVisible(o)?this.$focusCustomWidget(this.activeRowIndex):this.$focusFoldWidget(this.activeRowIndex);break}},a.prototype.$rowIndexToRow=function(l){var r=this.lines.get(l);return r?r.row:null},a.prototype.$rowToRowIndex=function(l){for(var r=0;r<this.lines.getLength();r++)if(this.lines.get(r).row==l)return r;return null},a})();var M=(function(){function a(l,r){this.gutterKeyboardHandler=r,this.domEvent=l}return a.prototype.getKey=function(){return k.keyCodeToString(this.domEvent.keyCode)},a.prototype.getRow=function(){return this.gutterKeyboardHandler.$rowIndexToRow(this.gutterKeyboardHandler.activeRowIndex)},a.prototype.isInAnnotationLane=function(){return this.gutterKeyboardHandler.activeLane===`annotation`},a.prototype.isInFoldLane=function(){return this.gutterKeyboardHandler.activeLane===`fold`},a})();E.GutterKeyboardEvent=M});ace.define(`ace/editor`,[`require`,`exports`,`module`,`ace/lib/oop`,`ace/lib/dom`,`ace/lib/lang`,`ace/lib/useragent`,`ace/keyboard/textinput`,`ace/mouse/mouse_handler`,`ace/mouse/fold_handler`,`ace/keyboard/keybinding`,`ace/edit_session`,`ace/search`,`ace/range`,`ace/lib/event_emitter`,`ace/commands/command_manager`,`ace/commands/default_commands`,`ace/config`,`ace/token_iterator`,`ace/keyboard/gutter_handler`,`ace/config`,`ace/clipboard`,`ace/lib/keys`,`ace/lib/event`,`ace/tooltip`],function(R,E,F){"use strict";var k=this&&this.__values||function(f){var c=typeof Symbol==`function`&&Symbol.iterator,S=c&&f[c],A=0;if(S)return S.call(f);if(f&&typeof f.length==`number`)return{next:function(){return f&&A>=f.length&&(f=void 0),{value:f&&f[A++],done:!f}}};throw new TypeError(c?`Object is not iterable.`:`Symbol.iterator is not defined.`)},L=R(`./lib/oop`),M=R(`./lib/dom`),a=R(`./lib/lang`),l=R(`./lib/useragent`),r=R(`./keyboard/textinput`).TextInput,o=R(`./mouse/mouse_handler`).MouseHandler,i=R(`./mouse/fold_handler`).FoldHandler,t=R(`./keyboard/keybinding`).KeyBinding,e=R(`./edit_session`).EditSession,n=R(`./search`).Search,s=R(`./range`).Range,d=R(`./lib/event_emitter`).EventEmitter,g=R(`./commands/command_manager`).CommandManager,$=R(`./commands/default_commands`).commands,v=R(`./config`),b=R(`./token_iterator`).TokenIterator,u=R(`./keyboard/gutter_handler`).GutterKeyboardHandler,h=R(`./config`).nls,y=R(`./clipboard`),m=R(`./lib/keys`),C=R(`./lib/event`),x=R(`./tooltip`).HoverTooltip,w=(function(){function f(c,S,A){this.id=`editor`+ ++f.$uid,this.session,this.$toDestroy=[];var T=c.getContainerElement();this.container=T,this.renderer=c,this.commands=new g(l.isMac?`mac`:`win`,$),typeof document==`object`&&(this.textInput=new r(c.getTextAreaContainer(),this),this.renderer.textarea=this.textInput.getElement(),this.$mouseHandler=new o(this),new i(this)),this.keyBinding=new t(this),this.$search=new n().set({wrap:!0}),this.$historyTracker=this.$historyTracker.bind(this),this.commands.on(`exec`,this.$historyTracker),this.$initOperationListeners(),this._$emitInputEvent=a.delayedCall(function(){this._signal(`input`,{}),this.session&&!this.session.destroyed&&this.session.bgTokenizer.scheduleStart()}
243.bind(this)),this.on(`change`,function(_,I){I._$emitInputEvent.schedule(31)}),this.setSession(S||A&&A.session||new e(``)),v.resetOptions(this),A&&this.setOptions(A),v._signal(`editor`,this)}return f.prototype.$initOperationListeners=function(){this.commands.on(`exec`,this.startOperation.bind(this),!0),this.commands.on(`afterExec`,this.endOperation.bind(this),!0)},f.prototype.startOperation=function(c){this.session.startOperation(c)},f.prototype.endOperation=function(c){this.session.endOperation(c)},f.prototype.onStartOperation=function(c){this.curOp=this.session.curOp,this.curOp.scrollTop=this.renderer.scrollTop,this.prevOp=this.session.prevOp,c||(this.previousCommand=null)},f.prototype.onEndOperation=function(c){if(this.curOp&&this.session){if(c&&c.returnValue===!1){this.curOp=null;return}if(this._signal(`beforeEndOperation`),!this.curOp)return;var S=this.curOp.command,A=S&&S.scrollIntoView;if(A){switch(A){case`center-animate`:A=`animate`;case`center`:this.renderer.scrollCursorIntoView(null,.5);break;case`animate`:case`cursor`:this.renderer.scrollCursorIntoView();break;case`selectionPart`:var T=this.selection.getRange(),_=this.renderer.layerConfig;(T.start.row>=_.lastRow||T.end.row<=_.firstRow)&&this.renderer.scrollSelectionIntoView(this.selection.anchor,this.selection.lead);break;default:break}A==`animate`&&this.renderer.animateScrolling(this.curOp.scrollTop)}this.$lastSel=this.session.selection.toJSON(),this.prevOp=this.curOp,this.curOp=null}},f.prototype.$historyTracker=function(c){if(this.$mergeUndoDeltas){var S=this.prevOp,A=this.$mergeableCommands,T=S.command&&c.command.name==S.command.name;if(c.command.name==`insertstring`){var _=c.args;this.mergeNextCommand===void 0&&(this.mergeNextCommand=!0),T=T&&this.mergeNextCommand&&(!/\s/.test(_)||/\s/.test(S.args)),this.mergeNextCommand=!0}else T=T&&A.indexOf(c.command.name)!==-1;this.$mergeUndoDeltas!=`always`&&Date.now()-this.sequenceStartTime>2e3&&(T=!1),T?this.session.mergeUndoDeltas=!0:A.indexOf(c.command.name)!==-1&&(this.sequenceStartTime=Date.now())}},f.prototype.setKeyboardHandler=function(c,S){if(c&&typeof c==`string`&&c!=`ace`){this.$keybindingId=c;var A=this;v.loadModule([`keybinding`,c],function(T){A.$keybindingId==c&&A.keyBinding.setKeyboardHandler(T&&T.handler),S&&S()})}else this.$keybindingId=null,this.keyBinding.setKeyboardHandler(c),S&&S()},f.prototype.getKeyboardHandler=function(){return this.keyBinding.getKeyboardHandler()},f.prototype.setSession=function(c){if(this.session!=c){this.curOp&&this.endOperation(),this.curOp={};var S=this.session;if(S){this.session.off(`change`,this.$onDocumentChange),this.session.off(`changeMode`,this.$onChangeMode),this.session.off(`tokenizerUpdate`,this.$onTokenizerUpdate),this.session.off(`changeTabSize`,this.$onChangeTabSize),this.session.off(`changeWrapLimit`,this.$onChangeWrapLimit),this.session.off(`changeWrapMode`,this.$onChangeWrapMode),this.session.off(`changeFold`,this.$onChangeFold),this.session.off(`changeFrontMarker`,this.$onChangeFrontMarker),this.session.off(`changeBackMarker`,this.$onChangeBackMarker),this.session.off(`changeBreakpoint`,this.$onChangeBreakpoint),this.session.off(`changeAnnotation`,this.$onChangeAnnotation),this.session.off(`changeOverwrite`,this.$onCursorChange),this.session.off(`changeScrollTop`,this.$onScrollTopChange),this.session.off(`changeScrollLeft`,this.$onScrollLeftChange),this.session.off(`startOperation`,this.$onStartOperation),this.session.off(`endOperation`,this.$onEndOperation);var A=this.session.getSelection();A.off(`changeCursor`,this.$onCursorChange),A.off(`changeSelection`,this.$onSelectionChange)}this.session=c,c?(this.$onDocumentChange=this.onDocumentChange.bind(this),c.on(`change`,this.$onDocumentChange),this.renderer.setSession(c),this.$onChangeMode=this.onChangeMode.bind(this),c.on(`changeMode`,this.$onChangeMode),this.$onTokenizerUpdate=this.onTokenizerUpdate.bind(this),c.on(`tokenizerUpdate`,this.$onTokenizerUpdate),this.$onChangeTabSize=this.renderer.onChangeTabSize.bind(this.renderer),c.on(`changeTabSize`,this.$onChangeTabSize),this.$onChangeWrapLimit=this.onChangeWrapLimit.bind(this),c.on(`changeWrapLimit`,this.$onChangeWrapLimit),this.$onChangeWrapMode=this.onChangeWrapMode.bind(this),c.on(`changeWrapMode`,this.$onChangeWrapMode),this.$onChangeFold=this.onChangeFold.bind(this),c.on(`changeFold`,this.$onChangeFold),this.$onChangeFrontMarker=this.onChangeFrontMarker.bind(this),this.session.on(`changeFrontMarker`,this.$onChangeFrontMarker),this.$onChangeBackMarker=this.onChangeBackMarker.bind(this),this.session.on(`changeBackMarker`,this.$onChangeBackMarker),this.$onChangeBreakpoint=this.onChangeBreakpoint.bind(this),this.session.on(`changeBreakpoint`,this.$onChangeBreakpoint),this.$onChangeAnnotation=this.onChangeAnnotation.bind(this),this.session.on(`changeAnnotation`,this.$onChangeAnnotation),this.$onCursorChange=this.onCursorChange.bind(this),this.session.on(`changeOverwrite`,this.$onCursorChange),this.$onScrollTopChange=this.onScrollTopChange.bind(this),this.session.on(`changeScrollTop`,this.$onScrollTopChange),this.$onScrollLeftChange=this.onScrollLeftChange.bind(this),this.session.on(`changeScrollLeft`,this.$onScrollLeftChange),this.selection=c.getSelection(),this.selection.on(`changeCursor`,this.$onCursorChange),this.$onSelectionChange=this.onSelectionChange.bind(this),this.selection.on(`changeSelection`,this.$onSelectionChange),this.$onStartOperation=this.onStartOperation.bind(this),this.session.on(`startOperation`,this.$onStartOperation),this.$onEndOperation=this.onEndOperation.bind(this),this.session.on(`endOperation`,this.$onEndOperation),this.onChangeMode(),this.onCursorChange(),this.onScrollTopChange(),this.onScrollLeftChange(),this.onSelectionChange(),this.onChangeFrontMarker(),this.onChangeBackMarker(),this.onChangeBreakpoint(),this.onChangeAnnotation(),this.session.getUseWrapMode()&&this.renderer.adjustWrapLimit(),this.renderer.updateFull()):(this.selection=null,this.renderer.setSession(c)),this._signal(`changeSession`,{session:c,oldSession:S}),this.curOp=null,S&&S._signal(`changeEditor`,{oldEditor:this}),S&&(S.$editor=null),c&&c._signal(`changeEditor`,{editor:this}),c&&(c.$editor=this),c&&!c.destroyed&&c.bgTokenizer.scheduleStart()}},f.prototype.getSession=function(){return this.session},f.prototype.setValue=function(c,S){return this.session.doc.setValue(c),S?S==1?this.navigateFileEnd():S==-1&&this.navigateFileStart():this.selectAll(),c},f.prototype.getValue=function(){return this.session.getValue()},f.prototype.getSelection=function(){return this.selection},f.prototype.resize=function(c){this.renderer.onResize(c)},f.prototype.setTheme=function(c,S){this.renderer.setTheme(c,S)},f.prototype.getTheme=function(){return this.renderer.getTheme()},f.prototype.setStyle=function(c,S){this.renderer.setStyle(c,S)},f.prototype.unsetStyle=function(c){this.renderer.unsetStyle(c)},f.prototype.getFontSize=function(){return this.getOption(`fontSize`)||M.computedStyle(this.container).fontSize},f.prototype.setFontSize=function(c){this.setOption(`fontSize`,c)},f.prototype.$highlightBrackets=function(){if(!this.$highlightPending){var c=this;this.$highlightPending=!0,setTimeout(function(){c.$highlightPending=!1;var S=c.session;if(!(!S||S.destroyed)){S.$bracketHighlight&&(S.$bracketHighlight.markerIds.forEach(function(W){S.removeMarker(W)}),S.$bracketHighlight=null);var A=c.getCursorPosition(),T=c.getKeyboardHandler(),_=T&&T.$getDirectionForHighlight&&T.$getDirectionForHighlight(c),I=S.getMatchingBracketRanges(A,_);if(!I){var N=new b(S,A.row,A.column).getCurrentToken();if(N&&/\b(?:tag-open|tag-name)/.test(N.type)){var O=S.getMatchingTags(A);
243O&&(I=[O.openTagName.isEmpty()?O.openTag:O.openTagName,O.closeTagName.isEmpty()?O.closeTag:O.closeTagName])}}if(!I&&S.$mode.getMatching&&(I=S.$mode.getMatching(c.session)),!I){c.getHighlightIndentGuides()&&c.renderer.$textLayer.$highlightIndentGuide();return}var B=`ace_bracket`;Array.isArray(I)?I.length==1&&(B=`ace_error_bracket`):I=[I],I.length==2&&(s.comparePoints(I[0].end,I[1].start)==0?I=[s.fromPoints(I[0].start,I[1].end)]:s.comparePoints(I[0].start,I[1].end)==0&&(I=[s.fromPoints(I[1].start,I[0].end)])),S.$bracketHighlight={ranges:I,markerIds:I.map(function(W){return S.addMarker(W,B,`text`)})},c.getHighlightIndentGuides()&&c.renderer.$textLayer.$highlightIndentGuide()}},50)}},f.prototype.focus=function(){this.textInput.focus()},f.prototype.isFocused=function(){return this.textInput.isFocused()},f.prototype.blur=function(){this.textInput.blur()},f.prototype.onFocus=function(c){this.$isFocused||(this.$isFocused=!0,this.renderer.showCursor(),this.renderer.visualizeFocus(),this._emit(`focus`,c))},f.prototype.onBlur=function(c){this.$isFocused&&(this.$isFocused=!1,this.renderer.hideCursor(),this.renderer.visualizeBlur(),this._emit(`blur`,c))},f.prototype.$cursorChange=function(){this.renderer.updateCursor(),this.$highlightBrackets(),this.$updateHighlightActiveLine()},f.prototype.onDocumentChange=function(c){var S=this.session.$useWrapMode,A=c.start.row==c.end.row?c.end.row:Infinity;this.renderer.updateLines(c.start.row,A,S),this._signal(`change`,c),this.$cursorChange()},f.prototype.onTokenizerUpdate=function(c){var S=c.data;this.renderer.updateLines(S.first,S.last)},f.prototype.onScrollTopChange=function(){this.renderer.scrollToY(this.session.getScrollTop())},f.prototype.onScrollLeftChange=function(){this.renderer.scrollToX(this.session.getScrollLeft())},f.prototype.onCursorChange=function(){this.$cursorChange(),this._signal(`changeSelection`)},f.prototype.$updateHighlightActiveLine=function(){var c=this.getSession(),S;if(this.$highlightActiveLine&&((this.$selectionStyle!=`line`||!this.selection.isMultiLine())&&(S=this.getCursorPosition()),this.renderer.theme&&this.renderer.theme.$selectionColorConflict&&!this.selection.isEmpty()&&(S=!1),this.renderer.$maxLines&&this.session.getLength()===1&&!(this.renderer.$minLines>1)&&(S=!1)),c.$highlightLineMarker&&!S)c.removeMarker(c.$highlightLineMarker.id),c.$highlightLineMarker=null;else if(!c.$highlightLineMarker&&S){var A=new s(S.row,S.column,S.row,Infinity);A.id=c.addMarker(A,`ace_active-line`,`screenLine`),c.$highlightLineMarker=A}else S&&(c.$highlightLineMarker.start.row=S.row,c.$highlightLineMarker.end.row=S.row,c.$highlightLineMarker.start.column=S.column,c._signal(`changeBackMarker`))},f.prototype.onSelectionChange=function(c){var S=this.session;if(S.$selectionMarker&&S.removeMarker(S.$selectionMarker),S.$selectionMarker=null,this.selection.isEmpty())this.$updateHighlightActiveLine();else{var A=this.selection.getRange(),T=this.getSelectionStyle();S.$selectionMarker=S.addMarker(A,`ace_selection`,T)}var _=this.$highlightSelectedWord&&this.$getSelectionHighLightRegexp();this.session.highlight(_),this._signal(`changeSelection`)},f.prototype.$getSelectionHighLightRegexp=function(){var c=this.session,S=this.getSelectionRange();if(!(S.isEmpty()||S.isMultiLine())){var A=S.start.column,T=S.end.column,_=c.getLine(S.start.row),I=_.substring(A,T);if(!(I.length>5e3||!/[\w\d]/.test(I))){var D=this.$search.$assembleRegExp({wholeWord:!0,caseSensitive:!0,needle:I}),N=_.substring(A-1,T+1);if(D.test(N))return D}}},f.prototype.onChangeFrontMarker=function(){this.renderer.updateFrontMarkers()},f.prototype.onChangeBackMarker=function(){this.renderer.updateBackMarkers()},f.prototype.onChangeBreakpoint=function(){this.renderer.updateBreakpoints()},f.prototype.onChangeAnnotation=function(){this.renderer.setAnnotations(this.session.getAnnotations())},f.prototype.onChangeMode=function(c){this.renderer.updateText(),this._emit(`changeMode`,c)},f.prototype.onChangeWrapLimit=function(){this.renderer.updateFull()},f.prototype.onChangeWrapMode=function(){this.renderer.onResize(!0)},f.prototype.onChangeFold=function(){this.$updateHighlightActiveLine(),this.renderer.updateFull()},f.prototype.getSelectedText=function(){return this.session.getTextRange(this.getSelectionRange())},f.prototype.getCopyText=function(){var c=this.getSelectedText(),S=this.session.doc.getNewLineCharacter(),A=!1;if(!c&&this.$copyWithEmptySelection){A=!0;for(var T=this.selection.getAllRanges(),_=0;_<T.length;_++){var I=T[_];_&&T[_-1].start.row==I.start.row||(c+=this.session.getLine(I.start.row)+S)}}var D={text:c};return this._signal(`copy`,D),y.lineMode=A?D.text:!1,D.text},f.prototype.onCopy=function(){this.commands.exec(`copy`,this)},f.prototype.onCut=function(){this.commands.exec(`cut`,this)},f.prototype.onPaste=function(c,S){var A={text:c,event:S};this.commands.exec(`paste`,this,A)},f.prototype.$handlePaste=function(c){typeof c==`string`&&(c={text:c}),this._signal(`paste`,c);var S=c.text,A=S===y.lineMode,T=this.session;
243if(!this.inMultiSelectMode||this.inVirtualSelectionMode)A?T.insert({row:this.selection.lead.row,column:0},S):this.insert(S);else if(A)this.selection.rangeList.ranges.forEach(function(B){T.insert({row:B.start.row,column:0},S)});else{var _=S.split(/\r\n|\r|\n/),I=this.selection.rangeList.ranges,D=_.length==2&&(!_[0]||!_[1]);if(_.length!=I.length||D)return this.commands.exec(`insertstring`,this,S);for(var N=I.length;N--;){var O=I[N];O.isEmpty()||T.remove(O),T.insert(O.start,_[N])}}},f.prototype.execCommand=function(c,S){return this.commands.exec(c,this,S)},f.prototype.insert=function(c,S){var A=this.session,T=A.getMode(),_=this.getCursorPosition();if(this.getBehavioursEnabled()&&!S){var I=T.transformAction(A.getState(_.row),`insertion`,this,A,c);I&&(c!==I.text&&(this.inVirtualSelectionMode||(this.session.mergeUndoDeltas=!1,this.mergeNextCommand=!1)),c=I.text)}if(c==`	`&&(c=this.session.getTabString()),this.selection.isEmpty()){if(this.session.getOverwrite()&&c.indexOf(`
244`)==-1){var D=s.fromPoints(_,_);D.end.column+=c.length,this.session.remove(D)}}else{var D=this.getSelectionRange();_=this.session.remove(D),this.clearSelection()}if(c==`
245`||c==`\r
246`){var W=A.getLine(_.row);if(_.column>W.search(/\S|$/)){var N=W.substr(_.column).search(/\S|$/);A.doc.removeInLine(_.row,_.column,_.column+N)}}this.clearSelection();var O=_.column,B=A.getState(_.row),W=A.getLine(_.row),H=T.checkOutdent(B,W,c);if(A.insert(_,c),I&&I.selection&&(I.selection.length==2?this.selection.setSelectionRange(new s(_.row,O+I.selection[0],_.row,O+I.selection[1])):this.selection.setSelectionRange(new s(_.row+I.selection[0],I.selection[1],_.row+I.selection[2],I.selection[3]))),this.$enableAutoIndent){if(A.getDocument().isNewLine(c)){var P=T.getNextLineIndent(B,W.slice(0,_.column),A.getTabString());A.insert({row:_.row+1,column:0},P)}H&&T.autoOutdent(B,A,_.row)}},f.prototype.autoIndent=function(){for(var c=this.session,S=c.getMode(),A=this.selection.isEmpty()?[new s(0,0,c.doc.getLength()-1,0)]:this.selection.getAllRanges(),T=``,_=``,I=``,D=c.getTabString(),N=0;N<A.length;N++)for(var O=A[N].start.row,B=A[N].end.row,W=O;W<=B;W++){W>0&&(T=c.getState(W-1),_=c.getLine(W-1),I=S.getNextLineIndent(T,_,D));var H=c.getLine(W),P=S.$getIndent(H);if(I!==P){if(P.length>0){var V=new s(W,0,W,P.length);c.remove(V)}I.length>0&&c.insert({row:W,column:0},I)}S.autoOutdent(T,c,W)}},f.prototype.onTextInput=function(c,S){if(!S)return this.keyBinding.onTextInput(c);this.startOperation({command:{name:`insertstring`}});var A=this.applyComposition.bind(this,c,S);this.selection.rangeCount?this.forEachSelection(A):A(),this.endOperation()},f.prototype.applyComposition=function(c,S){if(S.extendLeft||S.extendRight){var A=this.selection.getRange();A.start.column-=S.extendLeft,A.end.column+=S.extendRight,A.start.column<0&&(A.start.row--,A.start.column+=this.session.getLine(A.start.row).length+1),this.selection.setRange(A),!c&&!A.isEmpty()&&this.remove()}if((c||!this.selection.isEmpty())&&this.insert(c,!0),S.restoreStart||S.restoreEnd){var A=this.selection.getRange();A.start.column-=S.restoreStart,A.end.column-=S.restoreEnd,this.selection.setRange(A)}},f.prototype.onCommandKey=function(c,S,A){return this.keyBinding.onCommandKey(c,S,A)},f.prototype.setOverwrite=function(c){this.session.setOverwrite(c)},f.prototype.getOverwrite=function(){return this.session.getOverwrite()},f.prototype.toggleOverwrite=function(){this.session.toggleOverwrite()},f.prototype.setScrollSpeed=function(c){this.setOption(`scrollSpeed`,c)},f.prototype.getScrollSpeed=function(){return this.getOption(`scrollSpeed`)},f.prototype.setDragDelay=function(c){this.setOption(`dragDelay`,c)},f.prototype.getDragDelay=function(){return this.getOption(`dragDelay`)},f.prototype.setSelectionStyle=function(c){this.setOption(`selectionStyle`,c)},f.prototype.getSelectionStyle=function(){return this.getOption(`selectionStyle`)},f.prototype.setHighlightActiveLine=function(c){this.setOption(`highlightActiveLine`,c)},f.prototype.getHighlightActiveLine=function(){return this.getOption(`highlightActiveLine`)},f.prototype.setHighlightGutterLine=function(c){this.setOption(`highlightGutterLine`,c)},f.prototype.getHighlightGutterLine=function(){return this.getOption(`highlightGutterLine`)},f.prototype.setHighlightSelectedWord=function(c){this.setOption(`highlightSelectedWord`,c)},f.prototype.getHighlightSelectedWord=function(){return this.$highlightSelectedWord},f.prototype.setAnimatedScroll=function(c){this.renderer.setAnimatedScroll(c)},f.prototype.getAnimatedScroll=function(){return this.renderer.getAnimatedScroll()},f.prototype.setShowInvisibles=function(c){this.renderer.setShowInvisibles(c)},f.prototype.getShowInvisibles=function(){return this.renderer.getShowInvisibles()},f.prototype.setDisplayIndentGuides=function(c){this.renderer.setDisplayIndentGuides(c)},f.prototype.getDisplayIndentGuides=function(){return this.renderer.getDisplayIndentGuides()},f.prototype.setHighlightIndentGuides=function(c){this.renderer.setHighlightIndentGuides(c)},f.prototype.getHighlightIndentGuides=function(){return this.renderer.getHighlightIndentGuides()},f.prototype.setShowPrintMargin=function(c){this.renderer.setShowPrintMargin(c)},f.prototype.getShowPrintMargin=function(){return this.renderer.getShowPrintMargin()},f.prototype.setPrintMarginColumn=function(c){this.renderer.setPrintMarginColumn(c)},f.prototype.getPrintMarginColumn=function(){return this.renderer.getPrintMarginColumn()},f.prototype.setReadOnly=function(c){this.setOption(`readOnly`,c)},f.prototype.getReadOnly=function(){return this.getOption(`readOnly`)},f.prototype.setBehavioursEnabled=function(c){this.setOption(`behavioursEnabled`,c)},f.prototype.getBehavioursEnabled=function(){return this.getOption(`behavioursEnabled`)},f.prototype.setWrapBehavioursEnabled=function(c){this.setOption(`wrapBehavioursEnabled`,c)},f.prototype.getWrapBehavioursEnabled=function(){return this.getOption(`wrapBehavioursEnabled`)},f.prototype.setShowFoldWidgets=function(c){this.setOption(`showFoldWidgets`,c)},f.prototype.getShowFoldWidgets=function(){return this.getOption(`showFoldWidgets`)},f.prototype.setFadeFoldWidgets=function(c){this.setOption(`fadeFoldWidgets`,c)},f.prototype.getFadeFoldWidgets=function(){return this.getOption(`fadeFoldWidgets`)},f.prototype.remove=function(c){this.selection.isEmpty()&&(c==`left`?this.selection.selectLeft():this.selection.selectRight());var S=this.getSelectionRange();if(this.getBehavioursEnabled()){var A=this.session,T=A.getState(S.start.row),_=A.getMode().transformAction(T,`deletion`,this,A,S);if(S.end.column===0){var I=A.getTextRange(S);if(I[I.length-1]==`
247`){var D=A.getLine(S.end.row);/^\s+$/.test(D)&&(S.end.column=D.length)}}_&&(S=_)}this.session.remove(S),this.clearSelection()},f.prototype.removeWordRight=function(){this.selection.isEmpty()&&this.selection.selectWordRight(),this.session.remove(this.getSelectionRange()),this.clearSelection()},f.prototype.removeWordLeft=function(){this.selection.isEmpty()&&this.selection.selectWordLeft(),this.session.remove(this.getSelectionRange()),this.clearSelection()},f.prototype.removeToLineStart=function(){this.selection.isEmpty()&&this.selection.selectLineStart(),this.selection.isEmpty()&&this.selection.selectLeft(),this.session.remove(this.getSelectionRange()),this.clearSelection()},f.prototype.removeToLineEnd=function(){this.selection.isEmpty()&&this.selection.selectLineEnd();var c=this.getSelectionRange();c.start.column==c.end.column&&c.start.row==c.end.row&&(c.end.column=0,c.end.row++),this.session.remove(c),this.clearSelection()},f.prototype.splitLine=function(){this.selection.isEmpty()||(this.session.remove(this.getSelectionRange()),this.clearSelection());var c=this.getCursorPosition();this.insert(`
248`),this.moveCursorToPosition(c)},f.prototype.setGhostText=function(c,S){this.renderer.setGhostText(c,S)},f.prototype.removeGhostText=function(){this.renderer.removeGhostText()},f.prototype.transposeLetters=function(){if(this.selection.isEmpty()){var c=this.getCursorPosition(),S=c.column;if(S!==0){var A=this.session.getLine(c.row),T,_;S<A.length?(T=A.charAt(S)+A.charAt(S-1),_=new s(c.row,S-1,c.row,S+1)):(T=A.charAt(S-1)+A.charAt(S-2),_=new s(c.row,S-2,c.row,S)),this.session.replace(_,T),this.session.selection.moveToPosition(_.end)}}},f.prototype.toLowerCase=function(){var c=this.getSelectionRange();this.selection.isEmpty()&&this.selection.selectWord();var S=this.getSelectionRange(),A=this.session.getTextRange(S);this.session.replace(S,A.toLowerCase()),this.selection.setSelectionRange(c)},f.prototype.toUpperCase=function(){var c=this.getSelectionRange();this.selection.isEmpty()&&this.selection.selectWord();var S=this.getSelectionRange(),A=this.session.getTextRange(S);this.session.replace(S,A.toUpperCase()),this.selection.setSelectionRange(c)},f.prototype.indent=function(){var c=this.session,S=this.getSelectionRange();if(S.start.row<S.end.row){var A=this.$getSelectedRows();c.indentRows(A.first,A.last,`	`);return}else if(S.start.column<S.end.column){var T=c.getTextRange(S);if(!/^\s+$/.test(T)){var A=this.$getSelectedRows();c.indentRows(A.first,A.last,`	`);return}}var _=c.getLine(S.start.row),I=S.start,D=c.getTabSize(),N=c.documentToScreenColumn(I.row,I.column);if(this.session.getUseSoftTabs())var O=D-N%D,B=a.stringRepeat(` `,O);else{for(var O=N%D;_[S.start.column-1]==` `&&O;)S.start.column--,O--;this.selection.setSelectionRange(S),B=`	`}return this.insert(B)},f.prototype.blockIndent=function(){var c=this.$getSelectedRows();this.session.indentRows(c.first,c.last,`	`)},f.prototype.blockOutdent=function(){var c=this.session.getSelection();this.session.outdentRows(c.getRange())},f.prototype.sortLines=function(){for(var c=this.$getSelectedRows(),S=this.session,A=[],T=c.first;T<=c.last;T++)A.push(S.getLine(T));A.sort(function(D,N){return D.toLowerCase()<N.toLowerCase()?-1:D.toLowerCase()>N.toLowerCase()?1:0});for(var _=new s(0,0,0,0),T=c.first;T<=c.last;T++){var I=S.getLine(T);_.start.row=T,_.end.row=T,_.end.column=I.length,S.replace(_,A[T-c.first])}},f.prototype.toggleCommentLines=function(){var c=this.session.getState(this.getCursorPosition().row),S=this.$getSelectedRows();this.session.getMode().toggleCommentLines(c,this.session,S.first,S.last)},f.prototype.toggleBlockComment=function(){var c=this.getCursorPosition(),S=this.session.getState(c.row),A=this.getSelectionRange();this.session.getMode().toggleBlockComment(S,this.session,A,c)},f.prototype.getNumberAt=function(c,S){var A=/[\-]?[0-9]+(?:\.[0-9]+)?/g;A.lastIndex=0;for(var T=this.session.getLine(c);A.lastIndex<S;){var _=A.exec(T);if(_.index<=S&&_.index+_[0].length>=S)return{value:_[0],start:_.index,end:_.index+_[0].length}}return null},f.prototype.modifyNumber=function(c){var S=this.selection.getCursor().row,A=this.selection.getCursor().column,T=new s(S,A-1,S,A),_=this.session.getTextRange(T);if(!isNaN(parseFloat(_))&&isFinite(_)){var I=this.getNumberAt(S,A);if(I){var D=I.value.indexOf(`.`)>=0?I.start+I.value.indexOf(`.`)+1:I.end,N=I.start+I.value.length-D,O=parseFloat(I.value);O*=Math.pow(10,N),D!==I.end&&A<D?c*=Math.pow(10,I.end-A-1):c*=Math.pow(10,I.end-A),O+=c,O/=Math.pow(10,N);var B=O.toFixed(N),W=new s(S,I.start,S,I.end);this.session.replace(W,B),this.moveCursorTo(S,Math.max(I.start+1,A+B.length-I.value.length))}}else this.toggleWord()},f.prototype.toggleWord=function(){var c=this.selection.getCursor().row,S=this.selection.getCursor().column;this.selection.selectWord();var A=this.getSelectedText(),T=this.selection.getWordRange().start.column,_=A.replace(/([a-z]+|[A-Z]+)(?=[A-Z_]|$)/g,`$1 `).split(/\s/),I=S-T-1;I<0&&(I=0);var D=0,N=0,O=this;A.match(/[A-Za-z0-9_]+/)&&_.forEach(function(j,Y){N=D+j.length,I>=D&&I<=N&&(A=j,O.selection.clearSelection(),O.moveCursorTo(c,D+T),O.selection.selectTo(c,N+T)),D=N});for(var B=this.$toggleWordPairs,W,H=0;H<B.length;H++)for(var P=B[H],V=0;V<=1;V++){var z=+!V,U=A.match(new RegExp(`^\\s?_?(`+a.escapeRegExp(P[V])+`)\\s?$`,`i`));if(U)A.match(new RegExp(`([_]|^|\\s)(`+a.escapeRegExp(U[1])+`)($|\\s
248)`,`g`))&&(W=A.replace(new RegExp(a.escapeRegExp(P[V]),`i`),function(j){var Y=P[z];return j.toUpperCase()==j?Y=Y.toUpperCase():j.charAt(0).toUpperCase()==j.charAt(0)&&(Y=Y.substr(0,0)+P[z].charAt(0).toUpperCase()+Y.substr(1)),Y}),this.insert(W),W=``)}},f.prototype.findLinkAt=function(c,S){var A,T,I=this.session.getLine(c).split(/((?:https?|ftp):\/\/[\S]+)/),D=S;D<0&&(D=0);var N=0,O=0,B;try{for(var W=k(I),H=W.next();!H.done;H=W.next()){var P=H.value;if(O=N+P.length,D>=N&&D<=O&&P.match(/((?:https?|ftp):\/\/[\S]+)/)){B=P.replace(/[\s:.,'";}\]]+$/,``);break}N=O}}catch(V){A={error:V}}finally{try{H&&!H.done&&(T=W.return)&&T.call(W)}finally{if(A)throw A.error}}return B},f.prototype.openLink=function(){var c=this.selection.getCursor(),S=this.findLinkAt(c.row,c.column);return S&&window.open(S,`_blank`),S!=null},f.prototype.removeLines=function(){var c=this.$getSelectedRows();this.session.removeFullLines(c.first,c.last),this.clearSelection()},f.prototype.duplicateSelection=function(){var c=this.selection,S=this.session,A=c.getRange(),T=c.isBackwards();if(A.isEmpty()){var _=A.start.row;S.duplicateLines(_,_)}else{var I=T?A.start:A.end,D=S.insert(I,S.getTextRange(A));A.start=I,A.end=D,c.setSelectionRange(A,T)}},f.prototype.moveLinesDown=function(){this.$moveLines(1,!1)},f.prototype.moveLinesUp=function(){this.$moveLines(-1,!1)},f.prototype.moveText=function(c,S,A){return this.session.moveText(c,S,A)},f.prototype.copyLinesUp=function(){this.$moveLines(-1,!0)},f.prototype.copyLinesDown=function(){this.$moveLines(1,!0)},f.prototype.$moveLines=function(c,S){var A,T,_=this.selection;if(!_.inMultiSelectMode||this.inVirtualSelectionMode){var I=_.toOrientedRange();A=this.$getSelectedRows(I),T=this.session.$moveLines(A.first,A.last,S?0:c),S&&c==-1&&(T=0),I.moveBy(T,0),_.fromOrientedRange(I)}else{var D=_.rangeList.ranges;_.rangeList.detach(this.session),this.inVirtualSelectionMode=!0;for(var N=0,O=0,B=D.length,W=0;W<B;W++){var H=W;D[W].moveBy(N,0),A=this.$getSelectedRows(D[W]);for(var P=A.first,V=A.last;++W<B;){O&&D[W].moveBy(O,0);var z=this.$getSelectedRows(D[W]);if(S&&z.first!=V)break;if(!S&&z.first>V+1)break;V=z.last}for(W--,N=this.session.$moveLines(P,V,S?0:c),S&&c==-1&&(H=W+1);H<=W;)D[H].moveBy(N,0),H++;S||(N=0),O+=N}_.fromOrientedRange(_.ranges[0]),_.rangeList.attach(this.session),this.inVirtualSelectionMode=!1}},f.prototype.$getSelectedRows=function(c){return c=(c||this.getSelectionRange()).collapseRows(),{first:this.session.getRowFoldStart(c.start.row),last:this.session.getRowFoldEnd(c.end.row)}},f.prototype.onCompositionStart=function(c){this.renderer.showComposition(c)},f.prototype.onCompositionUpdate=function(c){this.renderer.setCompositionText(c)},f.prototype.onCompositionEnd=function(){this.renderer.hideComposition()},f.prototype.getFirstVisibleRow=function(){return this.renderer.getFirstVisibleRow()},f.prototype.getLastVisibleRow=function(){return this.renderer.getLastVisibleRow()},f.prototype.isRowVisible=function(c){return c>=this.getFirstVisibleRow()&&c<=this.getLastVisibleRow()},f.prototype.isRowFullyVisible=function(c){return c>=this.renderer.getFirstFullyVisibleRow()&&c<=this.renderer.getLastFullyVisibleRow()},f.prototype.$getVisibleRowCount=function(){return this.renderer.getScrollBottomRow()-this.renderer.getScrollTopRow()+1},f.prototype.$moveByPage=function(c,S){var A=this.renderer,T=this.renderer.layerConfig,_=c*Math.floor(T.height/T.lineHeight);S===!0?this.selection.$moveSelection(function(){this.moveCursorBy(_,0)}):S===!1&&(this.selection.moveCursorBy(_,0),this.selection.clearSelection());var I=A.scrollTop;A.scrollBy(0,_*T.lineHeight),S!=null&&A.scrollCursorIntoView(null,.5),A.animateScrolling(I)},f.prototype.selectPageDown=function(){this.$moveByPage(1,!0)},f.prototype.selectPageUp=function(){this.$moveByPage(-1,!0)},f.prototype.gotoPageDown=function(){this.$moveByPage(1,!1)},f.prototype.gotoPageUp=function(){this.$moveByPage(-1,!1)},f.prototype.scrollPageDown=function(){this.$moveByPage(1)},f.prototype.scrollPageUp=function(){this.$moveByPage(-1)},f.prototype.scrollToRow=function(c){this.renderer.scrollToRow(c)},f.prototype.scrollToLine=function(c,S,A,T){this.renderer.scrollToLine(c,S,A,T)},f.prototype.centerSelection=function(){var c=this.getSelectionRange(),S={row:Math.floor(c.start.row+(c.end.row-c.start.row)/2),column:Math.floor(c.start.column+(c.end.column-c.start.column)/2)};this.renderer.alignCursor(S,.5)},f.prototype.getCursorPosition=function(){return this.selection.getCursor()},f.prototype.getCursorPositionScreen=function(){return this.session.documentToScreenPosition(this.getCursorPosition())},f.prototype.getSelectionRange=function(){return this.selection.getRange()},f.prototype.selectAll=function(){this.selection.selectAll()},f.prototype.clearSelection=function(){this.selection.clearSelection()},f.prototype.moveCursorTo=function(c,S){this.selection.moveCursorTo(c,S)},f.prototype.moveCursorToPosition=function(c){this.selection.moveCursorToPosition(c)},f.prototype.jumpToMatching=function(c,S){var A=this.getCursorPosition(),T=new b(this.session,A.row,A.column),_=T.getCurrentToken(),I=0;_&&_.type.indexOf(`tag-name`)!==-1&&(_=T.stepBackward());var D=_||T.stepForward();if(D){var N,O=!1,B={},W=A.column-D.start,H,P={")":`(`,"(":`(`,"]":`[`,"[":`[`,"{":`{`,"}":`{`};do{if(D.value.match(/[{}()\[\]]/g)){for(;W<D.value.length&&!O;W++)if(P[D.value[W]])switch(H=P[D.value[W]]+`.`+D.type.replace(`rparen`,`lparen`),isNaN(B[H])&&
248(B[H]=0),D.value[W]){case`(`:case`[`:case`{`:B[H]++;break;case`)`:case`]`:case`}`:B[H]--,B[H]===-1&&(N=`bracket`,O=!0);break}}else D.type.indexOf(`tag-name`)!==-1&&(isNaN(B[D.value])&&(B[D.value]=0),_.value===`<`&&I>1?B[D.value]++:_.value===`</`&&B[D.value]--,B[D.value]===-1&&(N=`tag`,O=!0));O||(_=D,I++,D=T.stepForward(),W=0)}while(D&&!O);if(N){var V,z;if(N===`bracket`)V=this.session.getBracketRange(A),V||(V=new s(T.getCurrentTokenRow(),T.getCurrentTokenColumn()+W-1,T.getCurrentTokenRow(),T.getCurrentTokenColumn()+W-1),z=V.start,(S||z.row===A.row&&Math.abs(z.column-A.column)<2)&&(V=this.session.getBracketRange(z)));else if(N===`tag`){if(!D||D.type.indexOf(`tag-name`)===-1)return;if(V=new s(T.getCurrentTokenRow(),T.getCurrentTokenColumn()-2,T.getCurrentTokenRow(),T.getCurrentTokenColumn()-2),V.compare(A.row,A.column)===0){var U=this.session.getMatchingTags(A);U&&(U.openTag.contains(A.row,A.column)?(V=U.closeTag,z=V.start):(V=U.openTag,U.closeTag.start.row===A.row&&U.closeTag.start.column===A.column?z=V.end:z=V.start))}z=z||V.start}z=V&&V.cursor||z,z&&(c?V&&S?this.selection.setRange(V):V&&V.isEqual(this.getSelectionRange())?this.clearSelection():this.selection.selectTo(z.row,z.column):this.selection.moveTo(z.row,z.column))}}},f.prototype.gotoLine=function(c,S,A){this.selection.clearSelection(),this.session.unfold({row:c-1,column:S||0}),this.exitMultiSelectMode&&this.exitMultiSelectMode(),this.moveCursorTo(c-1,S||0),this.isRowFullyVisible(c-1)||this.scrollToLine(c-1,!0,A)},f.prototype.navigateTo=function(c,S){this.selection.moveTo(c,S)},f.prototype.navigateUp=function(c){if(this.selection.isMultiLine()&&!this.selection.isBackwards()){var S=this.selection.anchor.getPosition();return this.moveCursorToPosition(S)}this.selection.clearSelection(),this.selection.moveCursorBy(-c||-1,0)},f.prototype.navigateDown=function(c){if(this.selection.isMultiLine()&&this.selection.isBackwards()){var S=this.selection.anchor.getPosition();return this.moveCursorToPosition(S)}this.selection.clearSelection(),this.selection.moveCursorBy(c||1,0)},f.prototype.navigateLeft=function(c){if(this.selection.isEmpty())for(c=c||1;c--;)this.selection.moveCursorLeft();else{var S=this.getSelectionRange().start;this.moveCursorToPosition(S)}this.clearSelection()},f.prototype.navigateRight=function(c){if(this.selection.isEmpty())for(c=c||1;c--;)this.selection.moveCursorRight();else{var S=this.getSelectionRange().end;this.moveCursorToPosition(S)}this.clearSelection()},f.prototype.navigateLineStart=function(){this.selection.moveCursorLineStart(),this.clearSelection()},f.prototype.navigateLineEnd=function(){this.selection.moveCursorLineEnd(),this.clearSelection()},f.prototype.navigateFileEnd=function(){this.selection.moveCursorFileEnd(),this.clearSelection()},f.prototype.navigateFileStart=function(){this.selection.moveCursorFileStart(),this.clearSelection()},f.prototype.navigateWordRight=function(){this.selection.moveCursorWordRight(),this.clearSelection()},f.prototype.navigateWordLeft=function(){this.selection.moveCursorWordLeft(),this.clearSelection()},f.prototype.replace=function(c,S){S&&this.$search.set(S);var A=this.$search.find(this.session),T=0;return A&&(this.$tryReplace(A,c)&&(T=1),this.selection.setSelectionRange(A),this.renderer.scrollSelectionIntoView(A.start,A.end)),T},f.prototype.replaceAll=function(c,S){S&&this.$search.set(S);var A=this.$search.findAll(this.session),T=0;if(!A.length)return T;var _=this.getSelectionRange();this.selection.moveTo(0,0);for(var I=A.length-1;I>=0;--I)this.$tryReplace(A[I],c)&&T++;return this.selection.setSelectionRange(_),T},f.prototype.$tryReplace=function(c,S){var A=this.session.getTextRange(c);return S=this.$search.replace(A,S),S!==null?(c.end=this.session.replace(c,S),c):null},f.prototype.getLastSearchOptions=function(){return this.$search.getOptions()},f.prototype.find=function(c,S,A){S||(S={}),typeof c==`string`||c instanceof RegExp?S.needle=c:typeof c==`object`&&L.mixin(S,c);var T=this.selection.getRange();S.needle??(c=this.session.getTextRange(T)||this.$search.$options.needle,c||(T=this.session.getWordRange(T.start.row,T.start.column),c=this.session.getTextRange(T)),this.$search.set({needle:c})),this.$search.set(S),S.start||this.$search.set({start:T});var _=this.$search.find(this.session);if(S.preventScroll)return _;if(_)return this.revealRange(_,A),_;S.backwards?T.start=T.end:T.end=T.start,this.selection.setRange(T)}
248,f.prototype.findNext=function(c,S){this.find({skipCurrent:!0,backwards:!1},c,S)},f.prototype.findPrevious=function(c,S){this.find(c,{skipCurrent:!0,backwards:!0},S)},f.prototype.revealRange=function(c,S){this.session.unfold(c),this.selection.setSelectionRange(c);var A=this.renderer.scrollTop;this.renderer.scrollSelectionIntoView(c.start,c.end,.5),S!==!1&&this.renderer.animateScrolling(A)},f.prototype.undo=function(){this.session.getUndoManager().undo(this.session),this.renderer.scrollCursorIntoView(null,.5)},f.prototype.redo=function(){this.session.getUndoManager().redo(this.session),this.renderer.scrollCursorIntoView(null,.5)},f.prototype.destroy=function(){this.destroyed=!0,this.$toDestroy&&(this.$toDestroy.forEach(function(c){c.destroy()}),this.$toDestroy=[]),this.$mouseHandler&&this.$mouseHandler.destroy(),this.renderer.destroy(),this._signal(`destroy`,this),this.session&&this.session.destroy(),this._$emitInputEvent&&this._$emitInputEvent.cancel(),this.removeAllListeners()},f.prototype.setAutoScrollEditorIntoView=function(c){if(c){var S,A=this,T=!1;this.$scrollAnchor||(this.$scrollAnchor=document.createElement(`div`));var _=this.$scrollAnchor;_.style.cssText=`position:absolute`,this.container.insertBefore(_,this.container.firstChild);var I=this.on(`changeSelection`,function(){T=!0}),D=this.renderer.on(`beforeRender`,function(){T&&(S=A.renderer.container.getBoundingClientRect())}),N=this.renderer.on(`afterRender`,function(){if(T&&S&&(A.isFocused()||A.searchBox&&A.searchBox.isFocused())){var O=A.renderer,B=O.$cursorLayer.$pixelPos,W=O.layerConfig,H=B.top-W.offset;B.top>=0&&H+S.top<0?T=!0:B.top<W.height&&B.top+S.top+W.lineHeight>window.innerHeight?T=!1:T=null,T!=null&&(_.style.top=H+`px`,_.style.left=B.left+`px`,_.style.height=W.lineHeight+`px`,_.scrollIntoView(T)),T=S=null}});this.setAutoScrollEditorIntoView=function(O){O||(delete this.setAutoScrollEditorIntoView,this.off(`changeSelection`,I),this.renderer.off(`afterRender`,N),this.renderer.off(`beforeRender`,D))}}},f.prototype.$resetCursorStyle=function(){var c=this.$cursorStyle||`ace`,S=this.renderer.$cursorLayer;S&&(S.setSmoothBlinking(/smooth/.test(c)),S.isBlinking=!this.$readOnly&&c!=`wide`,M.setCssClass(S.element,`ace_slim-cursors`,/slim/.test(c)))},f.prototype.prompt=function(c,S,A){var T=this;v.loadModule(`ace/ext/prompt`,function(_){_.prompt(T,c,S,A)})},f})();w.$uid=0,w.prototype.curOp=null,w.prototype.prevOp={},w.prototype.$mergeableCommands=[`backspace`,`del`,`insertstring`],w.prototype.$toggleWordPairs=[[`first`,`last`],[`true`,`false`],[`yes`,`no`],[`width`,`height`],[`top`,`bottom`],[`right`,`left`],[`on`,`off`],[`x`,`y`],[`get`,`set`],[`max`,`min`],[`horizontal`,`vertical`],[`show`,`hide`],[`add`,`remove`],[`up`,`down`],[`before`,`after`],[`even`,`odd`],[`in`,`out`],[`inside`,`outside`],[`next`,`previous`],[`increase`,`decrease`],[`attach`,`detach`],[`&&`,`||`],[`==`,`!=`]],L.implement(w.prototype,d),v.defineOptions(w.prototype,`editor`,{selectionStyle:{set:function(f){this.onSelectionChange(),this._signal(`changeSelectionStyle`,{data:f})},initialValue:`line`},highlightActiveLine:{set:function(){this.$updateHighlightActiveLine()},initialValue:!0},highlightSelectedWord:{set:function(f){this.$onSelectionChange()},initialValue:!0},readOnly:{set:function(f){var c=this;if(this.textInput.setReadOnly(f),!this.destroyed){this.$resetCursorStyle(),this.$readOnlyCallback||(this.$readOnlyCallback=function(A){var T=!1;if(A&&A.type==`keydown`){if(A&&A.key&&!A.ctrlKey&&!A.metaKey&&(A.key==` `&&A.preventDefault(),T=A.key.length==1),!T)return}else A&&A.type!==`exec`&&(T=!0);if(T){c.hoverTooltip||(c.hoverTooltip=new x);var _=M.createElement(`div`);_.textContent=h(`editor.tooltip.disable-editing`,`Editing is disabled`),c.hoverTooltip.isOpen||c.hoverTooltip.showForRange(c,c.getSelectionRange(),_)}else c.hoverTooltip&&c.hoverTooltip.isOpen&&c.hoverTooltip.hide()});var S=this.textInput.getElement();f?(C.addListener(S,`keydown`,this.$readOnlyCallback,this),this.commands.on(`exec`,this.$readOnlyCallback),this.commands.on(`commandUnavailable`,this.$readOnlyCallback)):(C.removeListener(S,`keydown`,this.$readOnlyCallback),this.commands.off(`exec`,this.$readOnlyCallback),this.commands.off(`commandUnavailable`,this.$readOnlyCallback),this.hoverTooltip&&(this.hoverTooltip.destroy(),this.hoverTooltip=null))}},initialValue:!1},copyWithEmptySelection:{set:function(f){this.textInput.setCopyWithEmptySelection(f)},initialValue:!1},cursorStyle:{set:function(f){this.$resetCursorStyle()},values:[`ace`,`slim`,`smooth`,`wide`],initialValue:`ace`},mergeUndoDeltas:{values:[!1,!0,`always`],initialValue:!0},behavioursEnabled:{initialValue:!0},wrapBehavioursEnabled:{initialValue:!0},enableAutoIndent:{initialValue:!0},autoScrollEditorIntoView:{set:function(f){this.setAutoScrollEditorIntoView(f)}}
248,keyboardHandler:{set:function(f){this.setKeyboardHandler(f)},get:function(){return this.$keybindingId},handlesSet:!0},value:{set:function(f){this.session.setValue(f)},get:function(){return this.getValue()},handlesSet:!0,hidden:!0},session:{set:function(f){this.setSession(f)},get:function(){return this.session},handlesSet:!0,hidden:!0},showLineNumbers:{set:function(f){this.renderer.$gutterLayer.setShowLineNumbers(f),this.renderer.$loop.schedule(this.renderer.CHANGE_GUTTER),f&&this.$relativeLineNumbers?p.attach(this):p.detach(this)},initialValue:!0},relativeLineNumbers:{set:function(f){this.$showLineNumbers&&f?p.attach(this):p.detach(this)}},placeholder:{set:function(f){this.$updatePlaceholder||(this.$updatePlaceholder=function(){var c=this.session&&(this.renderer.$composition||this.session.getLength()>1||this.session.getLine(0).length>0);if(c&&this.renderer.placeholderNode)this.renderer.off(`afterRender`,this.$updatePlaceholder),M.removeCssClass(this.container,`ace_hasPlaceholder`),this.renderer.placeholderNode.remove(),this.renderer.placeholderNode=null;else if(!c&&!this.renderer.placeholderNode){this.renderer.on(`afterRender`,this.$updatePlaceholder),M.addCssClass(this.container,`ace_hasPlaceholder`);var S=M.createElement(`div`);S.className=`ace_placeholder`,S.textContent=this.$placeholder||``,this.renderer.placeholderNode=S,this.renderer.content.appendChild(this.renderer.placeholderNode)}else!c&&this.renderer.placeholderNode&&(this.renderer.placeholderNode.textContent=this.$placeholder||``)}.bind(this),this.on(`input`,this.$updatePlaceholder)),this.$updatePlaceholder()}},enableKeyboardAccessibility:{set:function(f){var c={name:`blurTextInput`,description:`Set focus to the editor content div to allow tabbing through the page`,bindKey:`Esc`,exec:function(T){T.blur(),T.renderer.scroller.focus()},readOnly:!0},S=function(T){if(T.target==this.renderer.scroller&&T.keyCode===m.enter){T.preventDefault();var _=this.getCursorPosition().row;this.isRowVisible(_)||this.scrollToLine(_,!0,!0),this.focus()}},A;f?(this.renderer.enableKeyboardAccessibility=!0,this.renderer.keyboardFocusClassName=`ace_keyboard-focus`,this.textInput.getElement().setAttribute(`tabindex`,-1),this.textInput.setNumberOfExtraLines(l.isWin?3:0),this.renderer.scroller.setAttribute(`tabindex`,0),this.renderer.scroller.setAttribute(`role`,`group`),this.renderer.scroller.setAttribute(`aria-roledescription`,h(`editor.scroller.aria-roledescription`,`editor`)),this.renderer.scroller.classList.add(this.renderer.keyboardFocusClassName),this.renderer.scroller.setAttribute(`aria-label`,h(`editor.scroller.aria-label`,`Editor content, press Enter to start editing, press Escape to exit`)),this.renderer.scroller.addEventListener(`keyup`,S.bind(this)),this.commands.addCommand(c),this.renderer.$gutter.setAttribute(`tabindex`,0),this.renderer.$gutter.setAttribute(`aria-hidden`,!1),this.renderer.$gutter.setAttribute(`role`,`group`),this.renderer.$gutter.setAttribute(`aria-roledescription`,h(`editor.gutter.aria-roledescription`,`editor gutter`)),this.renderer.$gutter.setAttribute(`aria-label`,h(`editor.gutter.aria-label`,`Editor gutter, press Enter to interact with controls using arrow keys, press Escape to exit`)),this.renderer.$gutter.classList.add(this.renderer.keyboardFocusClassName),this.renderer.content.setAttribute(`aria-hidden`,!0),A||(A=new u(this)),A.addListener(),this.textInput.setAriaOptions({setLabel:!0})):(this.renderer.enableKeyboardAccessibility=!1,this.textInput.getElement().setAttribute(`tabindex`,0),this.textInput.setNumberOfExtraLines(0),this.renderer.scroller.setAttribute(`tabindex`,-1),this.renderer.scroller.removeAttribute(`role`),this.renderer.scroller.removeAttribute(`aria-roledescription`),this.renderer.scroller.classList.remove(this.renderer.keyboardFocusClassName),this.renderer.scroller.removeAttribute(`aria-label`),this.renderer.scroller.removeEventListener(`keyup`,S.bind(this)),this.commands.removeCommand(c),this.renderer.content.removeAttribute(`aria-hidden`),this.renderer.$gutter.setAttribute(`tabindex`,-1),this.renderer.$gutter.setAttribute(`aria-hidden`,!0),this.renderer.$gutter.removeAttribute(`role`),this.renderer.$gutter.removeAttribute(`aria-roledescription`),this.renderer.$gutter.removeAttribute(`aria-label`),this.renderer.$gutter.classList.remove(this.renderer.keyboardFocusClassName),A&&A.removeListener())},initialValue:!1},textInputAriaLabel:{set:function(f){this.$textInputAriaLabel=f},initialValue:``},enableMobileMenu:{set:function(f){this.$enableMobileMenu=f},initialValue:!0},customScrollbar:`renderer`,hScrollBarAlwaysVisible:`renderer`,vScrollBarAlwaysVisible:`renderer`,highlightGutterLine:`renderer`,animatedScroll:`renderer`,showInvisibles:`renderer`,showPrintMargin:`renderer`,printMarginColumn:`renderer`,printMargin:`renderer`,fadeFoldWidgets:`renderer`,showFoldWidgets:`renderer`,displayIndentGuides:`renderer`,highlightIndentGuides:`renderer`,showGutter:`renderer`,fontSize:`renderer`,fontFamily:`renderer`,maxLines:`renderer`,minLines:`renderer`,scrollPastEnd:`renderer`,fixedWidthGutter:`renderer`,theme:`renderer`,hasCssTransforms:`renderer`,maxPixelHeight:`renderer`,useTextareaForIME:`renderer`,useResizeObserver:`renderer`,useSvgGutterIcons:`renderer`,showFoldedAnnotations:`renderer`,scrollSpeed:`$mouseHandler`,dragDelay:`$mouseHandler`,dragEnabled:`$mouseHandler`,focusTimeout:`$mouseHandler`,firstLineNumber:`session`,overwrite:`session`,newLineMode:`session`,useWorker:`session`,useSoftTabs:`session`,navigateWithinSoftTabs:`session`,tabSize:`session`,wrap:`session`,indentedSoftWrap:`session`,foldStyle:`session`,mode:`session`});var p={getText:function(f,c){return(Math.abs(f.selection.lead.row-c)||c+1+(c<9?`·`:``))+``},getWidth:function(f,c,S){return Math.max(c.toString().length,(S.lastRow+1).toString().length,2)*S.characterWidth},update:function(f,c){c.renderer.$loop.schedule(c.renderer.CHANGE_GUTTER)},attach:function(f){f.renderer.$gutterLayer.$renderer=this,f.on(`changeSelection`,this.update),this.update(null,f)},detach:function(f){f.renderer.$gutterLayer.$renderer==this&&(f.renderer.$gutterLayer.$renderer=null),f.off(`changeSelection`,this.update),this.update(null,f)}};E.Editor=w});ace.define(`ace/layer/lines`,[`require`,`exports`,`module`,`ace/lib/dom`],function(R,E,F){"use strict";var k=R(`../lib/dom`);E.Lines=(function(){function M(a,l){this.element=a,this.canvasHeight=l||5e5,this.element.style.height=this.canvasHeight*2+`px`,this.cells=[],this.cellCache=[],this.$offsetCoefficient=0}return M.prototype.moveContainer=function(a){k.translate(this.element,0,-(a.firstRowScreen*a.lineHeight%this.canvasHeight)-a.offset*this.$offsetCoefficient)}
248,M.prototype.pageChanged=function(a,l){return Math.floor(a.firstRowScreen*a.lineHeight/this.canvasHeight)!==Math.floor(l.firstRowScreen*l.lineHeight/this.canvasHeight)},M.prototype.computeLineTop=function(a,l,r){var o=l.firstRowScreen*l.lineHeight,i=Math.floor(o/this.canvasHeight);return r.documentToScreenRow(a,0)*l.lineHeight-i*this.canvasHeight},M.prototype.computeLineHeight=function(a,l,r){return l.lineHeight*r.getRowLineCount(a)},M.prototype.getLength=function(){return this.cells.length},M.prototype.get=function(a){return this.cells[a]},M.prototype.shift=function(){this.$cacheCell(this.cells.shift())},M.prototype.pop=function(){this.$cacheCell(this.cells.pop())},M.prototype.push=function(a){if(Array.isArray(a)){this.cells.push.apply(this.cells,a);for(var l=k.createFragment(this.element),r=0;r<a.length;r++)l.appendChild(a[r].element);this.element.appendChild(l)}else this.cells.push(a),this.element.appendChild(a.element)},M.prototype.unshift=function(a){if(Array.isArray(a)){this.cells.unshift.apply(this.cells,a);for(var l=k.createFragment(this.element),r=0;r<a.length;r++)l.appendChild(a[r].element);this.element.firstChild?this.element.insertBefore(l,this.element.firstChild):this.element.appendChild(l)}else this.cells.unshift(a),this.element.insertAdjacentElement(`afterbegin`,a.element)},M.prototype.last=function(){return this.cells.length?this.cells[this.cells.length-1]:null},M.prototype.$cacheCell=function(a){a&&(a.element.remove(),this.cellCache.push(a))},M.prototype.createCell=function(a,l,r,o){var i=this.cellCache.pop();if(!i){var t=k.createElement(`div`);o&&o(t),this.element.appendChild(t),i={element:t,text:``,row:a}}return i.row=a,i},M})()});ace.define(`ace/layer/gutter`,[`require`,`exports`,`module`,`ace/lib/dom`,`ace/lib/oop`,`ace/lib/lang`,`ace/lib/event_emitter`,`ace/layer/lines`,`ace/config`],function(R,E,F){"use strict";var k=R(`../lib/dom`),L=R(`../lib/oop`),M=R(`../lib/lang`),a=R(`../lib/event_emitter`).EventEmitter,l=R(`./lines`).Lines,r=R(`../config`).nls,o=(function(){function t(e){this.$showCursorMarker=null,this.element=k.createElement(`div`),this.element.className=`ace_layer ace_gutter-layer`,e.appendChild(this.element),this.setShowFoldWidgets(this.$showFoldWidgets),this.gutterWidth=0,this.$annotations=[],this.$updateAnnotations=this.$updateAnnotations.bind(this),this.$lines=new l(this.element),this.$lines.$offsetCoefficient=1}return t.prototype.setSession=function(e){this.session&&this.session.off(`change`,this.$updateAnnotations),this.session=e,e&&e.on(`change`,this.$updateAnnotations)},t.prototype.addGutterDecoration=function(e,n){window.console&&console.warn&&console.warn(`deprecated use session.addGutterDecoration`),this.session.addGutterDecoration(e,n)},t.prototype.removeGutterDecoration=function(e,n){window.console&&console.warn&&console.warn(`deprecated use session.removeGutterDecoration`),this.session.removeGutterDecoration(e,n)},t.prototype.setAnnotations=function(e){this.$annotations=[];for(var n=0;n<e.length;n++){var s=e[n],d=s.row,g=this.$annotations[d];g||(g=this.$annotations[d]={text:[],type:[],displayText:[]});var $=s.text,v=s.text,b=s.type;$=$?M.escapeHTML($):s.html||``,v=v||s.html||``,g.text.indexOf($)===-1&&(g.text.push($),g.type.push(b),g.displayText.push(v));var u=s.className;u?g.className=u:b===`error`?g.className=` ace_error`:b===`security`&&!/\bace_error\b/.test(g.className)?g.className=` ace_security`:b===`warning`&&!/\bace_(error|security)\b/.test(g.className)?g.className=` ace_warning`:b===`info`&&!g.className?g.className=` ace_info`:b===`hint`&&!g.className&&(g.className=` ace_hint`)}},t.prototype.$updateAnnotations=function(e){if(this.$annotations.length){var n=e.start.row,s=e.end.row-n;if(s!==0)if(e.action==`remove`)this.$annotations.splice(n,s+1,null);else{var d=new Array(s+1);d.unshift(n,1),this.$annotations.splice.apply(this.$annotations,d)}}},t.prototype.update=function(e){this.config=e;var n=this.session,s=e.firstRow,d=Math.min(e.lastRow+e.gutterOffset,n.getLength()-1);this.oldLastRow=d,this.config=e,this.$lines.moveContainer(e),this.$updateCursorRow();for(var g=n.getNextFoldLine(s),$=g?g.start.row:Infinity,v=null,b=-1,u=s;;){if(u>$&&(u=g.end.row+1,g=n.getNextFoldLine(u,g),$=g?g.start.row:Infinity),u>d){for(;this.$lines.getLength()>b+1;)this.$lines.pop();break}v=this.$lines.get(++b),v?v.row=u:(v=this.$lines.createCell(u,e,this.session,i),this.$lines.push(v)),this.$renderCell(v,e,g,u),u++}
248this._signal(`afterRender`),this.$updateGutterWidth(e),this.$showCursorMarker&&this.$highlightGutterLine&&this.$updateCursorMarker()},t.prototype.$updateGutterWidth=function(e){var n=this.session,s=n.gutterRenderer||this.$renderer,d=n.$firstLineNumber,g=this.$lines.last()?this.$lines.last().text:``;(this.$fixedWidth||n.$useWrapMode)&&(g=n.getLength()+d-1);var $=s?s.getWidth(n,g,e):g.toString().length*e.characterWidth,v=this.$padding||this.$computePadding();$+=v.left+v.right,$!==this.gutterWidth&&!isNaN($)&&(this.gutterWidth=$,this.element.parentNode.style.width=this.element.style.width=Math.ceil(this.gutterWidth)+`px`,this._signal(`changeGutterWidth`,$))},t.prototype.$updateCursorRow=function(){if(this.$highlightGutterLine){var e=this.session.selection.getCursor();this.$cursorRow!==e.row&&(this.$cursorRow=e.row)}},t.prototype.updateLineHighlight=function(){if(this.$showCursorMarker&&this.$updateCursorMarker(),!!this.$highlightGutterLine){var e=this.session.selection.cursor.row;if(this.$cursorRow=e,!(this.$cursorCell&&this.$cursorCell.row==e)){this.$cursorCell&&(this.$cursorCell.element.className=this.$cursorCell.element.className.replace(`ace_gutter-active-line `,``));var n=this.$lines.cells;this.$cursorCell=null;for(var s=0;s<n.length;s++){var d=n[s];if(d.row>=this.$cursorRow){if(d.row>this.$cursorRow){var g=this.session.getFoldLine(this.$cursorRow);if(s>0&&g&&g.start.row==n[s-1].row)d=n[s-1];else break}d.element.className=`ace_gutter-active-line `+d.element.className,this.$cursorCell=d;break}}}}},t.prototype.$updateCursorMarker=function(){if(this.session){var e=this.session;this.$highlightElement||(this.$highlightElement=k.createElement(`div`),this.$highlightElement.className=`ace_gutter-cursor`,this.$highlightElement.style.pointerEvents=`none`,this.element.appendChild(this.$highlightElement));var n=e.selection.cursor,s=this.config,d=this.$lines,g=s.firstRowScreen*s.lineHeight,$=Math.floor(g/d.canvasHeight),b=e.documentToScreenRow(n)*s.lineHeight-$*d.canvasHeight;k.setStyle(this.$highlightElement.style,`height`,s.lineHeight+`px`),k.setStyle(this.$highlightElement.style,`top`,b+`px`)}},t.prototype.scrollLines=function(e){var n=this.config;if(this.config=e,this.$updateCursorRow(),this.$lines.pageChanged(n,e))return this.update(e);this.$lines.moveContainer(e);var s=Math.min(e.lastRow+e.gutterOffset,this.session.getLength()-1),d=this.oldLastRow;if(this.oldLastRow=s,!n||d<e.firstRow)return this.update(e);if(s<n.firstRow)return this.update(e);if(n.firstRow<e.firstRow)for(var g=this.session.getFoldedRowCount(n.firstRow,e.firstRow-1);g>0;g--)this.$lines.shift();if(d>s)for(var g=this.session.getFoldedRowCount(s+1,d);g>0;g--)this.$lines.pop();e.firstRow<n.firstRow&&this.$lines.unshift(this.$renderLines(e,e.firstRow,n.firstRow-1)),s>d&&this.$lines.push(this.$renderLines(e,d+1,s)),this.updateLineHighlight(),this._signal(`afterRender`),this.$updateGutterWidth(e)},t.prototype.$renderLines=function(e,n,s){for(var d=[],g=n,$=this.session.getNextFoldLine(g),v=$?$.start.row:Infinity;g>v&&(g=$.end.row+1,$=this.session.getNextFoldLine(g,$),v=$?$.start.row:Infinity),!(g>s);){var b=this.$lines.createCell(g,e,this.session,i);this.$renderCell(b,e,$,g),d.push(b),g++}return d},t.prototype.$renderCell=function(e,n,s,d){var g=e.element,$=this.session,v=g.childNodes[0],b=g.childNodes[1],u=g.childNodes[2],h=g.childNodes[3],y=u.firstChild,m=$.$firstLineNumber,C=$.$breakpoints,x=$.$decorations,w=$.gutterRenderer||this.$renderer,p=this.$showFoldWidgets&&$.foldWidgets,f=s?s.start.row:Number.MAX_VALUE,c=n.lineHeight+`px`,S=this.$useSvgGutterIcons?`ace_gutter-cell_svg-icons `:`ace_gutter-cell `,A=this.$useSvgGutterIcons?`ace_icon_svg`:`ace_icon`,T=(w?w.getText($,d):d+m).toString();if(this.$highlightGutterLine&&(d==this.$cursorRow||s&&d<this.$cursorRow&&d>=f&&this.$cursorRow<=s.end.row)&&(S+=`ace_gutter-active-line `,this.$cursorCell!=e&&(this.$cursorCell&&(this.$cursorCell.element.className=this.$cursorCell.element.className.replace(`ace_gutter-active-line `,``)),this.$cursorCell=e)),C[d]&&(S+=C[d]),x[d]&&(S+=x[d]),this.$annotations[d]&&d!==f&&(S+=this.$annotations[d].className),p){var _=p[d];_??=p[d]=$.getFoldWidget(d)}if(_){var I=`ace_fold-widget ace_`+_,D=_==`start`&&d==f&&d<s.end.row;if(D){I+=` ace_closed`;for(var N=``,O=!1,B=d+1;B<=s.end.row;B++)if(this.$annotations[B]){if(this.$annotations[B].className===` ace_error`){O=!0,N=` ace_error_fold`;break}this.$annotations[B].className===` ace_security`?(O=!0,N=` ace_security_fold`):this.$annotations[B].className===` ace_warning`&&N!==` ace_security_fold`&&(O=!0,N=` ace_warning_fold`)}S+=N}else I+=` ace_open`;b.className!=I&&(b.className=I),k.setStyle(b.style,`height`,c),k.setStyle(b.style,`display`,`inl
248ine-block`),b.setAttribute(`role`,`button`),b.setAttribute(`tabindex`,`-1`);var W=$.getFoldWidgetRange(d);W?b.setAttribute(`aria-label`,r(`gutter.code-folding.range.aria-label`,`Toggle code folding, rows $0 through $1`,[W.start.row+1,W.end.row+1])):s?b.setAttribute(`aria-label`,r(`gutter.code-folding.closed.aria-label`,`Toggle code folding, rows $0 through $1`,[s.start.row+1,s.end.row+1])):b.setAttribute(`aria-label`,r(`gutter.code-folding.open.aria-label`,`Toggle code folding, row $0`,[d+1])),D?(b.setAttribute(`aria-expanded`,`false`),b.setAttribute(`title`,r(`gutter.code-folding.closed.title`,`Unfold code`))):(b.setAttribute(`aria-expanded`,`true`),b.setAttribute(`title`,r(`gutter.code-folding.open.title`,`Fold code`)))}else b&&(k.setStyle(b.style,`display`,`none`),b.setAttribute(`tabindex`,`0`),b.removeAttribute(`role`),b.removeAttribute(`aria-label`));var H=this.session.$gutterCustomWidgets[d];if(H?this.$addCustomWidget(d,H,e):h&&this.$removeCustomWidget(d,e),O&&this.$showFoldedAnnotations){u.className=`ace_gutter_annotation`,y.className=A,y.className+=N,k.setStyle(y.style,`height`,c),k.setStyle(u.style,`display`,`block`),k.setStyle(u.style,`height`,c);var P;switch(N){case` ace_error_fold`:P=r(`gutter.annotation.aria-label.error`,`Error, read annotations row $0`,[T]);break;case` ace_security_fold`:P=r(`gutter.annotation.aria-label.security`,`Security finding, read annotations row $0`,[T]);break;case` ace_warning_fold`:P=r(`gutter.annotation.aria-label.warning`,`Warning, read annotations row $0`,[T]);break}u.setAttribute(`aria-label`,P),u.setAttribute(`tabindex`,`-1`),u.setAttribute(`role`,`button`)}else if(this.$annotations[d]){u.className=`ace_gutter_annotation`,y.className=A,this.$useSvgGutterIcons?y.className+=this.$annotations[d].className:g.classList.add(this.$annotations[d].className.replace(` `,``)),k.setStyle(y.style,`height`,c),k.setStyle(u.style,`display`,`block`),k.setStyle(u.style,`height`,c);var P;switch(this.$annotations[d].className){case` ace_error`:P=r(`gutter.annotation.aria-label.error`,`Error, read annotations row $0`,[T]);break;case` ace_security`:P=r(`gutter.annotation.aria-label.security`,`Security finding, read annotations row $0`,[T]);break;case` ace_warning`:P=r(`gutter.annotation.aria-label.warning`,`Warning, read annotations row $0`,[T]);break;case` ace_info`:P=r(`gutter.annotation.aria-label.info`,`Info, read annotations row $0`,[T]);break;case` ace_hint`:P=r(`gutter.annotation.aria-label.hint`,`Suggestion, read annotations row $0`,[T]);break}u.setAttribute(`aria-label`,P),u.setAttribute(`tabindex`,`-1`),u.setAttribute(`role`,`button`)}else k.setStyle(u.style,`display`,`none`),u.removeAttribute(`aria-label`),u.removeAttribute(`role`),u.setAttribute(`tabindex`,`0`);return T!==v.data&&(v.data=T),g.className!=S&&(g.className=S),k.setStyle(e.element.style,`height`,this.$lines.computeLineHeight(d,n,$)+`px`),k.setStyle(e.element.style,`top`,this.$lines.computeLineTop(d,n,$)+`px`),e.text=T,u.style.display===`none`&&b.style.display===`none`&&!H?e.element.setAttribute(`aria-hidden`,!0):e.element.setAttribute(`aria-hidden`,!1),e},t.prototype.setHighlightGutterLine=function(e){this.$highlightGutterLine=e,!e&&this.$highlightElement&&(this.$highlightElement.remove(),this.$highlightElement=null)},t.prototype.setShowLineNumbers=function(e){this.$renderer=!e&&{getWidth:function(){return 0},getText:function(){return``}}},t.prototype.getShowLineNumbers=function(){return this.$showLineNumbers},t.prototype.setShowFoldWidgets=function(e){e?k.addCssClass(this.element,`ace_folding-enabled`):k.removeCssClass(this.element,`ace_folding-enabled`),this.$showFoldWidgets=e,this.$padding=null},t.prototype.getShowFoldWidgets=function(){return this.$showFoldWidgets},t.prototype.$hideFoldWidget=function(e,n){var s=n||this.$getGutterCell(e);if(s&&s.element){var d=s.element.childNodes[1];d&&k.setStyle(d.style,`display`,`none`)}},t.prototype.$showFoldWidget=function(e,n){var s=n||this.$getGutterCell(e);if(s&&s.element){var d=s.element.childNodes[1];d&&this.session.foldWidgets&&this.session.foldWidgets[s.row]&&k.setStyle(d.style,`display`,`inl
248ine-block`)}},t.prototype.$getGutterCell=function(e){var n=this.$lines.cells,s=0,d=n.length-1;if(!(e<n[0].row||e>n[d].row)){for(;s<=d;){var g=Math.floor((s+d)/2),$=n[g];if($.row>e)d=g-1;else if($.row<e)s=g+1;else return $}return $}},t.prototype.$addCustomWidget=function(e,n,s){var d=n.className,g=n.label,$=n.title,v=n.callbacks;this.session.$gutterCustomWidgets[e]={className:d,label:g,title:$,callbacks:v},this.$hideFoldWidget(e,s);var b=s||this.$getGutterCell(e);if(b&&b.element){var u=b.element.querySelector(`.ace_custom-widget`);u&&u.remove(),u=k.createElement(`span`),u.className=`ace_custom-widget `.concat(d),u.setAttribute(`tabindex`,`-1`),u.setAttribute(`role`,`button`),u.setAttribute(`aria-label`,g),u.setAttribute(`title`,$),k.setStyle(u.style,`display`,`inline-block`),k.setStyle(u.style,`height`,`inherit`),v&&v.onClick&&u.addEventListener(`click`,function(h){v.onClick(h,e),h.stopPropagation()}),b.element.appendChild(u)}},t.prototype.$removeCustomWidget=function(e,n){delete this.session.$gutterCustomWidgets[e],this.$showFoldWidget(e,n);var s=n||this.$getGutterCell(e);if(s&&s.element){var d=s.element.querySelector(`.ace_custom-widget`);d&&s.element.removeChild(d)}},t.prototype.$computePadding=function(){if(!this.element.firstChild)return{left:0,right:0};var e=k.computedStyle(this.element.firstChild);return this.$padding={},this.$padding.left=(parseInt(e.borderLeftWidth)||0)+(parseInt(e.paddingLeft)||0)+1,this.$padding.right=(parseInt(e.borderRightWidth)||0)+(parseInt(e.paddingRight)||0),this.$padding},t.prototype.getRegion=function(e){var n=this.$padding||this.$computePadding(),s=this.element.getBoundingClientRect();if(e.x<n.left+s.left)return`markers`;if(this.$showFoldWidgets&&e.x>s.right-n.right)return`foldWidgets`},t})();o.prototype.$fixedWidth=!1,o.prototype.$highlightGutterLine=!0,o.prototype.$renderer=void 0,o.prototype.$showLineNumbers=!0,o.prototype.$showFoldWidgets=!0,L.implement(o.prototype,a);function i(t){var e=document.createTextNode(``);t.appendChild(e);var n=k.createElement(`span`);t.appendChild(n);var s=k.createElement(`span`);t.appendChild(s);var d=k.createElement(`span`);return s.appendChild(d),t}E.Gutter=o});ace.define(`ace/layer/marker`,[`require`,`exports`,`module`,`ace/range`,`ace/lib/dom`],function(R,E,F){"use strict";var k=R(`../range`).Range,L=R(`../lib/dom`),M=(function(){function l(r){this.element=L.createElement(`div`),this.element.className=`ace_layer ace_marker-layer`,r.appendChild(this.element)}return l.prototype.setPadding=function(r){this.$padding=r},l.prototype.setSession=function(r){this.session=r},l.prototype.setMarkers=function(r){this.markers=r},l.prototype.elt=function(r,o){var i=this.i!=-1&&this.element.childNodes[this.i];i?this.i++:(i=document.createElement(`div`),this.element.appendChild(i),this.i=-1),i.style.cssText=o,i.className=r},l.prototype.update=function(r){if(r){this.config=r,this.i=0;var o;for(var i in this.markers){var t=this.markers[i];if(!t.range){t.update(o,this,this.session,r);continue}var e=t.range.clipRows(r.firstRow,r.lastRow);if(!e.isEmpty())if(e=e.toScreenRange(this.session),t.renderer){var n=this.$getTop(e.start.row,r),s=this.$padding+e.start.column*r.characterWidth;t.renderer(o,e,s,n,r)}else t.type==`fullLine`?this.drawFullLineMarker(o,e,t.clazz,r):t.type==`screenLine`?this.drawScreenLineMarker(o,e,t.clazz,r):e.isMultiLine()?t.type==`text`?this.drawTextMarker(o,e,t.clazz,r):this.drawMultiLineMarker(o,e,t.clazz,r):this.drawSingleLineMarker(o,e,t.clazz+` ace_start ace_br15`,r)}if(this.i!=-1)for(;this.i<this.element.childElementCount;)this.element.removeChild(this.element.lastChild)}},l.prototype.$getTop=function(r,o){return(r-o.firstRowScreen)*o.lineHeight},l.prototype.drawTextMarker=function(r,o,i,t,e){for(var n=this.session,s=o.start.row,d=o.end.row,g=s,$=0,v=0,b=n.getScreenLastRowColumn(g),u=new k(g,o.start.column,g,v);g<=d;g++)u.start.row=u.end.row=g,u.start.column=g==s?o.start.column:n.getRowWrapIndent(g),u.end.column=b,$=v,v=b,b=g+1<d?n.getScreenLastRowColumn(g+1):g==d?0:o.end.column,this.drawSingleLineMarker(r,u,i+(g==s?` ace_start`:``)+` ace_br`+a(g==s||g==s+1&&o.start.column,$<v,v>b,g==d),t,g==d?0:1,e)},l.prototype.drawMultiLineMarker=function(r,o,i,t,e){var n=this.$padding,s=t.lineHeight,d=this.$getTop(o.start.row,t),g=n+o.start.column*t.characterWidth;if(e=e||``,this.session.$bidiHandler.isBidiRow(o.start.row)){var $=o.clone();$.end.row=$.start.row,$.end.column=this.session.getLine($.start.row).length,this.drawBidiSingleLineMarker(r,$,i+` ace_br1 ace_start`,t,null,e)}else this.elt(i+` ace_br1 ace_start`,`height:`+s+`px;right:`+n+`px;top:`+d+`px;left:`+g+`px;`+(e||``));if(this.session.$bidiHandler.isBidiRow(o.end.row)){var $=o.clone();$.start.row=$.end.row,$.start.column=0,this.drawBidiSingleLineMarker(r,$,i+` ace_br12`,t,null,e)}else{d=this.$getTop(o.end.row,t);var v=o.end.column*t.characterWidth;this.elt(i+` ace_br12`,`height:`+s+`px;width:`+v+`px;top:`+d+`px;left:`+n+`px;`+(e||``))}if(s=(o.end.row-o.start.row-1)*t.lineHeight,!(s<=0)){d=this.$getTop(o.start.row+1,t);var b=(o.start.column?1:0)|(o.end.column?0:8);this.elt(i+(b?` ace_br`+b:``),`height:`+s+`px;right:`+n+`px;top:`+d+`px;left:`+n+`px;`+(e||``))}},l.prototype.drawSingleLineMarker=function(r,o,i,t,e,n){if(this.session.$bidiHandler.isBidiRow(o.start.row))return this.drawBidiSingleLineMarker(r,o,i,t,e,n);var s=t.lineHeight,d=(o.end.column+(e||0)-o.start.column)*t.characterWidth,g=this.$getTop(o.start.row,t),$=this.$padding+o.start.column*t.characterWidth;this.elt(i,`height:`+s+`px;width:`+d+`px;top:`+g+`px;left:`+$+`px;`+(n||``))},l.prototype.drawBidiSingleLineMarker=function(r,o,i,t,e,n){var s=t.lineHeight,d=this.$getTop(o.start.row,t),g=this.$padding;this.session.$bidiHandler.getSelections(o.start.column,o.end.column).forEac
248h(function(v){this.elt(i,`height:`+s+`px;width:`+(v.width+(e||0))+`px;top:`+d+`px;left:`+(g+v.left)+`px;`+(n||``))},this)},l.prototype.drawFullLineMarker=function(r,o,i,t,e){var n=this.$getTop(o.start.row,t),s=t.lineHeight;o.start.row!=o.end.row&&(s+=this.$getTop(o.end.row,t)-n),this.elt(i,`height:`+s+`px;top:`+n+`px;left:0;right:0;`+(e||``))},l.prototype.drawScreenLineMarker=function(r,o,i,t,e){var n=this.$getTop(o.start.row,t),s=t.lineHeight;this.elt(i,`height:`+s+`px;top:`+n+`px;left:0;right:0;`+(e||``))},l})();M.prototype.$padding=0;function a(l,r,o,i){return(l?1:0)|(r?2:0)|(o?4:0)|(i?8:0)}E.Marker=M});ace.define(`ace/layer/text_util`,[`require`,`exports`,`module`],function(R,E,F){var k=new Set([`text`,`rparen`,`lparen`]);E.isTextToken=function(L){return k.has(L)}});ace.define(`ace/layer/text`,[`require`,`exports`,`module`,`ace/lib/oop`,`ace/lib/dom`,`ace/lib/lang`,`ace/layer/lines`,`ace/lib/event_emitter`,`ace/config`,`ace/layer/text_util`],function(R,E,F){"use strict";var k=R(`../lib/oop`),L=R(`../lib/dom`),M=R(`../lib/lang`),a=R(`./lines`).Lines,l=R(`../lib/event_emitter`).EventEmitter,r=R(`../config`).nls,o=R(`./text_util`).isTextToken,i=(function(){function t(e){this.dom=L,this.element=this.dom.createElement(`div`),this.element.className=`ace_layer ace_text-layer`,e.appendChild(this.element),this.$updateEolChar=this.$updateEolChar.bind(this),this.$lines=new a(this.element)}return t.prototype.$updateEolChar=function(){var e=this.session.doc,s=e.getNewLineCharacter()==`
249`&&e.getNewLineMode()!=`windows`?this.EOL_CHAR_LF:this.EOL_CHAR_CRLF;if(this.EOL_CHAR!=s)return this.EOL_CHAR=s,!0},t.prototype.setPadding=function(e){this.$padding=e,this.element.style.margin=`0 `+e+`px`},t.prototype.getLineHeight=function(){return this.$fontMetrics.$characterSize.height||0},t.prototype.getCharacterWidth=function(){return this.$fontMetrics.$characterSize.width||0},t.prototype.$setFontMetrics=function(e){this.$fontMetrics=e,this.$fontMetrics.on(`changeCharacterSize`,function(n){this._signal(`changeCharacterSize`,n)}.bind(this)),this.$pollSizeChanges()},t.prototype.checkForSizeChanges=function(){this.$fontMetrics.checkForSizeChanges()},t.prototype.$pollSizeChanges=function(){return this.$pollSizeChangesTimer=this.$fontMetrics.$pollSizeChanges()},t.prototype.setSession=function(e){this.session=e,e&&this.$computeTabString()},t.prototype.setShowInvisibles=function(e){return this.showInvisibles==e?!1:(this.showInvisibles=e,typeof e==`string`?(this.showSpaces=/tab/i.test(e),this.showTabs=/space/i.test(e),this.showEOL=/eol/i.test(e)):this.showSpaces=this.showTabs=this.showEOL=e,this.$computeTabString(),!0)},t.prototype.setDisplayIndentGuides=function(e){return this.displayIndentGuides==e?!1:(this.displayIndentGuides=e,this.$computeTabString(),!0)},t.prototype.setHighlightIndentGuides=function(e){return this.$highlightIndentGuides===e?!1:(this.$highlightIndentGuides=e,e)},t.prototype.$computeTabString=function(){var e=this.session.getTabSize();this.tabSize=e;for(var n=this.$tabStrings=[0],s=1;s<e+1;s++)if(this.showTabs){var d=this.dom.createElement(`span`);d.className=`ace_invisible ace_invisible_tab`,d.textContent=M.stringRepeat(this.TAB_CHAR,s),n.push(d)}else n.push(this.dom.createTextNode(M.stringRepeat(` `,s),this.element));if(this.displayIndentGuides){this.$indentGuideRe=/\s\S| \t|\t |\s$/;var g=`ace_indent-guide`,$=this.showSpaces?` ace_invisible ace_invisible_space`:``,v=this.showSpaces?M.stringRepeat(this.SPACE_CHAR,this.tabSize):M.stringRepeat(` `,this.tabSize),b=this.showTabs?` ace_invisible ace_invisible_tab`:``,u=this.showTabs?M.stringRepeat(this.TAB_CHAR,this.tabSize):v,d=this.dom.createElement(`span`);d.className=g+$,d.textContent=v,this.$tabStrings[` `]=d;var d=this.dom.createElement(`span`);d.className=g+b,d.textContent=u,this.$tabStrings[`	`]=d}},t.prototype.updateLines=function(e,n,s){if(this.config.lastRow!=e.lastRow||this.config.firstRow!=e.firstRow)return this.update(e);this.config=e;for(var d=Math.max(n,e.firstRow),g=Math.min(s,e.lastRow),$=this.element.childNodes,v=0,u=e.firstRow;u<d;u++){var h=this.session.getFoldLine(u);
249if(h)if(h.containsRow(d)){d=h.start.row;break}else u=h.end.row;v++}for(var b=!1,u=d,h=this.session.getNextFoldLine(u),y=h?h.start.row:Infinity;u>y&&(u=h.end.row+1,h=this.session.getNextFoldLine(u,h),y=h?h.start.row:Infinity),!(u>g);){var m=$[v++];if(m){this.dom.removeChildren(m),this.$renderLine(m,u,u==y?h:!1),b&&(m.style.top=this.$lines.computeLineTop(u,e,this.session)+`px`);var C=e.lineHeight*this.session.getRowLength(u)+`px`;m.style.height!=C&&(b=!0,m.style.height=C)}u++}if(b)for(;v<this.$lines.cells.length;){var x=this.$lines.cells[v++];x.element.style.top=this.$lines.computeLineTop(x.row,e,this.session)+`px`}},t.prototype.scrollLines=function(e){var n=this.config;if(this.config=e,this.$lines.pageChanged(n,e))return this.update(e);this.$lines.moveContainer(e);var s=e.lastRow,d=n?n.lastRow:-1;if(!n||d<e.firstRow)return this.update(e);if(s<n.firstRow)return this.update(e);if(!n||n.lastRow<e.firstRow)return this.update(e);if(e.lastRow<n.firstRow)return this.update(e);if(n.firstRow<e.firstRow)for(var g=this.session.getFoldedRowCount(n.firstRow,e.firstRow-1);g>0;g--)this.$lines.shift();if(n.lastRow>e.lastRow)for(var g=this.session.getFoldedRowCount(e.lastRow+1,n.lastRow);g>0;g--)this.$lines.pop();e.firstRow<n.firstRow&&this.$lines.unshift(this.$renderLinesFragment(e,e.firstRow,n.firstRow-1)),e.lastRow>n.lastRow&&this.$lines.push(this.$renderLinesFragment(e,n.lastRow+1,e.lastRow)),this.$highlightIndentGuide()},t.prototype.$renderLinesFragment=function(e,n,s){for(var d=[],g=n,$=this.session.getNextFoldLine(g),v=$?$.start.row:Infinity;g>v&&(g=$.end.row+1,$=this.session.getNextFoldLine(g,$),v=$?$.start.row:Infinity),!(g>s);){var b=this.$lines.createCell(g,e,this.session),u=b.element;this.dom.removeChildren(u),L.setStyle(u.style,`height`,this.$lines.computeLineHeight(g,e,this.session)+`px`),L.setStyle(u.style,`top`,this.$lines.computeLineTop(g,e,this.session)+`px`),this.$renderLine(u,g,g==v?$:!1),this.$useLineGroups()?u.className=`ace_line_group`:u.className=`ace_line`,d.push(b),g++}return d},t.prototype.update=function(e){this.$lines.moveContainer(e),this.config=e;for(var n=e.firstRow,s=e.lastRow,d=this.$lines;d.getLength();)d.pop();d.push(this.$renderLinesFragment(e,n,s))},t.prototype.$renderToken=function(e,n,s,d){for(var g=this,$=/(\t)|( +)|([\x00-\x1f\x80-\xa0\xad\u1680\u180E\u2000-\u200f\u2028\u2029\u202F\u205F\uFEFF\uFFF9-\uFFFC\u2066\u2067\u2068\u202A\u202B\u202D\u202E\u202C\u2069\u2060\u2061\u2062\u2063\u2064\u206A\u206B\u206B\u206C\u206D\u206E\u206F]+)|(\u3000)|([\u1100-\u115F\u11A3-\u11A7\u11FA-\u11FF\u2329-\u232A\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFB\u3001-\u303E\u3041-\u3096\u3099-\u30FF\u3105-\u312D\u3131-\u318E\u3190-\u31BA\u31C0-\u31E3\u31F0-\u321E\u3220-\u3247\u3250-\u32FE\u3300-\u4DBF\u4E00-\uA48C\uA490-\uA4C6\uA960-\uA97C\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFAFF\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE66\uFE68-\uFE6B\uFF01-\uFF60\uFFE0-\uFFE6]|[\uD800-\uDBFF][\uDC00-\uDFFF])/g,v=this.dom.createFragment(this.element),b,u=0;b=$.exec(d);){var h=b[1],y=b[2],m=b[3],C=b[4],x=b[5];if(!(!g.showSpaces&&y)){var w=u!=b.index?d.slice(u,b.index):``;if(u=b.index+b[0].length,w&&v.appendChild(this.dom.createTextNode(w,this.element)),h){var p=g.session.getScreenTabSize(n+b.index),f=g.$tabStrings[p].cloneNode(!0);f.charCount=1,v.appendChild(f),n+=p-1}else if(y)if(g.showSpaces){var c=this.dom.createElement(`span`);c.className=`ace_invisible ace_invisible_space`,c.textContent=M.stringRepeat(g.SPACE_CHAR,y.length),v.appendChild(c)}else v.appendChild(this.dom.createTextNode(y,this.element));else if(m){var c=this.dom.createElement(`span`);c.className=`ace_invisible ace_invisible_space ace_invalid`,c.textContent=M.stringRepeat(g.SPACE_CHAR,m.length),v.appendChild(c)}else if(C){n+=1;var c=this.dom.createElement(`span`);c.style.width=g.config.characterWidth*2+`px`,c.className=g.showSpaces?`ace_cjk ace_invisible ace_invisible_space`:`ace_cjk`,c.textContent=g.showSpaces?g.SPACE_CHAR:C,v.appendChild(c)}else if(x){n+=1;var c=this.dom.createElement(`span`);c.style.width=g.config.characterWidth*2+`px`,c.className=`ace_cjk`,c.textContent=x,v.appendChild(c)}}}if(v.appendChild(this.dom.createTextNode(u?d.slice(u):d,this.element)),o(s.type))e.appendChild(v);else{var S=`ace_`+s.type.replace(/\./g,` ace_`),c=this.dom.createElement(`span`);s.type==`fold`&&(c.style.width=s.value.length*this.config.characterWidth+`px`,c.setAttribute(`title`,r(`inline-fold.closed.title`,`Unfold code`))),c.className=S,c.appendChild(v),e.appendChild(c)}return n+d.length},t.prototype.renderIndentGuide=function(e,n,s){var d=n.search(this.$indentGuideRe);if(d<=0||d>=s)return n;if(n[0]==` `){d-=d%this.tabSize;
249for(var g=d/this.tabSize,$=0;$<g;$++)e.appendChild(this.$tabStrings[` `].cloneNode(!0));return this.$highlightIndentGuide(),n.substr(d)}else if(n[0]==`	`){for(var $=0;$<d;$++)e.appendChild(this.$tabStrings[`	`].cloneNode(!0));return this.$highlightIndentGuide(),n.substr(d)}return this.$highlightIndentGuide(),n},t.prototype.$highlightIndentGuide=function(){if(!(!this.$highlightIndentGuides||!this.displayIndentGuides)){this.$highlightIndentGuideMarker={indentLevel:void 0,start:void 0,end:void 0,dir:void 0};var e=this.session.doc.$lines;if(e){var n=this.session.selection.getCursor(),s=/^\s*/.exec(this.session.doc.getLine(n.row))[0].length,d=Math.floor(s/this.tabSize);this.$highlightIndentGuideMarker={indentLevel:d,start:n.row};if(this.session.$bracketHighlight){for(var $=this.session.$bracketHighlight.ranges,v=0;v<$.length;v++)if(n.row!==$[v].start.row){this.$highlightIndentGuideMarker.end=$[v].start.row+1,n.row>$[v].start.row?this.$highlightIndentGuideMarker.dir=-1:this.$highlightIndentGuideMarker.dir=1;break}}if(!this.$highlightIndentGuideMarker.end&&e[n.row]!==``&&n.column===e[n.row].length){this.$highlightIndentGuideMarker.dir=1;for(var v=n.row+1;v<e.length;v++){var b=e[v],u=/^\s*/.exec(b)[0].length;if(b!==``&&(this.$highlightIndentGuideMarker.end=v,u<=s))break}}this.$renderHighlightIndentGuide()}}},t.prototype.$clearActiveIndentGuide=function(){for(var e=this.element.querySelectorAll(`.ace_indent-guide-active`),n=0;n<e.length;n++)e[n].classList.remove(`ace_indent-guide-active`)},t.prototype.$setIndentGuideActive=function(e,n){if(this.session.doc.getLine(e.row)!==``){var d=e.element;if(e.element.classList&&e.element.classList.contains(`ace_line_group`))if(e.element.childNodes.length>0)d=e.element.childNodes[0];else return;var g=d.childNodes;if(g){var $=g[n-1];$&&$.classList&&$.classList.contains(`ace_indent-guide`)&&$.classList.add(`ace_indent-guide-active`)}}},t.prototype.$renderHighlightIndentGuide=function(){if(this.$lines){var e=this.$lines.cells;this.$clearActiveIndentGuide();var n=this.$highlightIndentGuideMarker.indentLevel;if(n!==0)if(this.$highlightIndentGuideMarker.dir===1)for(var s=0;s<e.length;s++){var d=e[s];if(this.$highlightIndentGuideMarker.end&&d.row>=this.$highlightIndentGuideMarker.start+1){if(d.row>=this.$highlightIndentGuideMarker.end)break;this.$setIndentGuideActive(d,n)}}else for(var s=e.length-1;s>=0;s--){var d=e[s];if(this.$highlightIndentGuideMarker.end&&d.row<this.$highlightIndentGuideMarker.start){if(d.row<this.$highlightIndentGuideMarker.end)break;this.$setIndentGuideActive(d,n)}}}},t.prototype.$createLineElement=function(e){var n=this.dom.createElement(`div`);return n.className=`ace_line`,n.style.height=this.config.lineHeight+`px`,n},t.prototype.$renderWrappedLine=function(e,n,s){var d=0,g=0,$=s[0],v=0,b=this.$createLineElement();e.appendChild(b);for(var u=0;u<n.length;u++){var h=n[u],y=h.value;if(u==0&&this.displayIndentGuides){if(d=y.length,y=this.renderIndentGuide(b,y,$),!y)continue;d-=y.length}if(d+y.length<$)v=this.$renderToken(b,v,h,y),d+=y.length;else{for(;d+y.length>=$;){v=this.$renderToken(b,v,h,y.substring(0,$-d)),y=y.substring($-d),d=$,b=this.$createLineElement(),e.appendChild(b);var m=this.dom.createTextNode(M.stringRepeat(`\xA0`,s.indent),this.element);m.charCount=0,b.appendChild(m),g++,v=0,$=s[g]||Number.MAX_VALUE}y.length!=0&&(d+=y.length,v=this.$renderToken(b,v,h,y))}}s[s.length-1]>this.MAX_LINE_LENGTH&&this.$renderOverflowMessage(b,v,null,``,!0)},t.prototype.$renderSimpleLine=function(e,n){for(var s=0,d=0;d<n.length;d++){var g=n[d],$=g.value;if(!(d==0&&this.displayIndentGuides&&($=this.renderIndentGuide(e,$),!$))){if(s+$.length>this.MAX_LINE_LENGTH)return this.$renderOverflowMessage(e,s,g,$);s=this.$renderToken(e,s,g,$)}}},t.prototype.$renderOverflowMessage=function(e,n,s,d,g){s&&this.$renderToken(e,n,s,d.slice(0,this.MAX_LINE_LENGTH-n));var $=this.dom.createElement(`span`);$.className=`ace_inline_button ace_keyword ace_toggle_wrap`,$.textContent=g?`<hide>`:`<click to see more...>`,e.appendChild($)},t.prototype.$renderLine=function(e,n,s){if(!s&&s!=!1&&(s=this.session.getFoldLine(n)),s)var d=this.$getFoldLineTokens(n,s);else var d=this.session.getTokens(n);var g=e;if(d.length){var $=this.session.getRowSplitData(n);if($&&$.length){this.$renderWrappedLine(e,d,$);var g=e.lastChild}else{var g=e;this.$useLineGroups()&&(g=this.$createLineElement(),e.appendChild(g)),this.$renderSimpleLine(g,d)}}else this.$useLineGroups()&&(g=this.$createLineElement(),e.appendChild(g));if(this.showEOL&&g){s&&(n=s.end.row);var v=this.dom.createElement(`span`);v.className=`ace_invisible ace_invisible_eol`,v.textContent=n==this.session.getLength()-1?this.EOF_CHAR:this.EOL_CHAR,g.appendChild(v)}},t.prototype.$getFoldLineTokens=function(e,n){var s=this.session,d=[];function g(v,b,u){for(var h=0,y=0;y+v[h].value.length<b;)if(y+=v[h].value.length,h++,h==v.length)return;if(y!=b){var m=v[h].value.substring(b-y);m.length>u-b&&(m=m.substring(0,u-b)),d.push({type:v[h].type,value:m}),y=b+m.length,h+=1}for(;y<u&&h<v.length;){var m=v[h].value;m.length+y>u?d.push({type:v[h].type,value:m.substring(0,u-y)}):d.push(v[h]),y+=m.length,h+=1}}var $=s.getTokens(e);return n.walk(function(v,b,u,h,y){v!=null?d.push({type:`fold`,value:v}):(y&&($=s.getTokens(b)),$.length&&g($,h,u))},n.end.row,this.session.getLine(n.end.row).length),d},t.prototype.$useLineGroups=function(){return this.session.getUseWrapMode()},t})();i.prototype.EOF_CHAR=`¶`,i.prototype.EOL_CHAR_LF=`¬`,i.prototype.EOL_CHAR_CRLF=`¤`,i.prototype.EOL_CHAR=i.prototype.EOL_CHAR_LF,i.prototype.TAB_CHAR=`—`,i.prototype.SPACE_CHAR=`·`,i.prototype.$padding=0,i.prototype.MAX_LINE_LENGTH=1e4,i.prototype.showInvisibles=!1,i.prototype.showSpaces=!1,i.prototype.showTabs=!1,i.prototype.showEOL=!1,i.prototype.displayIndentGuides=!0,i.prototype.$highlightIndentGuides=!0,i.prototype.$tabStrings=[],i.prototype.destroy={},i.prototype.onChangeTabSize=i.prototype.$computeTabString,k.implement(i.prototype,l),E.Text=i});ace.define(`ace/layer/cursor`,[`require`,`exports`,`module`,`ace/lib/dom`],function(R,E,F){"use strict";var k=R(`../lib/dom`),L=(function(){function M(a){this.element=k.createElement(`div`),this.element.className=`ace_layer ace_cursor-layer`,a.appendChild(this.element),this.isVisible=!1,this.isBlinking=!0,this.blinkInterval=1e3,this.smoothBlinking=!1,this.cursors=[],this.cursor=this.addCursor(),k.addCssClass(this.element,`ace_hidden-cursors`),this.$updateCursors=this.$updateOpacity.bind(this)}return M.prototype.$updateOpacity=function(a){for(var l=this.cursors,r=l.length;r--;)k.setStyle(l[r].style,`opacity`,a?``:`0`)},M.prototype.$startCssAnimation=function(){for(var a=this.cursors,l=a.length;l--;)a[l].style.animationDuration=this.blinkInterval+`ms`;this.$isAnimating=!0,setTimeout(function(){this.$isAnimating&&k.addCssClass(this.element,`ace_animate-blinking`)}.bind(this))},M.prototype.$stopCssAnimation=function(){this.$isAnimating=!1,k.removeCssClass(this.element,`ace_animate-blinking`)},M.prototype.setPadding=function(a){this.$padding=a},M.prototype.setSession=function(a){this.session=a},M.prototype.setBlinking=function(a){a!=this.isBlinking&&(this.isBlinking=a,this.restartTimer())},M.prototype.setBlinkInterval=function(a){a!=this.blinkInterval&&(this.blinkInterval=a,this.restartTimer())},M.prototype.setSmoothBlinking=function(a){a!=this.smoothBlinking&&(this.smoothBlinking=a,k.setCssClass(this.element,`ace_smooth-blinking`,a),this.$updateCursors(!0),this.restartTimer())},M.prototype.addCursor=function(){var a=k.createElement(`div`);return a.className=`ace_cursor`,this.element.appendChild(a),this.cursors.push(a),a},M.prototype.removeCursor=function(){if(this.cursors.length>1){var a=this.cursors.pop();return a.parentNode.removeChild(a),a}},M.prototype.hideCursor=function(){this.isVisible=!1,k.addCssClass(this.element,`ace_hidden-cursors`),this.restartTimer()},M.prototype.showCursor=function(){this.isVisible=!0,k.removeCssClass(this.element,`ace_hidden-cursors`),this.restartTimer()},M.prototype.restartTimer=function(){var a=this.$updateCursors;if(clearInterval(this.intervalId),clearTimeout(this.timeoutId),this.$stopCssAnimation(),this.smoothBlinking&&(this.$isSmoothBlinking=!1,k.removeCssClass(this.element,`ace_smooth-blinking`)),a(!0),!this.isBlinking||!this.blinkInterval||!this.isVisible){this.$stopCssAnimation();return}if(this.smoothBlinking&&(this.$isSmoothBlinking=!0,setTimeout(function(){this.$isSmoothBlinking&&k.addCssClass(this.element,`ace_smooth-blinking`)}.bind(this))),k.HAS_CSS_ANIMATION)this.$startCssAnimation();else{var l=function(){this.timeoutId=setTimeout(function(){a(!1)},.6*this.blinkInterval)}.bind(this);this.intervalId=setInterval(function(){a(!0),l()},this.blinkInterval),l()}},M.prototype.getPixelPosition=function(a,l){if(!this.config||!this.session)return{left:0,top:0};a||(a=this.session.selection.getCursor());var r=this.session.documentToScreenPosition(a);return{left:this.$padding+(this.session.$bidiHandler.isBidiRow(r.row,a.row)?this.session.$bidiHandler.getPosLeft(r.column):r.column*this.config.characterWidth),top:(r.row-(l?this.config.firstRowScreen:0))*this.config.lineHeight}},M.prototype.isCursorInView=function(a,l){return a.top>=0&&a.top<l.maxHeight},M.prototype.update=function(a){this.config=a;var l=this.session.$selectionMarkers,r=0,o=0;(l===void 0||l.length===0)&&(l=[{cursor:null}]);for(var r=0,i=l.length;r<i;r++){var t=this.getPixelPosition(l[r].cursor,!0);if(!((t.top>a.height+a.offset||t.top<0)&&r>1)){var e=this.cursors[o++]||this.addCursor(),n=e.style;this.drawCursor?this.drawCursor(e,t,a,l[r],this.session):this.isCursorInView(t,a)?(k.setStyle(n,`display`,`block`),k.translate(e,t.left,t.top),k.setStyle(n,`width`,Math.round(a.characterWidth)+`px`),k.setStyle(n,`height`,a.lineHeight+`px`)):k.setStyle(n,`display`,`none`)}}for(;this.cursors.length>o;
249)this.removeCursor();var s=this.session.getOverwrite();this.$setOverwrite(s),this.$pixelPos=t,this.restartTimer()},M.prototype.$setOverwrite=function(a){a!=this.overwrite&&(this.overwrite=a,a?k.addCssClass(this.element,`ace_overwrite-cursors`):k.removeCssClass(this.element,`ace_overwrite-cursors`))},M.prototype.destroy=function(){clearInterval(this.intervalId),clearTimeout(this.timeoutId)},M})();L.prototype.$padding=0,L.prototype.drawCursor=null,E.Cursor=L});ace.define(`ace/scrollbar`,[`require`,`exports`,`module`,`ace/lib/oop`,`ace/lib/dom`,`ace/lib/event`,`ace/lib/event_emitter`],function(R,E,F){"use strict";var k=this&&this.__extends||(function(){var e=function(n,s){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,g){d.__proto__=g}||function(d,g){for(var $ in g)Object.prototype.hasOwnProperty.call(g,$)&&(d[$]=g[$])},e(n,s)};return function(n,s){if(typeof s!=`function`&&s!==null)throw new TypeError(`Class extends value `+String(s)+` is not a constructor or null`);e(n,s);function d(){this.constructor=n}n.prototype=s===null?Object.create(s):(d.prototype=s.prototype,new d)}})(),L=R(`./lib/oop`),M=R(`./lib/dom`),a=R(`./lib/event`),l=R(`./lib/event_emitter`).EventEmitter,r=32768,o=(function(){function e(n,s){this.element=M.createElement(`div`),this.element.className=`ace_scrollbar ace_scrollbar`+s,this.inner=M.createElement(`div`),this.inner.className=`ace_scrollbar-inner`,this.inner.textContent=`\xA0`,this.element.appendChild(this.inner),n.appendChild(this.element),this.setVisible(!1),this.skipEvent=!1,a.addListener(this.element,`scroll`,this.onScroll.bind(this)),a.addListener(this.element,`mousedown`,a.preventDefault)}return e.prototype.setVisible=function(n){this.element.style.display=n?``:`none`,this.isVisible=n,this.coeff=1},e})();L.implement(o.prototype,l);var i=(function(e){k(n,e);function n(s,d){var g=e.call(this,s,`-v`)||this;return g.scrollTop=0,g.scrollHeight=0,d.$scrollbarWidth=g.width=M.scrollbarWidth(s.ownerDocument),g.inner.style.width=g.element.style.width=(g.width||15)+5+`px`,g.$minWidth=0,g}return n.prototype.onScroll=function(){if(!this.skipEvent){if(this.scrollTop=this.element.scrollTop,this.coeff!=1){var s=this.element.clientHeight/this.scrollHeight;this.scrollTop=this.scrollTop*(1-s)/(this.coeff-s)}this._emit(`scroll`,{data:this.scrollTop})}this.skipEvent=!1},n.prototype.getWidth=function(){return Math.max(this.isVisible?this.width:0,this.$minWidth||0)},n.prototype.setHeight=function(s){this.element.style.height=s+`px`},n.prototype.setScrollHeight=function(s){this.scrollHeight=s,s>r?(this.coeff=r/s,s=r):this.coeff!=1&&(this.coeff=1),this.inner.style.height=s+`px`},n.prototype.setScrollTop=function(s){this.scrollTop!=s&&(this.skipEvent=!0,this.scrollTop=s,this.element.scrollTop=s*this.coeff)},n})(o);i.prototype.setInnerHeight=i.prototype.setScrollHeight;var t=(function(e){k(n,e);function n(s,d){var g=e.call(this,s,`-h`)||this;return g.scrollLeft=0,g.height=d.$scrollbarWidth,g.inner.style.height=g.element.style.height=(g.height||15)+5+`px`,g}return n.prototype.onScroll=function(){this.skipEvent||(this.scrollLeft=this.element.scrollLeft,this._emit(`scroll`,{data:this.scrollLeft})),this.skipEvent=!1},n.prototype.getHeight=function(){return this.isVisible?this.height:0},n.prototype.setWidth=function(s){this.element.style.width=s+`px`},n.prototype.setInnerWidth=function(s){this.inner.style.width=s+`px`},n.prototype.setScrollWidth=function(s){this.inner.style.width=s+`px`},n.prototype.setScrollLeft=function(s){this.scrollLeft!=s&&(this.skipEvent=!0,this.scrollLeft=this.element.scrollLeft=s)},n})(o);E.ScrollBar=i,E.ScrollBarV=i,E.ScrollBarH=t,E.VScrollBar=i,E.HScrollBar=t});ace.define(`ace/scrollbar_custom`,[`require`,`exports`,`module`,`ace/lib/oop`,`ace/lib/dom`,`ace/lib/event`,`ace/lib/event_emitter`],function(R,E,F){"use strict";var k=this&&this.__extends||(function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(s,d){s.__proto__=d}||function(s,d){for(var g in d)Object.prototype.hasOwnProperty.call(d,g)&&(s[g]=d[g])},t(e,n)};return function(e,n){if(typeof n!=`function`&&n!==null)throw new TypeError(`Class extends value `+String(n)+` is not a constructor or null`);t(e,n);function s(){this.constructor=e}
249e.prototype=n===null?Object.create(n):(s.prototype=n.prototype,new s)}})(),L=R(`./lib/oop`),M=R(`./lib/dom`),a=R(`./lib/event`),l=R(`./lib/event_emitter`).EventEmitter;M.importCssString(`.ace_editor>.ace_sb-v div, .ace_editor>.ace_sb-h div{
250  position: absolute;
251  background: rgba(128, 128, 128, 0.6);
252  -moz-box-sizing: border-box;
253  box-sizing: border-box;
254  border: 1px solid #bbb;
255  border-radius: 2px;
256  z-index: 8;
257}
258.ace_editor>.ace_sb-v, .ace_editor>.ace_sb-h {
259  position: absolute;
260  z-index: 6;
261  background: none;
262  overflow: hidden!important;
263}
264.ace_editor>.ace_sb-v {
265  z-index: 6;
266  right: 0;
267  top: 0;
268  width: 12px;
269}
270.ace_editor>.ace_sb-v div {
271  z-index: 8;
272  right: 0;
273  width: 100%;
274}
275.ace_editor>.ace_sb-h {
276  bottom: 0;
277  left: 0;
278  height: 12px;
279}
280.ace_editor>.ace_sb-h div {
281  bottom: 0;
282  height: 100%;
283}
284.ace_editor>.ace_sb_grabbed {
285  z-index: 8;
286  background: #000;
287}`,`ace_scrollbar.css`,!1);var r=(function(){function t(e,n){this.element=M.createElement(`div`),this.element.className=`ace_sb`+n,this.inner=M.createElement(`div`),this.inner.className=``,this.element.appendChild(this.inner),this.VScrollWidth=12,this.HScrollHeight=12,e.appendChild(this.element),this.setVisible(!1),this.skipEvent=!1,a.addMultiMouseDownListener(this.element,[500,300,300],this,`onMouseDown`)}return t.prototype.setVisible=function(e){this.element.style.display=e?``:`none`,this.isVisible=e,this.coeff=1},t})();L.implement(r.prototype,l);var o=(function(t){k(e,t);function e(n,s){var d=t.call(this,n,`-v`)||this;return d.scrollTop=0,d.scrollHeight=0,d.parent=n,d.width=d.VScrollWidth,d.renderer=s,d.inner.style.width=d.element.style.width=(d.width||15)+`px`,d.$minWidth=0,d}return e.prototype.onMouseDown=function(n,s){if(n===`mousedown`&&!(a.getButton(s)!==0||s.detail===2)){if(s.target===this.inner){var d=this,g=s.clientY,$=function(C){g=C.clientY},v=function(){clearInterval(y)},b=s.clientY,u=this.thumbTop,h=function(){if(g!==void 0){var C=d.scrollTopFromThumbTop(u+g-b);C!==d.scrollTop&&d._emit(`scroll`,{data:C})}};a.capture(this.inner,$,v);var y=setInterval(h,20);return a.preventDefault(s)}var m=s.clientY-this.element.getBoundingClientRect().top-this.thumbHe
287ight/2;return this._emit(`scroll`,{data:this.scrollTopFromThumbTop(m)}),a.preventDefault(s)}},e.prototype.getHeight=function(){return this.height},e.prototype.scrollTopFromThumbTop=function(n){var s=n*(this.pageHeight-this.viewHeight)/(this.slideHeight-this.thumbHeight);return s=s>>0,s<0?s=0:s>this.pageHeight-this.viewHeight&&(s=this.pageHeight-this.viewHeight),s},e.prototype.getWidth=function(){return Math.max(this.isVisible?this.width:0,this.$minWidth||0)},e.prototype.setHeight=function(n){this.height=Math.max(0,n),this.slideHeight=this.height,this.viewHeight=this.height,this.setScrollHeight(this.pageHeight,!0)},e.prototype.setScrollHeight=function(n,s){this.pageHeight===n&&!s||(this.pageHeight=n,this.thumbHeight=this.slideHeight*this.viewHeight/this.pageHeight,this.thumbHeight>this.slideHeight&&(this.thumbHeight=this.slideHeight),this.thumbHeight<15&&(this.thumbHeight=15),this.inner.style.height=this.thumbHeight+`px`,this.scrollTop>this.pageHeight-this.viewHeight&&(this.scrollTop=this.pageHeight-this.viewHeight,this.scrollTop<0&&(this.scrollTop=0),this._emit(`scroll`,{data:this.scrollTop})))},e.prototype.setScrollTop=function(n){this.scrollTop=n,n<0&&(n=0),this.thumbTop=n*(this.slideHeight-this.thumbHe
287ight)/(this.pageHeight-this.viewHeight),this.inner.style.top=this.thumbTop+`px`},e})(r);o.prototype.setInnerHeight=o.prototype.setScrollHeight;var i=(function(t){k(e,t);function e(n,s){var d=t.call(this,n,`-h`)||this;return d.scrollLeft=0,d.scrollWidth=0,d.height=d.HScrollHeight,d.inner.style.height=d.element.style.height=(d.height||12)+`px`,d.renderer=s,d}return e.prototype.onMouseDown=function(n,s){if(n===`mousedown`&&!(a.getButton(s)!==0||s.detail===2)){if(s.target===this.inner){var d=this,g=s.clientX,$=function(C){g=C.clientX},v=function(){clearInterval(y)},b=s.clientX,u=this.thumbLeft,h=function(){if(g!==void 0){var C=d.scrollLeftFromThumbLeft(u+g-b);C!==d.scrollLeft&&d._emit(`scroll`,{data:C})}};a.capture(this.inner,$,v);var y=setInterval(h,20);return a.preventDefault(s)}var m=s.clientX-this.element.getBoundingClientRect().left-this.thumbWidth/2;return this._emit(`scroll`,{data:this.scrollLeftFromThumbLeft(m)}),a.preventDefault(s)}},e.prototype.getHeight=function(){return this.isVisible?this.height:0},e.prototype.scrollLeftFromThumbLeft=function(n){var s=n*(this.pageWidth-this.viewWidth)/(this.slideWidth-this.thumbWidth);return s=s>>0,s<0?s=0:s>this.pageWidth-this.viewWidth&&(s=this.pageWidth-this.viewWidth),s},e.prototype.setWidth=function(n){this.width=Math.max(0,n),this.element.style.width=this.width+`px`,this.slideWidth=this.width,this.viewWidth=this.width,this.setScrollWidth(this.pageWidth,!0)},e.prototype.setScrollWidth=function(n,s){this.pageWidth===n&&!s||(this.pageWidth=n,this.thumbWidth=this.slideWidth*this.viewWidth/this.pageWidth,this.thumbWidth>this.slideWidth&&(this.thumbWidth=this.slideWidth),this.thumbWidth<15&&(this.thumbWidth=15),this.inner.style.width=this.thumbWidth+`px`,this.scrollLeft>this.pageWidth-this.viewWidth&&(this.scrollLeft=this.pageWidth-this.viewWidth,this.scrollLeft<0&&(this.scrollLeft=0),this._emit(`scroll`,{data:this.scrollLeft})))},e.prototype.setScrollLeft=function(n){this.scrollLeft=n,n<0&&(n=0),this.thumbLeft=n*(this.slideWidth-this.thumbWidth)/(this.pageWidth-this.viewWidth),this.inner.style.left=this.thumbLeft+`px`},e})(r);i.prototype.setInnerWidth=i.prototype.setScrollWidth,E.ScrollBar=o,E.ScrollBarV=o,E.ScrollBarH=i,E.VScrollBar=o,E.HScrollBar=i});ace.define(`ace/renderloop`,[`require`,`exports`,`module`,`ace/lib/event`],function(R,E,F){"use strict";var k=R(`./lib/event`);E.RenderLoop=(function(){function M(a,l){this.onRender=a,this.pending=!1,this.changes=0,this.$recursionLimit=2,this.window=l||window;var r=this;this._flush=function(o){r.pending=!1;var i=r.changes;if(i&&(k.blockIdle(100),r.changes=0,r.onRender(i)),r.changes){if(r.$recursionLimit--<0)return;r.schedule()}else r.$recursionLimit=2}}return M.prototype.schedule=function(a){this.changes=this.changes|a,this.changes&&!this.pending&&(k.nextFrame(this._flush),this.pending=!0)},M.prototype.clear=function(a){var l=this.changes;return this.changes=0,l},M})()});ace.define(`ace/layer/font_metrics`,[`require`,`exports`,`module`,`ace/lib/oop`,`ace/lib/dom`,`ace/lib/lang`,`ace/lib/event`,`ace/lib/useragent`,`ace/lib/event_emitter`],function(R,E,F){var k=R(`../lib/oop`),L=R(`../lib/dom`),M=R(`../lib/lang`),a=R(`../lib/event`),l=R(`../lib/useragent`),r=R(`../lib/event_emitter`).EventEmitter,o=512,i=typeof ResizeObserver==`function`,t=200,e=(function(){function n(s){this.el=L.createElement(`div`),this.$setMeasureNodeStyles(this.el.style,!0),this.$main=L.createElement(`div`),this.$setMeasureNodeStyles(this.$main.style),this.$measureNode=L.createElement(`div`),this.$setMeasureNodeStyles(this.$measureNode.style),this.el.appendChild(this.$main),this.el.appendChild(this.$measureNode),s.appendChild(this.el),this.$measureNode.textContent=M.stringRepeat(`X`,o),this.$characterSize={width:0,height:0},i?this.$addObserver():this.checkForSizeChanges()}return n.prototype.$setMeasureNodeStyles=function(s,d){s.width=s.height=`auto`,s.left=s.top=`0px`,s.visibility=`hidden`,s.position=`absolute`,s.whiteSpace=`pre`,l.isIE<8?s[`font-family`]=`inherit`:s.font=`inherit`,s.overflow=d?`hidden`:`visible`},n.prototype.checkForSizeChanges=function(s){if(s===void 0&&(s=this.$measureSizes()),s&&(this.$characterSize.width!==s.width||this.$characterSize.height!==s.height)){this.$measureNode.style.fontWeight=`bold`;var d=this.$measureSizes();this.$measureNode.style.fontWeight=``,this.$characterSize=s,this.charSizes=Object.create(null),this.allowBoldFonts=d&&d.width===s.width&&d.height===s.height,this._emit(`changeCharacterSize`,{data:s})}},n.prototype.$addObserver=function(){var s=this;this.$observer=new window.ResizeObserver(function(d){s.checkForSizeChanges()}),this.$observer.observe(this.$measureNode)},n.prototype.$pollSizeChanges=function(){if(this.$pollSizeChangesTimer||this.$observer)return this.$pollSizeChangesTimer;var s=this;return this.$pollSizeChangesTimer=a.onIdle(function d(){s.checkForSizeChanges(),a.onIdle(d,500)},500)},n.prototype.setPolling=function(s){s?this.$pollSizeChanges():this.$pollSizeChangesTimer&&(clearInterval(this.$pollSizeChangesTimer),this.$pollSizeChangesTimer=0)},n.prototype.$measureSizes=function(s){var d={height:(s||this.$measureNode).clientHeight,width:(s||this.$measureNode).clientWidth/o};return d.width===0||d.height===0?null:d},n.prototype.$measureCharWidth=function(s){this.$main.textContent=M.stringRepeat(s,o);return this.$main.getBoundingClientRect().width/o},n.prototype.getCharacterWidth=function(s){var d=this.charSizes[s];return d===void 0&&(d=this.charSizes[s]=this.$measureCharWidth(s)/this.$characterSize.width),d},n.prototype.destroy=function(){clearInterval(this.$pollSizeChangesTimer),this.$observer&&this.$observer.disconnect(),this.el&&this.el.parentNode&&this.el.parentNode.removeChild(this.el)},n.prototype.$getZoom=function(s){return!s||!s.parentElement?1:(Number(window.getComputedStyle(s).zoom)||1)*this.$getZoom(s.parentElement)},n.prototype.$initTransformMeasureNodes=function(){var s=function(d,g){return[`div`,{style:`position: absolute;top:`+d+`px;left:`+g+`px;`}]};this.els=L.buildDom([s(0,0),s(t,0),s(0,t),s(t,t)],this.el)},n.prototype.transformCoordinates=function(s,d){if(s)s=u(1/this.$getZoom(this.el),s);
287function $(I,D,N){var O=I[1]*D[0]-I[0]*D[1];return[(-D[1]*N[0]+D[0]*N[1])/O,(+I[1]*N[0]-I[0]*N[1])/O]}function v(I,D){return[I[0]-D[0],I[1]-D[1]]}function b(I,D){return[I[0]+D[0],I[1]+D[1]]}function u(I,D){return[I*D[0],I*D[1]]}this.els||this.$initTransformMeasureNodes();function h(I){var D=I.getBoundingClientRect();return[D.left,D.top]}var y=h(this.els[0]),m=h(this.els[1]),C=h(this.els[2]),x=h(this.els[3]),w=$(v(x,m),v(x,C),v(b(m,C),b(x,y))),p=u(1+w[0],v(m,y)),f=u(1+w[1],v(C,y));if(d){var c=d,S=w[0]*c[0]/t+w[1]*c[1]/t+1,A=b(u(c[0],p),u(c[1],f));return b(u(1/S/t,A),y)}var T=v(s,y);return u(t,$(v(p,u(w[0],T)),v(f,u(w[1],T)),T))},n})();e.prototype.$characterSize={width:0,height:0},k.implement(e.prototype,r),E.FontMetrics=e});ace.define(`ace/css/editor-css`,[`require`,`exports`,`module`],function(R,E,F){F.exports=`
288.ace_br1 {border-top-left-radius    : 3px;}
289.ace_br2 {border-top-right-radius   : 3px;}
290.ace_br3 {border-top-left-radius    : 3px; border-top-right-radius:    3px;}
291.ace_br4 {border-bottom-right-radius: 3px;}
292.ace_br5 {border-top-left-radius    : 3px; border-bottom-right-radius: 3px;}
293.ace_br6 {border-top-right-radius   : 3px; border-bottom-right-radius: 3px;}
294.ace_br7 {border-top-left-radius    : 3px; border-top-right-radius:    3px; border-bottom-right-radius: 3px;}
295.ace_br8 {border-bottom-left-radius : 3px;}
296.ace_br9 {border-top-left-radius    : 3px; border-bottom-left-radius:  3px;}
297.ace_br10{border-top-right-radius   : 3px; border-bottom-left-radius:  3px;}
298.ace_br11{border-top-left-radius    : 3px; border-top-right-radius:    3px; border-bottom-left-radius:  3px;}
299.ace_br12{border-bottom-right-radius: 3px; border-bottom-left-radius:  3px;}
300.ace_br13{border-top-left-radius    : 3px; border-bottom-right-radius: 3px; border-bottom-left-radius:  3px;}
301.ace_br14{border-top-right-radius   : 3px; border-bottom-right-radius: 3px; border-bottom-left-radius:  3px;}
302.ace_br15{border-top-left-radius    : 3px; border-top-right-radius:    3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;}
303
304
305.ace_editor {
306    position: relative;
307    overflow: hidden;
308    padding: 0;
309    font: 12px/normal 'Monaco', 'Menlo', 'Ubuntu Mono', 'Consolas', 'Source Code Pro', 'source-code-pro', monospace;
310    direction: ltr;
311    text-align: left;
312    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
313    forced-color-adjust: none;
314}
315
316.ace_scroller {
317    position: absolute;
318    overflow: hidden;
319    top: 0;
320    bottom: 0;
321    background-color: inherit;
322    -ms-user-select: none;
323    -moz-user-select: none;
324    -webkit-user-select: none;
325    user-select: none;
326    cursor: text;
327}
328
329.ace_content {
330    position: absolute;
331    box-sizing: border-box;
332    min-width: 100%;
333    contain: style size layout;
334    font-variant-ligatures: no-common-ligatures;
335}
336.ace_invisible {
337    font-variant-ligatures: none;
338}
339
340.ace_keyboard-focus:focus {
341    box-shadow: inset 0 0 0 2px #5E9ED6;
342    outline: none;
343}
344
345.ace_dragging .ace_scroller:before{
346    position: absolute;
347    top: 0;
348    left: 0;
349    right: 0;
350    bottom: 0;
351    content: '';
352    background: rgba(250, 250, 250, 0.01);
353    z-index: 1000;
354}
355.ace_dragging.ace_dark .ace_scroller:before{
356    background: rgba(0, 0, 0, 0.01);
357}
358
359.ace_gutter {
360    position: absolute;
361    overflow : hidden;
362    width: auto;
363    top: 0;
364    bottom: 0;
365    left: 0;
366    cursor: default;
367    z-index: 4;
368    -ms-user-select: none;
369    -moz-user-select: none;
370    -webkit-user-select: none;
371    user-select: none;
372    contain: style size layout;
373}
374
375.ace_gutter-active-line {
376    position: absolute;
377    left: 0;
378    right: 0;
379}
380
381.ace_scroller.ace_scroll-left:after {
382    content: "";
383    position: absolute;
384    top: 0;
385    right: 0;
386    bottom: 0;
387    left: 0;
388    box-shadow: 17px 0 16px -16px rgba(0, 0, 0, 0.4) inset;
389    pointer-events: none;
390}
391
392.ace_gutter-cell, .ace_gutter-cell_svg-icons {
393    position: absolute;
394    top: 0;
395    left: 0;
396    right: 0;
397    padding-left: 19px;
398    padding-right: 6px;
399    background-repeat: no-repeat;
400}
401
402.ace_gutter-cell_svg-icons .ace_gutter_annotation {
403    margin-left: -14px;
404    float: left;
405}
406
407.ace_gutter-cell .ace_gutter_annotation {
408    margin-left: -19px;
409    float: left;
410}
411
412.ace_gutter-cell.ace_error, .ace_icon.ace_error, .ace_icon.ace_error_fold, .ace_gutter-cell.ace_security, .ace_icon.ace_security, .ace_icon.ace_security_fold {
413    background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAABOFBMVEX/////
413////QRswFAb/Ui4wFAYwFAYwFAaWGAfDRymzOSH/PxswFAb/SiUwFAYwFAbUPRvjQiDllog5HhHdRybsTi3/Tyv9Tir+Syj/UC3////XurebMBIwFAb/RSHbPx/gUzfdwL3kzMivKBAwFAbbvbnhPx66NhowFAYwFAaZJg8wFAaxKBDZurf/RB6mMxb/SCMwFAYwFAbxQB3+RB4wFAb/Qhy4Oh+4QifbNRcwFAYwFAYwFAb/QRzdNhgwFAYwFAbav7v/Uy7oaE68MBK5LxLewr/r2NXewLswFAaxJw4wFAbkPRy2PyYwFAaxKhLm1tMwFAazPiQwFAaUGAb/QBrfOx3bvrv/VC/maE4wFAbRPBq6MRO8Qynew8Dp2tjfwb0wFAbx6eju5+by6uns4uH9/f36+vr/GkHjAAAAYnRSTlMAGt+64rnWu/bo8eAA4InH3+DwoN7j4eLi4xP99Nfg4+b+/u9B/eDs1MD1mO7+4PHg2MXa347g7vDizMLN4eG+Pv7i5evs/v79yu7S3/DV7/498Yv24eH+4ufQ3Ozu/v7+y13sRqwAAADLSURBVHjaZc/XDsFgGIBhtDrshlitmk2IrbHFqL2pvXf/+78DPokj7+Fz9qpU/9UXJIlhmPaTaQ6QPaz0mm+5gwkgovcV6GZzd5JtCQwgsxoHOvJO15kleRLAnMgHFIESUEPmawB9ngmelTtipwwfASilxOLyiV5UVUyVAfbG0cCPHig+GBkzAENHS0AstVF6bacZIOzgLmxsHbt2OecNgJC83JERmePUYq8ARGkJx6XtFsdddBQgZE2nPR6CICZhawjA4Fb/chv+399kfR+MMMDGOQAAAABJRU5ErkJggg==");
414    background-repeat: no-repeat;
415    background-position: 2px center;
416}
417
418.ace_gutter-cell.ace_warning, .ace_icon.ace_warning, .ace_icon.ace_warning_fold {
419    background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAmVBMVEX///8AAAD///8AAAAAAABPSzb/5sAAAAB/blH/73z/ulkAAAAAAAD85pkAAAAAAAACAgP/vGz/rkDerGbGrV7/pkQICAf////e0IsAAAD/oED/qTvhrnUAAAD/yHD/njcAAADuv2r/nz//oTj/p064oGf/zHAAAAA9Nir/tFIAAAD/tlTiuWf/tkIAAACynXEAAAAAAAAtIRW7zBpBAAAAM3RSTlMAABR1m7RXO8Ln31Z36zT+neXe5OzooRDfn+TZ4p3h2hTf4t3k3ucyrN1K5+Xaks52Sfs9CXgrAAAAjklEQVR42o3PbQ+CIBQFYEwboPhSYgoYunIqqLn6/z8uYdH8Vmdnu9vz4WwXgN/xTPRD2+sgOcZjsge/whXZgUaYYvT8QnuJaUrjrHUQreGczuEafQCO/SJTufTbroWsPgsllVhq3wJEk2jUSzX3CUEDJC84707djRc5MTAQxoLgupWRwW6UB5fS++NV8AbOZgnsC7BpEAAAAABJRU5ErkJggg==");
420    background-repeat: no-repeat;
421    background-position: 2px center;
422}
423
424.ace_gutter-cell.ace_info, .ace_icon.ace_info, .ace_gutter-cell.ace_hint, .ace_icon.ace_hint {
425    background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAAAAAA6mKC9AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAAJ0Uk5TAAB2k804AAAAPklEQVQY02NgIB68QuO3tiLznjAwpKTgNyDbMegwisCHZUETUZV0ZqOquBpXj2rtnpSJT1AEnnRmL2OgGgAAIKkRQap2htgAAAAASUVORK5CYII=");
426    background-repeat: no-repeat;
427    background-position: 2px center;
428}
429
430.ace_dark .ace_gutter-cell.ace_info, .ace_dark .ace_icon.ace_info, .ace_dark .ace_gutter-cell.ace_hint, .ace_dark .ace_icon.ace_hint {
431    background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQBAMAAADt3eJSAAAAJFBMVEUAAAChoaGAgIAqKiq+vr6tra1ZWVmUlJSbm5s8PDxubm56enrdgzg3AAAAAXRSTlMAQObYZgAAAClJREFUeNpjYMAPdsMYHegyJZFQBlsUlMFVCWUYKkAZMxZAGdxlDMQBAG+TBP4B6RyJAAAAAElFTkSuQmCC");
432}
433
434.ace_icon_svg.ace_error {
435    -webkit-mask-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyMCAxNiI+CjxnIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlPSJyZWQiIHNoYXBlLXJlbmRlcmluZz0iZ2VvbWV0cmljUHJlY2lzaW9uIj4KPGNpcmNsZSBmaWxsPSJub25lIiBjeD0iOCIgY3k9IjgiIHI9IjciIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz4KPGxpbmUgeDE9IjExIiB5MT0iNSIgeDI9IjUiIHkyPSIxMSIvPgo8bGluZSB4MT0iMTEiIHkxPSIxMSIgeDI9IjUiIHkyPSI1Ii8+CjwvZz4KPC9zdmc+");
436    background-color: crimson;
437}
438.ace_icon_svg.ace_security {
439    -webkit-mask-image: url("data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMjAgMTYiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CiAgICA8ZyBzdHJva2Utd2lkdGg9IjIiIHN0cm9rZT0iZGFya29yYW5nZSIgZmlsbD0ibm9uZSIgc2hhcGUtcmVuZGVyaW5nPSJnZW9tZXRyaWNQcmVjaXNpb24iPgogICAgICAgIDxwYXRoIGNsYXNzPSJzdHJva2UtbGluZWpvaW4tcm91bmQiIGQ9Ik04IDE0LjgzMDdDOCAxNC44MzA3IDIgMTIuOTA0NyAyIDguMDg5OTJWMy4yNjU0OEM1LjMxIDMuMjY1NDggNy45ODk5OSAxLjM0OTE4IDcuOTg5OTkgMS4zNDkxOEM3Ljk4OTk5IDEuMzQ5MTggMTAuNjkgMy4yNjU0OCAxNCAzLjI2NTQ4VjguMDg5OTJDMTQgMTIuOTA0NyA4IDE0LjgzMDcgOCAxNC44MzA3WiIvPgogICAgICAgIDxwYXRoIGQ9Ik0yIDguMDg5OTJWMy4yNjU0OEM1LjMxIDMuMjY1NDggNy45ODk5OSAxLjM0OTE4IDcuOTg5OTkgMS4zNDkxOCIvPgogICAgICAgIDxwYXRoIGQ9Ik0xMy45OSA4LjA4OTkyVjMuMjY1NDhDMTAuNjggMy4yNjU0OCA4IDEuMzQ5MTggOCAxLjM0OTE4Ii8+CiAgICAgICAgPHBhdGggY2xhc3M9InN0cm9rZS1saW5lam9pbi1yb3VuZCIgZD0iTTggNFY5Ii8+CiAgICAgICAgPHBhdGggY2xhc3M9InN0cm9rZS1saW5lam9pbi1yb3VuZCIgZD0iTTggMTBWMTIiLz4KICAgIDwvZz4KPC9zdmc+");
440    background-color: crimson;
441}
442.ace_icon_svg.ace_warning {
443    -webkit-mask-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyMCAxNiI+CjxnIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlPSJkYXJrb3JhbmdlIiBzaGFwZS1yZW5kZXJpbmc9Imdlb21ldHJpY1ByZWNpc2lvbiI+Cjxwb2x5Z29uIHN0cm9rZS1saW5lam9pbj0icm91bmQiIGZpbGw9Im5vbmUiIHBvaW50cz0iOCAxIDE1IDE1IDEgMTUgOCAxIi8+CjxyZWN0IHg9IjgiIHk9IjEyIiB3aWR0aD0iMC4wMSIgaGVpZ2h0PSIwLjAxIi8+CjxsaW5lIHgxPSI4IiB5MT0iNiIgeDI9IjgiIHkyPSIxMCIvPgo8L2c+Cjwvc3ZnPg==");
444    background-color: darkorange;
445}
446.ace_icon_svg.ace_info {
447    -webkit-mask-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyMCAxNiI+CjxnIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlPSJibHVlIiBzaGFwZS1yZW5kZXJpbmc9Imdlb21ldHJpY1ByZWNpc2lvbiI+CjxjaXJjbGUgZmlsbD0ibm9uZSIgY3g9IjgiIGN5PSI4IiByPSI3IiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+Cjxwb2x5bGluZSBwb2ludHM9IjggMTEgOCA4Ii8+Cjxwb2x5bGluZSBwb2ludHM9IjkgOCA2IDgiLz4KPGx
447pbmUgeDE9IjEwIiB5MT0iMTEiIHgyPSI2IiB5Mj0iMTEiLz4KPHJlY3QgeD0iOCIgeT0iNSIgd2lkdGg9IjAuMDEiIGhlaWdodD0iMC4wMSIvPgo8L2c+Cjwvc3ZnPg==");
448    background-color: royalblue;
449}
450.ace_icon_svg.ace_hint {
451    -webkit-mask-image: url("data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMjAgMTYiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CiAgICA8ZyBzdHJva2Utd2lkdGg9IjIiIHN0cm9rZT0ic2lsdmVyIiBmaWxsPSJub25lIiBzaGFwZS1yZW5kZXJpbmc9Imdlb21ldHJpY1ByZWNpc2lvbiI+CiAgICAgICAgPHBhdGggY2xhc3M9InN0cm9rZS1saW5lam9pbi1yb3VuZCIgZD0iTTYgMTRIMTAiLz4KICAgICAgICA8cGF0aCBkPSJNOCAxMUg5QzkgOS40NzAwMiAxMiA4LjU0MDAyIDEyIDUuNzYwMDJDMTIuMDIgNC40MDAwMiAxMS4zOSAzLjM2MDAyIDEwLjQzIDIuNjcwMDJDOSAxLjY0MDAyIDcuMDAwMDEgMS42NDAwMiA1LjU3MDAxIDIuNjcwMDJDNC42MTAwMSAzLjM2MDAyIDMuOTggNC40MDAwMiA0IDUuNzYwMDJDNCA4LjU0MDAyIDcuMDAwMDEgOS40NzAwMiA3LjAwMDAxIDExSDhaIi8+CiAgICA8L2c+Cjwvc3ZnPg==");
452    background-color: silver;
453}
454
455.ace_icon_svg.ace_error_fold {
456    -webkit-mask-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyMCAxNiIgZmlsbD0ibm9uZSI+CiAgPHBhdGggZD0ibSAxOC45Mjk4NTEsNy44Mjk4MDc2IGMgMC4xNDYzNTMsNi4zMzc0NjA0IC02LjMyMzE0Nyw3Ljc3Nzg0NDQgLTcuNDc3OTEyLDcuNzc3ODQ0NCAtMi4xMDcyNzI2LC0wLjEyODc1IDUuMTE3Njc4LDAuMzU2MjQ5IDUuMDUxNjk4LC03Ljg3MDA2MTggLTAuNjA0NjcyLC04LjAwMzk3MzQ5IC03LjA3NzI3MDYsLTcuNTYzMTE4OSAtNC44NTczLC03LjQzMDM5NTU2IDEuNjA2LC0wLjExNTE0MjI1IDYuODk3NDg1LDEuMjYyNTQ1OTYgNy4yODM1MTQsNy41MjI2MTI5NiB6IiBmaWxsPSJjcmltc29uIiBzdHJva2Utd2lkdGg9IjIiLz4KICA8cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0ibSA4LjExNDc1NjIsMi4wNTI5ODI4IGMgMy4zNDkxNjk4LDAgNi4wNjQxMzI4LDIuNjc2ODYyNyA2LjA2NDEzMjgsNS45Nzg5NTMgMCwzLjMwMjExMjIgLTIuNzE0OTYzLDUuOTc4OTIwMiAtNi4wNjQxMzI4LDUuOTc4OTIwMiAtMy4zNDkxNDczLDAgLTYuMDY0MTc3MiwtMi42NzY4MDggLTYuMDY0MTc3MiwtNS45Nzg5MjAyIDAuMDA1MzksLTMuMjk5ODg2MSAyLjcxNzI2NTYsLTUuOTczNjQwOCA2LjA2NDE3NzIsLTUuOTc4OTUzIHogbSAwLC0xLjczNTgyNzE5IGMgLTQuMzIxNDgzNiwwIC03LjgyNDc0MDM4LDMuNDU0MDE4NDkgLTcuODI0NzQwMzgsNy43MTQ3ODAxOSAwLDQuMjYwNzI4MiAzLjUwMzI1Njc4LDcuNzE0NzQ1MiA3LjgyNDc0MDM4LDcuNzE0NzQ1MiA0LjMyMTQ0OTgsMCA3LjgyNDY5OTgsLTMuNDU0MDE3IDcuODI0Njk5OCwtNy43MTQ3NDUyIDAsLTIuMDQ2MDkxNCAtMC44MjQzOTIsLTQuMDA4MzY3MiAtMi4yOTE3NTYsLTUuNDU1MTc0NiBDIDEyLjE4MDIyNSwxLjEyOTk2NDggMTAuMTkwMDEzLDAuMzE3MTU1NjEgOC4xMTQ3NTYyLDAuMzE3MTU1NjEgWiBNIDYuOTM3NDU2Myw4LjI0MDU5ODUgNC42NzE4Njg1LDEwLjQ4NTg1MiA2LjAwODY4MTQsMTEuODc2NzI4IDguMzE3MDAzNSw5LjYwMDc5MTEgMTAuNjI1MzM3LDExLjg3NjcyOCAxMS45NjIxMzgsMTAuNDg1ODUyIDkuNjk2NTUwOCw4LjI0MDU5ODUgMTEuOTYyMTM4LDYuMDA2ODA2NiAxMC41NzMyNDYsNC42Mzc0MzM1IDguMzE3MDAzNSw2Ljg3MzQyOTcgNi4wNjA3NjA3LDQuNjM3NDMzNSA0LjY3MTg2ODUsNi4wMDY4MDY2IFoiIGZpbGw9ImNyaW1zb24iIHN0cm9rZS13aWR0aD0iMiIvPgo8L3N2Zz4=");
457    background-color: crimson;
458}
459.ace_icon_svg.ace_security_fold {
460    -webkit-mask-image: url("data:image/svg+xml;base64,CjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB2aWV3Qm94PSIwIDAgMTcgMTQiIGZpbGw9Im5vbmUiPgogICAgPHBhdGggZD0iTTEwLjAwMDEgMTMuNjk5MkMxMC4wMDAxIDEzLjY5OTIgMTEuOTI0MSAxMy40NzYzIDEzIDEyLjY5OTJDMTQuNDEzOSAxMS42NzgxIDE2IDEwLjUgMTYuMTI1MSA2LjgxMTI2VjIuNTg5ODdDMTYuMTI1MSAyLjU0NzY4IDE2LjEyMjEgMi41MDYxOSAxNi4xMTY0IDIuNDY1NTlWMS43MTQ4NUgxNS4yNDE0TDE1LjIzMDcgMS43MTQ4NEwxNC42MjUxIDEuNjk5MjJWNi44MTEyM0MxNC42MjUxIDguNTEwNjEgMTQuNjI1MSA5LjQ2NDYxIDEyLjc4MjQgMTEuNzIxQzEyLjE1ODYgMTIuNDg0OCAxMC4wMDAxIDEzLjY5OTIgMTAuMDAwMSAxMy42OTkyWiIgZmlsbD0iY3JpbXNvbiIgc3Ryb2tlLXdpZHRoPSIyIi8+CiAgICA8cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTcuMzM2MDkgMC4zNjc0NzVDNy4wMzIxNCAwLjE1MjY1MiA2LjYyNTQ4IDAuMTUzNjE0IDYuMzIyNTMgMC4zNjk5OTdMNi4zMDg2OSAwLjM3OTU1NEM2LjI5NTUzIDAuMzg4NTg4IDYuMjczODggMC40MDMyNjYgNi4yNDQxNyAwLjQyMjc4OUM2LjE4NDcxIDAuNDYxODYgNi4wOTMyMSAwLjUyMDE3MSA1Ljk3MzEzIDAuNTkxMzczQzUuNzMyNTEgMC43MzQwNTkgNS4zNzk5IDAuOTI2ODY0IDQuOTQyNzkgMS4xMjAwOUM0LjA2MTQ0IDEuNTA5NyAyLjg3NTQxIDEuODgzNzcgMS41ODk4NCAxLjg4Mzc3SDAuNzE0ODQ0VjIuNzU4NzdWNi45ODAxNUMwLjcxNDg0NCA5LjQ5Mzc0IDIuMjg4NjYgMTEuMTk3MyAzLjcwMjU0IDEyLjIxODVDNC40MTg0NSAxMi43MzU1IDUuMTI4NzQgMTMuMTA1MyA1LjY1NzMzIDEzLjM0NTdDNS45MjI4NCAxMy40NjY0IDYuMTQ1NjYgMTMuNTU1OSA2LjMwNDY1IDEzLjYxNjFDNi4zODQyMyAxMy42NDYyIDYuNDQ4MDUgMTMuNjY5IDYuNDkzNDkgMTMuNjg0OEM2LjUxNjIyIDEzLjY5MjcgNi41MzQzOCAxMy42OTg5IDYuNTQ3NjQgMTMuNzAzM0w2LjU2MzgyIDEzLjcwODdMNi41NjkwOCAxMy43MTA0TDYuNTcwOTkgMTMuNzExTDYuODM5ODQgMTMuNzUzM0w2LjU3MjQyIDEzLjcxMTVDNi43NDYzMyAxMy43NjczIDYuOTMzMzUgMTMuNzY3MyA3LjEwNzI3IDEzLjcxMTVMNy4xMDg3IDEzLjcxMUw3LjExMDYxIDEzLjcxMDRMNy4xMTU4NyAxMy43MDg3TDcuMTMyM
460DUgMTMuNzAzM0M3LjE0NTMxIDEzLjY5ODkgNy4xNjM0NiAxMy42OTI3IDcuMTg2MTkgMTMuNjg0OEM3LjIzMTY0IDEzLjY2OSA3LjI5NTQ2IDEzLjY0NjIgNy4zNzUwMyAxMy42MTYxQzcuNTM0MDMgMTMuNTU1OSA3Ljc1Njg1IDEzLjQ2NjQgOC4wMjIzNiAxMy4zNDU3QzguNTUwOTUgMTMuMTA1MyA5LjI2MTIzIDEyLjczNTUgOS45NzcxNSAxMi4yMTg1QzExLjM5MSAxMS4xOTczIDEyLjk2NDggOS40OTM3NyAxMi45NjQ4IDYuOTgwMThWMi43NTg4QzEyLjk2NDggMi43MTY2IDEyLjk2MTkgMi42NzUxMSAxMi45NTYxIDIuNjM0NTFWMS44ODM3N0gxMi4wODExQzEyLjA3NzUgMS44ODM3NyAxMi4wNzQgMS44ODM3NyAxMi4wNzA0IDEuODgzNzdDMTAuNzk3OSAxLjg4MDA0IDkuNjE5NjIgMS41MTEwMiA4LjczODk0IDEuMTI0ODZDOC43MzUzNCAxLjEyMzI3IDguNzMxNzQgMS4xMjE2OCA4LjcyODE0IDEuMTIwMDlDOC4yOTEwMyAwLjkyNjg2NCA3LjkzODQyIDAuNzM0MDU5IDcuNjk3NzkgMC41OTEzNzNDNy41Nzc3MiAwLjUyMDE3MSA3LjQ4NjIyIDAuNDYxODYgNy40MjY3NiAwLjQyMjc4OUM3LjM5NzA1IDAuNDAzMjY2IDcuMzc1MzkgMC4zODg1ODggNy4zNjIyNCAwLjM3OTU1NEw3LjM0ODk2IDAuMzcwMzVDNy4zNDg5NiAwLjM3MDM1IDcuMzQ4NDcgMC4zNzAwMiA3LjM0NTYzIDAuMzc0MDU0TDcuMzM3NzkgMC4zNjg2NTlMNy4zMzYwOSAwLjM2NzQ3NVpNOC4wMzQ3MSAyLjcyNjkxQzguODYwNCAzLjA5MDYzIDkuOTYwNjYgMy40NjMwOSAxMS4yMDYxIDMuNTg5MDdWNi45ODAxNUgxMS4yMTQ4QzExLjIxNDggOC42Nzk1MyAxMC4xNjM3IDkuOTI1MDcgOC45NTI1NCAxMC43OTk4QzguMzU1OTUgMTEuMjMwNiA3Ljc1Mzc0IDExLjU0NTQgNy4yOTc5NiAxMS43NTI3QzcuMTE2NzEgMTEuODM1MSA2Ljk2MDYyIDExLjg5OTYgNi44Mzk4NCAxMS45NDY5QzYuNzE5MDYgMTEuODk5NiA2LjU2Mjk3IDExLjgzNTEgNi4zODE3MyAxMS43NTI3QzUuOTI1OTUgMTEuNTQ1NCA1LjMyMzczIDExLjIzMDYgNC43MjcxNSAxMC43OTk4QzMuNTE2MDMgOS45MjUwNyAyLjQ2NDg0IDguNjc5NTUgMi40NjQ4NCA2Ljk4MDE4VjMuNTg5MDlDMy43MTczOCAzLjQ2MjM5IDQuODIzMDggMy4wODYzOSA1LjY1MDMzIDIuNzIwNzFDNi4xNDIyOCAyLjUwMzI0IDYuNTQ0ODUgMi4yODUzNyA2LjgzMjU0IDIuMTE2MjRDNy4xMjE4MSAyLjI4NTM1IDcuNTI3IDIuNTAzNTIgOC4wMjE5NiAyLjcyMTMxQzguMDI2MiAyLjcyMzE3IDguMDMwNDUgMi43MjUwNCA4LjAzNDcxIDIuNzI2OTFaTTUuOTY0ODQgMy40MDE0N1Y3Ljc3NjQ3SDcuNzE0ODRWMy40MDE0N0g1Ljk2NDg0Wk01Ljk2NDg0IDEwLjQwMTVWOC42NTE0N0g3LjcxNDg0VjEwLjQwMTVINS45NjQ4NFoiIGZpbGw9ImNyaW1zb24iIHN0cm9rZS13aWR0aD0iMiIvPgo8L3N2Zz4=");
461    background-color: crimson;
462}
463.ace_icon_svg.ace_warning_fold {
464    -webkit-mask-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAyMCAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0xNC43NzY5IDE0LjczMzdMOC42NTE5MiAyLjQ4MzY5QzguMzI5NDYgMS44Mzg3NyA3LjQwOTEzIDEuODM4NzcgNy4wODY2NyAyLjQ4MzY5TDAuOTYxNjY5IDE0LjczMzdDMC42NzA3NzUgMTUuMzE1NSAxLjA5MzgzIDE2IDEuNzQ0MjkgMTZIMTMuOTk0M0MxNC42NDQ4IDE2IDE1LjA2NzggMTUuMzE1NSAxNC43NzY5IDE0LjczMzdaTTMuMTYwMDcgMTQuMjVMNy44NjkyOSA0LjgzMTU2TDEyLjU3ODUgMTQuMjVIMy4xNjAwN1pNOC43NDQyOSAxMS42MjVWMTMuMzc1SDYuOTk0MjlWMTEuNjI1SDguNzQ0MjlaTTYuOTk0MjkgMTAuNzVWNy4yNUg4Ljc0NDI5VjEwLjc1SDYuOTk0MjlaIiBmaWxsPSIjRUM3MjExIi8+CjxwYXRoIGQ9Ik0xMS4xOTkxIDIuOTUyMzhDMTAuODgwOSAyLjMxNDY3IDEwLjM1MzcgMS44MDUyNiA5LjcwNTUgMS41MDlMMTEuMDQxIDEuMDY5NzhDMTEuNjg4MyAwLjk0OTgxNCAxMi4zMzcgMS4yNzI2MyAxMi42MzE3IDEuODYxNDFMMTcuNjEzNiAxMS44MTYxQzE4LjM1MjcgMTMuMjkyOSAxNy41OTM4IDE1LjA4MDQgMTYuMDE4IDE1LjU3NDVDMTYuNDA0NCAxNC40NTA3IDE2LjMyMzEgMTMuMjE4OCAxNS43OTI0IDEyLjE1NTVMMTEuMTk5MSAyLjk1MjM4WiIgZmlsbD0iI0VDNzIxMSIvPgo8L3N2Zz4=");
465    background-color: darkorange;
466}
467
468.ace_scrollbar {
469    contain: strict;
470    position: absolute;
471    right: 0;
472    bottom: 0;
473    z-index: 6;
474}
475
476.ace_scrollbar-inner {
477    position: absolute;
478    cursor: text;
479    left: 0;
480    top: 0;
481}
482
483.ace_scrollbar-v{
484    overflow-x: hidden;
485    overflow-y: scroll;
486    top: 0;
487}
488
489.ace_scrollbar-h {
490    overflow-x: scroll;
491    overflow-y: hidden;
492    left: 0;
493}
494
495.ace_print-margin {
496    position: absolute;
497    height: 100%;
498}
499
500.ace_text-input {
501    position: absolute;
502    z-index: 0;
503    width: 0.5em;
504    height: 1em;
505    opacity: 0;
506    background: transparent;
507    -moz-appearance: none;
508    appearance: none;
509    border: none;
510    resize: none;
511    outline: none;
512    overflow: hidden;
513    font: inherit;
514    padding: 0 1px;
515    margin: 0 -1px;
516    contain: strict;
517    -ms-user-select: text;
518    -moz-user-select: text;
519    -webkit-user-select: text;
520    user-select: text;
521    /*with \`pre-line\` chrome inserts &nbsp; instead of space*/
522    white-space: pre!important;
523}
524.ace_text-input.ace_composition {
525    background: transparent;
526    color: inherit;
527    z-index: 1000;
528    opacity: 1;
529}
530.ace_composition_placeholder { color: transparent }
531.ace_composition_marker { 
532    border-bottom: 1px solid;
533    position: absolute;
534    border-radius: 0;
535    margin-top: 1px;
536}
537
538[ace_nocontext=true] {
539    transform: none!important;
540    filter: none!important;
541    clip-path: none!important;
542    mask : none!important;
543    contain: none!important;
544    perspective: none!important;
545    mix-blend-mode: initial!important;
546    z-index: auto;
547}
548
549.ace_layer {
550    z-index: 1;
551    position: absolute;
552    overflow: hidden;
553    /* workaround for chrome bug https://github.com/ajaxorg/ace/issues/2312*/
554    word-wrap: normal;
555    white-space: pre;
556    height: 100%;
557    width: 100%;
558    box-sizing: border-box;
559    /* setting pointer-events: auto; on node under the mouse, which changes
560        during scroll, will break mouse wheel scrolling in Safari */
561    pointer-events: none;
562}
563
564.ace_gutter-layer {
565    position: relative;
566    width: auto;
567    text-align: right;
568    pointer-events: auto;
569    height: 1000000px;
570    contain: style size layout;
571}
572
573.ace_text-layer {
574    font: inherit !important;
575    position: absolute;
576    height: 1000000px;
577    width: 1000000px;
578    contain: style size layout;
579}
580
581.ace_text-layer > .ace_line, .ace_text-layer > .ace_line_group {
582    contain: style size layout;
583    position: absolute;
584    top: 0;
585    left: 0;
586    right: 0;
587}
588
589.ace_hidpi .ace_text-layer,
590.ace_hidpi .ace_gutter-layer,
591.ace_hidpi .ace_content,
592.ace_hidpi .ace_gutter {
593    contain: strict;
594}
595.ace_hidpi .ace_text-layer > .ace_line, 
596.ace_hidpi .ace_text-layer > .ace_line_group {
597    contain: strict;
598}
599
600.ace_cjk {
601    display: inline-block;
602    text-align: center;
603}
604
605.ace_cursor-layer {
606    z-index: 4;
607}
608
609.ace_cursor {
610    z-index: 4;
611    position: absolute;
612    box-sizing: border-box;
613    border-left: 2px solid;
614    /* workaround for smooth cursor repaintng whole screen in chrome */
615    transform: translatez(0);
616}
617
618.ace_multiselect .ace_cursor {
619    border-left-width: 1px;
620}
621
622.ace_slim-cursors .ace_cursor {
623    border-left-width: 1px;
624}
625
626.ace_overwrite-cursors .ace_cursor {
627    border-left-width: 0;
628    border-bottom: 1px solid;
629}
630
631.ace_hidden-cursors .ace_cursor {
632    opacity: 0.2;
633}
634
635.ace_hasPlaceholder .ace_hidden-cursors .ace_cursor {
636    opacity: 0;
637}
638
639.ace_smooth-blinking .ace_cursor {
640    transition: opacity 0.18s;
641}
642
643.ace_animate-blinking .ace_cursor {
644    animation-duration: 1000ms;
645    animation-timing-function: step-end;
646    animation-name: blink-ace-animate;
647    animation-iteration-count: infinite;
648}
649
650.ace_animate-blinking.ace_smooth-blinking .ace_cursor {
651    animation-duration: 1000ms;
652    animation-timing-function: ease-in-out;
653    animation-name: blink-ace-animate-smooth;
654}
655    
656@keyframes blink-ace-animate {
657    from, to { opacity: 1; }
658    60% { opacity: 0; }
659}
660
661@keyframes blink-ace-animate-smooth {
662    from, to { opacity: 1; }
663    45% { opacity: 1; }
664    60% { opacity: 0; }
665    85% { opacity: 0; }
666}
667
668.ace_marker-layer .ace_step, .ace_marker-layer .ace_stack {
669    position: absolute;
670    z-index: 3;
671}
672
673.ace_marker-layer .ace_selection {
674    position: absolute;
675    z-index: 5;
676}
677
678.ace_marker-layer .ace_bracket {
679    position: absolute;
680    z-index: 6;
681}
682
683.ace_marker-layer .ace_error_bracket {
684    position: absolute;
685    border-bottom: 1px solid #DE5555;
686    border-radius: 0;
687}
688
689.ace_marker-layer .ace_active-line {
690    position: absolute;
691    z-index: 2;
692}
693
694.ace_marker-layer .ace_selected-word {
695    position: absolute;
696    z-index: 4;
697    box-sizing: border-box;
698}
699
700.ace_line .ace_fold {
701    box-sizing: border-box;
702
703    display: inline-block;
704    height: 11px;
705    margin-top: -2px;
706    vertical-align: middle;
707
708    background-image:
709        url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAAJCAYAAADU6McMAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAJpJREFUeNpi/P//PwOlgAXGYGRklAVSokD8GmjwY1wasKljQpYACtpCFeADcHVQfQyMQAwzwAZI3wJKvCLkfKBaMSClBlR7BOQikCFGQEErIH0VqkabiGCAqwUadAzZJRxQr/0gwiXIal8zQQPnNVTgJ1TdawL0T5gBIP1MUJNhBv2HKoQHHjqNrA4WO4zY0glyNKLT2KIfIMAAQsdgGiXvgnYAAAAASUVORK5CYII="),
710        url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAA3CAYAAADNNiA5AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAACJJREFUeNpi+P//fxgTAwPDBxDxD078RSX+YeEyDFMCIMAAI3INmXiwf2YAAAAASUVORK5CYII=");
711    background-repeat: no-repeat, repeat-x;
712    background-position: center center, top left;
713    color: transparent;
714
715    border: 1px solid black;
716    border-radius: 2px;
717
718    cursor: pointer;
719    pointer-events: auto;
720}
721
722.ace_dark .ace_fold {
723}
724
725.ace_fold:hover{
726    background-image:
727        url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAAJCAYAAADU6McMAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAJpJREFUeNpi/P//PwOlgAXGYGRklAVSokD8GmjwY1wasKljQpYACtpCFeADcHVQfQyMQAwzwAZI3wJKvCLkfKBaMSClBlR7BOQikCFGQEErIH0VqkabiGCAqwUadAzZJRxQr/0gwiXIal8zQQPnNVTgJ1TdawL0T5gBIP1MUJNhBv2HKoQHHjqNrA4WO4zY0glyNKLT2KIfIMAAQsdgGiXvgnYAAAAASUVORK5CYII="),
728        url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAA3CAYAAADNNiA5AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAACBJREFUeNpi+P//fz4TAwPDZxDxD5X4i5fLMEwJgAADAEPVDbjNw87ZAAAAAElFTkSuQmCC");
729}
730
731.ace_tooltip {
732    background-color: #f5f5f5;
733    border: 1px solid gray;
734    border-radius: 1px;
735    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
736    color: black;
737    padding: 3px 4px;
738    position: fixed;
739    z-index: 999999;
740    box-sizing: border-box;
741    cursor: default;
742    white-space: pre-wrap;
743    word-wrap: break-word;
744    line-height: normal;
745    font-style: normal;
746    font-weight: normal;
747    letter-spacing: normal;
748    pointer-events: none;
749    overflow: auto;
750    max-width: min(33em, 66vw);
751    overscroll-behavior: contain;
752}
753.ace_tooltip pre {
754    white-space: pre-wrap;
755}
756
757.ace_tooltip.ace_dark {
758    background-color: #636363;
759    color: #fff;
760}
761
762.ace_tooltip:focus {
763    outline: 1px solid #5E9ED6;
764}
765
766.ace_icon {
767    display: inline-block;
768    width: 18px;
769    vertical-align: top;
770}
771
772.ace_icon_svg {
773    display: inline-block;
774    width: 12px;
775    vertical-align: top;
776    -webkit-mask-repeat: no-repeat;
777    -webkit-mask-size: 12px;
778    -webkit-mask-position: center;
779}
780
781.ace_folding-enabled > .ace_gutter-cell, .ace_folding-enabled > .ace_gutter-cell_svg-icons {
782    padding-right: 13px;
783}
784
785.ace_fold-widget, .ace_custom-widget {
786    box-sizing: border-box;
787
788    margin: 0 -12px 0 1px;
789    display: none;
790    width: 11px;
791    vertical-align: top;
792
793    background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAANElEQVR42mWKsQ0AMAzC8ixLlrzQjzmBiEjp0A6WwBCSPgKAXoLkqSot7nN3yMwR7pZ32NzpKkVo
793DBUxKAAAAABJRU5ErkJggg==");
794    background-repeat: no-repeat;
795    background-position: center;
796
797    border-radius: 3px;
798    
799    border: 1px solid transparent;
800    cursor: pointer;
801    pointer-events: auto;
802}
803
804.ace_custom-widget {
805    background: none;
806}
807
808.ace_folding-enabled .ace_fold-widget {
809    display: inline-block;   
810}
811
812.ace_fold-widget.ace_end {
813    background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAANElEQVR42m3HwQkAMAhD0YzsRchFKI7sAikeWkrxwScEB0nh5e7KTPWimZki4tYfVbX+MNl4pyZXejUO1QAAAABJRU5ErkJggg==");
814}
815
816.ace_fold-widget.ace_closed {
817    background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAAGCAYAAAAG5SQMAAAAOUlEQVR42jXKwQkAMAgDwKwqKD4EwQ26sSOkVWjgIIHAzPiCgaqiqnJHZnKICBERHN194O5b9vbLuAVRL+l0YWnZAAAAAElFTkSuQmCCXA==");
818}
819
820.ace_fold-widget:hover {
821    border: 1px solid rgba(0, 0, 0, 0.3);
822    background-color: rgba(255, 255, 255, 0.2);
823    box-shadow: 0 1px 1px rgba(255, 255, 255, 0.7);
824}
825
826.ace_fold-widget:active {
827    border: 1px solid rgba(0, 0, 0, 0.4);
828    background-color: rgba(0, 0, 0, 0.05);
829    box-shadow: 0 1px 1px rgba(255, 255, 255, 0.8);
830}
831/**
832 * Dark version for fold widgets
833 */
834.ace_dark .ace_fold-widget {
835    background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHklEQVQIW2P4//8/AzoGEQ7oGCaLLAhWiSwB146BAQCSTPYocqT0AAAAAElFTkSuQmCC");
836}
837.ace_dark .ace_fold-widget.ace_end {
838    background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAH0lEQVQIW2P4//8/AxQ7wNjIAjDMgC4AxjCVKBirIAAF0kz2rlhxpAAAAABJRU5ErkJggg==");
839}
840.ace_dark .ace_fold-widget.ace_closed {
841    background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAAFCAYAAACAcVaiAAAAHElEQVQIW2P4//+/AxAzgDADlOOAznHAKgPWAwARji8UIDTfQQAAAABJRU5ErkJggg==");
842}
843.ace_dark .ace_fold-widget:hover {
844    box-shadow: 0 1px 1px rgba(255, 255, 255, 0.2);
845    background-color: rgba(255, 255, 255, 0.1);
846}
847.ace_dark .ace_fold-widget:active {
848    box-shadow: 0 1px 1px rgba(255, 255, 255, 0.2);
849}
850
851.ace_inline_button {
852    border: 1px solid lightgray;
853    display: inline-block;
854    margin: -1px 8px;
855    padding: 0 5px;
856    pointer-events: auto;
857    cursor: pointer;
858}
859.ace_inline_button:hover {
860    border-color: gray;
861    background: rgba(200,200,200,0.2);
862    display: inline-block;
863    pointer-events: auto;
864}
865
866.ace_fold-widget.ace_invalid {
867    background-color: #FFB4B4;
868    border-color: #DE5555;
869}
870
871.ace_fade-fold-widgets .ace_fold-widget {
872    transition: opacity 0.4s ease 0.05s;
873    opacity: 0;
874}
875
876.ace_fade-fold-widgets:hover .ace_fold-widget {
877    transition: opacity 0.05s ease 0.05s;
878    opacity:1;
879}
880
881.ace_underline {
882    text-decoration: underline;
883}
884
885.ace_bold {
886    font-weight: bold;
887}
888
889.ace_nobold .ace_bold {
890    font-weight: normal;
891}
892
893.ace_italic {
894    font-style: italic;
895}
896
897
898.ace_error-marker {
899    background-color: rgba(255, 0, 0,0.2);
900    position: absolute;
901    z-index: 9;
902}
903
904.ace_highlight-marker {
905    background-color: rgba(255, 255, 0,0.2);
906    position: absolute;
907    z-index: 8;
908}
909
910.ace_mobile-menu {
911    position: absolute;
912    line-height: 1.5;
913    border-radius: 4px;
914    -ms-user-select: none;
915    -moz-user-select: none;
916    -webkit-user-select: none;
917    user-select: none;
918    background: white;
919    box-shadow: 1px 3px 2px grey;
920    border: 1px solid #dcdcdc;
921    color: black;
922}
923.ace_dark > .ace_mobile-menu {
924    background: #333;
925    color: #ccc;
926    box-shadow: 1px 3px 2px grey;
927    border: 1px solid #444;
928
929}
930.ace_mobile-button {
931    padding: 2px;
932    cursor: pointer;
933    overflow: hidden;
934}
935.ace_mobile-button:hover {
936    background-color: #eee;
937    opacity:1;
938}
939.ace_mobile-button:active {
940    background-color: #ddd;
941}
942
943.ace_placeholder {
944    position: relative;
945    font-family: arial;
946    transform: scale(0.9);
947    transform-origin: left;
948    white-space: pre;
949    opacity: 0.7;
950    margin: 0 10px;
951    z-index: 1;
952}
953
954.ace_ghost_text {
955    opacity: 0.5;
956    font-style: italic;
957}
958
959.ace_ghost_text_container > div {
960    white-space: pre;
961}
962
963.ghost_text_line_wrapped::after {
964    content: "\u21A9";
965    position: absolute;
966}
967
968.ace_lineWidgetContainer.ace_ghost_text {
969    margin: 0px 4px
970}
971
972.ace_screenreader-only {
973    position:absolute;
974    left:-10000px;
975    top:auto;
976    width:1px;
977    height:1px;
978    overflow:hidden;
979}
980
981.ace_hidden_token {
982    display: none;
983}`});ace.define(`ace/layer/decorators`,[`require`,`exports`,`module`,`ace/lib/dom`,`ace/lib/oop`,`ace/lib/event_emitter`],function(R,E,F){"use strict";var k=R(`../lib/dom`),L=R(`../lib/oop`),M=R(`../lib/event_emitter`).EventEmitter,a=(function(){function l(r,o){this.renderer=o,this.pixelRatio=1,this.maxHeight=o.layerConfig.maxHeight,this.lineHeight=o.layerConfig.lineHeight,this.minDecorationHeight=2*this.pixelRatio|0,this.halfMinDecorationHeight=this.minDecorationHeight/2|0,this.colors={},this.colors.dark={error:`rgba(255, 18, 18, 1)`,warning:`rgba(18, 136, 18, 1)`,info:`rgba(18, 18, 136, 1)`},this.colors.light={error:`rgb(255,51,51)`,warning:`rgb(32,133,72)`,info:`rgb(35,68,138)`},this.setScrollBarV(r)}return l.prototype.$createCanvas=function(){this.canvas=k.createElement(`canvas`),this.canvas.style.top=`0px`,this.canvas.style.right=`0px`,this.canvas.style.zIndex=`7`,this.canvas.style.position=`absolute`},l.prototype.setScrollBarV=function(r){this.$createCanvas(),this.scrollbarV=r,r.element.appendChild(this.canvas),this.setDimensions()},l.prototype.$updateDecorators=function(r){if(typeof this.canvas.getContext!=`function`)return;var o=this.renderer.theme.isDark===!0?this.colors.dark:this.colors.light;this.setDimensions(r);var i=this.canvas.getContext(`2d`);function t(p,f){return p.priority<f.priority?-1:p.priority>f.priority?1:0}var e=this.renderer.session.$annotations;if(i.clearRect(0,0,this.canvas.width,this.canvas.height),e){var n={info:1,warning:2,error:3};e.forEach(function(p){p.priority=n[p.type]||null}),e=e.sort(t);for(var s=0;s<e.length;s++){var d=e[s].row,g=this.getVerticalOffsetForRow(d),$=g+this.lineHeight,v=Math.round(this.heightRatio*g),b=Math.round(this.heightRatio*$),u=Math.round((v+b)/2),h=b-u;h<this.halfMinDecorationHeight&&(h=this.halfMinDecorationHeight),u-h<0&&(u=h),u+h>this.canvasHeight&&(u=this.canvasHeight-h);var y=u-h,C=u+h-y;i.fillStyle=o[e[s].type]||null,i.fillRect(0,y,Math.round(this.oneZoneWidth-1),C)}}var x=this.renderer.session.selection.getCursor();if(x){var w=Math.round(this.getVerticalOffsetForRow(x.row)*this.heightRatio);i.fillStyle=`rgba(0, 0, 0, 0.5)`,i.fillRect(0,w,this.canvasWidth,2)}},l.prototype.getVerticalOffsetForRow=function(r){r=r|0;return this.renderer.session.documentToScreenRow(r,0)*this.lineHeight},l.prototype.setDimensions=function(r){r=r||this.renderer.layerConfig,this.maxHeight=r.maxHeight,this.lineHeight=r.lineHeight,this.canvasHeight=r.height,this.canvasWidth=this.scrollbarV.width||this.canvasWidth,this.setZoneWidth(),this.canvas.width=this.canvasWidth,this.canvas.height=this.canvasHeight,this.maxHeight<this.canvasHeight?this.heightRatio=1:this.heightRatio=this.canvasHeight/this.maxHeight},l.prototype.setZoneWidth=function(){this.oneZoneWidth=this.canvasWidth},l.prototype.destroy=function(){this.canvas.parentNode.removeChild(this.canvas)},l})();L.implement(a.prototype,M),E.Decorator=a});ace.define(`ace/virtual_renderer`,[`require`,`exports`,`module`,`ace/lib/oop`,`ace/lib/dom`,`ace/lib/lang`,`ace/config`,`ace/layer/gutter`,`ace/layer/marker`,`ace/layer/text`,`ace/layer/cursor`,`ace/scrollbar`,`ace/scrollbar`,`ace/scrollbar_custom`,`ace/scrollbar_custom`,`ace/renderloop`,`ace/layer/font_metrics`,`ace/lib/event_emitter`,`ace/css/editor-css`,`ace/layer/decorators`,`ace/lib/useragent`,`ace/layer/text_util`],function(R,E,F){"use strict";var k=R(`./lib/oop`),L=R(`./lib/dom`),M=R(`./lib/lang`),a=R(`./config`),l=R(`./layer/gutter`).Gutter,r=R(`./layer/marker`).Marker,o=R(`./layer/text`).Text,i=R(`./layer/cursor`).Cursor,t=R(`./scrollbar`).HScrollBar,e=R(`./scrollbar`).VScrollBar,n=R(`./scrollbar_custom`).HScrollBar,s=R(`./scrollbar_custom`).VScrollBar,d=R(`./renderloop`).RenderLoop,g=R(`./layer/font_metrics`).FontMetrics,$=R(`./lib/event_emitter`).EventEmitter,v=R(`./css/editor-css`),b=R(`./layer/decorators`).Decorator,u=R(`./lib/useragent`),h=R(`./layer/text_util`).isTextToken;L.importCssString(v,`ace_editor.css`,!1);var y=(function(){function m(C,x){var w=this;this.container=C||L.createElement(`div`),L.addCssClass(this.container,`ace_editor`),L.HI_DPI&&L.addCssClass(this.container,`ace_hidpi`),this.setTheme(x),a.get(`useStrictCSP`)??a.set(`useStrictCSP`,!1),this.$gutter=L.createElement(`div`),this.$gutter.className=`ace_gutter`,this.container.appendChild(this.$gutter),this.$gutter.setAttribute(`aria-hidden`,`true`),this.scroller=L.createElement(`div`),this.scroller.className=`ace_scroller`,this.container.appendChild(this.scroller),this.content=L.createElement(`div`),this.content.className=`ace_content`,this.scroller.appendChild(this.content),this.$gutterLayer=new l(this.$gutter),this.$gutterLayer.on(`changeGutterWidth`,this.onGutterResize.bind(this)),this.$markerBack=new r(this.content);var p=this.$textLayer=new o(this.content);this.canvas=p.element,this.$markerFront=new r(this.content),this.$curs
983orLayer=new i(this.content),this.$horizScroll=!1,this.$vScroll=!1,this.scrollBar=this.scrollBarV=new e(this.container,this),this.scrollBarH=new t(this.container,this),this.scrollBarV.on(`scroll`,function(f){w.$scrollAnimation||w.session.setScrollTop(f.data-w.scrollMargin.top)}),this.scrollBarH.on(`scroll`,function(f){w.$scrollAnimation||w.session.setScrollLeft(f.data-w.scrollMargin.left)}),this.scrollTop=0,this.scrollLeft=0,this.cursorPos={row:0,column:0},this.$fontMetrics=new g(this.container),this.$textLayer.$setFontMetrics(this.$fontMetrics),this.$textLayer.on(`changeCharacterSize`,function(f){w.updateCharacterSize(),w.onResize(!0,w.gutterWidth,w.$size.width,w.$size.height),w._signal(`changeCharacterSize`,f)}),this.$size={width:0,height:0,scrollerHeight:0,scrollerWidth:0,$dirty:!0},this.layerConfig={width:1,padding:0,firstRow:0,firstRowScreen:0,lastRow:0,lineHeight:0,characterWidth:0,minHeight:1,maxHeight:1,offset:0,height:1,gutterOffset:1},this.scrollMargin={left:0,right:0,top:0,bottom:0,v:0,h:0},this.margin={left:0,right:0,top:0,bottom:0,v:0,h:0},this.$keepTextAreaAtCursor=!u.isIOS,this.$loop=new d(this.$renderChanges.bind(this),this.container.ownerDocument.defaultView),this.$loop.schedule(this.CHANGE_FULL),this.updateCharacterSize(),this.setPadding(4),this.$addResizeObserver(),a.resetOptions(this),a._signal(`renderer`,this)}return m.prototype.updateCharacterSize=function(){this.$textLayer.allowBoldFonts!=this.$allowBoldFonts&&(this.$allowBoldFonts=this.$textLayer.allowBoldFonts,this.setStyle(`ace_nobold`,!this.$allowBoldFonts)),this.layerConfig.characterWidth=this.characterWidth=this.$textLayer.getCharacterWidth(),this.layerConfig.lineHeight=this.lineHeight=this.$textLayer.getLineHeight(),this.$updatePrintMargin(),L.setStyle(this.scroller.style,`line-height`,this.lineHeight+`px`)},m.prototype.setSession=function(C){this.session&&this.session.doc.off(`changeNewLineMode`,this.onChangeNewLineMode),this.session=C,C&&this.scrollMargin.top&&C.getScrollTop()<=0&&C.setScrollTop(-this.scrollMargin.top),this.$cursorLayer.setSession(C),this.$markerBack.setSession(C),this.$markerFront.setSession(C),this.$gutterLayer.setSession(C),this.$textLayer.setSession(C),C&&(this.$loop.schedule(this.CHANGE_FULL),this.session.$setFontMetrics(this.$fontMetrics),this.scrollBarH.scrollLeft=this.scrollBarV.scrollTop=null,this.onChangeNewLineMode=this.onChangeNewLineMode.bind(this),this.onChangeNewLineMode(),this.session.doc.on(`changeNewLineMode`,this.onChangeNewLineMode))},m.prototype.updateLines=function(C,x,w){if(x===void 0&&(x=Infinity),this.$changedLines?(this.$changedLines.firstRow>C&&(this.$changedLines.firstRow=C),this.$changedLines.lastRow<x&&(this.$changedLines.lastRow=x)):this.$changedLines={firstRow:C,lastRow:x},this.$changedLines.lastRow<this.layerConfig.firstRow)if(w)this.$changedLines.lastRow=this.layerConfig.lastRow;else return;this.$changedLines.firstRow>this.layerConfig.lastRow||this.$loop.schedule(this.CHANGE_LINES)},m.prototype.onChangeNewLineMode=function(){this.$loop.schedule(this.CHANGE_TEXT),this.$textLayer.$updateEolChar(),this.session.$bidiHandler.setEolChar(this.$textLayer.EOL_CHAR)},m.prototype.onChangeTabSize=function(){this.$loop.schedule(this.CHANGE_TEXT|this.CHANGE_MARKER),this.$textLayer.onChangeTabSize()},m.prototype.updateText=function(){this.$loop.schedule(this.CHANGE_TEXT)},m.prototype.updateFull=function(C){C?this.$renderChanges(this.CHANGE_FULL,!0):this.$loop.schedule(this.CHANGE_FULL)},m.prototype.updateFontSize=function(){this.$textLayer.checkForSizeChanges()},m.prototype.$updateSizeAsync=function(){this.$loop.pending?this.$size.$dirty=!0:this.onResize()},m.prototype.onResize=function(C,x,w,p){if(!(this.resizing>2)){this.resizing>0?this.resizing++:this.resizing=C?1:0;var f=this.container;p||(p=f.clientHeight||f.scrollHeight),!p&&this.$maxLines&&this.lineHeight>1&&(!f.style.height||f.style.height==`0px`)&&(f.style.height=`1px`,p=f.clientHeight||f.scrollHeight),w||(w=f.clientWidth||f.scrollWidth);var c=this.$updateCachedSize(C,x,w,p);if(this.$resizeTimer&&this.$resizeTimer.cancel(),!this.$size.scrollerHeight||!w&&!p)return this.resizing=0;C&&(this.$gutterLayer.$padding=null),C?this.$renderChanges(c|this.$changes,!0):this.$loop.schedule(c|this.$changes),this.resizing&&(this.resizing=0),this.scrollBarH.scrollLeft=this.scrollBarV.scrollTop=null,this.$customScrollbar&&this.$updateCustomScrollbar(!0)}},m.prototype.$updateCachedSize=function(C,x,w,p){p-=this.$extraHeight||0;var f=0,c=this.$size,S={width:c.width,height:c.height,scrollerHeight:c.scrollerHeight,scrollerWidth:c.scrollerWidth};if(p&&(C||c.height!=p)&&(c.height=p,f|=this.CHANGE_SIZE,c.scrollerHeight=c.height,this.$horizScroll&&(c.scrollerHeight-=this.scrollBarH.getHeight()),this.scrollBarV.setHeight(c.scrollerHeight),this.scrollBarV.element.style.bottom=this.scrollBarH.getHeight()+`px`,f=f|this.CHANGE_SCROLL),w&&(C||c.width!=w)){f|=this.CHANGE_SIZE,c.width=w,x??=this.$showGutter?this.$gutter.offsetWidth:0,this.gutterWidth=x,L.setStyle(this.scrollBarH.element.style,`left`,x+`px`),L.setStyle(this.scroller.style,`left`,x+this.margin.left+`px`),c.scrollerWidth=Math.max(0,w-x-this.scrollBarV.getWidth()-this.margin.h),L.setStyle(this.$gutter.style,`left`,this.margin.left+`px`);var A=this.scrollBarV.getWidth()+`px`;L.setStyle(this.scrollBarH.element.style,`right`,A),L.setStyle(this.scroller.style,`right`,A),L.setStyle(this.scroller.style,`bottom`,this.scrollBarH.getHeight()),this.scrollBarH.setWidth(c.scrollerWidth),(this.session&&this.session.getUseWrapMode()&&this.adjustWrapLimit()||C)&&(f|=this.CHANGE_FULL)}return c.$dirty=!w||!p,f&&this._signal(`resize`,S),f},m.prototype.onGutterResize=function(C){var x=this.$showGutter?C:0;x!=this.gutterWidth&&(this.$changes|=this.$updateCachedSize(!0,x,this.$size.width,this.$size.height)),this.session.getUseWrapMode()&&this.adjustWrapLimit()?this.$loop.schedule(this.CHANGE_FULL):this.$size.$dirty?this.$loop.schedule(this.CHANGE_FULL):this.$computeLayerConfig()},m.prototype.adjustWrapLimit=function(){var C=this.$size.scrollerWidth-this.$padding*2,x=Math.floor(C/this.characterWidth);return this.session.adjustWrapLimit(x,this.$showPrintMargin&&this.$printMarginColumn)},m.prototype.setAnimatedScroll=function(C){this.setOption(`animatedScroll`,C)},m.prototype.getAnimatedScroll=function(){return this.$animatedScroll},m.prototype.setShowInvisibles=function(C){this.setOption(`showInvisibles`,C),this.session.$bidiHandler.setShowInvisibles(C)},m.prototype.getShowInvisibles=function(){return this.getOption(`showInvisibles`)},m.prototype.getDisplayIndentGuides=function(){return this.getOption(`displayIndentGuides`)},m.prototype.setDisplayIndentGuides=function(C){this.setOption(`displayIndentGuides`,C)},m.prototype.getHighlightIndentGuides=function(){return this.getOption(`highlightIndentGuides`)},m.prototype.setHighlightIndentGuides=function(C){this.setOption(`highlightIndentGuides`,C)},m.prototype.setShowPrintMargin=function(C){this.setOption(`showPrintMargin`,C)},m.prototype.getShowPrintMargin=function(){return this.getOption(`showPrintMargin`)},m.prototype.setPrintMarginColumn=function(C){this.setOption(`printMarginColumn`,C)},m.prototype.getPrintMarginColumn=function(){return this.getOption(`printMarginColumn`)},m.prototype.getShowGutter=function(){return this.getOption(`showGutter`)},m.prototype.setShowGutter=function(C){return this.setOption(`showGutter`,C)},m.prototype.getFadeFoldWidgets=function(){return this.getOption(`fadeFoldWidgets`)},m.prototype.setFadeFoldWidgets=function(C){this.setOption(`fadeFoldWidgets`,C)},m.prototype.setHighlightGutterLine=function(C){this.setOption(`highlightGutterLine`,C)},m.prototype.getHighlightGutterLine=function(){return this.getOption(`highlightGutterLine`)},m.prototype.$updatePrintMargin=function(){if(!(!this.$showPrintMargin&&!this.$printMarginEl)){if(!this.$printMarginEl){var 
983C=L.createElement(`div`);C.className=`ace_layer ace_print-margin-layer`,this.$printMarginEl=L.createElement(`div`),this.$printMarginEl.className=`ace_print-margin`,C.appendChild(this.$printMarginEl),this.content.insertBefore(C,this.content.firstChild)}var x=this.$printMarginEl.style;x.left=Math.round(this.characterWidth*this.$printMarginColumn+this.$padding)+`px`,x.visibility=this.$showPrintMargin?`visible`:`hidden`,this.session&&this.session.$wrap==-1&&this.adjustWrapLimit()}},m.prototype.getContainerElement=function(){return this.container},m.prototype.getMouseEventTarget=function(){return this.scroller},m.prototype.getTextAreaContainer=function(){return this.container},m.prototype.$moveTextAreaToCursor=function(){if(!this.$isMousePressed){var C=this.textarea.style,x=this.$composition;if(!this.$keepTextAreaAtCursor&&!x){L.translate(this.textarea,-100,0);return}var w=this.$cursorLayer.$pixelPos;if(w){x&&x.markerRange&&(w=this.$cursorLayer.getPixelPosition(x.markerRange.start,!0));var p=this.layerConfig,f=w.top,c=w.left;f-=p.offset;var S=x&&x.useTextareaForIME||u.isMobile?this.lineHeight:1;if(f<0||f>p.height-S){L.translate(this.textarea,0,0);return}var A=1,T=this.$size.height-S;if(!x)f+=this.lineHeight;else if(x.useTextareaForIME){var _=this.textarea.value;A=this.characterWidth*this.session.$getStringScreenWidth(_)[0]}else f+=this.lineHeight+2;c-=this.scrollLeft,c>this.$size.scrollerWidth-A&&(c=this.$size.scrollerWidth-A),c+=this.gutterWidth+this.margin.left,L.setStyle(C,`height`,S+`px`),L.setStyle(C,`width`,A+`px`),L.translate(this.textarea,Math.min(c,this.$size.scrollerWidth-A),Math.min(f,T))}}},m.prototype.getFirstVisibleRow=function(){return this.layerConfig.firstRow},m.prototype.getFirstFullyVisibleRow=function(){return this.layerConfig.firstRow+(this.layerConfig.offset===0?0:1)},m.prototype.getLastFullyVisibleRow=function(){var C=this.layerConfig,x=C.lastRow;return this.session.documentToScreenRow(x,0)*C.lineHeight-this.session.getScrollTop()>C.height-C.lineHeight?x-1:x},m.prototype.getLastVisibleRow=function(){return this.layerConfig.lastRow},m.prototype.setPadding=function(C){this.$padding=C,this.$textLayer.setPadding(C),this.$cursorLayer.setPadding(C),this.$markerFront.setPadding(C),this.$markerBack.setPadding(C),this.$loop.schedule(this.CHANGE_FULL),this.$updatePrintMargin()},m.prototype.setScrollMargin=function(C,x,w,p){var f=this.scrollMargin;f.top=C|0,f.bottom=x|0,f.right=p|0,f.left=w|0,f.v=f.top+f.bottom,f.h=f.left+f.right,f.top&&this.scrollTop<=0&&this.session&&this.session.setScrollTop(-f.top),this.updateFull()},m.prototype.setMargin=function(C,x,w,p){var f=this.margin;f.top=C|0,f.bottom=x|0,f.right=p|0,f.left=w|0,f.v=f.top+f.bottom,f.h=f.left+f.right,this.$updateCachedSize(!0,this.gutterWidth,this.$size.width,this.$size.height),this.updateFull()},m.prototype.getHScrollBarAlwaysVisible=function(){return this.$hScrollBarAlwaysVisible},m.prototype.setHScrollBarAlwaysVisible=function(C){this.setOption(`hScrollBarAlwaysVisible`,C)},m.prototype.getVScrollBarAlwaysVisible=function(){return this.$vScrollBarAlwaysVisible},m.prototype.setVScrollBarAlwaysVisible=function(C){this.setOption(`vScrollBarAlwaysVisible`,C)},m.prototype.$updateScrollBarV=function(){var C=this.layerConfig.maxHeight,x=this.$size.scrollerHeight;!this.$maxLines&&this.$scrollPastEnd&&(C-=(x-this.lineHeight)*this.$scrollPastEnd,this.scrollTop>C-x&&(C=this.scrollTop+x,this.scrollBarV.scrollTop=null)),this.scrollBarV.setScrollHeight(C+this.scrollMargin.v),this.scrollBarV.setScrollTop(this.scrollTop+this.scrollMargin.top)},m.prototype.$updateScrollBarH=function(){this.scrollBarH.setScrollWidth(this.layerConfig.width+2*this.$padding+this.scrollMargin.h),this.scrollBarH.setScrollLeft(this.scrollLeft+this.scrollMargin.left)},m.prototype.freeze=function(){this.$frozen=!0},m.prototype.unfreeze=function(){this.$frozen=!1},m.prototype.$renderChanges=function(C,x){if(this.$changes&&(C|=this.$changes,this.$changes=0),!this.session||!this.container.offsetWidth||this.$frozen||!C&&!x){this.$changes|=C;return}if(this.$size.$dirty)return this.$changes|=C,this.onResize(!0);this.lineHeight||this.$textLayer.checkForSizeChanges(),this._signal(`beforeRender`,C),this.session&&this.session.$bidiHandler&&this.session.$bidiHandler.updateCharacterWidths(this.$fontMetrics);var w=this.layerConfig;if(C&this.CHANGE_FULL||C&this.CHANGE_SIZE||C&this.CHANGE_TEXT||C&this.CHANGE_LINES||C&this.CHANGE_SCROLL||C&this.CHANGE_H_SCROLL){if(C|=this.$computeLayerConfig()|this.$loop.clear(),w.firstRow!=this.layerConfig.firstRow&&w.firstRowScreen==this.layerConfig.firstRowScreen){var p=this.scrollTop+(w.firstRow-Math.max(this.layerConfig.firstRow,0))*this.lineHeight;p>
9830&&(this.scrollTop=p,C=C|this.CHANGE_SCROLL,C|=this.$computeLayerConfig()|this.$loop.clear())}w=this.layerConfig,this.$updateScrollBarV(),C&this.CHANGE_H_SCROLL&&this.$updateScrollBarH(),L.translate(this.content,-this.scrollLeft,-w.offset);var f=w.width+2*this.$padding+`px`,c=w.minHeight+`px`;L.setStyle(this.content.style,`width`,f),L.setStyle(this.content.style,`height`,c)}if(C&this.CHANGE_H_SCROLL&&(L.translate(this.content,-this.scrollLeft,-w.offset),this.scroller.className=this.scrollLeft<=0?`ace_scroller `:`ace_scroller ace_scroll-left `,this.enableKeyboardAccessibility&&(this.scroller.className+=this.keyboardFocusClassName)),C&this.CHANGE_FULL){this.$changedLines=null,this.$textLayer.update(w),this.$showGutter&&this.$gutterLayer.update(w),this.$customScrollbar&&this.$scrollDecorator.$updateDecorators(w),this.$markerBack.update(w),this.$markerFront.update(w),this.$cursorLayer.update(w),this.$moveTextAreaToCursor(),this._signal(`afterRender`,C);return}if(C&this.CHANGE_SCROLL){this.$changedLines=null,C&this.CHANGE_TEXT||C&this.CHANGE_LINES?this.$textLayer.update(w):this.$textLayer.scrollLines(w),this.$showGutter&&(C&this.CHANGE_GUTTER||C&this.CHANGE_LINES?this.$gutterLayer.update(w):this.$gutterLayer.scrollLines(w)),this.$customScrollbar&&this.$scrollDecorator.$updateDecorators(w),this.$markerBack.update(w),this.$markerFront.update(w),this.$cursorLayer.update(w),this.$moveTextAreaToCursor(),this._signal(`afterRender`,C);return}C&this.CHANGE_TEXT?(this.$changedLines=null,this.$textLayer.update(w),this.$showGutter&&this.$gutterLayer.update(w),this.$customScrollbar&&this.$scrollDecorator.$updateDecorators(w)):C&this.CHANGE_LINES?((this.$updateLines()||C&this.CHANGE_GUTTER&&this.$showGutter)&&this.$gutterLayer.update(w),this.$customScrollbar&&this.$scrollDecorator.$updateDecorators(w)):C&this.CHANGE_TEXT||C&this.CHANGE_GUTTER?(this.$showGutter&&this.$gutterLayer.update(w),this.$customScrollbar&&this.$scrollDecorator.$updateDecorators(w)):C&this.CHANGE_CURSOR&&(this.$highlightGutterLine&&this.$gutterLayer.updateLineHighlight(w),this.$customScrollbar&&this.$scrollDecorator.$updateDecorators(w)),C&this.CHANGE_CURSOR&&(this.$cursorLayer.update(w),this.$moveTextAreaToCursor()),C&(this.CHANGE_MARKER|this.CHANGE_MARKER_FRONT)&&this.$markerFront.update(w),C&(this.CHANGE_MARKER|this.CHANGE_MARKER_BACK)&&this.$markerBack.update(w),this._signal(`afterRender`,C)},m.prototype.$autosize=function(){var C=this.session.getScreenLength()*this.lineHeight,x=this.$maxLines*this.lineHeight,w=Math.min(x,Math.max((this.$minLines||1)*this.lineHeight,C))+this.scrollMargin.v+(this.$extraHeight||0);this.$horizScroll&&(w+=this.scrollBarH.getHeight()),this.$maxPixelHeight&&w>this.$maxPixelHeight&&(w=this.$maxPixelHeight);var f=!(w<=2*this.lineHeight)&&C>x;if(w!=this.desiredHeight||this.$size.height!=this.desiredHeight||f!=this.$vScroll){f!=this.$vScroll&&(this.$vScroll=f,this.scrollBarV.setVisible(f));var c=this.container.clientWidth;this.container.style.height=w+`px`,this.$updateCachedSize(!0,this.$gutterWidth,c,w),this.desiredHeight=w,this._signal(`autosize`)}},m.prototype.$computeLayerConfig=function(){var C=this.session,x=this.$size,w=x.height<=2*this.lineHeight,f=this.session.getScreenLength()*this.lineHeight,c=this.$getLongestLine(),S=!w&&(this.$hScrollBarAlwaysVisible||x.scrollerWidth-c-2*this.$padding<0),A=this.$horizScroll!==S;A&&(this.$horizScroll=S,this.scrollBarH.setVisible(S));var T=this.$vScroll;this.$maxLines&&this.lineHeight>1&&(this.$autosize(),w=x.height<=2*this.lineHeight);var _=x.scrollerHeight+this.lineHeight,I=!this.$maxLines&&this.$scrollPastEnd?(x.scrollerHeight-this.lineHeight)*this.$scrollPastEnd:0;f+=I;var D=this.scrollMargin;this.session.setScrollTop(Math.max(-D.top,Math.min(this.scrollTop,f-x.scrollerHeight+D.bottom))),this.session.setScrollLeft(Math.max(-D.left,Math.min(this.scrollLeft,c+2*this.$padding-x.scrollerWidth+D.right)));var N=!w&&(this.$vScrollBarAlwaysVisible||x.scrollerHeight-f+I<0||this.scrollTop>D.top),O=T!==N;O&&(this.$vScroll=N,this.scrollBarV.setVisible(N));var B=this.scrollTop%this.lineHeight,W=Math.ceil(_/this.lineHeight)-1,H=Math.max(0,Math.round((this.scrollTop-B)/this.lineHeight)),P=H+W,V,z,U=this.lineHeight;H=C.screenToDocumentRow(H,0);var G=C.getFoldLine(H);G&&(H=G.start.row),V=C.documentToScreenRow(H,0),z=C.getRowLength(H)*U,P=Math.min(C.screenToDocumentRow(P,0),C.getLength()-1),_=x.scrollerHeight+C.getRowLength(P)*U+z,B=this.scrollTop-V*U,B<0&&V>0&&(V=Math.max(0,V+Math.floor(B/U)),B=this.scrollTop-V*U);var j=0;return(this.layerConfig.width!=c||A)&&(j=this.CHANGE_H_SCROLL),(A||O)&&(j|=this.$updateCachedSize(!0,this.gutterWidth,x.width,x.height),this._signal(`scrollbarVisibilityChanged`),O&&(c=this.$getLongestLine())),this.layerConfig={width:c,padding:this.$padding,firstRow:H,firstRowScreen:V,lastRow:P,lineHeight:U,characterWidth:this.characterWidth,minHeight:_,maxHeight:f,offset:B,gutterOffset:U?Math.max(0,Math.ceil((B+x.height-x.scrollerHeight)/U)):0,height:this.$size.scrollerHeight},this.session.$bidiHandler&&this.session.$bidiHandler.setContentWidth(c-this.$padding),j},m.prototype.$updateLines=function(){if(this.$changedLines){var C=this.$changedLines.firstRow,x=this.$changedLines.lastRow;this.$changedLines=null;var w=this.layerConfig;if(!(C>
983w.lastRow+1)&&!(x<w.firstRow)){if(x===Infinity){this.$showGutter&&this.$gutterLayer.update(w),this.$textLayer.update(w);return}return this.$textLayer.updateLines(w,C,x),!0}}},m.prototype.$getLongestLine=function(){var C=this.session.getScreenWidth();return this.showInvisibles&&!this.session.$useWrapMode&&(C+=1),this.$textLayer&&C>this.$textLayer.MAX_LINE_LENGTH&&(C=this.$textLayer.MAX_LINE_LENGTH+30),Math.max(this.$size.scrollerWidth-2*this.$padding,Math.round(C*this.characterWidth))},m.prototype.updateFrontMarkers=function(){this.$markerFront.setMarkers(this.session.getMarkers(!0)),this.$loop.schedule(this.CHANGE_MARKER_FRONT)},m.prototype.updateBackMarkers=function(){this.$markerBack.setMarkers(this.session.getMarkers()),this.$loop.schedule(this.CHANGE_MARKER_BACK)},m.prototype.addGutterDecoration=function(C,x){this.$gutterLayer.addGutterDecoration(C,x)},m.prototype.removeGutterDecoration=function(C,x){this.$gutterLayer.removeGutterDecoration(C,x)},m.prototype.updateBreakpoints=function(C){this._rows=C,this.$loop.schedule(this.CHANGE_GUTTER)},m.prototype.setAnnotations=function(C){this.$gutterLayer.setAnnotations(C),this.$loop.schedule(this.CHANGE_GUTTER)},m.prototype.updateCursor=function(){this.$loop.schedule(this.CHANGE_CURSOR)},m.prototype.hideCursor=function(){this.$cursorLayer.hideCursor()},m.prototype.showCursor=function(){this.$cursorLayer.showCursor()},m.prototype.scrollSelectionIntoView=function(C,x,w){this.scrollCursorIntoView(C,w),this.scrollCursorIntoView(x,w)},m.prototype.scrollCursorIntoView=function(C,x,w){if(this.$size.scrollerHeight!==0){var p=this.$cursorLayer.getPixelPosition(C),f=p.left,c=p.top,S=w&&w.top||0,A=w&&w.bottom||0;this.$scrollAnimation&&(this.$stopAnimation=!0);var T=this.$scrollAnimation?this.session.getScrollTop():this.scrollTop;T+S>c?(x&&T+S>c+this.lineHeight&&(c-=x*this.$size.scrollerHeight),c===0&&(c=-this.scrollMargin.top),this.session.setScrollTop(c)):T+this.$size.scrollerHeight-A<c+this.lineHeight&&(x&&T+this.$size.scrollerHeight-A<c-this.lineHeight&&(c+=x*this.$size.scrollerHeight),this.session.setScrollTop(c+this.lineHeight+A-this.$size.scrollerHeight));var _=this.scrollLeft,I=2*this.layerConfig.characterWidth;f-I<_?(f-=I,f<this.$padding+I&&(f=-this.scrollMargin.left),this.session.setScrollLeft(f)):(f+=I,_+this.$size.scrollerWidth<f+this.characterWidth?this.session.setScrollLeft(Math.round(f+this.characterWidth-this.$size.scrollerWidth)):_<=this.$padding&&f-_<this.characterWidth&&this.session.setScrollLeft(0))}},m.prototype.getScrollTop=function(){return this.session.getScrollTop()},m.prototype.getScrollLeft=function(){return this.session.getScrollLeft()},m.prototype.getScrollTopRow=function(){return this.scrollTop/this.lineHeight},m.prototype.getScrollBottomRow=function(){return Math.max(0,Math.floor((this.scrollTop+this.$size.scrollerHeight)/this.lineHeight)-1)},m.prototype.scrollToRow=function(C){this.session.setScrollTop(C*this.lineHeight)},m.prototype.alignCursor=function(C,x){typeof C==`number`&&(C={row:C,column:0});var w=this.$cursorLayer.getPixelPosition(C),p=this.$size.scrollerHeight-this.lineHeight,f=w.top-p*(x||0);return this.session.setScrollTop(f),f},m.prototype.$calcSteps=function(C,x){var w=0,p=this.STEPS,f=[],c=function(S,A,T){return T*(Math.pow(S-1,3)+1)+A};for(w=0;w<p;++w)f.push(c(w/this.STEPS,C,x-C));return f},m.prototype.scrollToLine=function(C,x,w,p){var c=this.$cursorLayer.getPixelPosition({row:C,column:0}).top;x&&(c-=this.$size.scrollerHeight/2);var S=this.scrollTop;this.session.setScrollTop(c),w!==!1&&this.animateScrolling(S,p)},m.prototype.animateScrolling=function(C,x){var w=this.scrollTop;if(!this.$animatedScroll)return;var p=this;if(C==w)return;if(this.$scrollAnimation){var f=this.$scrollAnimation.steps;if(f.length&&(C=f[0],C==w))return}var c=p.$calcSteps(C,w);this.$scrollAnimation={from:C,to:w,steps:c},clearInterval(this.$timer),p.session.setScrollTop(c.shift()),p.session.$scrollTop=w;function S(){p.$timer=clearInterval(p.$timer),p.$scrollAnimation=null,p.$stopAnimation=!1,x&&x()}this.$timer=setInterval(function(){if(p.$stopAnimation){S();return}if(!p.session)return clearInterval(p.$timer);c.length?(p.session.setScrollTop(c.shift()),p.session.$scrollTop=w):w!=null?(p.session.$scrollTop=-1,p.session.setScrollTop(w),w=null):S()},10)},m.prototype.scrollToY=function(C){this.scrollTop!==C&&(this.$loop.schedule(this.CHANGE_SCROLL),this.scrollTop=C)},m.prototype.scrollToX=function(C){this.scrollLeft!==C&&(this.scrollLeft=C),this.$loop.schedule(this.CHANGE_H_SCROLL)},m.prototype.scrollTo=function(C,x){this.session.setScrollTop(x),this.session.setScrollLeft(C)},m.prototype.scrollBy=function(C,x){x&&this.session.setScrollTop(this.session.getScrollTop()+x),C&&this.session.setScrollLeft(this.session.getScrollLeft()+C)},m.prototype.isScrollableBy=function(C,x){if(x<0&&this.session.getScrollTop()>=1-this.scrollMargin.top||x>0&&this.session.getScrollTop()+this.$size.scrollerHeight-this.layerConfig.maxHeight<-1+this.scrollMargin.bottom||C<0&&this.session.getScrollLeft()>=1-this.scrollMargin.left||C>0&&this.session.getScrollLeft()+this.$size.scrollerWidth-this.layerConfig.width<-1+this.scrollMargin.right)return!0},m.prototype.pixelToScreenCoordinates=function(C,x){var w;if(this.$hasCssTransforms){w={top:0,left:0};var p=this.$fontMetrics.transformCoordinates([C,x]);C=p[1]-this.gutterWidth-this.margin.left,x=p[0]}else w=this.scroller.getBoundingClientRect();var f=C+this.scrollLeft-w.left-this.$padding,c=f/this.characterWidth,S=Math.floor((x+this.scrollTop-w.top)/this.lineHeight),A=this.$blockCursor?Math.floor(c):Math.round(c);return{row:S,column:A,side:c-A>0?1:-1,offsetX:f}},m.prototype.screenToTextCoordinates=function(C,x){var w;if(this.$hasCssTransforms){w={top:0,left:0};var p=this.$fontMetrics.transformCoordinates([C,x]);C=p[1]-this.gutterWidth-this.margin.left,x=p[0]}else w=this.scroller.getBoundingClientRect();var f=C+this.scrollLeft-w.left-this.$padding,c=f/this.characterWidth,S=this.$blockCursor?Math.floor(c):Math.round(c),A=
983Math.floor((x+this.scrollTop-w.top)/this.lineHeight);return this.session.screenToDocumentPosition(A,Math.max(S,0),f)},m.prototype.textToScreenCoordinates=function(C,x){var w=this.scroller.getBoundingClientRect(),p=this.session.documentToScreenPosition(C,x),f=this.$padding+(this.session.$bidiHandler.isBidiRow(p.row,C)?this.session.$bidiHandler.getPosLeft(p.column):Math.round(p.column*this.characterWidth)),c=p.row*this.lineHeight;return{pageX:w.left+f-this.scrollLeft,pageY:w.top+c-this.scrollTop}},m.prototype.visualizeFocus=function(){L.addCssClass(this.container,`ace_focus`)},m.prototype.visualizeBlur=function(){L.removeCssClass(this.container,`ace_focus`)},m.prototype.showComposition=function(C){this.$composition=C,C.cssText||(C.cssText=this.textarea.style.cssText),C.useTextareaForIME??=this.$useTextareaForIME,this.$useTextareaForIME?(L.addCssClass(this.textarea,`ace_composition`),this.textarea.style.cssText=``,this.$moveTextAreaToCursor(),this.$cursorLayer.element.style.display=`none`):C.markerId=this.session.addMarker(C.markerRange,`ace_composition_marker`,`text`)},m.prototype.setCompositionText=function(C){var x=this.session.selection.cursor;this.addToken(C,`composition_placeholder`,x.row,x.column),this.$moveTextAreaToCursor()},m.prototype.hideComposition=function(){if(this.$composition){this.$composition.markerId&&this.session.removeMarker(this.$composition.markerId),L.removeCssClass(this.textarea,`ace_composition`),this.textarea.style.cssText=this.$composition.cssText;var C=this.session.selection.cursor;this.removeExtraToken(C.row,C.column),this.$composition=null,this.$cursorLayer.element.style.display=``}},m.prototype.setGhostText=function(C,x){var w=this.session.selection.cursor,p=x||{row:w.row,column:w.column};this.removeGhostText();var f=this.$calculateWrappedTextChunks(C,p);this.addToken(f[0].text,`ghost_text`,p.row,p.column),this.$ghostText={text:C,position:{row:p.row,column:p.column}};var c=L.createElement(`div`);if(f.length>1){var S=this.hideTokensAfterPosition(p.row,p.column),A;f.slice(1).forEach(function(O){var B=L.createElement(`div`),W=L.createElement(`span`);W.className=`ace_ghost_text`,O.wrapped&&(B.className=`ghost_text_line_wrapped`),O.text.length===0&&(O.text=` `),W.appendChild(L.createTextNode(O.text)),B.appendChild(W),c.appendChild(B),A=B}),S.forEach(function(O){var B=L.createElement(`span`);h(O.type)||(B.className=`ace_`+O.type.replace(/\./g,` ace_`)),B.appendChild(L.createTextNode(O.value)),A.appendChild(B)}),this.$ghostTextWidget={el:c,row:p.row,column:p.column,className:`ace_ghost_text_container`},this.session.widgetManager.addLineWidget(this.$ghostTextWidget);var T=this.$cursorLayer.getPixelPosition(p,!0),I=this.container.getBoundingClientRect().height,D=f.length*this.lineHeight;if(D<I-T.top)return;D<I?this.scrollBy(0,(f.length-1)*this.lineHeight):this.scrollToRow(p.row)}},m.prototype.$calculateWrappedTextChunks=function(C,x){var w=this.$size.scrollerWidth-this.$padding*2,p=Math.floor(w/this.characterWidth)-2;p=p<=0?60:p;for(var f=C.split(/\r?\n/),c=[],S=0;S<f.length;S++){var A=this.session.$getDisplayTokens(f[S],x.column),T=this.session.$computeWrapSplits(A,p,this.session.$tabSize);if(T.length>0){var _=0;T.push(f[S].length);for(var I=0;I<T.length;I++){var D=f[S].slice(_,T[I]);c.push({text:D,wrapped:!0}),_=T[I]}}else c.push({text:f[S],wrapped:!1})}return c},m.prototype.removeGhostText=function(){if(this.$ghostText){var C=this.$ghostText.position;this.removeExtraToken(C.row,C.column),this.$ghostTextWidget&&(this.session.widgetManager.removeLineWidget(this.$ghostTextWidget),this.$ghostTextWidget=null),this.$ghostText=null}},m.prototype.addToken=function(C,x,w,p){var f=this.session;f.bgTokenizer.lines[w]=null;var c={type:x,value:C},S=f.getTokens(w);if(p==null||!S.length)S.push(c);else for(var A=0,T=0;T<S.length;T++){var _=S[T];if(A+=_.value.length,p<=A){var I=_.value.length-(A-p),D=_.value.slice(0,I),N=_.value.slice(I);S.splice(T,1,{type:_.type,value:D},c,{type:_.type,value:N});break}}this.updateLines(w,w)},m.prototype.hideTokensAfterPosition=function(C,x){for(var w=this.session.getTokens(C),p=0,f=!1,c=[],S=0;S<w.length;S++){var A=w[S];if(p+=A.value.length,A.type!==`ghost_text`){if(f){c.push({type:A.type,value:A.value}),A.type=`hidden_token`;continue}p===x&&(f=!0)}}return this.updateLines(C,C),c},m.prototype.removeExtraToken=function(C,x){this.session.bgTokenizer.lines[C]=null,this.updateLines(C,C)},m.prototype.setTheme=function(C,x){var w=this;if(this.$themeId=C,w._dispatchEvent(`themeChange`,{theme:C}),!C||typeof C==`string`){var p=C||this.$options.theme.initialValue;a.loadModule([`theme`,p],f)}else f(C);function f(c){if(w.$themeId!=C)return x&&x();if(!c||!c.cssClass)throw new Error(`couldn't load module `+C+` or it didn't call define`);c.$id&&(w.$themeId=c.$id),L.importCssString(c.cssText,c.cssClass,w.container),w.theme&&L.removeCssClass(w.container,w.theme.cssClass);var S=`padding`in c?c.padding:`padding`in(w.theme||{})?4:w.$padding;if(w.$padding&&S!=w.$padding&&w.setPadding(S),w.$gutterLayer){var A=c.$showGutterCursorMarker;A&&!w.$gutterLayer.$showCursorMarker?w.$gutterLayer.$showCursorMarker=`theme`:!A&&w.$gutterLayer.$showCursorMarker==`theme`&&(w.$gutterLayer.$showCursorMarker=null)}
983w.$theme=c.cssClass,w.theme=c,L.addCssClass(w.container,c.cssClass),L.setCssClass(w.container,`ace_dark`,c.isDark),w.$size&&(w.$size.width=0,w.$updateSizeAsync()),w._dispatchEvent(`themeLoaded`,{theme:c}),x&&x(),u.isSafari&&w.scroller&&(w.scroller.style.background=`red`,w.scroller.style.background=``)}},m.prototype.getTheme=function(){return this.$themeId},m.prototype.setStyle=function(C,x){L.setCssClass(this.container,C,x!==!1)},m.prototype.unsetStyle=function(C){L.removeCssClass(this.container,C)},m.prototype.setCursorStyle=function(C){L.setStyle(this.scroller.style,`cursor`,C)},m.prototype.setMouseCursor=function(C){L.setStyle(this.scroller.style,`cursor`,C)},m.prototype.attachToShadowRoot=function(){L.importCssString(v,`ace_editor.css`,this.container)},m.prototype.destroy=function(){this.freeze(),this.$fontMetrics.destroy(),this.$cursorLayer.destroy(),this.removeAllListeners(),this.container.textContent=``,this.setOption(`useResizeObserver`,!1)},m.prototype.$updateCustomScrollbar=function(C){var x=this;this.$horizScroll=this.$vScroll=null,this.scrollBarV.element.remove(),this.scrollBarH.element.remove(),C===!0?(this.scrollBarV=new s(this.container,this),this.scrollBarH=new n(this.container,this),this.scrollBarV.setHeight(this.$size.scrollerHeight),this.scrollBarH.setWidth(this.$size.scrollerWidth),this.scrollBarV.addEventListener(`scroll`,function(w){x.$scrollAnimation||x.session.setScrollTop(w.data-x.scrollMargin.top)}),this.scrollBarH.addEventListener(`scroll`,function(w){x.$scrollAnimation||x.session.setScrollLeft(w.data-x.scrollMargin.left)}),this.$scrollDecorator?(this.$scrollDecorator.setScrollBarV(this.scrollBarV),this.$scrollDecorator.$updateDecorators()):(this.$scrollDecorator=new b(this.scrollBarV,this),this.$scrollDecorator.$updateDecorators())):(this.scrollBarV=new e(this.container,this),this.scrollBarH=new t(this.container,this),this.scrollBarV.addEventListener(`scroll`,function(w){x.$scrollAnimation||x.session.setScrollTop(w.data-x.scrollMargin.top)}),this.scrollBarH.addEventListener(`scroll`,function(w){x.$scrollAnimation||x.session.setScrollLeft(w.data-x.scrollMargin.left)}))},m.prototype.$addResizeObserver=function(){if(!(!window.ResizeObserver||this.$resizeObserver)){var C=this;this.$resizeTimer=M.delayedCall(function(){C.destroyed||C.onResize()},50),this.$resizeObserver=new window.ResizeObserver(function(x){var w=x[0].contentRect.width,p=x[0].contentRect.height;Math.abs(C.$size.width-w)>1||Math.abs(C.$size.height-p)>1?C.$resizeTimer.delay():C.$resizeTimer.cancel()}),this.$resizeObserver.observe(this.container)}},m})();y.prototype.CHANGE_CURSOR=1,y.prototype.CHANGE_MARKER=2,y.prototype.CHANGE_GUTTER=4,y.prototype.CHANGE_SCROLL=8,y.prototype.CHANGE_LINES=16,y.prototype.CHANGE_TEXT=32,y.prototype.CHANGE_SIZE=64,y.prototype.CHANGE_MARKER_BACK=128,y.prototype.CHANGE_MARKER_FRONT=256,y.prototype.CHANGE_FULL=512,y.prototype.CHANGE_H_SCROLL=1024,y.prototype.$changes=0,y.prototype.$padding=null,y.prototype.$frozen=!1,y.prototype.STEPS=8,k.implement(y.prototype,$),a.defineOptions(y.prototype,`renderer`,{useResizeObserver:{set:function(m){!m&&this.$resizeObserver?(this.$resizeObserver.disconnect(),this.$resizeTimer.cancel(),this.$resizeTimer=this.$resizeObserver=null):m&&!this.$resizeObserver&&this.$addResizeObserver()}},animatedScroll:{initialValue:!1},showInvisibles:{set:function(m){this.$textLayer.setShowInvisibles(m)&&this.$loop.schedule(this.CHANGE_TEXT)},initialValue:!1},showPrintMargin:{set:function(){this.$updatePrintMargin()},initialValue:!0},printMarginColumn:{set:function(){this.$updatePrintMargin()},initialValue:80},printMargin:{set:function(m){typeof m==`number`&&(this.$printMarginColumn=m),this.$showPrintMargin=!!m,this.$updatePrintMargin()},get:function(){return this.$showPrintMargin&&this.$printMarginColumn}},showGutter:{set:function(m){this.$gutter.style.display=m?`block`:`none`,this.$loop.schedule(this.CHANGE_FULL),this.onGutterResize()},initialValue:!0},useSvgGutterIcons:{set:function(m){this.$gutterLayer.$useSvgGutterIcons=m},initialValue:!1},showFoldedAnnotations:{set:function(m){this.$gutterLayer.$showFoldedAnnotations=m},initialValue:!1},fadeFoldWidgets:{set:function(m){L.setCssClass(this.$gutter,`ace_fade-fold-widgets`,m)},initialValue:!1},showFoldWidgets:{set:function(m){this.$gutterLayer.setShowFoldWidgets(m),this.$loop.schedule(this.CHANGE_GUTTER)},initialValue:!0},displayIndentGuides:{set:function(m){this.$textLayer.setDisplayIndentGuides(m)&&this.$loop.schedule(this.CHANGE_TEXT)},initialValue:!0},highlightIndentGuides:{set:function(m){this.$textLayer.setHighlightIndentGuides(m)==!0?this.$textLayer.$highlightIndentGuide():this.$textLayer.$clearActiveIndentGuide(this.$textLayer.$lines.cells)},initialValue:!0},highlightGutterLine:{set:function(m){this.$gutterLayer.setHighlightGutterLine(m),this.$loop.schedule(this.CHANGE_GUTTER)},initialValue:!0},hScrollBarAlwaysVisible:{set:function(m){(!this.$hScrollBarAlwaysVisible||!this.$horizScroll)&&this.$loop.schedule(this.CHANGE_SCROLL)},initialValue:!1},vScrollBarAlwaysVisible:{set:function(m){(!this.$vScrollBarAlwaysVisible||!this.$vScroll)&&this.$loop.schedule(this.CHANGE_SCROLL)},initialValue:!1},fontSize:{set:function(m){typeof m==`number`&&(m=m+`px`),this.container.style.fontSize=m,this.updateFontSize()},initialValue:12},fontFamily:{set:function(m){this.container.style.fontFamily=m,this.updateFontSize()}},maxLines:{set:function(m){this.updateFull()}},minLines:{set:function(m){this.$minLines<562949953421311||(this.$minLines=0),this.updateFull()}},maxPixelHeight:{set:function(m){this.updateFull()},initialValue:0},scrollPastEnd:{set:function(m){m=+m||0,this.$scrollPastEnd!=m&&(this.$scrollPastEnd=m,this.$loop.schedule(this.CHANGE_SCROLL))},initialValue:0,handlesSet:!0},fixedWidthGutter:{set:function(m){this.$gutterLayer.$fixedWidth=!!m,this.$loop.schedule(this.CHANGE_GUTTER)}},customScrollbar:{set:function(m){this.$updateCustomScrollbar(m)},initialValue:!1},theme:{set:function(m){this.setTheme(m)},get:function(){return this.$themeId||this.theme},initialValue:`./theme/textmate`,handlesSet:!0},hasCssTransforms:{},useTextareaForIME:{initialValue:!u.isMobile&&!u.isIE}}),E.VirtualRenderer=y});
vendor: 5,002 bytes, line 983
983ace.define(`ace/worker/worker_client`,[`require`,`exports`,`module`,`ace/lib/oop`,`ace/lib/net`,`ace/lib/event_emitter`,`ace/config`],function(R,E,F){"use strict";var k=R(`../lib/oop`),L=R(`../lib/net`),M=R(`../lib/event_emitter`).EventEmitter,a=R(`../config`);function l(t){var e=`importScripts('`+L.qualifyURL(t)+`');`;try{return new Blob([e],{type:`application/javascript`})}catch{var s=new(window.BlobBuilder||window.WebKitBlobBuilder||window.MozBlobBuilder);return s.append(e),s.getBlob(`application/javascript`)}}function r(t){if(typeof Worker>`u`)return{postMessage:function(){},terminate:function(){}};if(a.get(`loadWorkerFromBlob`)){var e=l(t),s=(window.URL||window.webkitURL).createObjectURL(e);return new Worker(s)}return new Worker(t)}var o=function(t){t.postMessage||(t=this.$createWorkerFromOldConfig.apply(this,arguments)),this.$worker=t,this.$sendDeltaQueue=this.$sendDeltaQueue.bind(this),this.changeListener=this.changeListener.bind(this),this.onMessage=this.onMessage.bind(this),this.callbackId=1,this.callbacks={},this.$worker.onmessage=this.onMessage};(function(){k.implement(this,M),this.$createWorkerFromOldConfig=function(t,e,n,s,d){if(R.nameToUrl&&!R.toUrl&&(R.toUrl=R.nameToUrl),a.get(`packaged`)||!R.toUrl)s=s||a.moduleUrl(e,`worker`);else{var g=this.$normalizePath;s=s||g(R.toUrl(`ace/worker/worker.js`,null,`_`));var $={};t.forEach(function(v){$[v]=g(R.toUrl(v,null,`_`).replace(/(\.js)?(\?.*)?$/,``))})}return this.$worker=r(s),d&&this.send(`importScripts`,d),this.$worker.postMessage({init:!0,tlns:$,module:e,classname:n}),this.$worker},this.onMessage=function(t){var e=t.data;switch(e.type){case`event`:this._signal(e.name,{data:e.data});break;case`call`:var n=this.callbacks[e.id];n&&(n(e.data),delete this.callbacks[e.id]);break;case`error`:this.reportError(e.data);break;case`log`:window.console&&console.log&&console.log.apply(console,e.data);break}},this.reportError=function(t){window.console&&console.error&&console.error(t)},this.$normalizePath=function(t){return L.qualifyURL(t)},this.terminate=function(){this._signal(`terminate`,{}),this.deltaQueue=null,this.$worker.terminate(),this.$worker.onerror=function(t){t.preventDefault()},this.$worker=null,this.$doc&&this.$doc.off(`change`,this.changeListener),this.$doc=null},this.send=function(t,e){this.$worker.postMessage({command:t,args:e})},this.call=function(t,e,n){if(n){var s=this.callbackId++;this.callbacks[s]=n,e.push(s)}this.send(t,e)},this.emit=function(t,e){try{e.data&&e.data.err&&(e.data.err={message:e.data.err.message,stack:e.data.err.stack,code:e.data.err.code}),this.$worker&&this.$worker.postMessage({event:t,data:{data:e.data}})}catch(n){console.error(n.stack)}},this.attachToDocument=function(t){this.$doc&&this.terminate(),this.$doc=t,this.call(`setValue`,[t.getValue()]),t.on(`change`,this.changeListener,!0)},this.changeListener=function(t){this.deltaQueue||(this.deltaQueue=[],setTimeout(this.$sendDeltaQueue,0)),t.action==`insert`?this.deltaQueue.push(t.start,t.lines):this.deltaQueue.push(t.start,t.end)},this.$sendDeltaQueue=function(){var t=this.deltaQueue;t&&(this.deltaQueue=null,t.length>50&&t.length>this.$doc.getLength()>>1?this.call(`setValue`,[this.$doc.getValue()]):this.emit(`change`,{data:t}))}}).call(o.prototype);var i=function(t,e,n){var s=null,d=!1,g=Object.create(M),$=[],v=new o({messageBuffer:$,terminate:function(){},postMessage:function(u){$.push(u),s&&(d?setTimeout(b):b())}});v.setEmitSync=function(u){d=u};var b=function(){var u=$.shift();u.command?s[u.command].apply(s,u.args):u.event&&g._signal(u.event,u.data)};return g.postMessage=function(u){v.onMessage({data:u})},g.callback=function(u,h){this.postMessage({type:`call`,id:h,data:u})},g.emit=function(u,h){this.postMessage({type:`event`,name:u,data:h})},a.loadModule([`worker`,e],function(u){for(s=new u[n](g);$.length;)b()}),v};E.UIWorkerClient=i,E.WorkerClient=o,E.createWorker=r});ace.define(`ace/placeholder`,[`require`,`exports`,`module`,`ace/range`,`ace/lib/event_emitter`,`ace/lib/oop`],function(R,E,F){"use strict";var k=R(`./range`).Range,L=R(`./lib/event_emitter`).EventEmitter,M=R(`./lib/oop`),a=(function(){function l(r,o,i,t,e,n){var s=this;this.length=o,this.session=r,this.doc=r.getDocument(),this.mainClass=e,this.othersClass=n,this.$onUpdate=this.onUpdate.bind(this),this.doc.on(`change`,this.$onUpdate,!0),this.$others=t,this.$onCursorChange=function(){setTimeout(function(){s.onCursorChange()})},this.$pos=i;var d=r.getUndoManager().$undoStack||r.getUndoManager().$undostack||{length:-1};this.$undoStackDepth=d.length,this.setup(),r.selection.on(`changeCursor`,this.$onCursorChange)}return l.prototype.setup=function(){var r=this,o=this.doc,i=this.session;this.selectionBefore=i.selection.toJSON(),i.selection.inMultiSelectMode&&i.selection.toSingleRange(),this.pos=o.createAnchor(this.$pos.row,this.$pos.column);var t=this.pos;t.$insertRight=!0,t.detach(),t.markerId=i.addMarker(new k(t.row,t.column,t.row,t.column+this.length),this.mainClass,null,!1),this.others=[],this.$others.forEac
983h(function(e){var n=o.createAnchor(e.row,e.column);n.$insertRight=!0,n.detach(),r.others.push(n)}),i.setUndoSelect(!1)},l.prototype.showOtherMarkers=function(){if(!this.othersActive){var r=this.session,o=this;this.othersActive=!0,this.others.forEach(function(i){i.markerId=r.addMarker(new k(i.row,i.column,i.row,i.column+o.length),o.othersClass,null,!1)})}},l.prototype.hideOtherMarkers=function(){if(this.othersActive){this.othersActive=!1;for(var r=0;r<this.others.length;r++)this.session.removeMarker(this.others[r].markerId)}},l.prototype.onUpdate=function(r){if(this.$updating)return this.updateAnchors(r);var o=r;if(o.start.row===o.end.row&&o.start.row===this.pos.row){this.$updating=!0;var i=r.action===`insert`?o.end.column-o.start.column:o.start.column-o.end.column,t=o.start.column>=this.pos.column&&o.start.column<=this.pos.column+this.length+1,e=o.start.column-this.pos.column;if(this.updateAnchors(r),t&&(this.length+=i),t&&!this.session.$fromUndo){if(r.action===`insert`)for(var n=this.others.length-1;n>=0;n--){var s=this.others[n],d={row:s.row,column:s.column+e};this.doc.insertMergedLines(d,r.lines)}else if(r.action===`remove`)for(var n=this.others.length-1;n>=0;n--){var s=this.others[n],d={row:s.row,column:s.column+e};this.doc.remove(new k(d.row,d.column,d.row,d.column-i))}}this.$updating=!1,this.updateMarkers()}},l.prototype.updateAnchors=function(r){this.pos.onChange(r);for(var o=this.others.length;o--;)this.others[o].onChange(r);this.updateMarkers()},l.prototype.updateMarkers=function(){if(!this.$updating){var r=this,o=this.session,i=function(e,n){o.removeMarker(e.markerId),e.markerId=o.addMarker(new k(e.row,e.column,e.row,e.column+r.length),n,null,!1)};i(this.pos,this.mainClass);for(var t=this.others.length;t--;)i(this.others[t],this.othersClass)}},l.prototype.onCursorChange=function(r){if(!(this.$updating||!this.session)){var o=this.session.selection.getCursor();o.row===this.pos.row&&o.column>=this.pos.column&&o.column<=this.pos.column+this.length?(this.showOtherMarkers(),this._emit(`cursorEnter`,r)):(this.hideOtherMarkers(),this._emit(`cursorLeave`,r))}},l.prototype.detach=function(){this.session.removeMarker(this.pos&&this.pos.markerId),this.hideOtherMarkers(),this.doc.off(`change`,this.$onUpdate),this.session.selection.off(`changeCursor`,this.$onCursorChange),this.session.setUndoSelect(!0),this.session=null},l.prototype.cancel=function(){if(this.$undoStackDepth!==-1){for(var r=this.session.getUndoManager(),o=(r.$undoStack||r.$undostack).length-this.$undoStackDepth,i=0;i<o;i++)r.undo(this.session,!0);this.selectionBefore&&this.session.selection.fromJSON(this.selectionBefore)}},l})();M.implement(a.prototype,L),E.PlaceHolder=a});ace.define(`ace/mouse/multi_select_handler`,[`require`,`exports`,`module`,`ace/lib/event`,`ace/lib/useragent`],function(R,E,F){var k=R(`../lib/event`),L=R(`../lib/useragent`);function M(l,r){return l.row==r.row&&l.column==r.column}function a(l){var r=l.domEvent,o=r.altKey,i=r.shiftKey,t=r.ctrlKey,e=l.getAccelKey(),n=l.getButton();if(t&&L.isMac&&(n=r.button),l.editor.inMultiSelectMode&&n==2){l.editor.textInput.onContextMenu(l.domEvent);return}if(!t&&!o&&!e){n===0&&l.editor.inMultiSelectMode&&l.editor.exitMultiSelectMode();return}if(n===0){var s=l.editor,d=s.selection,g=s.inMultiSelectMode,$=l.getDocumentPosition(),v=d.getCursor(),b=l.inSelection()||d.isEmpty()&&M($,v),u=l.x,h=l.y,y=function(D){u=D.clientX,h=D.clientY},m=s.session,C=s.renderer.pixelToScreenCoordinates(u,h),x=C,w;if(s.$mouseHandler.$enableJumpToDef)t&&o||e&&o?w=i?`block`:`add`:o&&s.$blockSelectEnabled&&(w=`block`);else if(e&&!o){if(w=`add`,!g&&i)return}else o&&s.$blockSelectEnabled&&(w=`block`);if(w&&L.isMac&&r.ctrlKey&&s.$mouseHandler.cancelContextMenu(),w==`add`){if(!g&&b)return;if(!g){var p=d.toOrientedRange();s.addSelectionMarker(p)}var f=d.rangeList.rangeAtPoint($);s.inVirtualSelectionMode=!0,i&&(f=null,p=d.ranges[0]||p,s.removeSelectionMarker(p)),s.once(`mouseup`,function(){var D=d.toOrientedRange();f&&D.isEmpty()&&M(f.cursor,D.cursor)?d.substractPoint(D.cursor):(i?d.substractPoint(p.cursor):p&&(s.removeSelectionMarker(p),d.addRange(p)),d.addRange(D)),s.inVirtualSelectionMode=!1})}else if(w==`block`){l.stop(),s.inVirtualSelectionMode=!0;var c,S=[],A=function(){var D=s.renderer.pixelToScreenCoordinates(u,h),N=m.screenToDocumentPosition(D.row,D.column,D.offsetX);
983M(x,D)&&M(N,d.lead)||(x=D,s.selection.moveToPosition(N),s.renderer.scrollCursorIntoView(),s.removeSelectionMarkers(S),S=d.rectangularRangeBlock(x,C),s.$mouseHandler.$clickSelection&&S.length==1&&S[0].isEmpty()&&(S[0]=s.$mouseHandler.$clickSelection.clone()),S.forEach(s.addSelectionMarker,s),s.updateSelectionMarkers())};g&&!e?d.toSingleRange():!g&&e&&(c=d.toOrientedRange(),s.addSelectionMarker(c)),i?C=m.documentToScreenPosition(d.lead):d.moveToPosition($),x={row:-1,column:-1};var T=function(D){A(),clearInterval(I),s.removeSelectionMarkers(S),S.length||(S=[d.toOrientedRange()]),c&&(s.removeSelectionMarker(c),d.toSingleRange(c));for(var N=0;N<S.length;N++)d.addRange(S[N]);s.inVirtualSelectionMode=!1,s.$mouseHandler.$clickSelection=null},_=A;k.capture(s.container,y,T);var I=setInterval(function(){_()},20);return l.preventDefault()}}}E.onMouseDown=a});ace.define(`ace/commands/multi_select_commands`,[`require`,`exports`,`module`,`ace/keyboard/hash_handler`],function(R,E,F){E.defaultCommands=[{name:`addCursorAbove`,description:`Add cursor above`,exec:function(L){L.selectMoreLines(-1)},bindKey:{win:`Ctrl-Alt-Up`,mac:`Ctrl-Alt-Up`},scrollIntoView:`cursor`,readOnly:!0},{name:`addCursorBelow`,description:`Add cursor below`,exec:function(L){L.selectMoreLines(1)},bindKey:{win:`Ctrl-Alt-Down`,mac:`Ctrl-Alt-Down`},scrollIntoView:`cursor`,readOnly:!0},{name:`addCursorAboveSkipCurrent`,description:`Add cursor above (skip current)`,exec:function(L){L.selectMoreLines(-1,!0)},bindKey:{win:`Ctrl-Alt-Shift-Up`,mac:`Ctrl-Alt-Shift-Up`},scrollIntoView:`cursor`,readOnly:!0},{name:`addCursorBelowSkipCurrent`,description:`Add cursor below (skip current)`,exec:function(L){L.selectMoreLines(1,!0)},bindKey:{win:`Ctrl-Alt-Shift-Down`,mac:`Ctrl-Alt-Shift-Down`},scrollIntoView:`cursor`,readOnly:!0},{name:`selectMoreBefore`,description:`Select more before`,exec:function(L){L.selectMore(-1)},bindKey:{win:`Ctrl-Alt-Left`,mac:`Ctrl-Alt-Left`},scrollIntoView:`cursor`,readOnly:!0},{name:`selectMoreAfter`,description:`Select more after`,exec:function(L){L.selectMore(1)},bindKey:{win:`Ctrl-Alt-Right`,mac:`Ctrl-Alt-Right`},scrollIntoView:`cursor`,readOnly:!0},{name:`selectNextBefore`,description:`Select next before`,exec:function(L){L.selectMore(-1,!0)},bindKey:{win:`Ctrl-Alt-Shift-Left`,mac:`Ctrl-Alt-Shift-Left`},scrollIntoView:`cursor`,readOnly:!0},{name:`selectNextAfter`,description:`Select next after`,exec:function(L){L.selectMore(1,!0)},bindKey:{win:`Ctrl-Alt-Shift-Right`,mac:`Ctrl-Alt-Shift-Right`},scrollIntoView:`cursor`,readOnly:!0},{name:`toggleSplitSelectionIntoLines`,description:`Split selection into lines`,exec:function(L){L.multiSelect.rangeCount>1?L.multiSelect.joinSelections():L.multiSelect.splitIntoLines()},bindKey:{win:`Ctrl-Alt-L`,mac:`Ctrl-Alt-L`},readOnly:!0},{name:`splitSelectionIntoLines`,description:`Split into lines`,exec:function(L){L.multiSelect.splitIntoLines()},readOnly:!0},{name:`alignCursors`,description:`Align cursors`,exec:function(L){L.alignCursors()},bindKey:{win:`Ctrl-Alt-A`,mac:`Ctrl-Alt-A`},scrollIntoView:`cursor`},{name:`findAll`,description:`Find all`,exec:function(L){L.findAll()},bindKey:{win:`Ctrl-Alt-K`,mac:`Ctrl-Alt-G`},scrollIntoView:`cursor`,readOnly:!0}],E.multiSelectCommands=[{name:`singleSelection`,description:`Single selection`,bindKey:`esc`,exec:function(L){L.exitMultiSelectMode()},scrollIntoView:`cursor`,readOnly:!0,isAvailable:function(L){return L&&L.inMultiSelectMode}}];var k=R(`../keyboard/hash_handler`).HashHandler;E.keyboardHandler=new k(E.multiSelectCommands)});ace.define(`ace/multi_select`,[`require`,`exports`,`module`,`ace/range_list`,`ace/range`,`ace/selection`,`ace/mouse/multi_select_handler`,`ace/lib/event`,`ace/lib/lang`,`ace/commands/multi_select_commands`,`ace/search`,`ace/edit_session`,`ace/editor`,`ace/config`],function(R,E,F){var k=R(`./range_list`).RangeList,L=R(`./range`).Range,M=R(`./selection`).Selection,a=R(`./mouse/multi_select_handler`).onMouseDown,l=R(`./lib/event`),r=R(`./lib/lang`),o=R(`./commands/multi_select_commands`);E.commands=o.defaultCommands.concat(o.multiSelectCommands);var i=R(`./search`).Search,t=new i;function e(v,b,u){return t.$options.wrap=!0,t.$options.needle=b,t.$options.backwards=u==-1,t.find(v)}var n=R(`./edit_session`).EditSession;
983(function(){this.getSelectionMarkers=function(){return this.$selectionMarkers}}).call(n.prototype),(function(){this.ranges=null,this.rangeList=null,this.addRange=function(v,b){if(v){if(!this.inMultiSelectMode&&this.rangeCount===0){var u=this.toOrientedRange();if(this.rangeList.add(u),this.rangeList.add(v),this.rangeList.ranges.length!=2)return this.rangeList.removeAll(),b||this.fromOrientedRange(v);this.rangeList.removeAll(),this.rangeList.add(u),this.$onAddRange(u)}v.cursor||(v.cursor=v.end);var h=this.rangeList.add(v);return this.$onAddRange(v),h.length&&this.$onRemoveRange(h),this.rangeCount>1&&!this.inMultiSelectMode&&(this._signal(`multiSelect`),this.inMultiSelectMode=!0,this.session.$undoSelect=!1,this.rangeList.attach(this.session)),b||this.fromOrientedRange(v)}},this.toSingleRange=function(v){v=v||this.ranges[0];var b=this.rangeList.removeAll();b.length&&this.$onRemoveRange(b),v&&this.fromOrientedRange(v)},this.substractPoint=function(v){var b=this.rangeList.substractPoint(v);if(b)return this.$onRemoveRange(b),b[0]},this.mergeOverlappingRanges=function(){var v=this.rangeList.merge();v.length&&this.$onRemoveRange(v)},this.$onAddRange=function(v){this.rangeCount=this.rangeList.ranges.length,this.ranges.unshift(v),this._signal(`addRange`,{range:v})},this.$onRemoveRange=function(v){if(this.rangeCount=this.rangeList.ranges.length,this.rangeCount==1&&this.inMultiSelectMode){var b=this.rangeList.ranges.pop();v.push(b),this.rangeCount=0}for(var u=v.length;u--;){var h=this.ranges.indexOf(v[u]);this.ranges.splice(h,1)}this._signal(`removeRange`,{ranges:v}),this.rangeCount===0&&this.inMultiSelectMode&&(this.inMultiSelectMode=!1,this._signal(`singleSelect`),this.session.$undoSelect=!0,this.rangeList.detach(this.session)),b=b||this.ranges[0],b&&!b.isEqual(this.getRange())&&this.fromOrientedRange(b)},this.$initRangeList=function(){this.rangeList||(this.rangeList=new k,this.ranges=[],this.rangeCount=0)},this.getAllRanges=function(){return this.rangeCount?this.rangeList.ranges.concat():[this.getRange()]},this.splitIntoLines=function(){for(var v=this.ranges.length?this.ranges:[this.getRange()],b=[],u=0;u<v.length;u++){var h=v[u],y=h.start.row,m=h.end.row;if(y===m)b.push(h.clone());else{for(b.push(new L(y,h.start.column,y,this.session.getLine(y).length));++y<m;)b.push(this.getLineRange(y,!0));b.push(new L(m,0,m,h.end.column))}u==0&&!this.isBackwards()&&(b=b.reverse())}this.toSingleRange();for(var u=b.length;u--;)this.addRange(b[u])},this.joinSelections=function(){var v=this.rangeList.ranges,b=v[v.length-1],u=L.fromPoints(v[0].start,b.end);this.toSingleRange(),this.setSelectionRange(u,b.cursor==b.start)},this.toggleBlockSelection=function(){if(this.rangeCount>1){var v=this.rangeList.ranges,b=v[v.length-1],u=L.fromPoints(v[0].start,b.end);this.toSingleRange(),this.setSelectionRange(u,b.cursor==b.start)}else{var h=this.session.documentToScreenPosition(this.cursor),y=this.session.documentToScreenPosition(this.anchor);this.rectangularRangeBlock(h,y).forEach(this.addRange,this)}},this.rectangularRangeBlock=function(v,b,u){var h=[],y=v.column<b.column;if(y)var m=v.column,C=b.column,x=v.offsetX,w=b.offsetX;else var m=b.column,C=v.column,x=b.offsetX,w=v.offsetX;var p=v.row<b.row;if(p)var f=v.row,c=b.row;else var f=b.row,c=v.row;m<0&&(m=0),f<0&&(f=0),f==c&&(u=!0);for(var S,A=f;A<=c;A++){var T=L.fromPoints(this.session.screenToDocumentPosition(A,m,x),this.session.screenToDocumentPosition(A,C,w));if(T.isEmpty()){if(S&&d(T.end,S))break;S=T.end}T.cursor=y?T.start:T.end,h.push(T)}if(p&&h.reverse(),!u){for(var _=h.length-1;h[_].isEmpty()&&_>0;)_--;if(_>0)for(var I=0;h[I].isEmpty();)I++;for(var D=_;D>=I;D--)h[D].isEmpty()&&h.splice(D,1)}return h}}).call(M.prototype);var s=R(`./editor`).Editor;(function(){this.updateSelectionMarkers=function(){this.renderer.updateCursor(),this.renderer.updateBackMarkers()},this.addSelectionMarker=function(v){v.cursor||(v.cursor=v.end);var b=this.getSelectionStyle();return v.marker=this.session.addMarker(v,`ace_selection`,b),this.session.$selectionMarkers.push(v),this.session.selectionMarkerCount=this.session.$selectionMarkers.length,v},this.removeSelectionMarker=function(v){if(v.marker){this.session.removeMarker(v.marker);var b=this.session.$selectionMarkers.indexOf(v);b!=-1&&this.session.$selectionMarkers.splice(b,1),this.session.selectionMarkerCount=this.session.$selectionMarkers.length}},this.removeSelectionMarkers=function(v){for(var b=this.session.$selectionMarkers,u=v.length;u--;){var h=v[u];if(h.marker){this.session.removeMarker(h.marker);var y=b.indexOf(h);y!=-1&&b.splice(y,1)}}this.session.selectionMarkerCount=b.length},this.$onAddRange=function(v){this.addSelectionMarker(v.range),this.renderer.updateCursor(
983),this.renderer.updateBackMarkers()},this.$onRemoveRange=function(v){this.removeSelectionMarkers(v.ranges),this.renderer.updateCursor(),this.renderer.updateBackMarkers()},this.$onMultiSelect=function(v){this.inMultiSelectMode||(this.inMultiSelectMode=!0,this.setStyle(`ace_multiselect`),this.keyBinding.addKeyboardHandler(o.keyboardHandler),this.commands.setDefaultHandler(`exec`,this.$onMultiSelectExec),this.renderer.updateCursor(),this.renderer.updateBackMarkers())},this.$onSingleSelect=function(v){this.session.multiSelect.inVirtualMode||(this.inMultiSelectMode=!1,this.unsetStyle(`ace_multiselect`),this.keyBinding.removeKeyboardHandler(o.keyboardHandler),this.commands.removeDefaultHandler(`exec`,this.$onMultiSelectExec),this.renderer.updateCursor(),this.renderer.updateBackMarkers(),this._emit(`changeSelection`))},this.$onMultiSelectExec=function(v){var b=v.command,u=v.editor;if(u.multiSelect){if(b.multiSelectAction)b.multiSelectAction==`forEach`?h=u.forEachSelection(b,v.args):b.multiSelectAction==`forEachLine`?h=u.forEachSelection(b,v.args,!0):b.multiSelectAction==`single`?(u.exitMultiSelectMode(),h=b.exec(u,v.args||{})):h=b.multiSelectAction(u,v.args||{});else{var h=b.exec(u,v.args||{});u.multiSelect.addRange(u.multiSelect.toOrientedRange()),u.multiSelect.mergeOverlappingRanges()}return h}},this.forEachSelection=function(v,b,u){if(!this.inVirtualSelectionMode){var h=u&&u.keepOrder,y=u==!0||u&&u.$byLines,m=this.session,C=this.selection,x=C.rangeList,w=(h?C:x).ranges,p;if(!w.length)return v.exec?v.exec(this,b||{}):v(this,b||{});var f=C._eventRegistry;C._eventRegistry={};var c=new M(m);this.inVirtualSelectionMode=!0;for(var S=w.length;S--;){if(y)for(;S>0&&w[S].start.row==w[S-1].end.row;)S--;c.fromOrientedRange(w[S]),c.index=S,this.selection=m.selection=c;var A=v.exec?v.exec(this,b||{}):v(this,b||{});!p&&A!==void 0&&(p=A),c.toOrientedRange(w[S])}c.detach(),this.selection=m.selection=C,this.inVirtualSelectionMode=!1,C._eventRegistry=f,C.mergeOverlappingRanges(),C.ranges[0]&&C.fromOrientedRange(C.ranges[0]);var T=this.renderer.$scrollAnimation;return this.onCursorChange(),this.onSelectionChange(),T&&T.from==T.to&&this.renderer.animateScrolling(T.from),p}},this.exitMultiSelectMode=function(){!this.inMultiSelectMode||this.inVirtualSelectionMode||this.multiSelect.toSingleRange()},this.getSelectedText=function(){var v=``;if(this.inMultiSelectMode&&!this.inVirtualSelectionMode){for(var b=this.multiSelect.rangeList.ranges,u=[],h=0;h<b.length;h++)u.push(this.session.getTextRange(b[h]));var y=this.session.getDocument().getNewLineCharacter();v=u.join(y),v.length==(u.length-1)*y.length&&(v=``)}else this.selection.isEmpty()||(v=this.session.getTextRange(this.getSelectionRange()));return v},this.$checkMultiselectChange=function(v,b){if(this.inMultiSelectMode&&!this.inVirtualSelectionMode){var u=this.multiSelect.ranges[0];if(this.multiSelect.isEmpty()&&b==this.multiSelect.anchor)return;var h=b==this.multiSelect.anchor?u.cursor==u.start?u.end:u.start:u.cursor;h.row!=b.row||this.session.$clipPositionToDocument(h.row,h.column).column!=b.column?this.multiSelect.toSingleRange(this.multiSelect.toOrientedRange()):this.multiSelect.mergeOverlappingRanges()}},this.findAll=function(v,b,u){if(b=b||{},b.needle=v||b.needle,b.needle==null){var h=this.selection.isEmpty()?this.selection.getWordRange():this.selection.getRange();b.needle=this.session.getTextRange(h)}this.$search.set(b);var y=this.$search.findAll(this.session);if(!y.length)return 0;var m=this.multiSelect;u||m.toSingleRange(y[0]);for(var C=y.length;C--;)m.addRange(y[C],!0);return h&&m.rangeList.rangeAtPoint(h.start)&&m.addRange(h,!0),y.length},this.selectMoreLines=function(v,b){var u=this.selection.toOrientedRange(),h=u.cursor==u.end,y=this.session.documentToScreenPosition(u.cursor);this.selection.$desiredColumn&&(y.column=this.selection.$desiredColumn);var m=this.session.screenToDocumentPosition(y.row+v,y.column);if(u.isEmpty())var x=m;else var C=this.session.documentToScreenPosition(h?u.end:u.start),x=this.session.screenToDocumentPosition(C.row+v,C.column);if(h){var w=L.fromPoints(m,x);w.cursor=w.start}else{var w=L.fromPoints(x,m);w.cursor=w.end}if(w.desiredColumn=y.column,!this.selection.inMultiSelectMode)this.selection.addRange(u);else if(b)var p=u.cursor;this.selection.addRange(w),p&&this.selection.substractPoint(p)},this.transposeSelections=function(v){for(var b=this.session,u=b.multiSelect,h=u.ranges,y=h.length;y--;){var m=h[y];if(m.isEmpty()){var C=b.getWordRange(m.start.row,m.start.column);m.start.row=C.start.row,m.start.column=C.start.column,m.end.row=C.end.row,m.end.column=C.end.column}}u.mergeOverlappingRanges();for(var x=[],y=h.length;y--;){var m=h[y];x.unshift(b.getTextRange(m))}v<0?x.unshift(x.pop()):x.push(x.shift());for(var y=h.length;y--;){var m=h[y],w=m.clone();b.replace(m,x[y]),m.start.row=w.start.row,m.start.column=w.start.column}u.fromOrientedRange(u.ranges[0])},this.selectMore=function(v,b,u){var h=this.session,m=h.multiSelect.toOr
983ientedRange();if(!(m.isEmpty()&&(m=h.getWordRange(m.start.row,m.start.column),m.cursor=v==-1?m.start:m.end,this.multiSelect.addRange(m),u))){var x=e(h,h.getTextRange(m),v);x&&(x.cursor=v==-1?x.start:x.end,this.session.unfold(x),this.multiSelect.addRange(x),this.renderer.scrollCursorIntoView(null,.5)),b&&this.multiSelect.substractPoint(m.cursor)}},this.alignCursors=function(){var v=this.session,b=v.multiSelect,u=b.ranges,h=-1,y=u.filter(function(_){if(_.cursor.row==h)return!0;h=_.cursor.row});if(!u.length||y.length==u.length-1){var m=this.selection.getRange(),C=m.start.row,x=m.end.row,w=C==x;if(w){var p=this.session.getLength(),f;do f=this.session.getLine(x);while(/[=:]/.test(f)&&++x<p);do f=this.session.getLine(C);while(/[=:]/.test(f)&&--C>0);C<0&&(C=0),x>=p&&(x=p-1)}var c=this.session.removeFullLines(C,x);c=this.$reAlignText(c,w),this.session.insert({row:C,column:0},c.join(`
984`)+`
985`),w||(m.start.column=0,m.end.column=c[c.length-1].length),this.selection.setRange(m)}else{y.forEach(function(_){b.substractPoint(_.cursor)});var S=0,A=Infinity,T=u.map(function(_){var I=_.cursor,N=v.getLine(I.row).substr(I.column).search(/\S/g);return N==-1&&(N=0),I.column>S&&(S=I.column),N<A&&(A=N),N});u.forEach(function(_,I){var D=_.cursor,N=S-D.column,O=T[I]-A;N>O?v.insert(D,r.stringRepeat(` `,N-O)):v.remove(new L(D.row,D.column,D.row,D.column-N+O)),_.start.column=_.end.column=S,_.start.row=_.end.row=D.row,_.cursor=_.end}),b.fromOrientedRange(u[0]),this.renderer.updateCursor(),this.renderer.updateBackMarkers()}},this.$reAlignText=function(v,b){var u=!0,h=!0,y,m,C;return v.map(function(c){var S=c.match(/(\s*)(.*?)(\s*)([=:].*)/);return S?y==null?(y=S[1].length,m=S[2].length,C=S[3].length,S):(y+m+C!=S[1].length+S[2].length+S[3].length&&(h=!1),y!=S[1].length&&(u=!1),y>S[1].length&&(y=S[1].length),m<S[2].length&&(m=S[2].length),C>S[3].length&&(C=S[3].length),S):[c]}).map(b?w:u?h?p:w:f);function x(c){return r.stringRepeat(` `,c)}function w(c){return c[2]?x(y)+c[2]+x(m-c[2].length+C)+c[4].replace(/^([=:])\s+/,`$1 `):c[0]}function p(c){return c[2]?x(y+m-c[2].length)+c[2]+x(C)+c[4].replace(/^([=:])\s+/,`$1 `):c[0]}function f(c){return c[2]?x(y)+c[2]+x(C)+c[4].replace(/^([=:])\s+/,`$1 `):c[0]}}}).call(s.prototype);function d(v,b){return v.row==b.row&&v.column==b.column}E.onSessionChange=function(v){var b=v.session;b&&!b.multiSelect&&(b.$selectionMarkers=[],b.selection.$initRangeList(),b.multiSelect=b.selection),this.multiSelect=b&&b.multiSelect;var u=v.oldSession;u&&(u.multiSelect.off(`addRange`,this.$onAddRange),u.multiSelect.off(`removeRange`,this.$onRemoveRange),u.multiSelect.off(`multiSelect`,this.$onMultiSelect),u.multiSelect.off(`singleSelect`,this.$onSingleSelect),u.multiSelect.lead.off(`change`,this.$checkMultiselectChange),u.multiSelect.anchor.off(`change`,this.$checkMultiselectChange)),b&&(b.multiSelect.on(`addRange`,this.$onAddRange),b.multiSelect.on(`removeRange`,this.$onRemoveRange),b.multiSelect.on(`multiSelect`,this.$onMultiSelect),b.multiSelect.on(`singleSelect`,this.$onSingleSelect),b.multiSelect.lead.on(`change`,this.$checkMultiselectChange),b.multiSelect.anchor.on(`change`,this.$checkMultiselectChange)),b&&this.inMultiSelectMode!=b.selection.inMultiSelectMode&&(b.selection.inMultiSelectMode?this.$onMultiSelect():this.$onSingleSelect())};function g(v){v.$multiselectOnSessionChange||(v.$onAddRange=v.$onAddRange.bind(v),v.$onRemoveRange=v.$onRemoveRange.bind(v),v.$onMultiSelect=v.$onMultiSelect.bind(v),v.$onSingleSelect=v.$onSingleSelect.bind(v),v.$multiselectOnSessionChange=E.onSessionChange.bind(v),v.$checkMultiselectChange=v.$checkMultiselectChange.bind(v),v.$multiselectOnSessionChange(v),v.on(`changeSession`,v.$multiselectOnSessionChange),v.on(`mousedown`,a),v.commands.addCommands(o.defaultCommands),$(v))}function $(v){if(!v.textInput)return;var b=v.textInput.getElement(),u=!1;l.addListener(b,`keydown`,function(y){var m=y.keyCode==18&&!(y.ctrlKey||y.shiftKey||y.metaKey);v.$blockSelectEnabled&&m?u||(v.renderer.setMouseCursor(`crosshair`),u=!0):u&&h()},v),l.addListener(b,`keyup`,h,v),l.addListener(b,`blur`,h,v);function h(y){u&&(v.renderer.setMouseCursor(``),u=!1)}}E.MultiSelect=g,R(`./config`).defineOptions(s.prototype,`editor`,{enableMultiselect:{set:function(v){g(this),v?this.on(`mousedown`,a):this.off(`mousedown`,a)},value:!0},enableBlockSelect:{set:function(v){this.$blockSelectEnabled=v},value:!0}})});ace.define(`ace/mode/folding/fold_mode`,[`require`,`exports`,`module`,`ace/range`],function(R,E,F){"use strict";var k=R(`../../range`).Range,L=E.FoldMode=function(){};(function(){this.foldingStartMarker=null,this.foldingStopMarker=null,this.getFoldWidget=function(M,a,l){var r=M.getLine(l);return this.foldingStartMarker.test(r)?`start`:a==`markbeginend`&&this.foldingStopMarker&&this.foldingStopMarker.test(r)?`end`:``},this.getFoldWidgetRange=function(M,a,l){return null},this.indentationBlock=function(M,a,l){var r=/\S/,o=M.getLine(a),i=o.search(r);if(i!=-1){for(var t=l||o.length,e=M.getLength(),n=a,s=a;++a<e;){var d=M.getLine(a).search(r);if(d!=-1){if(d<=i){var g=M.getTokenAt(a,0);if(!g||g.type!==`string`)break}s=a}}if(s>n){var $=M.getLine(s).length;return new k(n,t,s,$)}}},this.openingBracketBlock=function(M,a,l,r,o){var i={row:l,column:r+1},t=M.$findClosingBracket(a,i,o);if(t){var e=M.foldWidgets[t.row];return e??=M.getFoldWidget(t.row),e==`start`&&t.row>i.row&&(t.row--,t.column=M.getLine(t.row).length),k.fromPoints(i,t)}},this.closingBracketBlock=function(M,a,l,r,o){var i={row:l,column:r},t=M.$findOpeningBracket(a,i);if(t)return t.column++,i.column--,k.fromPoints(t,i)}}).call(L.prototype)});ace.define(`ace/ext/error_marker`,[`require`,`exports`,`module`,`ace/lib/dom`,`ace/range`,`ace/config`],function(R,E,F){"use strict";var k=R(`../lib/dom`),L=R(`../range`).Range,M=R(`../config`).nls;function a(r,o,i){for(var t=0,e=r.length-1;t<=e;){var n=t+e>>1,s=i(o,r[n]);if(s>0)t=n+1;else if(s<0)e=n-1;else return n}return-(t+1)}function l(r,o,i){var t=r.getAnnotations().sort(L.comparePoints);if(t.length){var e=a(t,{row:o,column:-1},L.comparePoints);e<0&&(e=-e-1),e>=t.length?e=i>0?0:t.length-1:e===0&&i<0&&(e=t.length-1);var n=t[e];
985if(!(!n||!i)){if(n.row===o){do n=t[e+=i];while(n&&n.row===o);if(!n)return t.slice()}var s=[];o=n.row;do s[i<0?`unshift`:`push`](n),n=t[e+=i];while(n&&n.row==o);return s.length&&s}}}E.showErrorMarker=function(r,o){var i=r.session,t=r.getCursorPosition(),e=t.row,n=i.widgetManager.getWidgetsAtRow(e).filter(function(y){return y.type==`errorMarker`})[0];n?n.destroy():e-=o;var s=l(i,e,o),d;if(s){var g=s[0];t.column=(g.pos&&typeof g.column!=`number`?g.pos.sc:g.column)||0,t.row=g.row,d=r.renderer.$gutterLayer.$annotations[t.row]}else{if(n)return;d={displayText:[M(`error-marker.good-state`,`Looks good!`)],className:`ace_ok`}}r.session.unfold(t.row),r.selection.moveToPosition(t);var $={row:t.row,fixedWidth:!0,coverGutter:!0,el:k.createElement(`div`),type:`errorMarker`},v=$.el.appendChild(k.createElement(`div`)),b=$.el.appendChild(k.createElement(`div`));b.className=`error_widget_arrow `+d.className;var u=r.renderer.$cursorLayer.getPixelPosition(t).left;b.style.left=u+r.renderer.gutterWidth-5+`px`,$.el.className=`error_widget_wrapper`,v.className=`error_widget `+d.className,d.displayText.forEach(function(y,m){v.appendChild(k.createTextNode(y)),m<d.displayText.length-1&&v.appendChild(k.createElement(`br`))}),v.appendChild(k.createElement(`div`));var h=function(y,m,C){if(m===0&&(C===`esc`||C===`return`))return $.destroy(),{command:`null`}};$.destroy=function(){r.$mouseHandler.isMousePressed||(r.keyBinding.removeKeyboardHandler(h),i.widgetManager.removeLineWidget($),r.off(`changeSelection`,$.destroy),r.off(`changeSession`,$.destroy),r.off(`mouseup`,$.destroy),r.off(`change`,$.destroy))},r.keyBinding.addKeyboardHandler(h),r.on(`changeSelection`,$.destroy),r.on(`changeSession`,$.destroy),r.on(`mouseup`,$.destroy),r.on(`change`,$.destroy),r.session.widgetManager.addLineWidget($),$.el.onmousedown=r.focus.bind(r),r.renderer.scrollCursorIntoView(null,.5,{bottom:$.el.offsetHeight})},k.importCssString(`
986    .error_widget_wrapper {
987        background: inherit;
988        color: inherit;
989        border:none
990    }
991    .error_widget {
992        border-top: solid 2px;
993        border-bottom: solid 2px;
994        margin: 5px 0;
995        padding: 10px 40px;
996        white-space: pre-wrap;
997    }
998    .error_widget.ace_error, .error_widget_arrow.ace_error{
999        border-color: #ff5a5a
1000    }
1001    .error_widget.ace_warning, .error_widget_arrow.ace_warning{
1002        border-color: #F1D817
1003    }
1004    .error_widget.ace_info, .error_widget_arrow.ace_info{
1005        border-color: #5a5a5a
1006    }
1007    .error_widget.ace_ok, .error_widget_arrow.ace_ok{
1008        border-color: #5aaa5a
1009    }
1010    .error_widget_arrow {
1011        position: absolute;
1012        border: solid 5px;
1013        border-top-color: transparent!important;
1014        border-right-color: transparent!important;
1015        border-left-color: transparent!important;
1016        top: -5px;
1017    }
1018`,`error_marker.css`,!1)});ace.define(`ace/ace`,[`require`,`exports`,`module`,`ace/lib/dom`,`ace/range`,`ace/editor`,`ace/edit_session`,`ace/undomanager`,`ace/virtual_renderer`,`ace/worker/worker_client`,`ace/keyboard/hash_handler`,`ace/placeholder`,`ace/multi_select`,`ace/mode/folding/fold_mode`,`ace/theme/textmate`,`ace/ext/error_marker`,`ace/config`,`ace/loader_build`],function(R,E,F){"use strict";R(`./loader_build`)(E);var k=R(`./lib/dom`),L=R(`./range`).Range,M=R(`./editor`).Editor,a=R(`./edit_session`).EditSession,l=R(`./undomanager`).UndoManager,r=R(`./virtual_renderer`).VirtualRenderer;R(`./worker/worker_client`),R(`./keyboard/hash_handler`),R(`./placeholder`),R(`./multi_select`),R(`./mode/folding/fold_mode`),R(`./theme/textmate`),R(`./ext/error_marker`),E.config=R(`./config`),E.edit=function(i,t){if(typeof i==`string`){var e=i;if(i=document.getElementById(e),!i)throw new Error(`ace.edit can't find div #`+e)}if(i&&i.env&&i.env.editor instanceof M)return i.env.editor;var n=``;if(i&&/input|textarea/i.test(i.tagName)){var s=i;n=s.value,i=k.createElement(`pre`),s.parentNode.replaceChild(i,s)}else i&&(n=i.textContent,i.innerHTML=``);var d=E.createEditSession(n),g=new M(new r(i),d,t),$={document:d,editor:g,onResize:g.resize.bind(g,null)};return s&&($.textarea=s),g.on(`destroy`,function(){$.editor.container.env=null}),g.container.env=g.env=$,g},E.createEditSession=function(i,t){var e=new a(i,t);return e.setUndoManager(new l),e},E.Range=L,E.Editor=M,E.EditSession=a,E.UndoManager=l,E.VirtualRenderer=r;E.version=E.config.version});(function(){ace.require([`ace/ace`],function(R){R&&(R.config.init(!0),R.define=ace.define);var E=(function(){return this})();!E&&typeof window<`u`&&(E=window),!E&&typeof self<`u`&&(E=self),E.ace||(E.ace=R);for(var F in R)R.hasOwnProperty(F)&&(E.ace[F]=R[F]);E.ace.default=E.ace,typeof ce==`object`&&typeof ke==`object`&&ce&&(ce.exports=E.ace)})})()});var Re=u$9((Ee,ue)=>{"use strict";ace.define(`ace/snippets`,[`require`,`exports`,`module`,`ace/lib/dom`,`ace/lib/oop`,`ace/lib/event_emitter`,`ace/lib/lang`,`ace/range`,`ace/range_list`,`ace/keyboard/hash_handler`,`ace/tokenizer`,`ace/clipboard`,`ace/editor`],function(R,E,F){"use strict";var k=R(`./lib/dom`),L=R(`./lib/oop`),M=R(`./lib/event_emitter`).EventEmitter,a=R(`./lib/lang`),l=R(`./range`).Range,r=R(`./range_list`).RangeList,o=R(`./keyboard/hash_handler`).HashHandler,i=R(`./tokenizer`).Tokenizer,t=R(`./clipboard`),e={CURRENT_WORD:function(u){return u.session.getTextRange(u.session.getWordRange())},SELECTION:function(u,h,y){var m=u.session.getTextRange();return y?m.replace(/\n\r?([ \t]*\S)/g,`
1019`+y+`$1`):m},CURRENT_LINE:function(u){return u.session.getLine(u.getCursorPosition().row)},PREV_LINE:function(u){return u.session.getLine(u.getCursorPosition().row-1)},LINE_INDEX:function(u){return u.getCursorPosition().row},LINE_NUMBER:function(u){return u.getCursorPosition().row+1},SOFT_TABS:function(u){return u.session.getUseSoftTabs()?`YES`:`NO`},TAB_SIZE:function(u){return u.session.getTabSize()},CLIPBOARD:function(u){return t.getText&&t.getText()},FILENAME:function(u){return/[^/\\]*$/.exec(this.FILEPATH(u))[0]},FILENAME_BASE:function(u){return/[^/\\]*$/.exec(this.FILEPATH(u))[0].replace(/\.[^.]*$/,``)},DIRECTORY:function(u){return this.FILEPATH(u).replace(/[^/\\]*$/,``)},FILEPATH:function(u){return`/not implemented.txt`},WORKSPACE_NAME:function(){return`Unknown`},FULLNAME:function(){return`Unknown`},BLOCK_COMMENT_START:function(u){var h=u.session.$mode||{};return h.blockComment&&h.blockComment.start||``},BLOCK_COMMENT_END:function(u){var h=u.session.$mode||{};return h.blockComment&&h.blockComment.end||``},LINE_COMMENT:function(u){return(u.session.$mode||{}).lineCommentStart||``},CURRENT_YEAR:n.bind(null,{year:`numeric`}),CURRENT_YEAR_SHORT:n.bind(null,{year:`2-digit`}),CURRENT_MONTH:n.bind(null,{month:`numeric`}),CURRENT_MONTH_NAME:n.bind(null,{month:`long`}),CURRENT_MONTH_NAME_SHORT:n.bind(null,{month:`short`}),CURRENT_DATE:n.bind(null,{day:`2-digit`}),CURRENT_DAY_NAME:n.bind(null,{weekday:`long`}),CURRENT_DAY_NAME_SHORT:n.bind(null,{weekday:`short`}),CURRENT_HOUR:n.bind(null,{hour:`2-digit`,hour12:!1}),CURRENT_MINUTE:n.bind(null,{minute:`2-digit`}),CURRENT_SECOND:n.bind(null,{second:`2-digit`})};e.SELECTED_TEXT=e.SELECTION;
1019function n(u){var h=new Date().toLocaleString(`en-us`,u);return h.length==1?`0`+h:h}var s=(function(){function u(){this.snippetMap={},this.snippetNameMap={},this.variables=e}return u.prototype.getTokenizer=function(){return u.$tokenizer||this.createTokenizer()},u.prototype.createTokenizer=function(){function h(C){return C=C.substr(1),/^\d+$/.test(C)?[{tabstopId:parseInt(C,10)}]:[{text:C}]}function y(C){return`(?:[^\\\\`+C+`]|\\\\.)`}var m={regex:`/(`+y(`/`)+`+)/`,onMatch:function(C,x,w){var p=w[0];return p.fmtString=!0,p.guard=C.slice(1,-1),p.flag=``,``},next:`formatString`};return u.$tokenizer=new i({start:[{regex:/\\./,onMatch:function(C,x,w){var p=C[1];return(p==`}`&&w.length||"`$\\".indexOf(p)!=-1)&&(C=p),[C]}},{regex:/}/,onMatch:function(C,x,w){return[w.length?w.shift():C]}},{regex:/\$(?:\d+|\w+)/,onMatch:h},{regex:/\$\{[\dA-Z_a-z]+/,onMatch:function(C,x,w){var p=h(C.substr(1));return w.unshift(p[0]),p},next:`snippetVar`},{regex:/\n/,token:`newline`,merge:!1}],snippetVar:[{regex:`\\|`+y(`\\|`)+`*\\|`,onMatch:function(C,x,w){var p=C.slice(1,-1).replace(/\\[,|\\]|,/g,function(f){return f.length==2?f[1]:`\0`}).split(`\0`).map(function(f){return{value:f}});return w[0].choices=p,[p[0]]},next:`start`},m,{regex:`([^:}\\\\]|\\\\.)*:?`,token:``,next:`start`}],formatString:[{regex:/:/,onMatch:function(C,x,w){return w.length&&w[0].expectElse?(w[0].expectElse=!1,w[0].ifEnd={elseEnd:w[0]},[w[0].ifEnd]):`:`}},{regex:/\\./,onMatch:function(C,x,w){var p=C[1];return p==`}`&&w.length||"`$\\".indexOf(p)!=-1?C=p:p==`n`?C=`
1020`:p==`t`?C=`	`:`ulULE`.indexOf(p)!=-1&&(C={changeCase:p,local:p>`a`}),[C]}},{regex:`/\\w*}`,onMatch:function(C,x,w){var p=w.shift();return p&&(p.flag=C.slice(1,-1)),this.next=p&&p.tabstopId?`start`:``,[p||C]},next:`start`},{regex:/\$(?:\d+|\w+)/,onMatch:function(C,x,w){return[{text:C.slice(1)}]}},{regex:/\${\w+/,onMatch:function(C,x,w){var p={text:C.slice(2)};return w.unshift(p),[p]},next:`formatStringVar`},{regex:/\n/,token:`newline`,merge:!1},{regex:/}/,onMatch:function(C,x,w){var p=w.shift();return this.next=p&&p.tabstopId?`start`:``,[p||C]},next:`start`}],formatStringVar:[{regex:/:\/\w+}/,onMatch:function(C,x,w){var p=w[0];return p.formatFunction=C.slice(2,-1),[w.shift()]},next:`formatString`},m,{regex:/:[\?\-+]?/,onMatch:function(C,x,w){C[1]==`+`&&(w[0].ifEnd=w[0]),C[1]==`?`&&(w[0].expectElse=!0)},next:`formatString`},{regex:`([^:}\\\\]|\\\\.)*:?`,token:``,next:`formatString`}]}),u.$tokenizer},u.prototype.tokenizeTmSnippet=function(h,y){return this.getTokenizer().getLineTokens(h,y).tokens.map(function(m){return m.value||m})},u.prototype.getVariableValue=function(h,y,m){if(/^\d+$/.test(y))return(this.variables.__||{})[y]||``;if(/^[A-Z]\d+$/.test(y))return(this.variables[y[0]+`__`]||{})[y.substr(1)]||``;if(y=y.replace(/^TM_/,``),!this.variables.hasOwnProperty(y))return``;var C=this.variables[y];return typeof C==`function`&&(C=this.variables[y](h,y,m)),C??``},u.prototype.tmStrFormat=function(h,y,m){if(!y.fmt)return h;var C=y.flag||``,x=y.guard;x=new RegExp(x,C.replace(/[^gim]/g,``));var w=typeof y.fmt==`string`?this.tokenizeTmSnippet(y.fmt,`formatString`):y.fmt,p=this;return h.replace(x,function(){var c=p.variables.__;p.variables.__=[].slice.call(arguments);for(var S=p.resolveVariables(w,m),A=`E`,T=0;T<S.length;T++){var _=S[T];if(typeof _==`object`)if(S[T]=``,_.changeCase&&_.local){var I=S[T+1];I&&typeof I==`string`&&(_.changeCase==`u`?S[T]=I[0].toUpperCase():S[T]=I[0].toLowerCase(),S[T+1]=I.substr(1))}else _.changeCase&&(A=_.changeCase);else A==`U`?S[T]=_.toUpperCase():A==`L`&&(S[T]=_.toLowerCase())}return p.variables.__=c,S.join(``)})},u.prototype.tmFormatFunction=function(h,y,m){return y.formatFunction==`upcase`?h.toUpperCase():y.formatFunction==`downcase`?h.toLowerCase():h},u.prototype.resolveVariables=function(h,y){for(var m=[],C=``,x=!0,w=0;w<h.length;w++){var p=h[w];if(typeof p==`string`){m.push(p),p==`
1021`?(x=!0,C=``):x&&(C=/^\t*/.exec(p)[0],x=/\S/.test(p));continue}if(p){if(x=!1,p.fmtString){var f=h.indexOf(p,w+1);f==-1&&(f=h.length),p.fmt=h.slice(w+1,f),w=f}if(p.text){var c=this.getVariableValue(y,p.text,C)+``;p.fmtString&&(c=this.tmStrFormat(c,p,y)),p.formatFunction&&(c=this.tmFormatFunction(c,p,y)),c&&!p.ifEnd?(m.push(c),S(p)):!c&&p.ifEnd&&S(p.ifEnd)}else p.elseEnd?S(p.elseEnd):(p.tabstopId!=null||p.changeCase!=null)&&m.push(p)}}function S(A){var T=h.indexOf(A,w+1);T!=-1&&(w=T)}return m},u.prototype.getDisplayTextForSnippet=function(h,y){return d.call(this,h,y).text},u.prototype.insertSnippetForSelection=function(h,y,m){m===void 0&&(m={});var C=d.call(this,h,y,m),x=h.getSelectionRange(),w=h.session.replace(x,C.text),p=new g(h),f=h.inVirtualSelectionMode&&h.selection.index;p.addTabstops(C.tabstops,x.start,w,f)},u.prototype.insertSnippet=function(h,y,m){m===void 0&&(m={});var C=this;if(h.inVirtualSelectionMode)return C.insertSnippetForSelection(h,y,m);h.forEachSelection(function(){C.insertSnippetForSelection(h,y,m)},null,{keepOrder:!0}),h.tabstopManager&&h.tabstopManager.tabNext()},u.prototype.$getScope=function(h){var y=h.session.$mode.$id||``;if(y=y.split(`/`).pop(),y===`html`||y===`php`){y===`php`&&!h.session.$mode.inlinePhp&&(y=`html`);var m=h.getCursorPosition(),C=h.session.getState(m.row);typeof C==`object`&&(C=C[0]),C.substring&&(C.substring(0,3)==`js-`?y=`javascript`:C.substring(0,4)==`css-`?y=`css`:C.substring(0,4)==`php-`&&(y=`php`))}return y},u.prototype.getActiveScopes=function(h){var y=this.$getScope(h),m=[y],C=this.snippetMap;return C[y]&&C[y].includeScopes&&m.push.apply(m,C[y].includeScopes),m.push(`_`),m}
1021,u.prototype.expandWithTab=function(h,y){var m=this,C=h.forEachSelection(function(){return m.expandSnippetForSelection(h,y)},null,{keepOrder:!0});return C&&h.tabstopManager&&h.tabstopManager.tabNext(),C},u.prototype.expandSnippetForSelection=function(h,y){var m=h.getCursorPosition(),C=h.session.getLine(m.row),x=C.substring(0,m.column),w=C.substr(m.column),p=this.snippetMap,f;return this.getActiveScopes(h).some(function(c){var S=p[c];return S&&(f=this.findMatchingSnippet(S,x,w)),!!f},this),f?(y&&y.dryRun||(h.session.doc.removeInLine(m.row,m.column-f.replaceBefore.length,m.column+f.replaceAfter.length),this.variables.M__=f.matchBefore,this.variables.T__=f.matchAfter,this.insertSnippetForSelection(h,f.content),this.variables.M__=this.variables.T__=null),!0):!1},u.prototype.findMatchingSnippet=function(h,y,m){for(var C=h.length;C--;){var x=h[C];if(!(x.startRe&&!x.startRe.test(y))&&!(x.endRe&&!x.endRe.test(m))&&!(!x.startRe&&!x.endRe))return x.matchBefore=x.startRe?x.startRe.exec(y):[``],x.matchAfter=x.endRe?x.endRe.exec(m):[``],x.replaceBefore=x.triggerRe?x.triggerRe.exec(y)[0]:``,x.replaceAfter=x.endTriggerRe?x.endTriggerRe.exec(m)[0]:``,x}},u.prototype.register=function(h,y){var m=this.snippetMap,C=this.snippetNameMap,x=this;h||(h=[]);function w(c){return c&&!/^\^?\(.*\)\$?$|^\\b$/.test(c)&&(c=`(?:`+c+`)`),c||``}function p(c,S,A){return c=w(c),S=w(S),A?(c=S+c,c&&c[c.length-1]!=`$`&&(c=c+`$`)):(c=c+S,c&&c[0]!=`^`&&(c=`^`+c)),new RegExp(c)}function f(c){c.scope||(c.scope=y||`_`),y=c.scope,m[y]||(m[y]=[],C[y]={});var S=C[y];if(c.name){var A=S[c.name];A&&x.unregister(A),S[c.name]=c}m[y].push(c),c.prefix&&(c.tabTrigger=c.prefix),!c.content&&c.body&&(c.content=Array.isArray(c.body)?c.body.join(`
1022`):c.body),c.tabTrigger&&!c.trigger&&(!c.guard&&/^\w/.test(c.tabTrigger)&&(c.guard=`\\b`),c.trigger=a.escapeRegExp(c.tabTrigger)),!(!c.trigger&&!c.guard&&!c.endTrigger&&!c.endGuard)&&(c.startRe=p(c.trigger,c.guard,!0),c.triggerRe=new RegExp(c.trigger),c.endRe=p(c.endTrigger,c.endGuard,!0),c.endTriggerRe=new RegExp(c.endTrigger))}Array.isArray(h)?h.forEach(f):Object.keys(h).forEach(function(c){f(h[c])}),this._signal(`registerSnippets`,{scope:y})},u.prototype.unregister=function(h,y){var m=this.snippetMap,C=this.snippetNameMap;function x(w){var p=C[w.scope||y];if(p&&p[w.name]){delete p[w.name];var f=m[w.scope||y],c=f&&f.indexOf(w);c>=0&&f.splice(c,1)}}h.content?x(h):Array.isArray(h)&&h.forEach(x)},u.prototype.parseSnippetFile=function(h){h=h.replace(/\r/g,``);for(var y=[],m={},C=/^#.*|^({[\s\S]*})\s*$|^(\S+) (.*)$|^((?:\n*\t.*)+)/gm,x;x=C.exec(h);){if(x[1])try{m=JSON.parse(x[1]),y.push(m)}catch{}if(x[4])m.content=x[4].replace(/^\t/gm,``),y.push(m),m={};else{var w=x[2],p=x[3];if(w==`regex`){var f=/\/((?:[^\/\\]|\\.)*)|$/g;m.guard=f.exec(p)[1],m.trigger=f.exec(p)[1],m.endTrigger=f.exec(p)[1],m.endGuard=f.exec(p)[1]}else w==`snippet`?(m.tabTrigger=p.match(/^\S*/)[0],m.name||(m.name=p)):w&&(m[w]=p)}}return y},u.prototype.getSnippetByName=function(h,y){var m=this.snippetNameMap,C;return this.getActiveScopes(y).some(function(x){var w=m[x];return w&&(C=w[h]),!!C},this),C},u})();L.implement(s.prototype,M);var d=function(u,h,y){y===void 0&&(y={});var m=u.getCursorPosition(),C=u.session.getLine(m.row),x=u.session.getTabString(),w=C.match(/^\s*/)[0];m.column<w.length&&(w=w.slice(0,m.column)),h=h.replace(/\r/g,``);var p=this.tokenizeTmSnippet(h);p=this.resolveVariables(p,u),p=p.map(function(H){return H==`
1023`&&!y.excludeExtraIndent?H+w:typeof H==`string`?H.replace(/\t/g,x):H});var f=[];p.forEach(function(H,P){if(typeof H==`object`){var V=H.tabstopId,z=f[V];if(z||(z=f[V]=[],z.index=V,z.value=``,z.parents={}),z.indexOf(H)===-1){H.choices&&!z.choices&&(z.choices=H.choices),z.push(H);var U=p.indexOf(H,P+1);if(U!==-1){var G=p.slice(P+1,U);G.some(function(Y){return typeof Y==`object`})&&!z.value?z.value=G:G.length&&(!z.value||typeof z.value!=`string`)&&(z.value=G.join(``))}}}}),f.forEach(function(H){H.length=0});var c={};function S(H){for(var P=[],V=0;V<H.length;V++){var z=H[V];if(typeof z==`object`){if(c[z.tabstopId])continue;z=P[H.lastIndexOf(z,V-1)]||{tabstopId:z.tabstopId}}P[V]=z}return P}for(var A=0;A<p.length;A++){var T=p[A];if(typeof T==`object`){var _=T.tabstopId,I=f[_],D=p.indexOf(T,A+1);
1023if(c[_]){c[_]===T&&(delete c[_],Object.keys(c).forEach(function(H){I.parents[H]=!0}));continue}c[_]=T;var N=I.value;typeof N!=`string`?N=S(N):T.fmt&&(N=this.tmStrFormat(N,T,u)),p.splice.apply(p,[A+1,Math.max(0,D-A)].concat(N,T)),I.indexOf(T)===-1&&I.push(T)}}var O=0,B=0,W=``;return p.forEach(function(H){if(typeof H==`string`){var P=H.split(`
1024`);P.length>1?(B=P[P.length-1].length,O+=P.length-1):B+=H.length,W+=H}else H&&(H.start?H.end={row:O,column:B}:H.start={row:O,column:B})}),{text:W,tabstops:f,tokens:p}},g=(function(){function u(h){if(this.index=0,this.ranges=[],this.tabstops=[],h.tabstopManager)return h.tabstopManager;h.tabstopManager=this,this.$onChange=this.onChange.bind(this),this.$onChangeSelection=a.delayedCall(this.onChangeSelection.bind(this)).schedule,this.$onChangeSession=this.onChangeSession.bind(this),this.$onAfterExec=this.onAfterExec.bind(this),this.attach(h)}return u.prototype.attach=function(h){this.$openTabstops=null,this.selectedTabstop=null,this.editor=h,this.session=h.session,this.editor.on(`change`,this.$onChange),this.editor.on(`changeSelection`,this.$onChangeSelection),this.editor.on(`changeSession`,this.$onChangeSession),this.editor.commands.on(`afterExec`,this.$onAfterExec),this.editor.keyBinding.addKeyboardHandler(this.keyboardHandler)},u.prototype.detach=function(){this.tabstops.forEach(this.removeTabstopMarkers,this),this.ranges.length=0,this.tabstops.length=0,this.selectedTabstop=null,this.editor.off(`change`,this.$onChange),this.editor.off(`changeSelection`,this.$onChangeSelection),this.editor.off(`changeSession`,this.$onChangeSession),this.editor.commands.off(`afterExec`,this.$onAfterExec),this.editor.keyBinding.removeKeyboardHandler(this.keyboardHandler),this.editor.tabstopManager=null,this.session=null,this.editor=null},u.prototype.onChange=function(h){for(var y=h.action[0]==`r`,m=this.selectedTabstop||{},C=m.parents||{},x=this.tabstops.slice(),w=0;w<x.length;w++){var p=x[w],f=p==m||C[p.index];if(p.rangeList.$bias=f?0:1,h.action==`remove`&&p!==m){var c=p.parents&&p.parents[m.index],S=p.rangeList.pointIndex(h.start,c);S=S<0?-S-1:S+1;var A=p.rangeList.pointIndex(h.end,c);A=A<0?-A-1:A-1;for(var T=p.rangeList.ranges.slice(S,A),_=0;_<T.length;_++)this.removeRange(T[_])}p.rangeList.$onChange(h)}var I=this.session;!this.$inChange&&y&&I.getLength()==1&&!I.getValue()&&this.detach()},u.prototype.updateLinkedFields=function(){var h=this.selectedTabstop;if(!(!h||!h.hasLinkedRanges||!h.firstNonLinked)){this.$inChange=!0;for(var y=this.session,m=y.getTextRange(h.firstNonLinked),C=0;C<h.length;C++){var x=h[C];if(x.linked){var w=x.original,p=E.snippetManager.tmStrFormat(m,w,this.editor);y.replace(x,p)}}this.$inChange=!1}},u.prototype.onAfterExec=function(h){h.command&&!h.command.readOnly&&this.updateLinkedFields()},u.prototype.onChangeSelection=function(){if(this.editor){for(var h=this.editor.selection.lead,y=this.editor.selection.anchor,m=this.editor.selection.isEmpty(),C=0;C<this.ranges.length;C++)if(!this.ranges[C].linked){var x=this.ranges[C].contains(h.row,h.column),w=m||this.ranges[C].contains(y.row,y.column);if(x&&w)return}this.detach()}},u.prototype.onChangeSession=function(){this.detach()},u.prototype.tabNext=function(h){var y=this.tabstops.length,m=this.index+(h||1);m=Math.min(Math.max(m,1),y),m==y&&(m=0),this.selectTabstop(m),this.updateTabstopMarkers(),m===0&&this.detach()},u.prototype.selectTabstop=function(h){this.$openTabstops=null;var y=this.tabstops[this.index];if(y&&this.addTabstopMarkers(y),this.index=h,y=this.tabstops[this.index],!(!y||!y.length)){this.selectedTabstop=y;var m=y.firstNonLinked||y;if(y.choices&&(m.cursor=m.start),this.editor.inVirtualSelectionMode)this.editor.selection.fromOrientedRange(m);else{var C=this.editor.multiSelect;C.toSingleRange(m);for(var x=0;x<y.length;x++)y.hasLinkedRanges&&y[x].linked||C.addRange(y[x].clone(),!0)}this.editor.keyBinding.addKeyboardHandler(this.keyboardHandler),this.selectedTabstop&&this.selectedTabstop.choices&&this.editor.execCommand(`startAutocomplete`,{matches:this.selectedTabstop.choices})}},u.prototype.addTabstops=function(h,y,m){var C=this.useLink||!this.editor.getOption(`enableMultiselect`);if(this.$openTabstops||(this.$openTabstops=[]),!h[0]){var x=l.fromPoints(m,m);v(x.start,y),v(x.end,y),h[0]=[x],h[0].index=0}var p=[this.index+1,0],f=this.ranges,c=this.snippetId=(this.snippetId||0)+1;h.forEach(function(S,A){var T=this.$openTabstops[A]||S;T.snippetId=c;for(var _=0;_<S.length;_++){var I=S[_],D=l.fromPoints(I.start,I.end||I.start);$(D.start,y),$(D.end,y),D.original=I,D.tabstop=T,f.push(D),T!=S?T.unshift(D):T[_]=D,I.fmtString||T.firstNonLinked&&C?(D.linked=!0,T.hasLinkedRanges=!0):T.firstNonLinked||(T.firstNonLinked=D)}T.firstNonLinked||(T.hasLinkedRanges=!1),T===S&&(p.push(T),this.$openTabstops[A]=T),this.addTabstopMarkers(T),T.rangeList=T.rangeList||new r,T.rangeList.$bias=0,T.rangeList.addList(T)},this),p.length>2&&(this.tabstops.length&&p.push(p.splice(2,1)[0]),this.tabstops.splice.apply(this.tabstops,p))},u.prototype.addTabstopMarkers=function(h){var y=this.session;h.forEach(function(m){m.markerId||(m.markerId=y.addMarker(m,`ace_snippet-marker`,`text`))})},u.prototype.removeTabstopMarkers=function(h){var y=this.session;
1024h.forEach(function(m){y.removeMarker(m.markerId),m.markerId=null})},u.prototype.updateTabstopMarkers=function(){if(this.selectedTabstop){var h=this.selectedTabstop.snippetId;this.selectedTabstop.index===0&&h--,this.tabstops.forEach(function(y){y.snippetId===h?this.addTabstopMarkers(y):this.removeTabstopMarkers(y)},this)}},u.prototype.removeRange=function(h){var y=h.tabstop.indexOf(h);y!=-1&&h.tabstop.splice(y,1),y=this.ranges.indexOf(h),y!=-1&&this.ranges.splice(y,1),y=h.tabstop.rangeList.ranges.indexOf(h),y!=-1&&h.tabstop.splice(y,1),this.session.removeMarker(h.markerId),h.tabstop.length||(y=this.tabstops.indexOf(h.tabstop),y!=-1&&this.tabstops.splice(y,1),this.tabstops.length||this.detach())},u})();g.prototype.keyboardHandler=new o,g.prototype.keyboardHandler.bindKeys({Tab:function(u){E.snippetManager&&E.snippetManager.expandWithTab(u)||(u.tabstopManager.tabNext(1),u.renderer.scrollCursorIntoView())},"Shift-Tab":function(u){u.tabstopManager.tabNext(-1),u.renderer.scrollCursorIntoView()},Esc:function(u){u.tabstopManager.detach()}});var $=function(u,h){u.row==0&&(u.column+=h.column),u.row+=h.row},v=function(u,h){u.row==h.row&&(u.column-=h.column),u.row-=h.row};k.importCssString(`
1025.ace_snippet-marker {
1026    -moz-box-sizing: border-box;
1027    box-sizing: border-box;
1028    background: rgba(194, 193, 208, 0.09);
1029    border: 1px dotted rgba(211, 208, 235, 0.62);
1030    position: absolute;
1031}`,`snippets.css`,!1),E.snippetManager=new s;var b=R(`./editor`).Editor;(function(){this.insertSnippet=function(u,h){return E.snippetManager.insertSnippet(this,u,h)},this.expandSnippet=function(u){return E.snippetManager.expandWithTab(this,u)}}).call(b.prototype)});ace.define(`ace/autocomplete/popup`,[`require`,`exports`,`module`,`ace/virtual_renderer`,`ace/editor`,`ace/range`,`ace/lib/event`,`ace/lib/lang`,`ace/lib/dom`,`ace/config`,`ace/lib/useragent`],function(R,E,F){"use strict";var k=R(`../virtual_renderer`).VirtualRenderer,L=R(`../editor`).Editor,M=R(`../range`).Range,a=R(`../lib/event`),l=R(`../lib/lang`),r=R(`../lib/dom`),o=R(`../config`).nls,i=R(`./../lib/useragent`),t=function($){return`suggest-aria-id:`.concat($)},e=i.isSafari?`menu`:`listbox`,n=i.isSafari?`menuitem`:`option`,s=i.isSafari?`aria-current`:`aria-selected`,d=function($){var v=new k($);v.$maxLines=4;var b=new L(v);return b.setHighlightActiveLine(!1),b.setShowPrintMargin(!1),b.renderer.setShowGutter(!1),b.renderer.setHighlightGutterLine(!1),b.$mouseHandler.$focusTimeout=0,b.$highlightTagPending=!0,b},g=(function(){function $(v){var b=r.createElement(`div`),u=d(b);v&&v.appendChild(b),b.style.display=`none`,u.renderer.content.style.cursor=`default`,u.renderer.setStyle(`ace_autocomplete`),u.renderer.$textLayer.element.setAttribute(`role`,e),u.renderer.$textLayer.element.setAttribute(`aria-roledescription`,o(`autocomplete.popup.aria-roledescription`,`Autocomplete suggestions`)),u.renderer.$textLayer.element.setAttribute(`aria-label`,o(`autocomplete.popup.aria-label`,`Autocomplete suggestions`)),u.renderer.textarea.setAttribute(`aria-hidden`,`true`),u.setOption(`displayIndentGuides`,!1),u.setOption(`dragDelay`,150);var h=function(){};u.focus=h,u.$isFocused=!0,u.renderer.$cursorLayer.restartTimer=h,u.renderer.$cursorLayer.element.style.opacity=`0`,u.renderer.$maxLines=8,u.renderer.$keepTextAreaAtCursor=!1,u.setHighlightActiveLine(!1),u.session.highlight(``),u.session.$searchHighlight.clazz=`ace_highlight-marker`,u.on(`mousedown`,function(f){var c=f.getDocumentPosition();u.selection.moveToPosition(c),C.start.row=C.end.row=c.row,f.stop()});var y,m=new M(-1,0,-1,Infinity),C=new M(-1,0,-1,Infinity);C.id=u.session.addMarker(C,`ace_active-line`,`fullLine`),u.setSelectOnHover=function(f){f?m.id&&(u.session.removeMarker(m.id),m.id=null):m.id=u.session.addMarker(m,`ace_line-hover`,`fullLine`)},u.setSelectOnHover(!1),u.on(`mousemove`,function(f){if(!y){y=f;return}if(!(y.x==f.x&&y.y==f.y)){y=f,y.scrollTop=u.renderer.scrollTop,u.isMouseOver=!0;var c=y.getDocumentPosition().row;m.start.row!=c&&(m.id||u.setRow(c),w(c))}}),u.renderer.on(`beforeRender`,function(){if(y&&m.start.row!=-1){y.$pos=null;var f=y.getDocumentPosition().row;m.id||u.setRow(f),w(f,!0)}}
1031),u.renderer.on(`afterRender`,function(){for(var f=u.renderer.$textLayer,c=f.config.firstRow,S=f.config.lastRow;c<=S;c++){var A=f.element.childNodes[c-f.config.firstRow];A.setAttribute(`role`,n),A.setAttribute(`aria-roledescription`,o(`autocomplete.popup.item.aria-roledescription`,`item`)),A.setAttribute(`aria-setsize`,u.data.length),A.setAttribute(`aria-describedby`,`doc-tooltip`),A.setAttribute(`aria-posinset`,c+1);var T=u.getData(c);if(T){var _=``.concat(T.caption||T.value).concat(T.meta?`, `.concat(T.meta):``);A.setAttribute(`aria-label`,_)}A.querySelectorAll(`.ace_completion-highlight`).forEach(function(D){D.setAttribute(`role`,`mark`)})}}),u.renderer.on(`afterRender`,function(){var f=u.getRow(),c=u.renderer.$textLayer,S=c.element.childNodes[f-c.config.firstRow],A=document.activeElement;if(S!==u.selectedNode&&u.selectedNode&&(r.removeCssClass(u.selectedNode,`ace_selected`),u.selectedNode.removeAttribute(s),u.selectedNode.removeAttribute(`id`)),A.removeAttribute(`aria-activedescendant`),u.selectedNode=S,S){var T=t(f);r.addCssClass(S,`ace_selected`),S.id=T,c.element.setAttribute(`aria-activedescendant`,T),A.setAttribute(`aria-activedescendant`,T),S.setAttribute(s,`true`)}});var x=function(){w(-1)},w=function(f,c){f!==m.start.row&&(m.start.row=m.end.row=f,c||u.session._emit(`changeBackMarker`),u._emit(`changeHoverMarker`))};u.getHoveredRow=function(){return m.start.row},a.addListener(u.container,`mouseout`,function(){u.isMouseOver=!1,x()}),u.on(`hide`,x),u.on(`changeSelection`,x),u.session.doc.getLength=function(){return u.data.length},u.session.doc.getLine=function(f){var c=u.data[f];return typeof c==`string`?c:c&&c.value||``};var p=u.session.bgTokenizer;return p.$tokenizeRow=function(f){var c=u.data[f],S=[];if(!c)return S;typeof c==`string`&&(c={value:c});var A=c.caption||c.value||c.name;function T(H,P){H&&S.push({type:(c.className||``)+(P||``),value:H})}for(var _=A.toLowerCase(),I=(u.filterText||``).toLowerCase(),D=0,N=0,O=0;O<=I.length;O++)if(O!=N&&(c.matchMask&1<<O||O==I.length)){var B=I.slice(N,O);N=O;var W=_.indexOf(B,D);if(W==-1)continue;T(A.slice(D,W),``),D=W+B.length,T(A.slice(W,D),`completion-highlight`)}return T(A.slice(D,A.length),``),S.push({type:`completion-spacer`,value:` `}),c.meta&&S.push({type:`completion-meta`,value:c.meta}),c.message&&S.push({type:`completion-message`,value:c.message}),S},p.$updateOnChange=h,p.start=h,u.session.$computeWidth=function(){return this.screenWidth=0},u.isOpen=!1,u.isTopdown=!1,u.autoSelect=!0,u.filterText=``,u.isMouseOver=!1,u.data=[],u.setData=function(f,c){u.filterText=c||``,u.setValue(l.stringRepeat(`
1032`,f.length),-1),u.data=f||[],u.setRow(0)},u.getData=function(f){return u.data[f]},u.getRow=function(){return C.start.row},u.setRow=function(f){f=Math.max(this.autoSelect?0:-1,Math.min(this.data.length-1,f)),C.start.row!=f&&(u.selection.clearSelection(),C.start.row=C.end.row=f||0,u.session._emit(`changeBackMarker`),u.moveCursorTo(f||0,0),u.isOpen&&u._signal(`select`))},u.on(`changeSelection`,function(){u.isOpen&&u.setRow(u.selection.lead.row),u.renderer.scrollCursorIntoView()}),u.hide=function(){this.container.style.display=`none`,u.anchorPos=null,u.anchor=null,u.isOpen&&(u.isOpen=!1,this._signal(`hide`))},u.tryShow=function(f,c,S,A){if(!A&&u.isOpen&&u.anchorPos&&u.anchor&&u.anchorPos.top===f.top&&u.anchorPos.left===f.left&&u.anchor===S)return!0;var T=this.container,_=this.renderer.scrollBar.width||10,I=window.innerHeight-_,D=window.innerWidth-_,N=this.renderer,O=N.$maxLines*c*1.4,B={top:0,bottom:0,left:0},W=I-f.top-3*this.$borderSize-c,H=f.top-3*this.$borderSize;S||(H<=W||W>=O?S=`bottom`:S=`top`),S===`top`?(B.bottom=f.top-this.$borderSize,B.top=B.bottom-O):S===`bottom`&&(B.top=f.top+c+this.$borderSize,B.bottom=B.top+O);var P=B.top>=0&&B.bottom<=I;if(!A&&!P)return!1;P?N.$maxPixelHeight=null:S===`top`?N.$maxPixelHeight=H:N.$maxPixelHeight=W,S===`top`?(T.style.top=``,T.style.bottom=I+_-B.bottom+`px`,u.isTopdown=!1):(T.style.top=B.top+`px`,T.style.bottom=``,u.isTopdown=!0),T.style.display=``;var V=f.left;return V+T.offsetWidth>D&&(V=D-T.offsetWidth),T.style.left=V+`px`,T.style.right=``,r.$fixPositionBug(T),u.isOpen||(u.isOpen=!0,this._signal(`show`),y=null),u.anchorPos=f,u.anchor=S,!0},u.show=function(f,c,S){this.tryShow(f,c,S?`bottom`:void 0,!0)},u.goTo=function(f){var c=this.getRow(),S=this.session.getLength()-1;switch(f){case`up`:c=c<=0?S:c-1;break;case`down`:c=c>=S?-1:c+1;break;case`start`:c=0;break;case`end`:c=S;break}this.setRow(c)},u.getTextLeftOffset=function(){return this.$borderSize+this.renderer.$padding+this.$imageSize},u.$imageSize=0,u.$borderSize=1,u}return $})();r.importCssString(`
1033.ace_editor.ace_autocomplete .ace_marker-layer .ace_active-line {
1034    background-color: #CAD6FA;
1035    z-index: 1;
1036}
1037.ace_dark.ace_editor.ace_autocomplete .ace_marker-layer .ace_active-line {
1038    background-color: #3a674e;
1039}
1040.ace_editor.ace_autocomplete .ace_line-hover {
1041    border: 1px solid #abbffe;
1042    margin-top: -1px;
1043    background: rgba(233,233,253,0.4);
1044    position: absolute;
1045    z-index: 2;
1046}
1047.ace_dark.ace_editor.ace_autocomplete .ace_line-hover {
1048    border: 1px solid rgba(109, 150, 13, 0.8);
1049    background: rgba(58, 103, 78, 0.62);
1050}
1051.ace_completion-meta {
1052    opacity: 0.5;
1053    margin-left: 0.9em;
1054}
1055.ace_completion-message {
1056    margin-left: 0.9em;
1057    color: blue;
1058}
1059.ace_editor.ace_autocomplete .ace_completion-highlight{
1060    color: #2d69c7;
1061}
1062.ace_dark.ace_editor.ace_autocomplete .ace_completion-highlight{
1063    color: #93ca12;
1064}
1065.ace_editor.ace_autocomplete {
1066    width: 300px;
1067    z-index: 200000;
1068    border: 1px lightgray solid;
1069    position: fixed;
1070    box-shadow: 2px 3px 5px rgba(0,0,0,.2);
1071    line-height: 1.4;
1072    background: #fefefe;
1073    color: #111;
1074}
1075.ace_dark.ace_editor.ace_autocomplete {
1076    border: 1px #484747 solid;
1077    box-shadow: 2px 3px 5px rgba(0, 0, 0, 0.51);
1078    line-height: 1.4;
1079    background: #25282c;
1080    color: #c1c1c1;
1081}
1082.ace_autocomplete .ace_text-layer  {
1083    width: calc(100% - 8px);
1084}
1085.ace_autocomplete .ace_line {
1086    display: flex;
1087    align-items: center;
1088}
1089.ace_autocomplete .ace_line > * {
1090    min-width: 0;
1091    flex: 0 0 auto;
1092}
1093.ace_autocomplete .ace_line .ace_ {
1094    flex: 0 1 auto;
1095    overflow: hidden;
1096    text-overflow: ellipsis;
1097}
1098.ace_autocomplete .ace_completion-spacer {
1099    flex: 1;
1100}
1101.ace_autocomplete.ace_loading:after  {
1102    content: "";
1103    position: absolute;
1104    top: 0px;
1105    height: 2px;
1106    width: 8%;
1107    background: blue;
1108    z-index: 100;
1109    animation: ace_progress 3s infinite linear;
1110    animation-delay: 300ms;
1111    transform: translateX(-100%) scaleX(1);
1112}
1113@keyframes ace_progress {
1114    0% { transform: translateX(-100%) scaleX(1) }
1115    50% { transform: translateX(625%) scaleX(2) } 
1116    100% { transform: translateX(1500%) scaleX(3) } 
1117}
1118@media (prefers-reduced-motion) {
1119    .ace_autocomplete.ace_loading:after {
1120        transform: translateX(625%) scaleX(2);
1121        animation: none;
1122     }
1123}
1124`,`autocompletion.css`,!1),E.AcePopup=g,E.$singleLineEditor=d,E.getAriaId=t});ace.define(`ace/autocomplete/inline_screenreader`,[`require`,`exports`,`module`],function(R,E,F){"use strict";E.AceInlineScreenReader=(function(){function L(M){this.editor=M,this.screenReaderDiv=document.createElement(`div`),this.screenReaderDiv.classList.add(`ace_screenreader-only`),this.editor.container.appendChild(this.screenReaderDiv)}return L.prototype.setScreenReaderContent=function(M){for(!this.popup&&this.editor.completer&&this.editor.completer.popup&&(this.popup=this.editor.completer.popup,this.popup.renderer.on(`afterRender`,function(){var l=this.popup.getRow(),r=this.popup.renderer.$textLayer,o=r.element.childNodes[l-r.config.firstRow];if(o){for(var i=`doc-tooltip `,t=0;t<this._lines.length;t++)i+=`ace-inline-screenreader-line-`.concat(t,` `);o.setAttribute(`aria-describedby`,i)}}.bind(this)));this.screenReaderDiv.firstChild;)this.screenReaderDiv.removeChild(this.screenReaderDiv.firstChild);this._lines=M.split(/\r\n|\r|\n/);var a=this.createCodeBlock();this.screenReaderDiv.appendChild(a)},L.prototype.destroy=function(){this.screenReaderDiv.remove()},L.prototype.createCodeBlock=function(){var M=document.createElement(`pre`);M.setAttribute(`id`,`ace-inline-screenreader`);for(var a=0;a<this._lines.length;a++){var l=document.createElement(`code`);l.setAttribute(`id`,`ace-inline-screenreader-line-`.concat(a));var r=document.createTextNode(this._lines[a]);l.appendChild(r),M.appendChild(l)}return M},L})()});ace.define(`ace/autocomplete/inline`,[`require`,`exports`,`module`,`ace/snippets`,`ace/autocomplete/inline_screenreader`],function(R,E,F){"use strict";var k=R(`../snippets`).snippetManager,L=R(`./inline_screenreader`).AceInlineScreenReader;E.AceInline=(function(){function a(){this.editor=null}return a.prototype.show=function(l,r,o){if(o=o||``,l&&this.editor&&this.editor!==l&&(this.hide(),this.editor=null,this.inlineScreenReader=null),!l||!r)return!1;this.inlineScreenReader||(this.inlineScreenReader=new L(l));var i=r.snippet?k.getDisplayTextForSnippet(l,r.snippet):r.value;return r.hideInlinePreview||!i||!i.startsWith(o)?!1:(this.editor=l,this.inlineScreenReader.setScreenReaderContent(i),i=i.slice(o.length),i===``?l.removeGhostText():l.setGhostText(i),!0)},a.prototype.isOpen=function(){return this.editor?!!this.editor.renderer.$ghostText:!1},a.prototype.hide=function(){return this.editor?(this.editor.removeGhostText(),!0):!1},a.prototype.destroy=function(){this.hide(),this.editor=null,this.inlineScreenReader&&(this.inl
1124ineScreenReader.destroy(),this.inlineScreenReader=null)},a})()});ace.define(`ace/autocomplete/util`,[`require`,`exports`,`module`],function(R,E,F){"use strict";E.parForEach=function(L,M,a){var l=0,r=L.length;r===0&&a();for(var o=0;o<r;o++)M(L[o],function(i,t){l++,l===r&&a(i,t)})};var k=/[a-zA-Z_0-9\$\-\u00A2-\u2000\u2070-\uFFFF]/;E.retrievePrecedingIdentifier=function(L,M,a){a=a||k;for(var l=[],r=M-1;r>=0&&a.test(L[r]);r--)l.push(L[r]);return l.reverse().join(``)},E.retrieveFollowingIdentifier=function(L,M,a){a=a||k;for(var l=[],r=M;r<L.length&&a.test(L[r]);r++)l.push(L[r]);return l},E.getCompletionPrefix=function(L){var M=L.getCursorPosition(),a=L.session.getLine(M.row),l;return L.completers.forEach(function(r){r.identifierRegexps&&r.identifierRegexps.forEach(function(o){!l&&o&&(l=this.retrievePrecedingIdentifier(a,M.column,o))}.bind(this))}.bind(this)),l||this.retrievePrecedingIdentifier(a,M.column)},E.triggerAutocomplete=function(L,a){var a=a??L.session.getPrecedingCharacter();return L.completers.some(function(l){if(l.triggerCharacters&&Array.isArray(l.triggerCharacters))return l.triggerCharacters.includes(a)})}});ace.define(`ace/autocomplete`,[`require`,`exports`,`module`,`ace/keyboard/hash_handler`,`ace/autocomplete/popup`,`ace/autocomplete/inline`,`ace/autocomplete/popup`,`ace/autocomplete/util`,`ace/lib/lang`,`ace/lib/dom`,`ace/snippets`,`ace/config`,`ace/lib/event`,`ace/lib/scroll`],function(R,E,F){"use strict";var k=R(`./keyboard/hash_handler`).HashHandler,L=R(`./autocomplete/popup`).AcePopup,M=R(`./autocomplete/inline`).AceInline,a=R(`./autocomplete/popup`).getAriaId,l=R(`./autocomplete/util`),r=R(`./lib/lang`),o=R(`./lib/dom`),i=R(`./snippets`).snippetManager,t=R(`./config`),e=R(`./lib/event`),n=R(`./lib/scroll`).preventParentScroll,s=function(v,b){b.completer&&b.completer.destroy()},d=(function(){function v(){this.autoInsert=!1,this.autoSelect=!0,this.autoShown=!1,this.exactMatch=!1,this.inlineEnabled=!1,this.keyboardHandler=new k,this.keyboardHandler.bindKeys(this.commands),this.parentNode=null,this.setSelectOnHover=!1,this.hasSeen=new Set,this.showLoadingState=!1,this.stickySelectionDelay=500,this.blurListener=this.blurListener.bind(this),this.changeListener=this.changeListener.bind(this),this.mousedownListener=this.mousedownListener.bind(this),this.mousewheelListener=this.mousewheelListener.bind(this),this.onLayoutChange=this.onLayoutChange.bind(this),this.changeTimer=r.delayedCall(function(){this.updateCompletions(!0)}.bind(this)),this.tooltipTimer=r.delayedCall(this.updateDocTooltip.bind(this),50),this.popupTimer=r.delayedCall(this.$updatePopupPosition.bind(this),50),this.stickySelectionTimer=r.delayedCall(function(){this.stickySelection=!0}.bind(this),this.stickySelectionDelay),this.$firstOpenTimer=r.delayedCall(function(){var b=this.completionProvider&&this.completionProvider.initialPosition;this.autoShown||this.popup&&this.popup.isOpen||!b||this.editor.completers.length===0||(this.completions=new $(v.completionsForLoading),this.openPopup(this.editor,b.prefix,!1),this.popup.renderer.setStyle(`ace_loading`,!0))}.bind(this),this.stickySelectionDelay)}return Object.defineProperty(v,"completionsForLoading",{get:function(){return[{caption:t.nls(`autocomplete.loading`,`Loading...`),value:``}]},enumerable:!1,configurable:!0}),v.prototype.$init=function(){return this.popup=new L(this.parentNode||document.body||document.documentElement),this.popup.on(`click`,function(b){this.insertMatch(),b.stop()}.bind(this)),this.popup.focus=this.editor.focus.bind(this.editor),this.popup.on(`show`,this.$onPopupShow.bind(this)),this.popup.on(`hide`,this.$onHidePopup.bind(this)),this.popup.on(`select`,this.$onPopupChange.bind(this)),e.addListener(this.popup.container,`mouseout`,this.mouseOutListener.bind(this)),this.popup.on(`changeHoverMarker`,this.tooltipTimer.bind(null,null)),this.popup.renderer.on(`afterRender`,this.$onPopupRender.bind(this)),this.popup},v.prototype.$initInline=function(){if(!(!this.inlineEnabled||this.inlineRenderer))return this.inlineRenderer=new M,this.inlineRenderer},v.prototype.getPopup=function(){return this.popup||this.$init()},v.prototype.$onHidePopup=function(){this.inlineRenderer&&this.inlineRenderer.hide(),this.hideDocTooltip(),this.stickySelectionTimer.cancel(),this.popupTimer.cancel(),this.stickySelection=!1},v.prototype.$seen=function(b){!this.hasSeen.has(b)&&b&&b.completer&&b.completer.onSeen&&typeof b.completer.onSeen==`function`&&(b.completer.onSeen(this.editor,b),this.hasSeen.add(b))}
1124,v.prototype.$onPopupChange=function(b){if(this.inlineRenderer&&this.inlineEnabled){var u=b?null:this.popup.getData(this.popup.getRow());if(this.$updateGhostText(u),this.popup.isMouseOver&&this.setSelectOnHover){this.tooltipTimer.call(null,null);return}this.popupTimer.schedule(),this.tooltipTimer.schedule()}else this.popupTimer.call(null,null),this.tooltipTimer.call(null,null)},v.prototype.$updateGhostText=function(b){var u=this.base.row,h=this.base.column,y=this.editor.getCursorPosition().column,m=this.editor.session.getLine(u).slice(h,y);this.inlineRenderer.show(this.editor,b,m)?this.$seen(b):this.inlineRenderer.hide()},v.prototype.$onPopupRender=function(){var b=this.inlineRenderer&&this.inlineEnabled;if(this.completions&&this.completions.filtered&&this.completions.filtered.length>0)for(var u=this.popup.getFirstVisibleRow();u<=this.popup.getLastVisibleRow();u++){var h=this.popup.getData(u);h&&(!b||h.hideInlinePreview)&&this.$seen(h)}},v.prototype.$onPopupShow=function(b){this.$onPopupChange(b),this.stickySelection=!1,this.stickySelectionDelay>=0&&this.stickySelectionTimer.schedule(this.stickySelectionDelay)},v.prototype.observeLayoutChanges=function(){if(!(this.$elements||!this.editor)){window.addEventListener(`resize`,this.onLayoutChange,{passive:!0}),window.addEventListener(`wheel`,this.mousewheelListener);for(var b=this.editor.container.parentNode,u=[];b;)u.push(b),b.addEventListener(`scroll`,this.onLayoutChange,{passive:!0}),b=b.parentNode;this.$elements=u}},v.prototype.unObserveLayoutChanges=function(){var b=this;window.removeEventListener(`resize`,this.onLayoutChange,{passive:!0}),window.removeEventListener(`wheel`,this.mousewheelListener),this.$elements&&this.$elements.forEach(function(u){u.removeEventListener(`scroll`,b.onLayoutChange,{passive:!0})}),this.$elements=null},v.prototype.onLayoutChange=function(){if(!this.popup.isOpen)return this.unObserveLayoutChanges();this.$updatePopupPosition(),this.updateDocTooltip()},v.prototype.$updatePopupPosition=function(){var b=this.editor,u=b.renderer,h=u.layerConfig.lineHeight,y=u.$cursorLayer.getPixelPosition(this.base,!0);y.left-=this.popup.getTextLeftOffset();var m=b.container.getBoundingClientRect();y.top+=m.top-u.layerConfig.offset,y.left+=m.left-b.renderer.scrollLeft,y.left+=u.gutterWidth;
1124var C={top:y.top,left:y.left};u.$ghostText&&u.$ghostTextWidget&&this.base.row===u.$ghostText.position.row&&(C.top+=u.$ghostTextWidget.el.offsetHeight);var x=b.container.getBoundingClientRect().bottom-h,w=x<C.top?{top:x,left:C.left}:C;this.popup.tryShow(w,h,`bottom`)||this.popup.tryShow(y,h,`top`)||this.popup.show(y,h)},v.prototype.openPopup=function(b,u,h){this.$firstOpenTimer.cancel(),this.popup||this.$init(),this.inlineEnabled&&!this.inlineRenderer&&this.$initInline(),this.popup.autoSelect=this.autoSelect,this.popup.setSelectOnHover(this.setSelectOnHover);var y=this.popup.getRow(),m=this.popup.data[y];this.popup.setData(this.completions.filtered,this.completions.filterText),this.editor.textInput.setAriaOptions&&this.editor.textInput.setAriaOptions({activeDescendant:a(this.popup.getRow()),inline:this.inlineEnabled}),b.keyBinding.addKeyboardHandler(this.keyboardHandler);var C;this.stickySelection&&(C=this.popup.data.indexOf(m)),(!C||C===-1)&&(C=0),this.popup.setRow(this.autoSelect?C:-1),C===y&&m!==this.completions.filtered[C]&&this.$onPopupChange();var x=this.inlineRenderer&&this.inlineEnabled;if(C===y&&x){var w=this.popup.getData(this.popup.getRow());this.$updateGhostText(w)}h||(this.popup.setTheme(b.getTheme()),this.popup.setFontSize(b.getFontSize()),this.$updatePopupPosition(),this.tooltipNode&&this.updateDocTooltip()),this.changeTimer.cancel(),this.observeLayoutChanges()},v.prototype.detach=function(){this.editor&&(this.editor.keyBinding.removeKeyboardHandler(this.keyboardHandler),this.editor.off(`changeSelection`,this.changeListener),this.editor.off(`blur`,this.blurListener),this.editor.off(`mousedown`,this.mousedownListener),this.editor.off(`mousewheel`,this.mousewheelListener)),this.$firstOpenTimer.cancel(),this.changeTimer.cancel(),this.hideDocTooltip(),this.completionProvider&&this.completionProvider.detach(),this.popup&&this.popup.isOpen&&this.popup.hide(),this.popup&&this.popup.renderer&&this.popup.renderer.off(`afterRender`,this.$onPopupRender),this.base&&this.base.detach(),this.activated=!1,this.completionProvider=this.completions=this.base=null,this.unObserveLayoutChanges()},v.prototype.changeListener=function(b){var u=this.editor.selection.lead;(u.row!=this.base.row||u.column<this.base.column)&&this.detach(),this.activated?this.changeTimer.schedule():this.detach()},v.prototype.blurListener=function(b){var u=document.activeElement,h=this.editor.textInput.getElement(),y=b.relatedTarget&&this.tooltipNode&&this.tooltipNode.contains(b.relatedTarget),m=this.popup&&this.popup.container;u!=h&&u.parentNode!=m&&!y&&u!=this.tooltipNode&&b.relatedTarget!=h&&this.detach()},v.prototype.mousedownListener=function(b){this.detach()},v.prototype.mousewheelListener=function(b){this.popup&&!this.popup.isMouseOver&&this.detach()},v.prototype.mouseOutListener=function(b){this.popup.isOpen&&this.$updatePopupPosition()},v.prototype.goTo=function(b){this.popup.goTo(b)},v.prototype.insertMatch=function(b,u){if(b||(b=this.popup.getData(this.popup.getRow())),!b)return!1;if(b.value===``)return this.detach();var h=this.completions,y=this.getCompletionProvider().insertMatch(this.editor,b,h.filterText,u);return this.completions==h&&this.detach(),y},v.prototype.showPopup=function(b,u){this.editor&&this.detach(),this.activated=!0,this.editor=b,b.completer!=this&&(b.completer&&b.completer.detach(),b.completer=this),b.on(`changeSelection`,this.changeListener),b.on(`blur`,this.blurListener),b.on(`mousedown`,this.mousedownListener),b.on(`mousewheel`,this.mousewheelListener),this.updateCompletions(!1,u)},v.prototype.getCompletionProvider=function(b){return this.completionProvider||(this.completionProvider=new g(b)),this.completionProvider},v.prototype.gatherCompletions=function(b,u){return this.getCompletionProvider().gatherCompletions(b,u)},v.prototype.updateCompletions=function(b,u){if(b&&this.base&&this.completions){var y=this.editor.getCursorPosition(),m=this.editor.session.getTextRange({start:this.base,end:y});if(m==this.completions.filterText)return;if(this.completions.setFilter(m),!this.completions.filtered.length)return this.detach();if(this.completions.filtered.length==1&&this.completions.filtered[0].value==m&&!this.completions.filtered[0].snippet)return this.detach();this.openPopup(this.editor,m,b);return}if(u&&u.matches){var y=this.editor.getSelectionRange().start;return this.base=this.editor.session.doc.createAnchor(y.row,y.column),this.base.$insertRight=!0,this.completions=new $(u.matches),this.getCompletionProvider().completions=this.completions,this.openPopup(this.editor,``,b)}var h=this.editor.getSession(),y=this.editor.getCursorPosition(),m=l.getCompletionPrefix(this.editor);this.base=h.doc.createAnchor(y.row,y.column-m.length),this.base.$insertRight=!0;var C={exactMatch:this.exactMatch,ignoreCaption:this.ignoreCaption};this.getCompletionProvider({prefix:m,pos:y}).provideCompletions(this.editor,C,function(x,w,p){var f=w.filtered,c=l.getCompletionPrefix(this.editor);if(this.$firstOpenTimer.cancel(),p){if(!f.length){var S=!this.autoShown&&this.emptyMessage;if(typeof S==`function`&&(S=this.emptyMessage(c)),S){var A=[{caption:S,value:``}];this.completions=new $(A),this.openPopup(this.editor,c,b),this.popup.renderer.setStyle(`ace_loading`,!1),this.popup.renderer.setStyle(`ace_empty-message`,!0);return}return this.detach()}if(f.length==1&&f[0].value==c&&!f[0].snippet)return this.detach();if(this.autoInsert&&!this.autoShown&&f.length==1)return this.insertMatch(f[0])}this.completions=!p&&this.showLoadingState?new $(v.completionsForLoading.concat(f),w.filterText):w,this.openPopup(this.editor,c,b),this.popup.renderer.setStyle(`ace_empty-message`,!1),this.popup.renderer.setStyle(`ace_loading`,!p)}.bind(this)),this.showLoadingState&&!this.autoShown&&!(this.popup&&this.popup.isOpen)&&this.$firstOpenTimer.delay(this.stickySelectionDelay/2)},v.prototype.cancelContextMenu=function(){this.editor.$mouseHandler.cancelContextMenu()},v.prototype.updateDocTooltip=function(){var b=this.popup,u=this.completions&&this.completions.filtered,h=u&&(u[b.getHoveredRow()]||u[b.getRow()]),y=null;if(!h||!this.editor||!this.popup.isOpen)return this.hideDocTooltip();for(var m=this.editor.completers.length,C=0;C<m;C++){var x=this.editor.completers[C];if(x.getDocTooltip&&h.completerId===x.id){y=x.getDocTooltip(h);break}}if(!y&&typeof h!=`string`&&(y=h),typeof y==`string`&&(y={docText:y}),!y||!(y.docHTML||y.docText))return this.hideDocTooltip();this.showDocTooltip(y)},v.prototype.showDocTooltip=function(b){this.tooltipNode||(this.tooltipNode=o.createElement(`div`),this.tooltipNode.style.margin=`0`,this.tooltipNode.style.pointerEvents=`auto`,this.tooltipNode.style.overscrollBehavior=`contain`,this.tooltipNode.tabIndex=-1,this.tooltipNode.onblur=this.blurListener.bind(this),this.tooltipNode.onclick=this.onTooltipClick.bind(this),this.tooltipNode.id=`doc-tooltip`,this.tooltipNode.setAttribute(`role`,`tooltip`),this.tooltipNode.addEventListener(`wheel`,n));var u=this.editor.renderer.theme;this.tooltipNode.className=`ace_tooltip ace_doc-tooltip `+(u.isDark?`ace_dark `:``)+(u.cssClass||``);var h=this.tooltipNode;
1124b.docHTML?h.innerHTML=b.docHTML:b.docText&&(h.textContent=b.docText),h.parentNode||this.popup.container.appendChild(this.tooltipNode);var y=this.popup,m=y.container.getBoundingClientRect(),C=400,x=300,w=y.renderer.scrollBar.width||10,p=m.left,f=window.innerWidth-m.right-w,c=y.isTopdown?window.innerHeight-w-m.bottom:m.top,S=[Math.min(f/C,1),Math.min(p/C,1),Math.min(c/x,1)*.9],A=Math.max.apply(Math,S),T=h.style;T.display=`block`,A==S[0]||S[0]>=1?(T.left=m.right+1+`px`,T.right=``,T.maxWidth=C*A+`px`,T.top=m.top+`px`,T.bottom=``,T.maxHeight=Math.min(window.innerHeight-w-m.top,x)+`px`):A==S[1]||S[1]>=1?(T.right=window.innerWidth-m.left+`px`,T.left=``,T.maxWidth=C*A+`px`,T.top=m.top+`px`,T.bottom=``,T.maxHeight=Math.min(window.innerHeight-w-m.top,x)+`px`):A==S[2]&&(T.left=m.left+`px`,T.right=``,T.maxWidth=Math.min(C,window.innerWidth-m.left)+`px`,y.isTopdown?(T.top=m.bottom+`px`,T.bottom=``,T.maxHeight=Math.min(window.innerHeight-w-m.bottom,x)+`px`):(T.top=``,T.bottom=window.innerHeight-m.top+`px`,T.maxHeight=Math.min(m.top,x)+`px`)),o.$fixPositionBug(h)},v.prototype.hideDocTooltip=function(){if(this.tooltipTimer.cancel(),!!this.tooltipNode){var b=this.tooltipNode;!this.editor.isFocused()&&document.activeElement==b&&this.editor.focus(),this.tooltipNode=null,b.parentNode&&b.parentNode.removeChild(b)}},v.prototype.onTooltipClick=function(b){for(var u=b.target;u&&u!=this.tooltipNode;){if(u.nodeName==`A`&&u.href){u.rel=`noreferrer`,u.target=`_blank`;break}u=u.parentNode}},v.prototype.destroy=function(){if(this.detach(),this.popup){this.popup.destroy();var b=this.popup.container;b&&b.parentNode&&b.parentNode.removeChild(b)}this.editor&&this.editor.completer==this&&(this.editor.off(`destroy`,s),this.editor.completer=null),this.inlineRenderer=this.popup=this.editor=null},v.for=function(b){return b.completer instanceof v||(b.completer&&(b.completer.destroy(),b.completer=null),t.get(`sharedPopups`)?(v.$sharedInstance||(v.$sharedInstance=new v),b.completer=v.$sharedInstance):(b.completer=new v,b.once(`destroy`,s))),b.completer},v})();d.prototype.commands={Up:function(v){v.completer.goTo(`up`)},Down:function(v){v.completer.goTo(`down`)},"Ctrl-Up|Ctrl-Home":function(v){v.completer.goTo(`start`)},"Ctrl-Down|Ctrl-End":function(v){v.completer.goTo(`end`)},Esc:function(v){v.completer.detach()},Return:function(v){return v.completer.insertMatch()},"Shift-Return":function(v){v.completer.insertMatch(null,{deleteSuffix:!0})},Tab:function(v){var b=v.completer.insertMatch();if(!b&&!v.tabstopManager)v.completer.goTo(`down`);else return b},Backspace:function(v){v.execCommand(`backspace`);!l.getCompletionPrefix(v)&&v.completer&&v.completer.detach()},PageUp:function(v){v.completer.popup.gotoPageUp()},PageDown:function(v){v.completer.popup.gotoPageDown()}},d.startCommand={name:`startAutocomplete`,exec:function(v,b){var u=d.for(v);u.autoInsert=!1,u.autoSelect=!0,u.autoShown=!1,u.showPopup(v,b),u.cancelContextMenu()},bindKey:`Ctrl-Space|Ctrl-Shift-Space|Alt-Space`};var g=(function(){function v(b){this.initialPosition=b,this.active=!0}return v.prototype.insertByIndex=function(b,u,h){return!this.completions||!this.completions.filtered?!1:this.insertMatch(b,this.completions.filtered[u],h)},v.prototype.insertMatch=function(b,u,h){if(!u)return!1;if(b.startOperation({command:{name:`insertMatch`}}),u.completer&&u.completer.insertMatch)u.completer.insertMatch(b,u);else{if(!this.completions)return!1;var y=this.completions.filterText.length,m=0;if(u.range&&u.range.start.row===u.range.end.row&&(y-=this.initialPosition.prefix.length,y+=this.initialPosition.pos.column-u.range.start.column,m+=u.range.end.column-this.initialPosition.pos.column),y||m){var C;b.selection.getAllRanges?C=b.selection.getAllRanges():C=[b.getSelectionRange()];for(var x=0,w;w=C[x];x++)w.start.column-=y,w.end.column+=m,b.session.remove(w)}u.snippet?i.insertSnippet(b,u.snippet):this.$insertString(b,u),u.completer&&u.completer.onInsert&&typeof u.completer.onInsert==`function`&&u.completer.onInsert(b,u),u.command&&u.command===`startAutocomplete`&&b.execCommand(u.command)}return b.endOperation(),!0},v.prototype.$insertString=function(b,u){var h=u.value||u;b.execCommand(`insertstring`,h)},v.prototype.gatherCompletions=function(b,u){var h=b.getSession(),y=b.getCursorPosition(),m=l.getCompletionPrefix(b),C=[];this.completers=b.completers;var x=b.completers.length;
1124return b.completers.forEach(function(w,p){w.getCompletions(b,h,y,m,function(f,c){w.hideInlinePreview&&(c=c.map(function(S){return Object.assign(S,{hideInlinePreview:w.hideInlinePreview})})),!f&&c&&(C=C.concat(c)),u(null,{prefix:l.getCompletionPrefix(b),matches:C,finished:--x===0})})}),!0},v.prototype.provideCompletions=function(b,u,h){var y=function(w){var p=w.prefix,f=w.matches;this.completions=new $(f),u.exactMatch&&(this.completions.exactMatch=!0),u.ignoreCaption&&(this.completions.ignoreCaption=!0),this.completions.setFilter(p),(w.finished||this.completions.filtered.length)&&h(null,this.completions,w.finished)}.bind(this),m=!0,C=null;if(this.gatherCompletions(b,function(w,p){if(this.active){w&&(h(w,[],!0),this.detach());if(p.prefix.indexOf(p.prefix)===0){if(m){C=p;return}y(p)}}}.bind(this)),m=!1,C){var x=C;C=null,y(x)}},v.prototype.detach=function(){this.active=!1,this.completers&&this.completers.forEach(function(b){typeof b.cancel==`function`&&b.cancel()})},v})(),$=(function(){function v(b,u){this.all=b,this.filtered=b,this.filterText=u||``,this.exactMatch=!1,this.ignoreCaption=!1}return v.prototype.setFilter=function(b){if(b.length>this.filterText&&b.lastIndexOf(this.filterText,0)===0)var u=this.filtered;else var u=this.all;this.filterText=b,u=this.filterCompletions(u,this.filterText),u=u.sort(function(y,m){return m.exactMatch-y.exactMatch||m.$score-y.$score||(y.caption||y.value).localeCompare(m.caption||m.value)});var h=null;u=u.filter(function(y){var m=y.snippet||y.caption||y.value;return m===h?!1:(h=m,!0)}),this.filtered=u},v.prototype.filterCompletions=function(b,u){var h=[],y=u.toUpperCase(),m=u.toLowerCase();e:for(var C=0,x;x=b[C];C++){if(x.skipFilter){x.$score=x.score,h.push(x);continue}var w=!this.ignoreCaption&&x.caption||x.value||x.snippet;if(w){var p=-1,f=0,c=0,S,A;if(this.exactMatch){if(u!==w.substr(0,u.length))continue e}else{var T=w.toLowerCase().indexOf(m);if(T>-1)c=T;else for(var _=0;_<u.length;_++){var I=w.indexOf(m[_],p+1),D=w.indexOf(y[_],p+1);if(S=I>=0&&(D<0||I<D)?I:D,S<0)continue e;A=S-p-1,A>0&&(p===-1&&(c+=10),c+=A,f=f|1<<_),p=S}}x.matchMask=f,x.exactMatch=c?0:1,x.$score=(x.score||0)-c,h.push(x)}}return h},v})();E.Autocomplete=d,E.CompletionProvider=g,E.FilteredList=$});ace.define(`ace/marker_group`,[`require`,`exports`,`module`],function(R,E,F){"use strict";var k=(function(){function L(M,a){a&&(this.markerType=a.markerType),this.markers=[],this.session=M,M.addDynamicMarker(this)}return L.prototype.getMarkerAtPosition=function(M){return this.markers.find(function(a){return a.range.contains(M.row,M.column)})},L.prototype.markersComparator=function(M,a){return M.range.start.row-a.range.start.row},L.prototype.setMarkers=function(M){this.markers=M.sort(this.markersComparator).slice(0,this.MAX_MARKERS),this.session._signal(`changeBackMarker`)},L.prototype.update=function(M,a,l,r){if(!(!this.markers||!this.markers.length))for(var o=r.firstRow,i=r.lastRow,t,e=0,n=0,s=0;s<this.markers.length;s++){var d=this.markers[s];if(!(d.range.end.row<o)&&!(d.range.start.row>i)&&(d.range.start.row===n?e++:(n=d.range.start.row,e=0),!(e>200))){var g=d.range.clipRows(o,i);if(!(g.start.row===g.end.row&&g.start.column===g.end.column)){var $=g.toScreenRange(l);if($.isEmpty()){t=l.getNextFoldLine(g.end.row,t),t&&t.end.row>g.end.row&&(o=t.end.row);continue}this.markerType===`fullLine`?a.drawFullLineMarker(M,$,d.className,r):$.isMultiLine()?this.markerType===`line`?a.drawMultiLineMarker(M,$,d.className,r):a.drawTextMarker(M,$,d.className,r):a.drawSingleLineMarker(M,$,d.className+` ace_br15`,r)}}}},L})();k.prototype.MAX_MARKERS=1e4,E.MarkerGroup=k});ace.define(`ace/autocomplete/text_completer`,[`require`,`exports`,`module`,`ace/range`],function(R,E,F){var k=R(`../range`).Range,L=/[^a-zA-Z_0-9\$\-\u00C0-\u1FFF\u2C00-\uD7FF\w]+/;function M(l,r){return l.getTextRange(k.fromPoints({row:0,column:0},r)).split(L).length-1}function a(l,r){var o=M(l,r),i=l.getValue().split(L),t=Object.create(null),e=i[o];return i.forEach(function(n,s){if(!(!n||n===e)){var d=Math.abs(o-s),g=i.length-d;t[n]?t[n]=Math.max(g,t[n]):t[n]=g}}),t}E.getCompletions=function(l,r,o,i,t){var e=a(r,o);t(null,Object.keys(e).map(function(s){return{caption:s,value:s,score:e[s],meta:`local`}}))}});ace.define(`ace/ext/language_tools`,[`require`,`exports`,`module`,`ace/snippets`,`ace/autocomplete`,`ace/config`,`ace/lib/lang`,`ace/autocomplete/util`,`ace/marker_group`,`ace/autocomplete/text_completer`,`ace/editor`,`ace/config`],function(R,E,F){"use strict";var k=R(`../snippets`).snippetManager,L=R(`../autocomplete`).Autocomplete,M=R(`../config`),a=R(`../lib/lang`),l=R(`../autocomplete/util`),r=R(`../marker_group`).MarkerGroup,o=R(`../autocomplete/text_completer`),i={getCompletions:function(m,C,x,w,p){
1124if(C.$mode.completer)return C.$mode.completer.getCompletions(m,C,x,w,p);var f=m.session.getState(x.row),c=C.$mode.getCompletions(f,C,x,w);c=c.map(function(S){return S.completerId=i.id,S}),p(null,c)},id:`keywordCompleter`},t=function(m){var C={};return m.replace(/\${(\d+)(:(.*?))?}/g,function(x,w,p,f){return C[w]=f||``}).replace(/\$(\d+?)/g,function(x,w){return C[w]})},e={getCompletions:function(m,C,x,w,p){var f=[],c=C.getTokenAt(x.row,x.column);c&&c.type.match(/(tag-name|tag-open|tag-whitespace|attribute-name|attribute-value)\.xml$/)?f.push(`html-tag`):f=k.getActiveScopes(m);var S=k.snippetMap,A=[];f.forEach(function(T){for(var _=S[T]||[],I=_.length;I--;){var D=_[I],N=D.name||D.tabTrigger;N&&A.push({caption:N,snippet:D.content,meta:D.tabTrigger&&!D.name?D.tabTrigger+`⇥ `:`snippet`,completerId:e.id})}},this),p(null,A)},getDocTooltip:function(m){m.snippet&&!m.docHTML&&(m.docHTML=[`<b>`,a.escapeHTML(m.caption),`</b>`,`<hr></hr>`,a.escapeHTML(t(m.snippet))].join(``))},id:`snippetCompleter`},n=[e,o,i];E.setCompleters=function(m){n.length=0,m&&n.push.apply(n,m)},E.addCompleter=function(m){n.push(m)},E.textCompleter=o,E.keyWordCompleter=i,E.snippetCompleter=e;var s={name:`expandSnippet`,exec:function(m){return k.expandWithTab(m)},bindKey:`Tab`},d=function(m,C){g(C.session.$mode)},g=function(m){typeof m==`string`&&(m=M.$modes[m]),m&&(k.files||(k.files={}),$(m.$id,m.snippetFileId),m.modes&&m.modes.forEach(g))},$=function(m,C){!C||!m||k.files[m]||(k.files[m]={},M.loadModule(C,function(x){x&&(k.files[m]=x,!x.snippets&&x.snippetText&&(x.snippets=k.parseSnippetFile(x.snippetText)),k.register(x.snippets||[],x.scope),x.includeScopes&&(k.snippetMap[x.scope].includeScopes=x.includeScopes,x.includeScopes.forEach(function(w){g(`ace/mode/`+w)})))}))},v=function(m){var C=m.editor,x=C.completer&&C.completer.activated;if(m.command.name===`backspace`)x&&!l.getCompletionPrefix(C)&&C.completer.detach();else if(m.command.name===`insertstring`&&!x){b=m;var w=m.editor.$liveAutocompletionDelay;w?u.delay(w):h(m)}},b,u=a.delayedCall(function(){h(b)},0),h=function(m){var C=m.editor,x=l.getCompletionPrefix(C),w=m.args,p=l.triggerAutocomplete(C,w);if(x&&x.length>=C.$liveAutocompletionThreshold||p){var f=L.for(C);f.autoShown=!0,f.showPopup(C)}},y=R(`../editor`).Editor;R(`../config`).defineOptions(y.prototype,`editor`,{enableBasicAutocompletion:{set:function(m){m?(L.for(this),this.completers||(this.completers=Array.isArray(m)?m:n),this.commands.addCommand(L.startCommand)):this.commands.removeCommand(L.startCommand)},value:!1},enableLiveAutocompletion:{set:function(m){m?(this.completers||(this.completers=Array.isArray(m)?m:n),this.commands.on(`afterExec`,v)):this.commands.off(`afterExec`,v)},value:!1},liveAutocompletionDelay:{initialValue:0},liveAutocompletionThreshold:{initialValue:0},enableSnippets:{set:function(m){m?(this.commands.addCommand(s),this.on(`changeMode`,d),d(null,this)):(this.commands.removeCommand(s),this.off(`changeMode`,d))},value:!1}}),E.MarkerGroup=r});(function(){ace.require([`ace/ext/language_tools`],function(R){typeof ue==`object`&&typeof Ee==`object`&&ue&&(ue.exports=R)})})()});var De=w$6(he$2());var ge$1=w$6(he$2());w$6(Re());ge$1.config.set(`basePath`,`assets/ace`);ge$1.config.set(`workerPath`,`assets/ace`);var me$1=(()=>{class R{initCodeEditorComponent(F,k){F.resize(!0),k&&F.completers?.push(k)}destroyCodeEditorComponent(F,k){k&&F.completers?.splice(F.completers.indexOf(k),1),F.destroy()}static{this.ɵfac=function(k){return new(k||R)}}static{this.ɵprov=ce$3({token:R,factory:R.ɵfac})}}return R})();var Ie=w$6(he$2());var ve$2=(()=>{class R{load(F){Ie.config.loadModule(`ace/snippets`,k=>{let L=k.snippetManager;F.forEach((M,a)=>{L.register(Tp$1(M),a)})})}static{this.ɵfac=function(k){return new(k||R)}}static{this.ɵprov=ce$3({token:R,factory:R.ɵfac})}}return R})();var Ye=(()=>{class R extends v$8{constructor(){super(),this.codeService=T$9(me$1),this.codeSnippetService=T$9(ve$2),this.elRef=T$9(zr$1),this.sizes=T$9(Vr$3),this.enableBasicAutoCompletion=VH(!0),this.scrollToBottomOnInit=VH(!0),this.snippets=VH(new Map),this.variablesAutoCompleter=VH(),this.tabsSize=VH(),this.keyBindings=VH(),this.lineWrap=VH(!1),this.checkSyntax=VH(!0),this.readonly=VH(!1),this.value=HH(``),this.mode=HH(`text`),this.selectionChanged=jH(),this.ready=jH(),this._onFocusBlurCallBack=()=>this.fireStateChanges(),Ka$1(()=>{let F=this.lineWrap();this._editor&&this._editor.setOption(`wrap`,F)}),Ka$1(()=>{let F=this.checkSyntax();this._editor&&this._editor.setOption(`useWorker`,F)}),Ka$1(()=>{let F=this.readonly();this._editor&&this._editor.setReadOnly(F)}),Ka$1(()=>{let F=this.value();if(this._editor)F!==this._editor.getSession().getValue()&&this._editor.getSession().setValue(F)}),Ka$1(()=>{let F=this.mode();this._editor&&this._editor.getSession().setMode(this.getSessionMode(F))})}get editor(){return this._editor}get focused(){return this._editor?.isFocused()??!1}get hasBottomLine(){return!1}getSessionMode(F){return`ace/mode/${F}`}ngOnInit(){let F=this.snippets();if(F.size&&this.codeSnippetService.load(F),this._editor=(0,De.edit)(this.elRef.nativeElement,{fontSize:this.sizes.calcSizeWithRatio(`14px`),theme:`ace/theme/octoperf`,mode:this.getSessionMode(this.mode()),readOnly:this.readonly(),value:this.value(),enableSnippets:!!F.size,enableBasicAutocompletion:this.enableBasicAutoCompletion(),wrap:this.lineWrap(),useWorker:this.checkSyntax(),showPrintMargin:!1}),this._editor.setHighlightActiveLine(!1),this.scrollToBottomOnInit()){let k=!1;
1124this._editor.renderer.on(`afterRender`,()=>{k||(this.scrollToBottom(),k=!0)})}this.ready.emit(this)}ngAfterViewInit(){let F=this.editor;this.codeService.initCodeEditorComponent(F,this.variablesAutoCompleter()),F.on(`blur`,this._onFocusBlurCallBack),F.on(`focus`,this._onFocusBlurCallBack),F.on(`change`,()=>{let L=F.getSession().getValue();this.value()!==L&&(this.value.set(L),this.fireChanges(L))});let k=this.tabsSize();k&&F.getSession().setTabSize(k),F.selection.on(`changeSelection`,()=>{this.selectionChanged.emit({editor:F,selection:F.session.getTextRange(F.selection.getRange())})}),this.keyBindings()?.forEach(L=>{L.keys.forEach(M=>{F.commands.addCommand({name:M,bindKey:M,exec:()=>{L.binding()}})})})}ngOnDestroy(){this._editor&&this.codeService.destroyCodeEditorComponent(this._editor,this.variablesAutoCompleter())}writeValue(F){this.value.set(F)}setDisabledState(F){this._editor?.setReadOnly(F)}scrollToBottom(){this._editor?.scrollToRow(this.editor.session.getLength())}focus(){this._editor?.focus(),this._editor?.navigateFileEnd()}resize(){this._editor?.resize(!0)}appendText(F){this.value.update(L=>L+F);let k=this.editor;if(k){let L=k.session.getLength()-k.renderer.getLastVisibleRow()<=2;k.session.insert({row:k.session.getLength(),column:0},F),L&&this.scrollToBottom();let M=k.session.getScrollLeft();k.session.setScrollLeft(Number.MAX_VALUE),k.session.setScrollLeft(M)}}find(F,k={caseSensitive:!1},L){return this._editor?.find(F,k,L)??!1}selectLine(F,k=1){this._editor?.focus(),this._editor?.scrollToRow(F-1),this._editor?.selection.moveCursorTo(F-1,k-1),this._editor?.selection.selectLineEnd()}labelClick(){this._editor?.focus()}static{this.ɵfac=function(k){return new(k||R)}}static{this.ɵcmp=bb({type:R,selectors:[[`lib-code-editor`]],inputs:{enableBasicAutoCompletion:[1,`enableBasicAutoCompletion`],scrollToBottomOnInit:[1,`scrollToBottomOnInit`],snippets:[1,`snippets`],variablesAutoCompleter:[1,`variablesAutoCompleter`],tabsSize:[1,`tabsSize`],keyBindings:[1,`keyBindings`],lineWrap:[1,`lineWrap`],checkSyntax:[1,`checkSyntax`],readonly:[1,`readonly`],value:[1,`value`],mode:[1,`mode`]},outputs:{value:`valueChange`,mode:`modeChange`,selectionChanged:`selectionChanged`,ready:`ready`},features:[cT([me$1,ve$2,{provide:K$6,useExisting:Qo$1(()=>R),multi:!0},{provide:Ie$5,useExisting:Qo$1(()=>R)}]),Xh],decls:0,vars:0,template:function(k,L){},styles:[`.absolute-filler[_ngcontent-%COMP%]{position:absolute;inset:0}.block-filler[_ngcontent-%COMP%]{display:block;width:100%;height:100%;box-sizing:border-box}.block-filler-x[_ngcontent-%COMP%]{display:block;width:100%}.block-filler-y[_ngcontent-%COMP%]{display:block;height:100%}.full-height[_ngcontent-%COMP%]{height:100%}.full-width[_ngcontent-%COMP%]{width:100%}[_nghost-%COMP%]{display:block;width:100%;height:100%;box-sizing:border-box}`]})}}return R})();var an=u$9((Nn,J)=>{"use strict";var g=function(){this.Diff_Timeout=1,this.Diff_EditCost=4,this.Match_Threshold=.5,this.Match_Distance=1e3,this.Patch_DeleteThreshold=.5,this.Patch_Margin=4,this.Match_MaxBits=32},C=-1,v=1,h=0;g.Diff=function(n,r){return[n,r]};g.prototype.diff_main=function(n,r,o,a){typeof a>`u`&&(this.Diff_Timeout<=0?a=Number.MAX_VALUE:a=new Date().getTime()+this.Diff_Timeout*1e3);var t=a;if(n==null||r==null)throw new Error(`Null input. (diff_main)`);if(n==r)return n?[new g.Diff(h,n)]:[];typeof o>`u`&&(o=!0);var e=o,c=this.diff_commonPrefix(n,r),p=n.substring(0,c);n=n.substring(c),r=r.substring(c),c=this.diff_commonSuffix(n,r);var i=n.substring(n.length-c);n=n.substring(0,n.length-c),r=r.substring(0,r.length-c);var l=this.diff_compute_(n,r,e,t);return p&&l.unshift(new g.Diff(h,p)),i&&l.push(new g.Diff(h,i)),this.diff_cleanupMerge(l),l};g.prototype.diff_compute_=function(n,r,o,a){var t;if(!n)return[new g.Diff(v,r)];if(!r)return[new g.Diff(C,n)];var e=n.length>r.length?n:r,c=n.length>r.length?r:n,p=e.indexOf(c);if(p!=-1)return t=[new g.Diff(v,e.substring(0,p)),new g.Diff(h,c),new g.Diff(v,e.substring(p+c.length))],n.length>r.length&&(t[0][0]=t[2][0]=C),t;if(c.length==1)return[new g.Diff(C,n),new g.Diff(v,r)];var i=this.diff_halfMatch_(n,r);if(i){var l=i[0],s=i[1],d=i[2],f=i[3],_=i[4],m=this.diff_main(l,d,o,a),u=this.diff_main(s,f,o,a);return m.concat([new g.Diff(h,_)],u)}return o&&n.length>100&&r.length>100?this.diff_lineMode_(n,r,a):this.diff_bisect_(n,r,a)};g.prototype.diff_lineMode_=function(n,r,o){var a=this.diff_linesToChars_(n,r);n=a.chars1,r=a.chars2;var t=a.lineArray,e=this.diff_main(n,r,!1,o);this.diff_charsToLines_(e,t),this.diff_cleanupSemantic(e),e.push(new g.Diff(h,``));for(var c=0,p=0,i=0,l=``,s=``;c<e.length;){switch(e[c][0]){case v:i++,s+=e[c][1];break;case C:p++,l+=e[c][1];break;case h:if(p>=1&&i>=1){e.splice(c-p-i,p+i),c=c-p-i;for(var d=this.diff_main(l,s,!1,o),f=d.length-1;f>=0;f--)e.splice(c,0,d[f]);c=c+d.length}i=0,p=0,l=``,s=``;break}c++}return e.pop(),e};g.prototype.diff_bisect_=function(n,r,o){for(var a=n.length,t=r.length,e=Math.ceil((a+t)/2),c=e,p=2*e,i=new Array(p),l=new Array(p),s=0;s<p;s++)i[s]=-1,l[s]=-1;
1124i[c+1]=0,l[c+1]=0;for(var d=a-t,f=d%2!=0,_=0,m=0,u=0,P=0,M=0;M<e&&!(new Date().getTime()>o);M++){for(var O=-M+_;O<=M-m;O+=2){var S=c+O,N;O==-M||O!=M&&i[S-1]<i[S+1]?N=i[S+1]:N=i[S-1]+1;for(var z=N-O;N<a&&z<t&&n.charAt(N)==r.charAt(z);)N++,z++;if(i[S]=N,N>a)m+=2;else if(z>t)_+=2;else if(f){var y=c+d-O;if(y>=0&&y<p&&l[y]!=-1){var b=a-l[y];if(N>=b)return this.diff_bisectSplit_(n,r,N,z,o)}}}for(var E=-M+u;E<=M-P;E+=2){var y=c+E,b;E==-M||E!=M&&l[y-1]<l[y+1]?b=l[y+1]:b=l[y-1]+1;for(var R=b-E;b<a&&R<t&&n.charAt(a-b-1)==r.charAt(t-R-1);)b++,R++;if(l[y]=b,b>a)P+=2;else if(R>t)u+=2;else if(!f){var S=c+d-E;if(S>=0&&S<p&&i[S]!=-1){var N=i[S],z=c+N-S;if(b=a-b,N>=b)return this.diff_bisectSplit_(n,r,N,z,o)}}}}return[new g.Diff(C,n),new g.Diff(v,r)]};g.prototype.diff_bisectSplit_=function(n,r,o,a,t){var e=n.substring(0,o),c=r.substring(0,a),p=n.substring(o),i=r.substring(a),l=this.diff_main(e,c,!1,t),s=this.diff_main(p,i,!1,t);return l.concat(s)};g.prototype.diff_linesToChars_=function(n,r){var o=[],a={};o[0]=``;function t(i){for(var l=``,s=0,d=-1,f=o.length;d<i.length-1;){d=i.indexOf(`
1125`,s),d==-1&&(d=i.length-1);var _=i.substring(s,d+1);(a.hasOwnProperty?a.hasOwnProperty(_):a[_]!==void 0)?l+=String.fromCharCode(a[_]):(f==e&&(_=i.substring(s),d=i.length),l+=String.fromCharCode(f),a[_]=f,o[f++]=_),s=d+1}return l}var e=4e4,c=t(n);e=65535;return{chars1:c,chars2:t(r),lineArray:o}};g.prototype.diff_charsToLines_=function(n,r){for(var o=0;o<n.length;o++){for(var a=n[o][1],t=[],e=0;e<a.length;e++)t[e]=r[a.charCodeAt(e)];n[o][1]=t.join(``)}};g.prototype.diff_commonPrefix=function(n,r){if(!n||!r||n.charAt(0)!=r.charAt(0))return 0;for(var o=0,a=Math.min(n.length,r.length),t=a,e=0;o<t;)n.substring(e,t)==r.substring(e,t)?(o=t,e=o):a=t,t=Math.floor((a-o)/2+o);return t};g.prototype.diff_commonSuffix=function(n,r){if(!n||!r||n.charAt(n.length-1)!=r.charAt(r.length-1))return 0;for(var o=0,a=Math.min(n.length,r.length),t=a,e=0;o<t;)n.substring(n.length-t,n.length-e)==r.substring(r.length-t,r.length-e)?(o=t,e=o):a=t,t=Math.floor((a-o)/2+o);return t};g.prototype.diff_commonOverlap_=function(n,r){var o=n.length,a=r.length;if(o==0||a==0)return 0;o>a?n=n.substring(o-a):o<a&&(r=r.substring(0,o));var t=Math.min(o,a);if(n==r)return t;for(var e=0,c=1;;){var p=n.substring(t-c),i=r.indexOf(p);if(i==-1)return e;c+=i,(i==0||n.substring(t-c)==r.substring(0,c))&&(e=c,c++)}};g.prototype.diff_halfMatch_=function(n,r){if(this.Diff_Timeout<=0)return null;var o=n.length>r.length?n:r,a=n.length>r.length?r:n;if(o.length<4||a.length*2<o.length)return null;var t=this;function e(m,u,P){for(var M=m.substring(P,P+Math.floor(m.length/4)),O=-1,S=``,N,z,y,b;(O=u.indexOf(M,O+1))!=-1;){var E=t.diff_commonPrefix(m.substring(P),u.substring(O)),R=t.diff_commonSuffix(m.substring(0,P),u.substring(0,O));S.length<R+E&&(S=u.substring(O-R,O)+u.substring(O,O+E),N=m.substring(0,P-R),z=m.substring(P+E),y=u.substring(0,O-R),b=u.substring(O+E))}return S.length*2>=m.length?[N,z,y,b,S]:null}var c=e(o,a,Math.ceil(o.length/4)),p=e(o,a,Math.ceil(o.length/2)),i;if(!c&&!p)return null;p?c?i=c[4].length>p[4].length?c:p:i=p:i=c;var l,s,d,f;n.length>r.length?(l=i[0],s=i[1],d=i[2],f=i[3]):(d=i[0],f=i[1],l=i[2],s=i[3]);var _=i[4];return[l,s,d,f,_]};g.prototype.diff_cleanupSemantic=function(n){for(var r=!1,o=[],a=0,t=null,e=0,c=0,p=0,i=0,l=0;e<n.length;)n[e][0]==h?(o[a++]=e,c=i,p=l,i=0,l=0,t=n[e][1]):(n[e][0]==v?i+=n[e][1].length:l+=n[e][1].length,t&&t.length<=Math.max(c,p)&&t.length<=Math.max(i,l)&&(n.splice(o[a-1],0,new g.Diff(C,t)),n[o[a-1]+1][0]=v,a--,a--,e=a>0?o[a-1]:-1,c=0,p=0,i=0,l=0,t=null,r=!0)),e++;for(r&&this.diff_cleanupMerge(n),this.diff_cleanupSemanticLossless(n),e=1;e<n.length;){if(n[e-1][0]==C&&n[e][0]==v){var s=n[e-1][1],d=n[e][1],f=this.diff_commonOverlap_(s,d),_=this.diff_commonOverlap_(d,s);f>=_?(f>=s.length/2||f>=d.length/2)&&(n.splice(e,0,new g.Diff(h,d.substring(0,f))),n[e-1][1]=s.substring(0,s.length-f),n[e+1][1]=d.substring(f),e++):(_>=s.length/2||_>=d.length/2)&&(n.splice(e,0,new g.Diff(h,s.substring(0,_))),n[e-1][0]=v,n[e-1][1]=d.substring(0,d.length-_),n[e+1][0]=C,n[e+1][1]=s.substring(_),e++),e++}e++}};g.prototype.diff_cleanupSemanticLossless=function(n){function r(_,m){if(!_||!m)return 6;var u=_.charAt(_.length-1),P=m.charAt(0),M=u.match(g.nonAlphaNumericRegex_),O=P.match(g.nonAlphaNumericRegex_),S=M&&u.match(g.whitespaceRegex_),N=O&&P.match(g.whitespaceRegex_),z=S&&u.match(g.linebreakRegex_),y=N&&P.match(g.linebreakRegex_),b=z&&_.match(g.blanklineEndRegex_),E=y&&m.match(g.blanklineStartRegex_);return b||E?5:z||y?4:M&&!S&&N?3:S||N?2:M||O?1:0}for(var o=1;o<n.length-1;){if(n[o-1][0]==h&&n[o+1][0]==h){var a=n[o-1][1],t=n[o][1],e=n[o+1][1],c=this.diff_commonSuffix(a,t);
1125if(c){var p=t.substring(t.length-c);a=a.substring(0,a.length-c),t=p+t.substring(0,t.length-c),e=p+e}for(var i=a,l=t,s=e,d=r(a,t)+r(t,e);t.charAt(0)===e.charAt(0);){a+=t.charAt(0),t=t.substring(1)+e.charAt(0),e=e.substring(1);var f=r(a,t)+r(t,e);f>=d&&(d=f,i=a,l=t,s=e)}n[o-1][1]!=i&&(i?n[o-1][1]=i:(n.splice(o-1,1),o--),n[o][1]=l,s?n[o+1][1]=s:(n.splice(o+1,1),o--))}o++}};g.nonAlphaNumericRegex_=/[^a-zA-Z0-9]/;g.whitespaceRegex_=/\s/;g.linebreakRegex_=/[\r\n]/;g.blanklineEndRegex_=/\n\r?\n$/;g.blanklineStartRegex_=/^\r?\n\r?\n/;g.prototype.diff_cleanupEfficiency=function(n){for(var r=!1,o=[],a=0,t=null,e=0,c=!1,p=!1,i=!1,l=!1;e<n.length;)n[e][0]==h?(n[e][1].length<this.Diff_EditCost&&(i||l)?(o[a++]=e,c=i,p=l,t=n[e][1]):(a=0,t=null),i=l=!1):(n[e][0]==C?l=!0:i=!0,t&&(c&&p&&i&&l||t.length<this.Diff_EditCost/2&&c+p+i+l==3)&&(n.splice(o[a-1],0,new g.Diff(C,t)),n[o[a-1]+1][0]=v,a--,t=null,c&&p?(i=l=!0,a=0):(a--,e=a>0?o[a-1]:-1,i=l=!1),r=!0)),e++;r&&this.diff_cleanupMerge(n)};g.prototype.diff_cleanupMerge=function(n){n.push(new g.Diff(h,``));for(var r=0,o=0,a=0,t=``,e=``,c;r<n.length;)switch(n[r][0]){case v:a++,e+=n[r][1],r++;break;case C:o++,t+=n[r][1],r++;break;case h:o+a>1?(o!==0&&a!==0&&(c=this.diff_commonPrefix(e,t),c!==0&&(r-o-a>0&&n[r-o-a-1][0]==h?n[r-o-a-1][1]+=e.substring(0,c):(n.splice(0,0,new g.Diff(h,e.substring(0,c))),r++),e=e.substring(c),t=t.substring(c)),c=this.diff_commonSuffix(e,t),c!==0&&(n[r][1]=e.substring(e.length-c)+n[r][1],e=e.substring(0,e.length-c),t=t.substring(0,t.length-c))),r-=o+a,n.splice(r,o+a),t.length&&(n.splice(r,0,new g.Diff(C,t)),r++),e.length&&(n.splice(r,0,new g.Diff(v,e)),r++),r++):r!==0&&n[r-1][0]==h?(n[r-1][1]+=n[r][1],n.splice(r,1)):r++,a=0,o=0,t=``,e=``;break}n[n.length-1][1]===``&&n.pop();var p=!1;for(r=1;r<n.length-1;)n[r-1][0]==h&&n[r+1][0]==h&&(n[r][1].substring(n[r][1].length-n[r-1][1].length)==n[r-1][1]?(n[r][1]=n[r-1][1]+n[r][1].substring(0,n[r][1].length-n[r-1][1].length),n[r+1][1]=n[r-1][1]+n[r+1][1],n.splice(r-1,1),p=!0):n[r][1].substring(0,n[r+1][1].length)==n[r+1][1]&&(n[r-1][1]+=n[r+1][1],n[r][1]=n[r][1].substring(n[r+1][1].length)+n[r+1][1],n.splice(r+1,1),p=!0)),r++;p&&this.diff_cleanupMerge(n)};g.prototype.diff_xIndex=function(n,r){var o=0,a=0,t=0,e=0,c;for(c=0;c<n.length&&(n[c][0]!==v&&(o+=n[c][1].length),n[c][0]!==C&&(a+=n[c][1].length),!(o>r));c++)t=o,e=a;return n.length!=c&&n[c][0]===C?e:e+(r-t)};g.prototype.diff_prettyHtml=function(n){for(var r=[],o=/&/g,a=/</g,t=/>/g,e=/\n/g,c=0;c<n.length;c++){var p=n[c][0],l=n[c][1].replace(o,`&amp;`).replace(a,`&lt;`).replace(t,`&gt;`).replace(e,`&para;<br>`);switch(p){case v:r[c]=`<ins style="background:#e6ffe6;">`+l+`</ins>`;break;case C:r[c]=`<del style="background:#ffe6e6;">`+l+`</del>`;break;case h:r[c]=`<span>`+l+`</span>`;break}}return r.join(``)};g.prototype.diff_text1=function(n){for(var r=[],o=0;o<n.length;o++)n[o][0]!==v&&(r[o]=n[o][1]);return r.join(``)};g.prototype.diff_text2=function(n){for(var r=[],o=0;o<n.length;o++)n[o][0]!==C&&(r[o]=n[o][1]);return r.join(``)};g.prototype.diff_levenshtein=function(n){for(var r=0,o=0,a=0,t=0;t<n.length;t++){var e=n[t][0],c=n[t][1];switch(e){case v:o+=c.length;break;case C:a+=c.length;break;case h:r+=Math.max(o,a),o=0,a=0;break}}return r+=Math.max(o,a),r};g.prototype.diff_toDelta=function(n){for(var r=[],o=0;o<n.length;o++)switch(n[o][0]){case v:r[o]=`+`+encodeURI(n[o][1]);break;case C:r[o]=`-`+n[o][1].length;break;case h:r[o]=`=`+n[o][1].length;break}return r.join(`	`).replace(/%20/g,` `)};g.prototype.diff_fromDelta=function(n,r){for(var o=[],a=0,t=0,e=r.split(/\t/g),c=0;c<e.length;c++){var p=e[c].substring(1);switch(e[c].charAt(0)){case`+`:try{o[a++]=new g.Diff(v,decodeURI(p))}catch{throw new Error(`Illegal escape in diff_fromDelta: `+p)}break;case`-`:case`=`:var i=parseInt(p,10);if(isNaN(i)||i<0)throw new Error(`Invalid number in diff_fromDelta: `+p);var l=n.substring(t,t+=i);e[c].charAt(0)==`=`?o[a++]=new g.Diff(h,l):o[a++]=new g.Diff(C,l);break;default:if(e[c])throw new Error(`Invalid diff operation in diff_fromDelta: `+e[c])}}if(t!=n.length)throw new Error(`Delta length (`+t+`) does not equal source text length (`+n.length+`).`);return o};g.prototype.match_main=function(n,r,o){if(n==null||r==null||o==null)throw new Error(`Null input. (match_main)`);return o=Math.max(0,Math.min(o,n.length)),n==r?0:n.length?n.substring(o,o+r.length)==r?o:this.match_bitap_(n,r,o):-1};g.prototype.match_bitap_=function(n,r,o){if(r.length>this.Match_MaxBits)throw new Error(`Pattern too long for this browser.`);var a=this.match_alphabet_(r),t=this;function e(N,z){var y=N/r.length,b=Math.abs(o-z);return t.Match_Distance?y+b/t.Match_Distance:b?1:y}var c=this.Match_Threshold,p=n.indexOf(r,o);p!=-1&&(c=Math.min(e(0,p),c),p=n.lastIndexOf(r,o+r.length),p!=-1&&(c=Math.min(e(0,p),c)));var i=1<<r.length-1;p=-1;for(var l,s,d=r.length+n.length,f,_=0;_<r.length;_++){for(l=0,s=d;l<s;)e(_,o+s)<=c?l=s:d=s,s=Math.floor((d-l)/2+l);d=s;var m=Math.max(1,o-s+1),u=Math.min(o+s,n.length)+r.length,P=Array(u+2);P[u+1]=(1<<_)-1;for(var M=u;M>=m;M--){var O=a[n.charAt(M-1)];if(_===0?P[M]=(P[M+1]<<1|1)&O:P[M]=(P[M+1]<<1|1)&O|((f[M+1]|f[M])<<1|1)|f[M+1],P[M]&i){var S=e(_,M-1);if(S<=c)if(c=S,p=M-1,p>
1125o)m=Math.max(1,2*o-p);else break}}if(e(_+1,o)>c)break;f=P}return p};g.prototype.match_alphabet_=function(n){for(var r={},o=0;o<n.length;o++)r[n.charAt(o)]=0;for(var o=0;o<n.length;o++)r[n.charAt(o)]|=1<<n.length-o-1;return r};g.prototype.patch_addContext_=function(n,r){if(r.length!=0){if(n.start2===null)throw Error(`patch not initialized`);for(var o=r.substring(n.start2,n.start2+n.length1),a=0;r.indexOf(o)!=r.lastIndexOf(o)&&o.length<this.Match_MaxBits-this.Patch_Margin-this.Patch_Margin;)a+=this.Patch_Margin,o=r.substring(n.start2-a,n.start2+n.length1+a);a+=this.Patch_Margin;var t=r.substring(n.start2-a,n.start2);t&&n.diffs.unshift(new g.Diff(h,t));var e=r.substring(n.start2+n.length1,n.start2+n.length1+a);e&&n.diffs.push(new g.Diff(h,e)),n.start1-=t.length,n.start2-=t.length,n.length1+=t.length+e.length,n.length2+=t.length+e.length}};g.prototype.patch_make=function(n,r,o){var a,t;if(typeof n==`string`&&typeof r==`string`&&typeof o>`u`)a=n,t=this.diff_main(a,r,!0),t.length>2&&(this.diff_cleanupSemantic(t),this.diff_cleanupEfficiency(t));else if(n&&typeof n==`object`&&typeof r>`u`&&typeof o>`u`)t=n,a=this.diff_text1(t);else if(typeof n==`string`&&r&&typeof r==`object`&&typeof o>`u`)a=n,t=r;else if(typeof n==`string`&&typeof r==`string`&&o&&typeof o==`object`)a=n,t=o;else throw new Error(`Unknown call format to patch_make.`);if(t.length===0)return[];for(var e=[],c=new g.patch_obj,p=0,i=0,l=0,s=a,d=a,f=0;f<t.length;f++){var _=t[f][0],m=t[f][1];switch(!p&&_!==h&&(c.start1=i,c.start2=l),_){case v:c.diffs[p++]=t[f],c.length2+=m.length,d=d.substring(0,l)+m+d.substring(l);break;case C:c.length1+=m.length,c.diffs[p++]=t[f],d=d.substring(0,l)+d.substring(l+m.length);break;case h:m.length<=2*this.Patch_Margin&&p&&t.length!=f+1?(c.diffs[p++]=t[f],c.length1+=m.length,c.length2+=m.length):m.length>=2*this.Patch_Margin&&p&&(this.patch_addContext_(c,s),e.push(c),c=new g.patch_obj,p=0,s=d,i=l);break}_!==v&&(i+=m.length),_!==C&&(l+=m.length)}return p&&(this.patch_addContext_(c,s),e.push(c)),e};g.prototype.patch_deepCopy=function(n){for(var r=[],o=0;o<n.length;o++){var a=n[o],t=new g.patch_obj;t.diffs=[];for(var e=0;e<a.diffs.length;e++)t.diffs[e]=new g.Diff(a.diffs[e][0],a.diffs[e][1]);t.start1=a.start1,t.start2=a.start2,t.length1=a.length1,t.length2=a.length2,r[o]=t}return r};g.prototype.patch_apply=function(n,r){if(n.length==0)return[r,[]];n=this.patch_deepCopy(n);var o=this.patch_addPadding(n);r=o+r+o,this.patch_splitMax(n);for(var a=0,t=[],e=0;e<n.length;e++){var c=n[e].start2+a,p=this.diff_text1(n[e].diffs),i,l=-1;if(p.length>this.Match_MaxBits?(i=this.match_main(r,p.substring(0,this.Match_MaxBits),c),i!=-1&&(l=this.match_main(r,p.substring(p.length-this.Match_MaxBits),c+p.length-this.Match_MaxBits),(l==-1||i>=l)&&(i=-1))):i=this.match_main(r,p,c),i==-1)t[e]=!1,a-=n[e].length2-n[e].length1;else{t[e]=!0,a=i-c;var s;if(l==-1?s=r.substring(i,i+p.length):s=r.substring(i,l+this.Match_MaxBits),p==s)r=r.substring(0,i)+this.diff_text2(n[e].diffs)+r.substring(i+p.length);else{var d=this.diff_main(p,s,!1);if(p.length>this.Match_MaxBits&&this.diff_levenshtein(d)/p.length>this.Patch_DeleteThreshold)t[e]=!1;else{this.diff_cleanupSemanticLossless(d);for(var f=0,_,m=0;m<n[e].diffs.length;m++){var u=n[e].diffs[m];u[0]!==h&&(_=this.diff_xIndex(d,f)),u[0]===v?r=r.substring(0,i+_)+u[1]+r.substring(i+_):u[0]===C&&(r=r.substring(0,i+_)+r.substring(i+this.diff_xIndex(d,f+u[1].length))),u[0]!==C&&(f+=u[1].length)}}}}}return r=r.substring(o.length,r.length-o.length),[r,t]};g.prototype.patch_addPadding=function(n){for(var r=this.Patch_Margin,o=``,a=1;a<=r;a++)o+=String.fromCharCode(a);for(var a=0;a<n.length;a++)n[a].start1+=r,n[a].start2+=r;var t=n[0],e=t.diffs;if(e.length==0||e[0][0]!=h)e.unshift(new g.Diff(h,o)),t.start1-=r,t.start2-=r,t.length1+=r,t.length2+=r;else if(r>e[0][1].length){var c=r-e[0][1].length;e[0][1]=o.substring(e[0][1].length)+e[0][1],t.start1-=c,t.start2-=c,t.length1+=c,t.length2+=c}if(t=n[n.length-1],e=t.diffs,e.length==0||e[e.length-1][0]!=h)e.push(new g.Diff(h,o)),t.length1+=r,t.length2+=r;else if(r>e[e.length-1][1].length){var c=r-e[e.length-1][1].length;e[e.length-1][1]+=o.substring(0,c),t.length1+=c,t.length2+=c}return o};g.prototype.patch_splitMax=function(n){for(var r=this.Match_MaxBits,o=0;o<n.length;o++)if(!(n[o].length1<=r)){var a=n[o];n.splice(o--,1);for(var t=a.start1,e=a.start2,c=``;a.diffs.length!==0;){var p=new g.patch_obj,i=!0;for(p.start1=t-c.length,p.start2=e-c.length,c!==``&&(p.length1=p.length2=c.length,p.diffs.push(new g.Diff(h,c)));a.diffs.length!==0&&p.length1<r-this.Patch_Margin;){var l=a.diffs[0][0],s=a.diffs[0][1];l===v?(p.length2+=s.length,e+=s.length,p.diffs.push(a.diffs.shift()),i=!1):l===C&&p.diffs.length==1&&p.diffs[0][0]==h&&s.length>2*r?(p.length1+=s.length,t+=s.length,i=!1,p.diffs.push(new g.Diff(l,s)),a.diffs.shift()):(s=s.substring(0,r-p.length1-this.Patch_Margin),p.length1+=s.length,t+=s.length,l===h?(p.length2+=s.length,e+=s.length):i=!1,p.diffs.push(new g.Diff(l,s)),s==a.diffs[0][1]?a.diffs.shift():a.diffs[0][1]=a.diffs[0][1].substring(s.length))}c=this.diff_text2(p.diffs),c=c.substring(c.length-this.Patch_Margin);var d=this.diff_text1(a.diffs).substring(0,this.Patch_Margin);d!==``&&(p.length1+=d.length,p.length2+=d.length,p.diffs.length!==0&&p.diffs[p.diffs.length-1][0]===h?p.diffs[p.diffs.length-1][1]+=d:p.diffs.push(new g.Diff(h,d))),i||n.splice(++o,0,p)}}};g.prototype.patch_toText=function(n){for(var r=[],o=0;o<n.length;o++)r[o]=n[o];return r.join(``)};g.prototype.patch_fromText=function(n){var r=[];if(!n)return r;for(var o=n.split(`
1126`),a=0,t=/^@@ -(\d+),?(\d*) \+(\d+),?(\d*) @@$/;a<o.length;){var e=o[a].match(t);if(!e)throw new Error(`Invalid patch string: `+o[a]);var c=new g.patch_obj;for(r.push(c),c.start1=parseInt(e[1],10),e[2]===``?(c.start1--,c.length1=1):e[2]==`0`?c.length1=0:(c.start1--,c.length1=parseInt(e[2],10)),c.start2=parseInt(e[3],10),e[4]===``?(c.start2--,c.length2=1):e[4]==`0`?c.length2=0:(c.start2--,c.length2=parseInt(e[4],10)),a++;a<o.length;){var p=o[a].charAt(0);try{var i=decodeURI(o[a].substring(1))}catch{throw new Error(`Illegal escape in patch_fromText: `+i)}if(p==`-`)c.diffs.push(new g.Diff(C,i));else if(p==`+`)c.diffs.push(new g.Diff(v,i));else if(p==` `)c.diffs.push(new g.Diff(h,i));else{if(p==`@`)break;
1126if(p!==``)throw new Error(`Invalid patch mode "`+p+`" in: `+i)}a++}}return r};g.patch_obj=function(){this.diffs=[],this.start1=null,this.start2=null,this.length1=0,this.length2=0};g.patch_obj.prototype.toString=function(){var n,r;this.length1===0?n=this.start1+`,0`:this.length1==1?n=this.start1+1:n=this.start1+1+`,`+this.length1,this.length2===0?r=this.start2+`,0`:this.length2==1?r=this.start2+1:r=this.start2+1+`,`+this.length2;for(var o=[`@@ -`+n+` +`+r+` @@
1127`],a,t=0;t<this.diffs.length;t++){switch(this.diffs[t][0]){case v:a=`+`;break;case C:a=`-`;break;case h:a=` `;break}o[t+1]=a+encodeURI(this.diffs[t][1])+`
1128`}return o.join(``).replace(/%20/g,` `)};J.exports=g;J.exports.diff_match_patch=g;J.exports.DIFF_DELETE=C;J.exports.DIFF_INSERT=v;J.exports.DIFF_EQUAL=h});var nn$1=new x$2(`CodeDiffDialogComponent`);var tn$1=(()=>{class n extends f$6{static{this.CHANNEL=`change-code-diff-event`}constructor(o){super(n.CHANNEL),this.mode=o}}return n})();var to=w$6(he$2());var rn$1=w$6(an());var q=(()=>{class n{static{this.NEWLINE_REGEXP=/\r?\n|\r/}static isMultiLine(o){return n.NEWLINE_REGEXP.test(o)}static countLines(o){return o.split(n.NEWLINE_REGEXP).length}static diff(o){let a=n.isMultiLine(o.left)||n.isMultiLine(o.right),t=new rn$1.diff_match_patch,e=[];if(a){let c=t.diff_linesToChars_(o.left,o.right),p=c.chars1,i=c.chars2,l=c.lineArray;e=t.diff_main(p,i,!1),t.diff_charsToLines_(e,l)}else e=t.diff_main(o.left,o.right);return{diffs:e,isMultiline:a}}}return n})();
1128var oo$1=class{constructor(r,o,a,t,e,c,p,i){this.diff=r,this.codeMode=o,this.title=a,this.subtitle=t,this.color=e,this.icon=c,this.splitCodeDiff=p,this.leftAndRightTheSame=i}};var no$1=`ace_removed`;var fo=`ace_added`;var bo=`_current`;var ho=(()=>{class n extends l$8{constructor(){super(),this.dialogComponent=T$9(nn$1),this.formatter=T$9(ks),this.storage=T$9(f$7),this.changeDetectorRef=T$9(GH),this.eventBus=T$9(l$10),this.dialogs=T$9(fi$1),this.diffSubject=new nr$1(void 0),this.currentMarkerIndex=Ze$1(-1),this.markers=Ze$1([]),this.isMultiLine=Ze$1(!0),this.isFormatSupported=Ze$1(!1),this.isFormatted=Ze$1(!1),this.focused=Ze$1(!1),this.mode=VH(`text`),this.leftAndRightTheSame=VH(!1),this.isInDialog=VH(!1),this.dialogData=VH(),this.diff=VH(),this.focusCallback=()=>{this.focused.set(!0)},this.blurCallback=()=>{this.focused.set(!1)},Ka$1(()=>this.diffSubject.next(this.diff()))}ngOnDestroy(){super.ngOnDestroy(),this.worker?.terminate(),this.worker=void 0}switchFormatted(){this.isFormatted.update(o=>!o),this.storage.set(`code-diff-auto-format`,this.isFormatted()),this._updateEditor(this.diffSubject.value)}changeMode(o){this.eventBus.publish(new tn$1(o))}openInDialog(){let o=this.dialogData(),a;o?a=new oo$1(o.diff,o.codeMode,o.title,o.subtitle,o.color,o.icon,this.isSplitCodeDiff(),this.leftAndRightTheSame()):a=new oo$1(this.diffSubject.value,this.mode(),`Code Diff`,``,`success`,bo$2,this.isSplitCodeDiff(),this.leftAndRightTheSame()),this.dialogs.open(this.dialogComponent,a,{width:`80vw`,height:`75vh`,restoreFocus:!1})}_loadIsFormatted(){this.isFormatted.set(this.storage.getBoolean(`code-diff-auto-format`,!0))}_listenDiffChanges(){this.diffChangeSubscription?.unsubscribe(),this.diffChangeSubscription=this.diffSubject.pipe(Vg$1(this.destroyed)).subscribe(o=>this._updateEditor(o))}_setFocusHandlers(...o){o.forEach(a=>{a.editor.removeEventListener(`focus`,this.focusCallback),a.editor.addEventListener(`focus`,this.focusCallback),a.editor.removeEventListener(`blur`,this.focusCallback),a.editor.addEventListener(`blur`,this.blurCallback)})}_getFormattedDiff(o){return this.isFormatted()?{left:this.formatter.format(this.mode(),o.left),right:this.formatter.format(this.mode(),o.right)}:o}_doUpdateEditorInWebWorker(o){typeof Worker<`u`?(this.worker?.terminate(),this.worker=new Worker(new URL(`worker-YKMDGLV6.js`,import.meta.url),{type:`module`}),this.worker.onmessage=({data:a})=>{this._handleDiffResultInWebWorkerIfPossible(a)},this.worker.postMessage({diffContent:o,mode:this.mode()})):this._handleDiffResultInWebWorkerIfPossible(q.diff(o))}_rangeToType(o){return o.start.row===o.end.row&&o.end.column-o.start.column>1e3?`screenLine`:this.isMultiLine()?`fullLine`:`text`}_updateCurrentMarker(o){let a=this.markers(),t=a[this.currentMarkerIndex()];t&&(t.clazz=t.clazz.slice(0,-bo.length)),this.currentMarkerIndex.set(o);let e=a[o];e.clazz+=bo,this._scrollToRange(e.range)}_resetData(){this.markers.set([]),this.currentMarkerIndex.set(-1),this.isMultiLine.set(!0),this.isFormatSupported.set(this.formatter.isSupported(this.mode()))}_removeMarkers(...o){o.forEach(a=>{let t=a.getMarkers()||{};Object.values(t).forEach(e=>{e.id&&a.removeMarker(e.id)})})}static{this.ɵfac=function(a){return new(a||n)}}static{this.ɵdir=Mb({type:n,inputs:{mode:[1,`mode`],leftAndRightTheSame:[1,`leftAndRightTheSame`],isInDialog:[1,`isInDialog`],dialogData:[1,`dialogData`],diff:[1,`diff`]},features:[Xh]})}}return n})();function pn(n,r){if(n&1&&(Zi$1(0,`div`,3),Zw(1),xl$1()),n&2){let o=gw(2);zE(),Fm$1(` `,o.currentMarkerIndex()+1,` / `,o.markers().length,` `)}}function ln(n,r){if(n&1){let o=lw();Jb(0,pn,2,2,`div`,3),Zi$1(1,`button`,4),mm$1(`click`,function(){xd$1(o);return Ad$1(gw().goToPreviousMarker.emit())}),lm$1(2,`lib-icon`,5),xl$1(),Zi$1(3,`button`,6),mm$1(`click`,function(){xd$1(o);return Ad$1(gw().goToNextMarker.emit())}),lm$1(4,`lib-icon`,5),xl$1()}if(n&2){let o=gw();Xb(o.currentMarkerIndex()>=0&&o.markers().length>0?0:-1),zE(2),cm$1(`icon`,o.previousIcon),zE(2),cm$1(`icon`,o.nextIcon)}}function gn(n,r){if(n&1){let o=lw();Zi$1(0,`button`,9),mm$1(`click`,function(){xd$1(o);return Ad$1(gw(2).switchFormatted.emit())}),lm$1(1,`lib-icon`,5),xl$1()}if(n&2){let o=gw(2);zE(),cm$1(`icon`,o.unFormatIcon)}}function sn(n,r){if(n&1){let o=lw();Zi$1(0,`button`,10),mm$1(`click`,function(){xd$1(o);return Ad$1(gw(2).switchFormatted.emit())}),lm$1(1,`lib-icon`,5),xl$1()}if(n&2){let o=gw(2);zE(),cm$1(`icon`,o.formatIcon)}}function dn$1(n,r){if(n&1&&Jb(0,gn,2,1,`button`,7)(1,sn,2,1,`button`,8),n&2)Xb(gw().isFormatted()?0:1)}function fn(n,r){if(n&1){let o=lw();Zi$1(0,`button`,11),mm$1(`click`,function(){xd$1(o);let t=gw();return Ad$1(t.changeMode.emit(t.changeModeMode()))}),lm$1(1,`lib-icon`,12),xl$1()}if(n&2){let o=gw();cm$1(`title`,o.changeModeTitle()),zE(),cm$1(`icon`,o.changeModeIcon())}}function _n(n,r){if(n&1){let o=lw();Zi$1(0,`button`,13),mm$1(`click`,function(){xd$1(o);return Ad$1(gw().expand.emit())}),lm$1(1,`lib-icon`,5),xl$1()}if(n&2){let o=gw();zE(),cm$1(`icon`,o.expandIcon)}}var mo=(()=>{class n{constructor(){this.currentMarkerIndex=VH(-1),this.markers=VH([]),this.isMultiLine=VH(!0),this.isFormatSupported=VH(!1),this.isFormatted=VH(!1),this.focused=VH(!1),this.changeModeIcon=VH.required(),this.changeModeTitle=VH(``),this.changeModeMode=VH.required(),this.leftAndRightTheSame=VH(!1),this.isInDialog=VH(!1),this.goToPreviousMarker=jH(),this.goToNextMarker=jH(),this.switchFormatted=jH(),this.changeMode=jH(),this.expand=jH(),this.unFormatIcon=xo$1,this.formatIcon=bo$2,this.previousIcon=wo$1,this.nextIcon=mo$2,this.expandIcon=Ao$1}static{this.ɵfac=function(a){return new(a||n)}}static{this.ɵcmp=bb({type:n,selectors:[[`lib-code-diff-menu`,`changeModeIcon`,``,`changeModeMode`,``]],inputs:{currentMarkerIndex:[1,`currentMarkerIndex`],markers:[1,`markers`],isMultiLine:[1,`isMultiLine`],isFormatSupported:[1,`isFormatSupported`],isFormatted:[1,`isFormatted`],focused:[1,`focused`],changeModeIcon:[1,`changeModeIcon`],changeModeTitle:[1,`changeModeTitle`],changeModeMode:[1,`changeModeMode`],leftAndRightTheSame:[1,`leftAndRightTheSame`],isInDialog:[1,`isInDialog`]},outputs:{goToPreviousMarker:`goToPreviousMarker`,goToNextMarker:`goToNextMarker`,switchFormatted:`switchFormatted`,changeMode:`changeMode`,expand:`expand`},decls:5,vars:4,consts:[[1,`options`],[`mat-icon-button`,``,`type`,`button`,1,`diff-navigation-button`,3,`title`],[`mat-icon-button`,``,`title`,`Expand in dialog`,`type`,`button`,1,`diff-navigation-button`],[1,`markers`],[`mat-icon-button`,``,`title`,`Previous difference`,`type`,`button`,1,`diff-navigation-button`,`m-l-sm`,3,`click`],[3,`icon`],[`mat-icon-button`,``,`title`,`Next difference`,`type`,`button`,1,`diff-navigation-button`,3,`click`],[`mat-icon-button`,``,`title`,`Disable auto-format`,`type`,`button`,1,`diff-navigation-button`],[`mat-icon-button`,``,`title`,`Enable auto-format`,`type`,`button`,1,`diff-navigation-button`],[`mat-icon-button`,``,`title`,`Disable auto-format`,`type`,`button`,1,`diff-navigation-button`,3,`click`],[`mat-icon-button`,``,`title`,`Enable auto-format`,`type`,`button`,1,`diff-navigation-button`,3,`click`],[`mat-icon-button`,``,`type`,`button`,1,`diff-navigation-button`,3,`click`,`title`],[1,`change-mode`,3,`icon`],[`mat-icon-button`,``,`title`,`Expand in dialog`,`type`,`button`,1,`diff-navigation-button`,3,`click`]],template:function(a,t){a&1&&(Zi$1(0,`div`,0),Jb(1,ln,5,3),Jb(2,dn$1,2,1),Jb(3,fn,2,2,`button`,1),Jb(4,_n,2,1,`button`,2),xl$1()),a&2&&(zE(),Xb(t.isMultiLine()&&t.markers().length>0?1:-1),zE(),Xb(t.isFormatSupported()?2:-1),zE(),Xb(t.leftAndRightTheSame()?-1:3),zE(),Xb(t.isInDialog()?-1:4))},dependencies:[Cn$2,Af$1],styles:[`[_ngcontent-%COMP%]:root{--%NS%app-font-family: OctoPerf;--%NS%app-size-ratio: .9;--%NS%app-font-size-2xs: calc(8px * var(--%NS%app-size-ratio));--%NS%app-font-size-xs: calc(10px * var(--%NS%app-size-ratio));--%NS%app-font-size-sm: calc(12px * var(--%NS%app-size-ratio));--%NS%app-font-size: calc(14px * var(--%NS%app-size-ratio));--%NS%app-font-size-lg: calc(16px * var(--%NS%app-size-ratio));--%NS%app-font-size-xl: calc(20px * var(--%NS%app-size-ratio));--%NS%app-font-size-2xl: calc(24px * var(--%NS%app-size-ratio));--%NS%app-font-size-3xl: calc(34px * var(--%NS%app-size-ratio));--%NS%app-font-size-4xl: calc(48px * var(--%NS%app-size-ratio));--%NS%app-font-size-5xl: calc(60px * var(--%NS%app-size-ratio));--%NS%app-font-size-6xl: calc(96px * var(--%NS%app-size-ratio));--%NS%app-line-height-2xs: calc(8px * var(--%NS%app-size-ratio));--%NS%app-line-height-xs: calc(10px * var(--%NS%app-size-ratio));--%NS%app-line-height-sm: calc(12px * var(--%NS%app-size-ratio));--%NS%app-line-height: calc(20px * var(--%NS%app-size-ratio));--%NS%app-line-height-lg: calc(22px * var(--%NS%app-size-ratio));--%NS%app-line-height-xl: calc(28px * var(--%NS%app-size-ratio));--%NS%app-line-height-2xl: calc(32px * var(--%NS%app-size-ratio));--%NS%app-line-height-3xl: calc(40px * var(--%NS%app-size-ratio));--%NS%app-line-height-4xl: calc(50px * var(--%NS%app-size-ratio));--%NS%app-line-height-5xl: calc(60px * var(--%NS%app-size-ratio));--%NS%app-line-height-6xl: calc(96px * var(--%NS%app-size-ratio));--%NS%app-margin-x-2xs: calc(4px * var(--%NS%app-size-ratio));--%NS%app-margin-y-2xs: calc(3px * var(--%NS%app-size-ratio));--%NS%app-margin-x-xs: calc(6px * var(--%NS%app-size-ratio));--%NS%app-margin-y-xs: calc(4px * var(--%NS%app-size-ratio));--%NS%app-margin-x-sm: calc(12px * var(--%NS%app-size-ratio));--%NS%app-margin-y-sm: calc(6px * var(--%NS%app-size-ratio));--%NS%app-margin-x-md: calc(20px * var(--%NS%app-size-ratio));--%NS%app-margin-y-md: calc(12px * var(--%NS%app-size-ratio));--%NS%app-margin-x-lg: calc(28px * var(--%NS%app-size-ratio));--%NS%app-margin-y-lg: calc(20px * var(--%NS%app-size-ratio));--%NS%app-margin-x-xl: calc(34px * var(--%NS%app-size-ratio));--%NS%app-margin-y-xl: calc(28px * var(--%NS%app-size-ratio));--%NS%app-margin-x-2xl: calc(40px * var(--%NS%app-size-ratio));--%NS%app-margin-y-2xl: calc(34px * var(--%NS%app-size-ratio));--%NS%app-margin-x-3xl: calc(48px * var(--%NS%app-size-ratio));--%NS%app-margin-y-3xl: calc(42px * var(--%NS%app-size-ratio));--%NS%app-padding-x-2xs: calc(4px * var(--%NS%app-size-ratio));--%NS%app-padding-y-2xs: calc(3px * var(--%NS%app-size-ratio));--%NS%app-padding-x-xs: calc(6px * var(--%NS%app-size-ratio));--%NS%app-padding-y-xs: calc(4px * var(--%NS%app-size-ratio));--%NS%app-padding-x-sm: calc(12px * var(--%NS%app-size-ratio));--%NS%app-padding-y-sm: calc(6px * var(--%NS%app-size-ratio));--%NS%app-padding-x-md: calc(20px * var(--%NS%app-size-ratio));--%NS%app-padding-y-md: calc(12px * var(--%NS%app-size-ratio));--%NS%app-padding-x-lg: calc(28px * var(--%NS%app-size-ratio));--%NS%app-padding-y-lg: calc(20px * var(--%NS%app-size-ratio));--%NS%app-padding-x-xl: calc(34px * var(--%NS%app-size-ratio));--%NS%app-padding-y-xl: calc(28px * var(--%NS%app-size-ratio));--%NS%app-padding-x-2xl: calc(40px * var(--%NS%app-size-ratio));--%NS%app-padding-y-2xl: calc(34px * var(--%NS%app-size-ratio));--%NS%app-padding-x-3xl: calc(48px * var(--%NS%app-size-ratio));--%NS%app-padding-y-3xl: calc(42px * var(--%NS%app-size-ratio));--%NS%app-font-weight: 400;--%NS%app-font-weight-bold: bold;--%NS%app-font-weight-thin: 300;--%NS%app-border-width: 1px;--%NS%app-border: 1px solid var(--%NS%app-border-color);--%NS%app-border-highlight: 1px solid var(--%NS%app-border-highlight-color);--%NS%app-border-radius: 4px;--%NS%app-sort-header-arrow-width: calc(18px * var(--%NS%app-size-ratio));--%NS%app-icon-button-size: calc(28px * var(--%NS%app-size-ratio));--%NS%app-icon-button-font-size: calc(18px * var(--%NS%app-size-ratio));--%NS%app-tabs-header-default-height: calc(32px * var(--%NS%app-size-ratio));--%NS%app-button-default-height: calc(24px * var(--%NS%app-size-ratio));--%NS%app-input-default-height: calc(24px * var(--%NS%app-size-ratio));
1128--%NS%app-lib-form-field-height: calc(36px * var(--%NS%app-size-ratio));--%NS%app-tile-opacity: .7}.fill-base[_ngcontent-%COMP%]{fill:var(--%NS%app-background-color-base)}.background-base[_ngcontent-%COMP%]{background-color:var(--%NS%app-background-color-base)}.fill-forced-base[_ngcontent-%COMP%]{fill:var(--%NS%app-background-color-base)!important}.background-forced-base[_ngcontent-%COMP%]{background-color:var(--%NS%app-background-color-base)!important}.fill-white[_ngcontent-%COMP%]{fill:#fff}.background-white[_ngcontent-%COMP%]{background-color:#fff}.fill-forced-white[_ngcontent-%COMP%]{fill:#fff!important}.background-forced-white[_ngcontent-%COMP%]{background-color:#fff!important}.fill-form[_ngcontent-%COMP%]{fill:var(--%NS%app-background-color-form)}.background-form[_ngcontent-%COMP%]{background-color:var(--%NS%app-background-color-form)}.fill-forced-form[_ngcontent-%COMP%]{fill:var(--%NS%app-background-color-form)!important}.background-forced-form[_ngcontent-%COMP%]{background-color:var(--%NS%app-background-color-form)!important}.fill-hover[_ngcontent-%COMP%]{fill:var(--%NS%app-background-color-hover)}.background-hover[_ngcontent-%COMP%]{background-color:var(--%NS%app-background-color-hover)}.fill-forced-hover[_ngcontent-%COMP%]{fill:var(--%NS%app-background-color-hover)!important}.background-forced-hover[_ngcontent-%COMP%]{background-color:var(--%NS%app-background-color-hover)!important}.fill-unset[_ngcontent-%COMP%]{fill:unset}.background-unset[_ngcontent-%COMP%]{background-color:unset}.fill-forced-unset[_ngcontent-%COMP%]{fill:unset!important}.background-forced-unset[_ngcontent-%COMP%]{background-color:unset!important}.fill-inherit[_ngcontent-%COMP%]{fill:inherit}.background-inherit[_ngcontent-%COMP%]{background-color:inherit}.fill-forced-inherit[_ngcontent-%COMP%]{fill:inherit!important}.background-forced-inherit[_ngcontent-%COMP%]{background-color:inherit!important}.fill-foreground[_ngcontent-%COMP%]{fill:var(--%NS%app-foreground-color-base)}.background-foreground[_ngcontent-%COMP%]{background-color:var(--%NS%app-foreground-color-base)}.fill-forced-foreground[_ngcontent-%COMP%]{fill:var(--%NS%app-foreground-color-base)!important}.background-forced-foreground[_ngcontent-%COMP%]{background-color:var(--%NS%app-foreground-color-base)!important}.fill-bis[_ngcontent-%COMP%]{fill:var(--%NS%app-background-color-bis)}.background-bis[_ngcontent-%COMP%]{background-color:var(--%NS%app-background-color-bis)}.fill-forced-bis[_ngcontent-%COMP%]{fill:var(--%NS%app-background-color-bis)!important}.background-forced-bis[_ngcontent-%COMP%]{background-color:var(--%NS%app-background-color-bis)!important}.fill-ter[_ngcontent-%COMP%]{fill:var(--%NS%app-background-color-ter)}.background-ter[_ngcontent-%COMP%]{background-color:var(--%NS%app-background-color-ter)}.fill-forced-ter[_ngcontent-%COMP%]{fill:var(--%NS%app-background-color-ter)!important}.background-forced-ter[_ngcontent-%COMP%]{background-color:var(--%NS%app-background-color-ter)!important}.fill-table-even[_ngcontent-%COMP%]{fill:var(--%NS%app-background-color-table-even)}.background-table-even[_ngcontent-%COMP%]{background-color:var(--%NS%app-background-color-table-even)}.fill-forced-table-even[_ngcontent-%COMP%]{fill:var(--%NS%app-background-color-table-even)!important}.background-forced-table-even[_ngcontent-%COMP%]{background-color:var(--%NS%app-background-color-table-even)!important}.fill-selected[_ngcontent-%COMP%]{fill:var(--%NS%app-background-color-selected)}.background-selected[_ngcontent-%COMP%]{background-color:var(--%NS%app-background-color-selected)}.fill-forced-selected[_ngcontent-%COMP%]{fill:var(--%NS%app-background-color-selected)!important}.background-forced-selected[_ngcontent-%COMP%]{background-color:var(--%NS%app-background-color-selected)!important}.fill-selected-darker[_ngcontent-%COMP%]{fill:var(--%NS%app-background-color-selected-darker)}.background-selected-darker[_ngcontent-%COMP%]{background-color:var(--%NS%app-background-color-selected-darker)}.fill-forced-selected-darker[_ngcontent-%COMP%]{fill:var(--%NS%app-background-color-selected-darker)!important}.background-forced-selected-darker[_ngcontent-%COMP%]{background-color:var(--%NS%app-background-color-selected-darker)!important}
1128.fill-info[_ngcontent-%COMP%]{fill:var(--%NS%app-color-info)}.background-info[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-info)}.fill-forced-info[_ngcontent-%COMP%]{fill:var(--%NS%app-color-info)!important}.background-forced-info[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-info)!important}.fill-warn[_ngcontent-%COMP%]{fill:var(--%NS%app-color-warn)}.background-warn[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-warn)}.fill-forced-warn[_ngcontent-%COMP%]{fill:var(--%NS%app-color-warn)!important}.background-forced-warn[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-warn)!important}.fill-error[_ngcontent-%COMP%]{fill:var(--%NS%app-color-error)}.background-error[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-error)}.fill-forced-error[_ngcontent-%COMP%]{fill:var(--%NS%app-color-error)!important}.background-forced-error[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-error)!important}.fill-primary[_ngcontent-%COMP%]{fill:var(--%NS%app-color-primary)}.background-primary[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-primary)}.fill-forced-primary[_ngcontent-%COMP%]{fill:var(--%NS%app-color-primary)!important}.background-forced-primary[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-primary)!important}.fill-secondary[_ngcontent-%COMP%]{fill:var(--%NS%app-color-secondary)}.background-secondary[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-secondary)}.fill-forced-secondary[_ngcontent-%COMP%]{fill:var(--%NS%app-color-secondary)!important}.background-forced-secondary[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-secondary)!important}.fill-success[_ngcontent-%COMP%]{fill:var(--%NS%app-color-success)}.background-success[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-success)}.fill-forced-success[_ngcontent-%COMP%]{fill:var(--%NS%app-color-success)!important}.background-forced-success[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-success)!important}.fill-accent[_ngcontent-%COMP%]{fill:var(--%NS%app-color-accent)}.background-accent[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-accent)}.fill-forced-accent[_ngcontent-%COMP%]{fill:var(--%NS%app-color-accent)!important}.background-forced-accent[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-accent)!important}.fill-info-alpha[_ngcontent-%COMP%]{fill:var(--%NS%app-color-info-alpha)}.background-info-alpha[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-info-alpha)}.fill-forced-info-alpha[_ngcontent-%COMP%]{fill:var(--%NS%app-color-info-alpha)!important}.background-forced-info-alpha[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-info-alpha)!important}.fill-warn-alpha[_ngcontent-%COMP%]{fill:var(--%NS%app-color-warn-alpha)}.background-warn-alpha[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-warn-alpha)}.fill-forced-warn-alpha[_ngcontent-%COMP%]{fill:var(--%NS%app-color-warn-alpha)!important}.background-forced-warn-alpha[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-warn-alpha)!important}.fill-error-alpha[_ngcontent-%COMP%]{fill:var(--%NS%app-color-error-alpha)}.background-error-alpha[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-error-alpha)}.fill-forced-error-alpha[_ngcontent-%COMP%]{fill:var(--%NS%app-color-error-alpha)!important}.background-forced-error-alpha[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-error-alpha)!important}.fill-primary-alpha[_ngcontent-%COMP%]{fill:var(--%NS%app-color-primary-alpha)}.background-primary-alpha[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-primary-alpha)}.fill-forced-primary-alpha[_ngcontent-%COMP%]{fill:var(--%NS%app-color-primary-alpha)!important}.background-forced-primary-alpha[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-primary-alpha)!important}.fill-secondary-alpha[_ngcontent-%COMP%]{fill:var(--%NS%app-color-secondary-alpha)}.background-secondary-alpha[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-secondary-alpha)}.fill-forced-secondary-alpha[_ngcontent-%COMP%]{fill:var(--%NS%app-color-secondary-alpha)!important}.background-forced-secondary-alpha[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-secondary-alpha)!important}
1128.fill-success-alpha[_ngcontent-%COMP%]{fill:var(--%NS%app-color-success-alpha)}.background-success-alpha[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-success-alpha)}.fill-forced-success-alpha[_ngcontent-%COMP%]{fill:var(--%NS%app-color-success-alpha)!important}.background-forced-success-alpha[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-success-alpha)!important}.fill-accent-alpha[_ngcontent-%COMP%]{fill:var(--%NS%app-color-accent-alpha)}.background-accent-alpha[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-accent-alpha)}.fill-forced-accent-alpha[_ngcontent-%COMP%]{fill:var(--%NS%app-color-accent-alpha)!important}.background-forced-accent-alpha[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-accent-alpha)!important}.fill-administration[_ngcontent-%COMP%]{fill:var(--%NS%app-color-administration)}.background-administration[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-administration)}.fill-forced-administration[_ngcontent-%COMP%]{fill:var(--%NS%app-color-administration)!important}.background-forced-administration[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-administration)!important}.fill-workspace[_ngcontent-%COMP%]{fill:var(--%NS%app-color-workspace)}.background-workspace[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-workspace)}.fill-forced-workspace[_ngcontent-%COMP%]{fill:var(--%NS%app-color-workspace)!important}.background-forced-workspace[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-workspace)!important}.fill-project[_ngcontent-%COMP%]{fill:var(--%NS%app-color-project)}.background-project[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-project)}.fill-forced-project[_ngcontent-%COMP%]{fill:var(--%NS%app-color-project)!important}.background-forced-project[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-project)!important}.fill-design[_ngcontent-%COMP%]{fill:var(--%NS%app-color-design)}.background-design[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-design)}.fill-forced-design[_ngcontent-%COMP%]{fill:var(--%NS%app-color-design)!important}.background-forced-design[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-design)!important}.fill-runtime[_ngcontent-%COMP%]{fill:var(--%NS%app-color-runtime)}.background-runtime[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-runtime)}.fill-forced-runtime[_ngcontent-%COMP%]{fill:var(--%NS%app-color-runtime)!important}.background-forced-runtime[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-runtime)!important}.fill-analysis[_ngcontent-%COMP%]{fill:var(--%NS%app-color-analysis)}.background-analysis[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-analysis)}.fill-forced-analysis[_ngcontent-%COMP%]{fill:var(--%NS%app-color-analysis)!important}.background-forced-analysis[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-analysis)!important}.fill-context[_ngcontent-%COMP%]{fill:var(--%NS%app-color-context)}.background-context[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-context)}.fill-forced-context[_ngcontent-%COMP%]{fill:var(--%NS%app-color-context)!important}.background-forced-context[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-context)!important}.fill-administration-alpha[_ngcontent-%COMP%]{fill:var(--%NS%app-color-administration-alpha)}.background-administration-alpha[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-administration-alpha)}.fill-forced-administration-alpha[_ngcontent-%COMP%]{fill:var(--%NS%app-color-administration-alpha)!important}.background-forced-administration-alpha[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-administration-alpha)!important}.fill-workspace-alpha[_ngcontent-%COMP%]{fill:var(--%NS%app-color-workspace-alpha)}.background-workspace-alpha[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-workspace-alpha)}.fill-forced-workspace-alpha[_ngcontent-%COMP%]{fill:var(--%NS%app-color-workspace-alpha)!important}.background-forced-workspace-alpha[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-workspace-alpha)!important}.fill-project-alpha[_ngcontent-%COMP%]{fill:var(--%NS%app-color-project-alpha)}.background-project-alpha[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-project-alpha)}
1128.fill-forced-project-alpha[_ngcontent-%COMP%]{fill:var(--%NS%app-color-project-alpha)!important}.background-forced-project-alpha[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-project-alpha)!important}.fill-design-alpha[_ngcontent-%COMP%]{fill:var(--%NS%app-color-design-alpha)}.background-design-alpha[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-design-alpha)}.fill-forced-design-alpha[_ngcontent-%COMP%]{fill:var(--%NS%app-color-design-alpha)!important}.background-forced-design-alpha[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-design-alpha)!important}.fill-runtime-alpha[_ngcontent-%COMP%]{fill:var(--%NS%app-color-runtime-alpha)}.background-runtime-alpha[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-runtime-alpha)}.fill-forced-runtime-alpha[_ngcontent-%COMP%]{fill:var(--%NS%app-color-runtime-alpha)!important}.background-forced-runtime-alpha[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-runtime-alpha)!important}.fill-analysis-alpha[_ngcontent-%COMP%]{fill:var(--%NS%app-color-analysis-alpha)}.background-analysis-alpha[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-analysis-alpha)}.fill-forced-analysis-alpha[_ngcontent-%COMP%]{fill:var(--%NS%app-color-analysis-alpha)!important}.background-forced-analysis-alpha[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-analysis-alpha)!important}.fill-context-alpha[_ngcontent-%COMP%]{fill:var(--%NS%app-color-context-alpha)}.background-context-alpha[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-context-alpha)}.fill-forced-context-alpha[_ngcontent-%COMP%]{fill:var(--%NS%app-color-context-alpha)!important}.background-forced-context-alpha[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-context-alpha)!important}.color-base[_ngcontent-%COMP%]{color:var(--%NS%app-foreground-color-base)}.color-forced-base[_ngcontent-%COMP%]{color:var(--%NS%app-foreground-color-base)!important}.color-white[_ngcontent-%COMP%]{color:#fff}.color-forced-white[_ngcontent-%COMP%]{color:#fff!important}.color-form[_ngcontent-%COMP%]{color:var(--%NS%app-foregrounf-color-form)}.color-forced-form[_ngcontent-%COMP%]{color:var(--%NS%app-foregrounf-color-form)!important}.color-hover[_ngcontent-%COMP%]{color:var(--%NS%app-foreground-color-muted)}.color-forced-hover[_ngcontent-%COMP%]{color:var(--%NS%app-foreground-color-muted)!important}.color-soft[_ngcontent-%COMP%]{color:var(--%NS%app-foreground-color-soft)}.color-forced-soft[_ngcontent-%COMP%]{color:var(--%NS%app-foreground-color-soft)!important}.color-muted[_ngcontent-%COMP%]{color:var(--%NS%app-foreground-color-muted)}.color-forced-muted[_ngcontent-%COMP%]{color:var(--%NS%app-foreground-color-muted)!important}.color-background[_ngcontent-%COMP%]{color:var(--%NS%app-background-color-base)}.color-forced-background[_ngcontent-%COMP%]{color:var(--%NS%app-background-color-base)!important}.color-unset[_ngcontent-%COMP%]{color:unset}.color-forced-unset[_ngcontent-%COMP%]{color:unset!important}.color-info[_ngcontent-%COMP%]{color:var(--%NS%app-color-info)}.color-forced-info[_ngcontent-%COMP%]{color:var(--%NS%app-color-info)!important}.color-warn[_ngcontent-%COMP%]{color:var(--%NS%app-color-warn)}.color-forced-warn[_ngcontent-%COMP%]{color:var(--%NS%app-color-warn)!important}.color-error[_ngcontent-%COMP%]{color:var(--%NS%app-color-error)}.color-forced-error[_ngcontent-%COMP%]{color:var(--%NS%app-color-error)!important}.color-primary[_ngcontent-%COMP%]{color:var(--%NS%app-color-primary)}.color-forced-primary[_ngcontent-%COMP%]{color:var(--%NS%app-color-primary)!important}.color-secondary[_ngcontent-%COMP%]{color:var(--%NS%app-color-secondary)}.color-forced-secondary[_ngcontent-%COMP%]{color:var(--%NS%app-color-secondary)!important}.color-success[_ngcontent-%COMP%]{color:var(--%NS%app-color-success)}.color-forced-success[_ngcontent-%COMP%]{color:var(--%NS%app-color-success)!important}.color-accent[_ngcontent-%COMP%]{color:var(--%NS%app-color-accent)}.color-forced-accent[_ngcontent-%COMP%]{color:var(--%NS%app-color-accent)!important}.color-info-alpha[_ngcontent-%COMP%]{color:var(--%NS%app-color-info-alpha)}.color-forced-info-alpha[_ngcontent-%COMP%]{color:var(--%NS%app-color-info-alpha)!important}.color-warn-alpha[_ngcontent-%COMP%]{color:var(--%NS%app-color-warn-alpha)}.color-forced-warn-alpha[_ngcontent-%COMP%]{color:var(--%NS%app-color-warn-alpha)!important}.color-error-alpha[_ngcontent-%COMP%]{color:var(--%NS%app-color-error-alpha)}.color-forced-error-alpha[_ngcontent-%COMP%]{color:var(--%NS%app-color-error-alpha)!important}.color-primary-alpha[_ngcontent-%COMP%]{color:var(--%NS%app-color-primary-alpha)}.color-forced-primary-alpha[_ngcontent-%COMP%]{color:var(--%NS%app-color-primary-alpha)!important}.color-secondary-alpha[_ngcontent-%COMP%]{color:var(--%NS%app-color-secondary-alpha)}.color-forced-secondary-alpha[_ngcontent-%COMP%]{color:var(--%NS%app-color-secondary-alpha)!important}.color-success-alpha[_ngcontent-%COMP%]{color:var(--%NS%app-color-success-alpha)}.color-forced-success-alpha[_ngcontent-%COMP%]{color:var(--%NS%app-color-success-alpha)!important}.color-accent-alpha[_ngcontent-%COMP%]{color:var(--%NS%app-color-accent-alpha)}.color-forced-accent-alpha[_ngcontent-%COMP%]{color:var(--%NS%app-color-accent-alpha)!important}.color-administration[_ngcontent-%COMP%]{color:var(--%NS%app-color-administration)}.color-forced-administration[_ngcontent-%COMP%]{color:var(--%NS%app-color-administration)!important}.color-workspace[_ngcontent-%COMP%]{color:var(--%NS%app-color-workspace)}.color-forced-workspace[_ngcontent-%COMP%]{color:var(--%NS%app-color-workspace)!important}.color-project[_ngcontent-%COMP%]{color:var(--%NS%app-color-project)}.color-forced-project[_ngcontent-%COMP%]{color:var(--%NS%app-color-project)!important}.color-design[_ngcontent-%COMP%]{color:var(--%NS%app-color-design)}.color-forced-design[_ngcontent-%COMP%]{color:var(--%NS%app-color-design)!important}
1128.color-runtime[_ngcontent-%COMP%]{color:var(--%NS%app-color-runtime)}.color-forced-runtime[_ngcontent-%COMP%]{color:var(--%NS%app-color-runtime)!important}.color-analysis[_ngcontent-%COMP%]{color:var(--%NS%app-color-analysis)}.color-forced-analysis[_ngcontent-%COMP%]{color:var(--%NS%app-color-analysis)!important}.color-context[_ngcontent-%COMP%]{color:var(--%NS%app-color-context)}.color-forced-context[_ngcontent-%COMP%]{color:var(--%NS%app-color-context)!important}.color-administration-alpha[_ngcontent-%COMP%]{color:var(--%NS%app-color-administration-alpha)}.color-forced-administration-alpha[_ngcontent-%COMP%]{color:var(--%NS%app-color-administration-alpha)!important}.color-workspace-alpha[_ngcontent-%COMP%]{color:var(--%NS%app-color-workspace-alpha)}.color-forced-workspace-alpha[_ngcontent-%COMP%]{color:var(--%NS%app-color-workspace-alpha)!important}.color-project-alpha[_ngcontent-%COMP%]{color:var(--%NS%app-color-project-alpha)}.color-forced-project-alpha[_ngcontent-%COMP%]{color:var(--%NS%app-color-project-alpha)!important}.color-design-alpha[_ngcontent-%COMP%]{color:var(--%NS%app-color-design-alpha)}.color-forced-design-alpha[_ngcontent-%COMP%]{color:var(--%NS%app-color-design-alpha)!important}.color-runtime-alpha[_ngcontent-%COMP%]{color:var(--%NS%app-color-runtime-alpha)}.color-forced-runtime-alpha[_ngcontent-%COMP%]{color:var(--%NS%app-color-runtime-alpha)!important}.color-analysis-alpha[_ngcontent-%COMP%]{color:var(--%NS%app-color-analysis-alpha)}.color-forced-analysis-alpha[_ngcontent-%COMP%]{color:var(--%NS%app-color-analysis-alpha)!important}.color-context-alpha[_ngcontent-%COMP%]{color:var(--%NS%app-color-context-alpha)}.color-forced-context-alpha[_ngcontent-%COMP%]{color:var(--%NS%app-color-context-alpha)!important}.background-hover[_ngcontent-%COMP%]:not(.background-selected){background:var(--%NS%app-background-color-hover)}@keyframes _ngcontent-%COMP%_shimmer-animation{0%{background-position:-1000px 0}to{background-position:1000px 0}}.p-2xs[_ngcontent-%COMP%]{padding-top:var(--%NS%app-padding-y-2xs);padding-bottom:var(--%NS%app-padding-y-2xs);padding-left:var(--%NS%app-padding-x-2xs);padding-right:var(--%NS%app-padding-x-2xs)}.p-v-2xs[_ngcontent-%COMP%]{padding-top:var(--%NS%app-padding-y-2xs);padding-bottom:var(--%NS%app-padding-y-2xs)}.p-h-2xs[_ngcontent-%COMP%]{padding-left:var(--%NS%app-padding-x-2xs);padding-right:var(--%NS%app-padding-x-2xs)}.p-t-2xs[_ngcontent-%COMP%]{padding-top:var(--%NS%app-padding-y-2xs)}.p-b-2xs[_ngcontent-%COMP%]{padding-bottom:var(--%NS%app-padding-y-2xs)}.p-l-2xs[_ngcontent-%COMP%]{padding-left:var(--%NS%app-padding-x-2xs)}.p-r-2xs[_ngcontent-%COMP%]{padding-right:var(--%NS%app-padding-x-2xs)}.p-xs[_ngcontent-%COMP%]{padding-top:var(--%NS%app-padding-y-xs);padding-bottom:var(--%NS%app-padding-y-xs);padding-left:var(--%NS%app-padding-x-xs);padding-right:var(--%NS%app-padding-x-xs)}.p-v-xs[_ngcontent-%COMP%]{padding-top:var(--%NS%app-padding-y-xs);padding-bottom:var(--%NS%app-padding-y-xs)}.p-h-xs[_ngcontent-%COMP%]{padding-left:var(--%NS%app-padding-x-xs);padding-right:var(--%NS%app-padding-x-xs)}.p-t-xs[_ngcontent-%COMP%]{padding-top:var(--%NS%app-padding-y-xs)}.p-b-xs[_ngcontent-%COMP%]{padding-bottom:var(--%NS%app-padding-y-xs)}.p-l-xs[_ngcontent-%COMP%]{padding-left:var(--%NS%app-padding-x-xs)}.p-r-xs[_ngcontent-%COMP%]{padding-right:var(--%NS%app-padding-x-xs)}.p-sm[_ngcontent-%COMP%]{padding-top:var(--%NS%app-padding-y-sm);padding-bottom:var(--%NS%app-padding-y-sm);padding-left:var(--%NS%app-padding-x-sm);padding-right:var(--%NS%app-padding-x-sm)}.p-v-sm[_ngcontent-%COMP%]{padding-top:var(--%NS%app-padding-y-sm);padding-bottom:var(--%NS%app-padding-y-sm)}.p-h-sm[_ngcontent-%COMP%]{padding-left:var(--%NS%app-padding-x-sm);padding-right:var(--%NS%app-padding-x-sm)}.p-t-sm[_ngcontent-%COMP%]{padding-top:var(--%NS%app-padding-y-sm)}.p-b-sm[_ngcontent-%COMP%]{padding-bottom:var(--%NS%app-padding-y-sm)}.p-l-sm[_ngcontent-%COMP%]{padding-left:var(--%NS%app-padding-x-sm)}.p-r-sm[_ngcontent-%COMP%]{padding-right:var(--%NS%app-padding-x-sm)}.p-md[_ngcontent-%COMP%]{padding-top:var(--%NS%app-padding-y-md);padding-bottom:var(--%NS%app-padding-y-md);padding-left:var(--%NS%app-padding-x-md);padding-right:var(--%NS%app-padding-x-md)}.p-v-md[_ngcontent-%COMP%]{padding-top:var(--%NS%app-padding-y-md);padding-bottom:var(--%NS%app-padding-y-md)}.p-h-md[_ngcontent-%COMP%]{padding-left:var(--%NS%app-padding-x-md);padding-right:var(--%NS%app-padding-x-md)}.p-t-md[_ngcontent-%COMP%]{padding-top:var(--%NS%app-padding-y-md)}.p-b-md[_ngcontent-%COMP%]{padding-bottom:var(--%NS%app-padding-y-md)}.p-l-md[_ngcontent-%COMP%]{padding-left:var(--%NS%app-padding-x-md)}.p-r-md[_ngcontent-%COMP%]{padding-right:var(--%NS%app-padding-x-md)}.p-lg[_ngcontent-%COMP%]{padding-top:var(--%NS%app-padding-y-lg);padding-bottom:var(--%NS%app-padding-y-lg);padding-left:var(--%NS%app-padding-x-lg);padding-right:var(--%NS%app-padding-x-lg)}.p-v-lg[_ngcontent-%COMP%]{padding-top:var(--%NS%app-padding-y-lg);padding-bottom:var(--%NS%app-padding-y-lg)}.p-h-lg[_ngcontent-%COMP%]{padding-left:var(--%NS%app-padding-x-lg);padding-right:var(--%NS%app-padding-x-lg)}.p-t-lg[_ngcontent-%COMP%]{padding-top:var(--%NS%app-padding-y-lg)}.p-b-lg[_ngcontent-%COMP%]{padding-bottom:var(--%NS%app-padding-y-lg)}.p-l-lg[_ngcontent-%COMP%]{padding-left:var(--%NS%app-padding-x-lg)}.p-r-lg[_ngcontent-%COMP%]{padding-right:var(--%NS%app-padding-x-lg)}.p-xl[_ngcontent-%COMP%]{padding-top:var(--%NS%app-padding-y-xl);padding-bottom:var(--%NS%app-padding-y-xl);padding-left:var(--%NS%app-padding-x-xl);padding-right:var(--%NS%app-padding-x-xl)}.p-v-xl[_ngcontent-%COMP%]{padding-top:var(--%NS%app-padding-y-xl);padding-bottom:var(--%NS%app-padding-y-xl)}.p-h-xl[_ngcontent-%COMP%]{padding-left:var(--%NS%app-padding-x-xl);padding-right:var(--%NS%app-padding-x-xl)}.p-t-xl[_ngcontent-%COMP%]{padding-top:var(--%NS%app-padding-y-xl)}.p-b-xl[_ngcontent-%COMP%]{padding-bottom:var(--%NS%app-padding-y-xl)}.p-l-xl[_ngcontent-%COMP%]{padding-left:var(--%NS%app-padding-x-xl)}.p-r-xl[_ngcontent-%COMP%]{padding-right:var(--%NS%app-padding-x-xl)}.p-2xl[_ngcontent-%COMP%]{padding-top:var(--%NS%app-padding-y-2xl);padding-bottom:var(--%NS%app-padding-y-2xl);padding-left:var(--%NS%app-padding-x-2xl);padding-right:var(--%NS%app-padding-x-2xl)}.p-v-2xl[_ngcontent-%COMP%]{padding-top:var(--%NS%app-padding-y-2xl);padding-bottom:var(--%NS%app-padding-y-2xl)}.p-h-2xl[_ngcontent-%COMP%]{padding-left:var(--%NS%app-padding-x-2xl);padding-right:var(--%NS%app-padding-x-2xl)}.p-t-2xl[_ngcontent-%COMP%]{padding-top:var(--%NS%app-padding-y-2xl)}.p-b-2xl[_ngcontent-%COMP%]{padding-bottom:var(--%NS%app-padding-y-2xl)}.p-l-2xl[_ngcontent-%COMP%]{padding-left:var(--%NS%app-padding-x-2xl)}.p-r-2xl[_ngcontent-%COMP%]{padding-right:var(--%NS%app-padding-x-2xl)}.p-3xl[_ngcontent-%COMP%]{padding-top:var(--%NS%app-padding-y-3xl);padding-bottom:var(--%NS%app-padding-y-3xl);padding-left:var(--%NS%app-padding-x-3xl);padding-right:var(--%NS%app-padding-x-3xl)}.p-v-3xl[_ngcontent-%COMP%]{padding-top:var(--%NS%app-padding-y-3xl);padding-bottom:var(--%NS%app-padding-y-3xl)}.p-h-3xl[_ngcontent-%COMP%]{padding-left:var(--%NS%app-padding-x-3xl);padding-right:var(--%NS%app-padding-x-3xl)}.p-t-3xl[_ngcontent-%COMP%]{padding-top:var(--%NS%app-padding-y-3xl)}.p-b-3xl[_ngcontent-%COMP%]{padding-bottom:var(--%NS%app-padding-y-3xl)}.p-l-3xl[_ngcontent-%COMP%]{padding-left:var(--%NS%app-padding-x-3xl)}.p-r-3xl[_ngcontent-%COMP%]{padding-right:var(--%NS%app-padding-x-3xl)}.p-n[_ngcontent-%COMP%]{padding:0!important}.p-v-n[_ngcontent-%COMP%]{padding-top:0!important;padding-bottom:0!important}.p-h-n[_ngcontent-%COMP%]{padding-left:0!important;padding-right:0!important}.p-t-n[_ngcontent-%COMP%]{padding-top:0!important}.p-b-n[_ngcontent-%COMP%]{padding-bottom:0!important}.p-l-n[_ngcontent-%COMP%]{padding-left:0!important}.p-r-n[_ngcontent-%COMP%]{padding-right:0!important}.p-unset[_ngcontent-%COMP%]{padding-top:unset;padding-bottom:unset;padding-left:unset;padding-right:unset}.p-v-unset[_ngcontent-%COMP%]{padding-top:unset;padding-bottom:unset}.p-h-unset[_ngcontent-%COMP%]{padding-left:unset;padding-right:unset}.p-t-unset[_ngcontent-%COMP%]{padding-top:unset}.p-b-unset[_ngcontent-%COMP%]{padding-bottom:unset}.p-l-unset[_ngcontent-%COMP%]{padding-left:unset}.p-r-unset[_ngcontent-%COMP%]{padding-right:unset}.m-2xs[_ngcontent-%COMP%]{margin-top:var(--%NS%app-margin-y-2xs);margin-bottom:var(--%NS%app-margin-y-2xs);margin-left:var(--%NS%app-margin-x-2xs);margin-right:var(--%NS%app-margin-x-2xs)}.m-v-2xs[_ngcontent-%COMP%]{margin-top:var(--%NS%app-margin-y-2xs);margin-bottom:var(--%NS%app-margin-y-2xs)}.m-h-2xs[_ngcontent-%COMP%]{margin-left:var(--%NS%app-margin-x-2xs);margin-right:var(--%NS%app-margin-x-2xs)}.m-t-2xs[_ngcontent-%COMP%]{margin-top:var(--%NS%app-margin-y-2xs)}.m-b-2xs[_ngcontent-%COMP%]{margin-bottom:var(--%NS%app-margin-y-2xs)}.m-l-2xs[_ngcontent-%COMP%]{margin-left:var(--%NS%app-margin-x-2xs)}.m-r-2xs[_ngcontent-%COMP%]{margin-right:var(--%NS%app-margin-x-2xs)}.m-xs[_ngcontent-%COMP%]{margin-top:var(--%NS%app-margin-y-xs);margin-bottom:var(--%NS%app-margin-y-xs);margin-left:var(--%NS%app-margin-x-xs);margin-right:var(--%NS%app-margin-x-xs)}.m-v-xs[_ngcontent-%COMP%]{margin-top:var(--%NS%app-margin-y-xs);margin-bottom:var(--%NS%app-margin-y-xs)}.m-h-xs[_ngcontent-%COMP%]{margin-left:var(--%NS%app-margin-x-xs);margin-right:var(--%NS%app-margin-x-xs)}
1128.m-t-xs[_ngcontent-%COMP%]{margin-top:var(--%NS%app-margin-y-xs)}.m-b-xs[_ngcontent-%COMP%]{margin-bottom:var(--%NS%app-margin-y-xs)}.m-l-xs[_ngcontent-%COMP%]{margin-left:var(--%NS%app-margin-x-xs)}.m-r-xs[_ngcontent-%COMP%]{margin-right:var(--%NS%app-margin-x-xs)}.m-sm[_ngcontent-%COMP%]{margin-top:var(--%NS%app-margin-y-sm);margin-bottom:var(--%NS%app-margin-y-sm);margin-left:var(--%NS%app-margin-x-sm);margin-right:var(--%NS%app-margin-x-sm)}.m-v-sm[_ngcontent-%COMP%]{margin-top:var(--%NS%app-margin-y-sm);margin-bottom:var(--%NS%app-margin-y-sm)}.m-h-sm[_ngcontent-%COMP%]{margin-left:var(--%NS%app-margin-x-sm);margin-right:var(--%NS%app-margin-x-sm)}.m-t-sm[_ngcontent-%COMP%]{margin-top:var(--%NS%app-margin-y-sm)}.m-b-sm[_ngcontent-%COMP%]{margin-bottom:var(--%NS%app-margin-y-sm)}.m-l-sm[_ngcontent-%COMP%]{margin-left:var(--%NS%app-margin-x-sm)}.m-r-sm[_ngcontent-%COMP%]{margin-right:var(--%NS%app-margin-x-sm)}.m-md[_ngcontent-%COMP%]{margin-top:var(--%NS%app-margin-y-md);margin-bottom:var(--%NS%app-margin-y-md);margin-left:var(--%NS%app-margin-x-md);margin-right:var(--%NS%app-margin-x-md)}.m-v-md[_ngcontent-%COMP%]{margin-top:var(--%NS%app-margin-y-md);margin-bottom:var(--%NS%app-margin-y-md)}.m-h-md[_ngcontent-%COMP%]{margin-left:var(--%NS%app-margin-x-md);margin-right:var(--%NS%app-margin-x-md)}.m-t-md[_ngcontent-%COMP%]{margin-top:var(--%NS%app-margin-y-md)}.m-b-md[_ngcontent-%COMP%]{margin-bottom:var(--%NS%app-margin-y-md)}.m-l-md[_ngcontent-%COMP%]{margin-left:var(--%NS%app-margin-x-md)}.m-r-md[_ngcontent-%COMP%]{margin-right:var(--%NS%app-margin-x-md)}.m-lg[_ngcontent-%COMP%]{margin-top:var(--%NS%app-margin-y-lg);margin-bottom:var(--%NS%app-margin-y-lg);margin-left:var(--%NS%app-margin-x-lg);margin-right:var(--%NS%app-margin-x-lg)}.m-v-lg[_ngcontent-%COMP%]{margin-top:var(--%NS%app-margin-y-lg);margin-bottom:var(--%NS%app-margin-y-lg)}.m-h-lg[_ngcontent-%COMP%]{margin-left:var(--%NS%app-margin-x-lg);margin-right:var(--%NS%app-margin-x-lg)}.m-t-lg[_ngcontent-%COMP%]{margin-top:var(--%NS%app-margin-y-lg)}.m-b-lg[_ngcontent-%COMP%]{margin-bottom:var(--%NS%app-margin-y-lg)}.m-l-lg[_ngcontent-%COMP%]{margin-left:var(--%NS%app-margin-x-lg)}.m-r-lg[_ngcontent-%COMP%]{margin-right:var(--%NS%app-margin-x-lg)}.m-xl[_ngcontent-%COMP%]{margin-top:var(--%NS%app-margin-y-xl);margin-bottom:var(--%NS%app-margin-y-xl);margin-left:var(--%NS%app-margin-x-xl);margin-right:var(--%NS%app-margin-x-xl)}.m-v-xl[_ngcontent-%COMP%]{margin-top:var(--%NS%app-margin-y-xl);margin-bottom:var(--%NS%app-margin-y-xl)}.m-h-xl[_ngcontent-%COMP%]{margin-left:var(--%NS%app-margin-x-xl);margin-right:var(--%NS%app-margin-x-xl)}.m-t-xl[_ngcontent-%COMP%]{margin-top:var(--%NS%app-margin-y-xl)}.m-b-xl[_ngcontent-%COMP%]{margin-bottom:var(--%NS%app-margin-y-xl)}.m-l-xl[_ngcontent-%COMP%]{margin-left:var(--%NS%app-margin-x-xl)}.m-r-xl[_ngcontent-%COMP%]{margin-right:var(--%NS%app-margin-x-xl)}.m-2xl[_ngcontent-%COMP%]{margin-top:var(--%NS%app-margin-y-2xl);margin-bottom:var(--%NS%app-margin-y-2xl);margin-left:var(--%NS%app-margin-x-2xl);margin-right:var(--%NS%app-margin-x-2xl)}.m-v-2xl[_ngcontent-%COMP%]{margin-top:var(--%NS%app-margin-y-2xl);margin-bottom:var(--%NS%app-margin-y-2xl)}.m-h-2xl[_ngcontent-%COMP%]{margin-left:var(--%NS%app-margin-x-2xl);margin-right:var(--%NS%app-margin-x-2xl)}.m-t-2xl[_ngcontent-%COMP%]{margin-top:var(--%NS%app-margin-y-2xl)}.m-b-2xl[_ngcontent-%COMP%]{margin-bottom:var(--%NS%app-margin-y-2xl)}.m-l-2xl[_ngcontent-%COMP%]{margin-left:var(--%NS%app-margin-x-2xl)}.m-r-2xl[_ngcontent-%COMP%]{margin-right:var(--%NS%app-margin-x-2xl)}.m-3xl[_ngcontent-%COMP%]{margin-top:var(--%NS%app-margin-y-3xl);margin-bottom:var(--%NS%app-margin-y-3xl);margin-left:var(--%NS%app-margin-x-3xl);margin-right:var(--%NS%app-margin-x-3xl)}.m-v-3xl[_ngcontent-%COMP%]{margin-top:var(--%NS%app-margin-y-3xl);margin-bottom:var(--%NS%app-margin-y-3xl)}.m-h-3xl[_ngcontent-%COMP%]{margin-left:var(--%NS%app-margin-x-3xl);margin-right:var(--%NS%app-margin-x-3xl)}.m-t-3xl[_ngcontent-%COMP%]{margin-top:var(--%NS%app-margin-y-3xl)}.m-b-3xl[_ngcontent-%COMP%]{margin-bottom:var(--%NS%app-margin-y-3xl)}.m-l-3xl[_ngcontent-%COMP%]{margin-left:var(--%NS%app-margin-x-3xl)}.m-r-3xl[_ngcontent-%COMP%]{margin-right:var(--%NS%app-margin-x-3xl)}.m-n[_ngcontent-%COMP%]{margin:0!important}.m-v-n[_ngcontent-%COMP%]{margin-top:0!important;margin-bottom:0!important}.m-h-n[_ngcontent-%COMP%]{margin-left:0!important;margin-right:0!important}.m-t-n[_ngcontent-%COMP%]{margin-top:0!important}.m-b-n[_ngcontent-%COMP%]{margin-bottom:0!important}.m-l-n[_ngcontent-%COMP%]{margin-left:0!important}.m-r-n[_ngcontent-%COMP%]{margin-right:0!important}.m-auto[_ngcontent-%COMP%]{margin:auto}.m-v-auto[_ngcontent-%COMP%]{margin-top:auto;margin-bottom:auto}.m-h-auto[_ngcontent-%COMP%]{margin-left:auto;margin-right:auto}.m-t-auto[_ngcontent-%COMP%]{margin-top:auto}.m-b-auto[_ngcontent-%COMP%]{margin-bottom:auto}.m-l-auto[_ngcontent-%COMP%]{margin-left:auto}.m-r-auto[_ngcontent-%COMP%]{margin-right:auto}.m-unset[_ngcontent-%COMP%]{margin-top:unset;margin-bottom:unset;margin-left:unset;margin-right:unset}.m-v-unset[_ngcontent-%COMP%]{margin-top:unset;margin-bottom:unset}.m-h-unset[_ngcontent-%COMP%]{margin-left:unset;margin-right:unset}.m-t-unset[_ngcontent-%COMP%]{margin-top:unset}.m-b-unset[_ngcontent-%COMP%]{margin-bottom:unset}.m-l-unset[_ngcontent-%COMP%]{margin-left:unset}.m-r-unset[_ngcontent-%COMP%]{margin-right:unset}.flex-gap[_ngcontent-%COMP%]{gap:calc(20px * var(--%NS%app-size-ratio))}.flex-align-center[_ngcontent-%COMP%]{align-items:center;justify-content:center}.flex-container-row[_ngcontent-%COMP%]{display:flex;flex-direction:row;box-sizing:border-box}.flex-container-column[_ngcontent-%COMP%]{display:flex;flex-direction:column;box-sizing:border-box}.flex-item-grow[_ngcontent-%COMP%]{flex:1 0 auto}.flex-item-initial[_ngcontent-%COMP%]{flex:0 1 auto}.flex-item-available-height[_ngcontent-%COMP%]{flex:1 0 auto;height:1%}.options[_ngcontent-%COMP%]{display:flex;flex-direction:row;box-sizing:border-box;align-items:center;justify-content:center;background:var(--%NS%app-background-color-selected);padding-top:var(--%NS%app-padding-y-xs);padding-bottom:var(--%NS%app-padding-y-xs);padding-left:var(--%NS%app-padding-x-xs);padding-right:var(--%NS%app-padding-x-xs)}.options[_ngcontent-%COMP%]:empty{display:none}.diff-navigation-button[_ngcontent-%COMP%]{width:calc(30px * var(--%NS%app-size-ratio));height:calc(30px * var(--%NS%app-size-ratio));line-height:calc(30px * var(--%NS%app-size-ratio))}.diff-navigation-button[_ngcontent-%COMP%]   lib-icon[_ngcontent-%COMP%]{--%NS%mat-icon-button-icon-size: calc(20px * var(--%NS%app-size-ratio))}.diff-navigation-button[_ngcontent-%COMP%]   lib-icon.change-mode[_ngcontent-%COMP%]{--%NS%fa-secondary-opacity: .7;--%NS%fa-primary-color: var(--%NS%app-color-warn);--%NS%fa-secondary-color: var(--%NS%app-color-success)}`]})}}return n})();var it$1=(()=>{class n extends ho{constructor(){super(...arguments),this.editor=BH.required(Ye),this.changeModeIcon=new e$6().icon(g9).transform(`shrink-1`).build(),this.changeModeMode=`split`}ngAfterViewInit(){this._loadIsFormatted(),this._listenDiffChanges(),this._setFocusHandlers(this.editor())}_updateEditor(o){this._resetData(),!(!o||!this.editor())&&(this._removeMarkers(this.editor().editor.session),this.editor().value.set(`Loading...`),this._doUpdateEditorInWebWorker(this._getFormattedDiff(o)))}_handleDiffResultInWebWorkerIfPossible(o){this.isMultiLine.set(o.isMultiline);let a=o.diffs,t=this.editor().editor.session,e=[],c=[],p=a.map(i=>i[1]).join(``);this.isMultiLine()?this._changesToRangesMultiLine(a,e,c):this._changesToRangesWords(a,e,c),this.editor().value.set(p),e.forEach(i=>
1128t.addMarker(i,fo,this._rangeToType(i))),c.forEach(i=>t.addMarker(i,no$1,this._rangeToType(i))),this.markers.set(Object.values(t.getMarkers()||{}).sort((i,l)=>{let s=i.range,d=l.range;return s.start.row+s.start.column-(d.start.row+d.start.column)})),this.goToNextMarker()}_changesToRangesMultiLine(o,a,t){let e=0;o.forEach(c=>{let p=q.countLines(c[1])-1,i=e,l=i+Math.max(0,p-1);c[0]>0&&a.push(new to.Range(i,0,l,1)),c[0]<0&&t.push(new to.Range(i,0,l,1)),e+=p})}_changesToRangesWords(o,a,t){let e=0;o.forEach(c=>{let p=c[1].length;c[0]>0&&a.push(new to.Range(0,e,0,e+p)),c[0]<0&&t.push(new to.Range(0,e,0,e+p)),e+=p})}goToNextMarker(){if(!this.markers().length||!this.isMultiLine())return;let o=this.currentMarkerIndex()+1;o>=this.markers().length&&(o=0),this._updateCurrentMarker(o),this.editor().editor.focus()}goToPreviousMarker(){if(!this.markers().length||!this.isMultiLine())return;let o=this.currentMarkerIndex()-1;o<0&&(o=this.markers().length-1),this._updateCurrentMarker(o),this.editor().editor.focus()}_scrollToRange(o){this.editor().editor.scrollToLine(o.start.row,!0,!0,K$4)}isSplitCodeDiff(){return!1}find(o,a={caseSensitive:!1},t){return this.editor().find(o,a,t)}static{this.ɵfac=(()=>{let o;return function(t){return(o||(o=Xv(n)))(t||n)}})()}static{this.ɵcmp=bb({type:n,selectors:[[`lib-unified-code-diff`,`diff`,``]],viewQuery:function(a,t){a&1&&Dm$1(t.editor,Ye,5),a&2&&ww()},features:[Xh],decls:2,vars:16,consts:[[1,`options`,`m-r`,3,`changeMode`,`expand`,`goToNextMarker`,`goToPreviousMarker`,`switchFormatted`,`changeModeIcon`,`changeModeMode`,`changeModeTitle`,`currentMarkerIndex`,`focused`,`isFormatSupported`,`isFormatted`,`isInDialog`,`isMultiLine`,`leftAndRightTheSame`,`markers`],[3,`enableBasicAutoCompletion`,`lineWrap`,`mode`,`scrollToBottomOnInit`,`readonly`]],template:function(a,t){a&1&&(Zi$1(0,`lib-code-diff-menu`,0),mm$1(`changeMode`,function(c){return t.changeMode(c)})(`expand`,function(){return t.openInDialog()})(`goToNextMarker`,function(){return t.goToNextMarker()})(`goToPreviousMarker`,function(){return t.goToPreviousMarker()})(`switchFormatted`,function(){return t.switchFormatted()}),xl$1(),lm$1(1,`lib-code-editor`,1)),a&2&&(cm$1(`changeModeIcon`,t.changeModeIcon)(`changeModeMode`,t.changeModeMode)(`changeModeTitle`,`Enable split code diff`)(`currentMarkerIndex`,t.currentMarkerIndex())(`focused`,t.focused())(`isFormatSupported`,t.isFormatSupported())(`isFormatted`,t.isFormatted())(`isInDialog`,t.isInDialog())(`isMultiLine`,t.isMultiLine())(`leftAndRightTheSame`,t.leftAndRightTheSame())(`markers`,t.markers()),zE(),cm$1(`enableBasicAutoCompletion`,!1)(`lineWrap`,!t.isMultiLine())(`mode`,t.mode())(`scrollToBottomOnInit`,!1)(`readonly`,!0))},dependencies:[mo,Ye],styles:[`.absolute-filler[_ngcontent-%COMP%]{position:absolute;inset:0}.block-filler[_ngcontent-%COMP%]{display:block;width:100%;height:100%;box-sizing:border-box}.block-filler-x[_ngcontent-%COMP%]{display:block;width:100%}.block-filler-y[_ngcontent-%COMP%]{display:block;height:100%}.full-height[_ngcontent-%COMP%]{height:100%}.full-width[_ngcontent-%COMP%]{width:100%}[_ngcontent-%COMP%]:root{--%NS%app-font-family: OctoPerf;--%NS%app-size-ratio: .9;--%NS%app-font-size-2xs: calc(8px * var(--%NS%app-size-ratio));--%NS%app-font-size-xs: calc(10px * var(--%NS%app-size-ratio));--%NS%app-font-size-sm: calc(12px * var(--%NS%app-size-ratio));--%NS%app-font-size: calc(14px * var(--%NS%app-size-ratio));--%NS%app-font-size-lg: calc(16px * var(--%NS%app-size-ratio));--%NS%app-font-size-xl: calc(20px * var(--%NS%app-size-ratio));--%NS%app-font-size-2xl: calc(24px * var(--%NS%app-size-ratio));--%NS%app-font-size-3xl: calc(34px * var(--%NS%app-size-ratio));--%NS%app-font-size-4xl: calc(48px * var(--%NS%app-size-ratio));--%NS%app-font-size-5xl: calc(60px * var(--%NS%app-size-ratio));--%NS%app-font-size-6xl: calc(96px * var(--%NS%app-size-ratio));--%NS%app-line-height-2xs: calc(8px * var(--%NS%app-size-ratio));--%NS%app-line-height-xs: calc(10px * var(--%NS%app-size-ratio));--%NS%app-line-height-sm: calc(12px * var(--%NS%app-size-ratio));--%NS%app-line-height: calc(20px * var(--%NS%app-size-ratio));--%NS%app-line-height-lg: calc(22px * var(--%NS%app-size-ratio));--%NS%app-line-height-xl: calc(28px * var(--%NS%app-size-ratio));--%NS%app-line-height-2xl: calc(32px * var(--%NS%app-size-ratio));--%NS%app-line-height-3xl: calc(40px * var(--%NS%app-size-ratio));--%NS%app-line-height-4xl: calc(50px * var(--%NS%app-size-ratio));--%NS%app-line-height-5xl: calc(60px * var(--%NS%app-size-ratio));--%NS%app-line-height-6xl: calc(96px * var(--%NS%app-size-ratio));--%NS%app-margin-x-2xs: calc(4px * var(--%NS%app-size-ratio));--%NS%app-margin-y-2xs: calc(3px * var(--%NS%app-size-ratio));--%NS%app-margin-x-xs: calc(6px * var(--%NS%app-size-ratio));--%NS%app-margin-y-xs: calc(4px * var(--%NS%app-size-ratio));--%NS%app-margin-x-sm: calc(12px * var(--%NS%app-size-ratio));--%NS%app-margin-y-sm: calc(6px * var(--%NS%app-size-ratio));--%NS%app-margin-x-md: calc(20px * var(--%NS%app-size-ratio));--%NS%app-margin-y-md: calc(12px * var(--%NS%app-size-ratio));--%NS%app-margin-x-lg: calc(28px * var(--%NS%app-size-ratio));--%NS%app-margin-y-lg: calc(20px * var(--%NS%app-size-ratio));--%NS%app-margin-x-xl: calc(34px * var(--%NS%app-size-ratio));--%NS%app-margin-y-xl: calc(28px * var(--%NS%app-size-ratio));--%NS%app-margin-x-2xl: calc(40px * var(--%NS%app-size-ratio));--%NS%app-margin-y-2xl: calc(34px * var(--%NS%app-size-ratio));--%NS%app-margin-x-3xl: calc(48px * var(--%NS%app-size-ratio));--%NS%app-margin-y-3xl: calc(42px * var(--%NS%app-size-ratio));--%NS%app-padding-x-2xs: calc(4px * var(--%NS%app-size-ratio));--%NS%app-padding-y-2xs: calc(3px * var(--%NS%app-size-ratio));--%NS%app-padding-x-xs: calc(6px * var(--%NS%app-size-ratio));--%NS%app-padding-y-xs: calc(4px * var(--%NS%app-size-ratio));--%NS%app-padding-x-sm: calc(12px * var(--%NS%app-size-ratio));--%NS%app-padding-y-sm: calc(6px * var(--%NS%app-size-ratio));--%NS%app-padding-x-md: calc(20px * var(--%NS%app-size-ratio));--%NS%app-padding-y-md: calc(12px * var(--%NS%app-size-ratio));--%NS%app-padding-x-lg: calc(28px * var(--%NS%app-size-ratio));--%NS%app-padding-y-lg: calc(20px * var(--%NS%app-size-ratio));--%NS%app-padding-x-xl: calc(34px * var(--%NS%app-size-ratio));--%NS%app-padding-y-xl: calc(28px * var(--%NS%app-size-ratio));--%NS%app-padding-x-2xl: calc(40px * var(--%NS%app-size-ratio));--%NS%app-padding-y-2xl: calc(34px * var(--%NS%app-size-ratio));--%NS%app-padding-x-3xl: calc(48px * var(--%NS%app-size-ratio));--%NS%app-padding-y-3xl: calc(42px * var(--%NS%app-size-ratio));--%NS%app-font-weight: 400;--%NS%app-font-weight-bold: bold;--%NS%app-font-weight-thin: 300;--%NS%app-border-width: 1px;--%NS%app-border: 1px solid var(--%NS%app-border-color);--%NS%app-border-highlight: 1px solid var(--%NS%app-border-highlight-color);--%NS%app-border-radius: 4px;--%NS%app-sort-header-arrow-width: calc(18px * var(--%NS%app-size-ratio));--%NS%app-icon-button-size: calc(28px * var(--%NS%app-size-ratio));--%NS%app-icon-button-font-size: calc(18px * var(--%NS%app-size-ratio));--%NS%app-tabs-header-default-height: calc(32px * var(--%NS%app-size-ratio));--%NS%app-button-default-height: calc(24px * var(--%NS%app-size-ratio));--%NS%app-input-default-height: calc(24px * var(--%NS%app-size-ratio));
1128--%NS%app-lib-form-field-height: calc(36px * var(--%NS%app-size-ratio));--%NS%app-tile-opacity: .7}.fill-base[_ngcontent-%COMP%]{fill:var(--%NS%app-background-color-base)}.background-base[_ngcontent-%COMP%]{background-color:var(--%NS%app-background-color-base)}.fill-forced-base[_ngcontent-%COMP%]{fill:var(--%NS%app-background-color-base)!important}.background-forced-base[_ngcontent-%COMP%]{background-color:var(--%NS%app-background-color-base)!important}.fill-white[_ngcontent-%COMP%]{fill:#fff}.background-white[_ngcontent-%COMP%]{background-color:#fff}.fill-forced-white[_ngcontent-%COMP%]{fill:#fff!important}.background-forced-white[_ngcontent-%COMP%]{background-color:#fff!important}.fill-form[_ngcontent-%COMP%]{fill:var(--%NS%app-background-color-form)}.background-form[_ngcontent-%COMP%]{background-color:var(--%NS%app-background-color-form)}.fill-forced-form[_ngcontent-%COMP%]{fill:var(--%NS%app-background-color-form)!important}.background-forced-form[_ngcontent-%COMP%]{background-color:var(--%NS%app-background-color-form)!important}.fill-hover[_ngcontent-%COMP%]{fill:var(--%NS%app-background-color-hover)}.background-hover[_ngcontent-%COMP%]{background-color:var(--%NS%app-background-color-hover)}.fill-forced-hover[_ngcontent-%COMP%]{fill:var(--%NS%app-background-color-hover)!important}.background-forced-hover[_ngcontent-%COMP%]{background-color:var(--%NS%app-background-color-hover)!important}.fill-unset[_ngcontent-%COMP%]{fill:unset}.background-unset[_ngcontent-%COMP%]{background-color:unset}.fill-forced-unset[_ngcontent-%COMP%]{fill:unset!important}.background-forced-unset[_ngcontent-%COMP%]{background-color:unset!important}.fill-inherit[_ngcontent-%COMP%]{fill:inherit}.background-inherit[_ngcontent-%COMP%]{background-color:inherit}.fill-forced-inherit[_ngcontent-%COMP%]{fill:inherit!important}.background-forced-inherit[_ngcontent-%COMP%]{background-color:inherit!important}.fill-foreground[_ngcontent-%COMP%]{fill:var(--%NS%app-foreground-color-base)}.background-foreground[_ngcontent-%COMP%]{background-color:var(--%NS%app-foreground-color-base)}.fill-forced-foreground[_ngcontent-%COMP%]{fill:var(--%NS%app-foreground-color-base)!important}.background-forced-foreground[_ngcontent-%COMP%]{background-color:var(--%NS%app-foreground-color-base)!important}.fill-bis[_ngcontent-%COMP%]{fill:var(--%NS%app-background-color-bis)}.background-bis[_ngcontent-%COMP%]{background-color:var(--%NS%app-background-color-bis)}.fill-forced-bis[_ngcontent-%COMP%]{fill:var(--%NS%app-background-color-bis)!important}.background-forced-bis[_ngcontent-%COMP%]{background-color:var(--%NS%app-background-color-bis)!important}.fill-ter[_ngcontent-%COMP%]{fill:var(--%NS%app-background-color-ter)}.background-ter[_ngcontent-%COMP%]{background-color:var(--%NS%app-background-color-ter)}.fill-forced-ter[_ngcontent-%COMP%]{fill:var(--%NS%app-background-color-ter)!important}.background-forced-ter[_ngcontent-%COMP%]{background-color:var(--%NS%app-background-color-ter)!important}.fill-table-even[_ngcontent-%COMP%]{fill:var(--%NS%app-background-color-table-even)}.background-table-even[_ngcontent-%COMP%]{background-color:var(--%NS%app-background-color-table-even)}.fill-forced-table-even[_ngcontent-%COMP%]{fill:var(--%NS%app-background-color-table-even)!important}.background-forced-table-even[_ngcontent-%COMP%]{background-color:var(--%NS%app-background-color-table-even)!important}.fill-selected[_ngcontent-%COMP%]{fill:var(--%NS%app-background-color-selected)}.background-selected[_ngcontent-%COMP%]{background-color:var(--%NS%app-background-color-selected)}.fill-forced-selected[_ngcontent-%COMP%]{fill:var(--%NS%app-background-color-selected)!important}.background-forced-selected[_ngcontent-%COMP%]{background-color:var(--%NS%app-background-color-selected)!important}.fill-selected-darker[_ngcontent-%COMP%]{fill:var(--%NS%app-background-color-selected-darker)}.background-selected-darker[_ngcontent-%COMP%]{background-color:var(--%NS%app-background-color-selected-darker)}.fill-forced-selected-darker[_ngcontent-%COMP%]{fill:var(--%NS%app-background-color-selected-darker)!important}.background-forced-selected-darker[_ngcontent-%COMP%]{background-color:var(--%NS%app-background-color-selected-darker)!important}
1128.fill-info[_ngcontent-%COMP%]{fill:var(--%NS%app-color-info)}.background-info[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-info)}.fill-forced-info[_ngcontent-%COMP%]{fill:var(--%NS%app-color-info)!important}.background-forced-info[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-info)!important}.fill-warn[_ngcontent-%COMP%]{fill:var(--%NS%app-color-warn)}.background-warn[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-warn)}.fill-forced-warn[_ngcontent-%COMP%]{fill:var(--%NS%app-color-warn)!important}.background-forced-warn[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-warn)!important}.fill-error[_ngcontent-%COMP%]{fill:var(--%NS%app-color-error)}.background-error[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-error)}.fill-forced-error[_ngcontent-%COMP%]{fill:var(--%NS%app-color-error)!important}.background-forced-error[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-error)!important}.fill-primary[_ngcontent-%COMP%]{fill:var(--%NS%app-color-primary)}.background-primary[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-primary)}.fill-forced-primary[_ngcontent-%COMP%]{fill:var(--%NS%app-color-primary)!important}.background-forced-primary[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-primary)!important}.fill-secondary[_ngcontent-%COMP%]{fill:var(--%NS%app-color-secondary)}.background-secondary[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-secondary)}.fill-forced-secondary[_ngcontent-%COMP%]{fill:var(--%NS%app-color-secondary)!important}.background-forced-secondary[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-secondary)!important}.fill-success[_ngcontent-%COMP%]{fill:var(--%NS%app-color-success)}.background-success[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-success)}.fill-forced-success[_ngcontent-%COMP%]{fill:var(--%NS%app-color-success)!important}.background-forced-success[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-success)!important}.fill-accent[_ngcontent-%COMP%]{fill:var(--%NS%app-color-accent)}.background-accent[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-accent)}.fill-forced-accent[_ngcontent-%COMP%]{fill:var(--%NS%app-color-accent)!important}.background-forced-accent[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-accent)!important}.fill-info-alpha[_ngcontent-%COMP%]{fill:var(--%NS%app-color-info-alpha)}.background-info-alpha[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-info-alpha)}.fill-forced-info-alpha[_ngcontent-%COMP%]{fill:var(--%NS%app-color-info-alpha)!important}.background-forced-info-alpha[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-info-alpha)!important}.fill-warn-alpha[_ngcontent-%COMP%]{fill:var(--%NS%app-color-warn-alpha)}.background-warn-alpha[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-warn-alpha)}.fill-forced-warn-alpha[_ngcontent-%COMP%]{fill:var(--%NS%app-color-warn-alpha)!important}.background-forced-warn-alpha[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-warn-alpha)!important}.fill-error-alpha[_ngcontent-%COMP%]{fill:var(--%NS%app-color-error-alpha)}.background-error-alpha[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-error-alpha)}.fill-forced-error-alpha[_ngcontent-%COMP%]{fill:var(--%NS%app-color-error-alpha)!important}.background-forced-error-alpha[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-error-alpha)!important}.fill-primary-alpha[_ngcontent-%COMP%]{fill:var(--%NS%app-color-primary-alpha)}.background-primary-alpha[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-primary-alpha)}.fill-forced-primary-alpha[_ngcontent-%COMP%]{fill:var(--%NS%app-color-primary-alpha)!important}.background-forced-primary-alpha[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-primary-alpha)!important}.fill-secondary-alpha[_ngcontent-%COMP%]{fill:var(--%NS%app-color-secondary-alpha)}.background-secondary-alpha[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-secondary-alpha)}.fill-forced-secondary-alpha[_ngcontent-%COMP%]{fill:var(--%NS%app-color-secondary-alpha)!important}.background-forced-secondary-alpha[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-secondary-alpha)!important}
1128.fill-success-alpha[_ngcontent-%COMP%]{fill:var(--%NS%app-color-success-alpha)}.background-success-alpha[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-success-alpha)}.fill-forced-success-alpha[_ngcontent-%COMP%]{fill:var(--%NS%app-color-success-alpha)!important}.background-forced-success-alpha[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-success-alpha)!important}.fill-accent-alpha[_ngcontent-%COMP%]{fill:var(--%NS%app-color-accent-alpha)}.background-accent-alpha[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-accent-alpha)}.fill-forced-accent-alpha[_ngcontent-%COMP%]{fill:var(--%NS%app-color-accent-alpha)!important}.background-forced-accent-alpha[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-accent-alpha)!important}.fill-administration[_ngcontent-%COMP%]{fill:var(--%NS%app-color-administration)}.background-administration[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-administration)}.fill-forced-administration[_ngcontent-%COMP%]{fill:var(--%NS%app-color-administration)!important}.background-forced-administration[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-administration)!important}.fill-workspace[_ngcontent-%COMP%]{fill:var(--%NS%app-color-workspace)}.background-workspace[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-workspace)}.fill-forced-workspace[_ngcontent-%COMP%]{fill:var(--%NS%app-color-workspace)!important}.background-forced-workspace[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-workspace)!important}.fill-project[_ngcontent-%COMP%]{fill:var(--%NS%app-color-project)}.background-project[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-project)}.fill-forced-project[_ngcontent-%COMP%]{fill:var(--%NS%app-color-project)!important}.background-forced-project[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-project)!important}.fill-design[_ngcontent-%COMP%]{fill:var(--%NS%app-color-design)}.background-design[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-design)}.fill-forced-design[_ngcontent-%COMP%]{fill:var(--%NS%app-color-design)!important}.background-forced-design[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-design)!important}.fill-runtime[_ngcontent-%COMP%]{fill:var(--%NS%app-color-runtime)}.background-runtime[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-runtime)}.fill-forced-runtime[_ngcontent-%COMP%]{fill:var(--%NS%app-color-runtime)!important}.background-forced-runtime[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-runtime)!important}.fill-analysis[_ngcontent-%COMP%]{fill:var(--%NS%app-color-analysis)}.background-analysis[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-analysis)}.fill-forced-analysis[_ngcontent-%COMP%]{fill:var(--%NS%app-color-analysis)!important}.background-forced-analysis[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-analysis)!important}.fill-context[_ngcontent-%COMP%]{fill:var(--%NS%app-color-context)}.background-context[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-context)}.fill-forced-context[_ngcontent-%COMP%]{fill:var(--%NS%app-color-context)!important}.background-forced-context[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-context)!important}.fill-administration-alpha[_ngcontent-%COMP%]{fill:var(--%NS%app-color-administration-alpha)}.background-administration-alpha[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-administration-alpha)}.fill-forced-administration-alpha[_ngcontent-%COMP%]{fill:var(--%NS%app-color-administration-alpha)!important}.background-forced-administration-alpha[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-administration-alpha)!important}.fill-workspace-alpha[_ngcontent-%COMP%]{fill:var(--%NS%app-color-workspace-alpha)}.background-workspace-alpha[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-workspace-alpha)}.fill-forced-workspace-alpha[_ngcontent-%COMP%]{fill:var(--%NS%app-color-workspace-alpha)!important}.background-forced-workspace-alpha[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-workspace-alpha)!important}.fill-project-alpha[_ngcontent-%COMP%]{fill:var(--%NS%app-color-project-alpha)}.background-project-alpha[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-project-alpha)}
1128.fill-forced-project-alpha[_ngcontent-%COMP%]{fill:var(--%NS%app-color-project-alpha)!important}.background-forced-project-alpha[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-project-alpha)!important}.fill-design-alpha[_ngcontent-%COMP%]{fill:var(--%NS%app-color-design-alpha)}.background-design-alpha[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-design-alpha)}.fill-forced-design-alpha[_ngcontent-%COMP%]{fill:var(--%NS%app-color-design-alpha)!important}.background-forced-design-alpha[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-design-alpha)!important}.fill-runtime-alpha[_ngcontent-%COMP%]{fill:var(--%NS%app-color-runtime-alpha)}.background-runtime-alpha[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-runtime-alpha)}.fill-forced-runtime-alpha[_ngcontent-%COMP%]{fill:var(--%NS%app-color-runtime-alpha)!important}.background-forced-runtime-alpha[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-runtime-alpha)!important}.fill-analysis-alpha[_ngcontent-%COMP%]{fill:var(--%NS%app-color-analysis-alpha)}.background-analysis-alpha[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-analysis-alpha)}.fill-forced-analysis-alpha[_ngcontent-%COMP%]{fill:var(--%NS%app-color-analysis-alpha)!important}.background-forced-analysis-alpha[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-analysis-alpha)!important}.fill-context-alpha[_ngcontent-%COMP%]{fill:var(--%NS%app-color-context-alpha)}.background-context-alpha[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-context-alpha)}.fill-forced-context-alpha[_ngcontent-%COMP%]{fill:var(--%NS%app-color-context-alpha)!important}.background-forced-context-alpha[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-context-alpha)!important}.color-base[_ngcontent-%COMP%]{color:var(--%NS%app-foreground-color-base)}.color-forced-base[_ngcontent-%COMP%]{color:var(--%NS%app-foreground-color-base)!important}.color-white[_ngcontent-%COMP%]{color:#fff}.color-forced-white[_ngcontent-%COMP%]{color:#fff!important}.color-form[_ngcontent-%COMP%]{color:var(--%NS%app-foregrounf-color-form)}.color-forced-form[_ngcontent-%COMP%]{color:var(--%NS%app-foregrounf-color-form)!important}.color-hover[_ngcontent-%COMP%]{color:var(--%NS%app-foreground-color-muted)}.color-forced-hover[_ngcontent-%COMP%]{color:var(--%NS%app-foreground-color-muted)!important}.color-soft[_ngcontent-%COMP%]{color:var(--%NS%app-foreground-color-soft)}.color-forced-soft[_ngcontent-%COMP%]{color:var(--%NS%app-foreground-color-soft)!important}.color-muted[_ngcontent-%COMP%]{color:var(--%NS%app-foreground-color-muted)}.color-forced-muted[_ngcontent-%COMP%]{color:var(--%NS%app-foreground-color-muted)!important}.color-background[_ngcontent-%COMP%]{color:var(--%NS%app-background-color-base)}.color-forced-background[_ngcontent-%COMP%]{color:var(--%NS%app-background-color-base)!important}.color-unset[_ngcontent-%COMP%]{color:unset}.color-forced-unset[_ngcontent-%COMP%]{color:unset!important}.color-info[_ngcontent-%COMP%]{color:var(--%NS%app-color-info)}.color-forced-info[_ngcontent-%COMP%]{color:var(--%NS%app-color-info)!important}.color-warn[_ngcontent-%COMP%]{color:var(--%NS%app-color-warn)}.color-forced-warn[_ngcontent-%COMP%]{color:var(--%NS%app-color-warn)!important}.color-error[_ngcontent-%COMP%]{color:var(--%NS%app-color-error)}.color-forced-error[_ngcontent-%COMP%]{color:var(--%NS%app-color-error)!important}.color-primary[_ngcontent-%COMP%]{color:var(--%NS%app-color-primary)}.color-forced-primary[_ngcontent-%COMP%]{color:var(--%NS%app-color-primary)!important}.color-secondary[_ngcontent-%COMP%]{color:var(--%NS%app-color-secondary)}.color-forced-secondary[_ngcontent-%COMP%]{color:var(--%NS%app-color-secondary)!important}.color-success[_ngcontent-%COMP%]{color:var(--%NS%app-color-success)}.color-forced-success[_ngcontent-%COMP%]{color:var(--%NS%app-color-success)!important}.color-accent[_ngcontent-%COMP%]{color:var(--%NS%app-color-accent)}.color-forced-accent[_ngcontent-%COMP%]{color:var(--%NS%app-color-accent)!important}.color-info-alpha[_ngcontent-%COMP%]{color:var(--%NS%app-color-info-alpha)}.color-forced-info-alpha[_ngcontent-%COMP%]{color:var(--%NS%app-color-info-alpha)!important}.color-warn-alpha[_ngcontent-%COMP%]{color:var(--%NS%app-color-warn-alpha)}.color-forced-warn-alpha[_ngcontent-%COMP%]{color:var(--%NS%app-color-warn-alpha)!important}.color-error-alpha[_ngcontent-%COMP%]{color:var(--%NS%app-color-error-alpha)}.color-forced-error-alpha[_ngcontent-%COMP%]{color:var(--%NS%app-color-error-alpha)!important}.color-primary-alpha[_ngcontent-%COMP%]{color:var(--%NS%app-color-primary-alpha)}.color-forced-primary-alpha[_ngcontent-%COMP%]{color:var(--%NS%app-color-primary-alpha)!important}.color-secondary-alpha[_ngcontent-%COMP%]{color:var(--%NS%app-color-secondary-alpha)}.color-forced-secondary-alpha[_ngcontent-%COMP%]{color:var(--%NS%app-color-secondary-alpha)!important}.color-success-alpha[_ngcontent-%COMP%]{color:var(--%NS%app-color-success-alpha)}.color-forced-success-alpha[_ngcontent-%COMP%]{color:var(--%NS%app-color-success-alpha)!important}.color-accent-alpha[_ngcontent-%COMP%]{color:var(--%NS%app-color-accent-alpha)}.color-forced-accent-alpha[_ngcontent-%COMP%]{color:var(--%NS%app-color-accent-alpha)!important}.color-administration[_ngcontent-%COMP%]{color:var(--%NS%app-color-administration)}.color-forced-administration[_ngcontent-%COMP%]{color:var(--%NS%app-color-administration)!important}.color-workspace[_ngcontent-%COMP%]{color:var(--%NS%app-color-workspace)}.color-forced-workspace[_ngcontent-%COMP%]{color:var(--%NS%app-color-workspace)!important}.color-project[_ngcontent-%COMP%]{color:var(--%NS%app-color-project)}.color-forced-project[_ngcontent-%COMP%]{color:var(--%NS%app-color-project)!important}.color-design[_ngcontent-%COMP%]{color:var(--%NS%app-color-design)}.color-forced-design[_ngcontent-%COMP%]{color:var(--%NS%app-color-design)!important}
1128.color-runtime[_ngcontent-%COMP%]{color:var(--%NS%app-color-runtime)}.color-forced-runtime[_ngcontent-%COMP%]{color:var(--%NS%app-color-runtime)!important}.color-analysis[_ngcontent-%COMP%]{color:var(--%NS%app-color-analysis)}.color-forced-analysis[_ngcontent-%COMP%]{color:var(--%NS%app-color-analysis)!important}.color-context[_ngcontent-%COMP%]{color:var(--%NS%app-color-context)}.color-forced-context[_ngcontent-%COMP%]{color:var(--%NS%app-color-context)!important}.color-administration-alpha[_ngcontent-%COMP%]{color:var(--%NS%app-color-administration-alpha)}.color-forced-administration-alpha[_ngcontent-%COMP%]{color:var(--%NS%app-color-administration-alpha)!important}.color-workspace-alpha[_ngcontent-%COMP%]{color:var(--%NS%app-color-workspace-alpha)}.color-forced-workspace-alpha[_ngcontent-%COMP%]{color:var(--%NS%app-color-workspace-alpha)!important}.color-project-alpha[_ngcontent-%COMP%]{color:var(--%NS%app-color-project-alpha)}.color-forced-project-alpha[_ngcontent-%COMP%]{color:var(--%NS%app-color-project-alpha)!important}.color-design-alpha[_ngcontent-%COMP%]{color:var(--%NS%app-color-design-alpha)}.color-forced-design-alpha[_ngcontent-%COMP%]{color:var(--%NS%app-color-design-alpha)!important}.color-runtime-alpha[_ngcontent-%COMP%]{color:var(--%NS%app-color-runtime-alpha)}.color-forced-runtime-alpha[_ngcontent-%COMP%]{color:var(--%NS%app-color-runtime-alpha)!important}.color-analysis-alpha[_ngcontent-%COMP%]{color:var(--%NS%app-color-analysis-alpha)}.color-forced-analysis-alpha[_ngcontent-%COMP%]{color:var(--%NS%app-color-analysis-alpha)!important}.color-context-alpha[_ngcontent-%COMP%]{color:var(--%NS%app-color-context-alpha)}.color-forced-context-alpha[_ngcontent-%COMP%]{color:var(--%NS%app-color-context-alpha)!important}.background-hover[_ngcontent-%COMP%]:not(.background-selected){background:var(--%NS%app-background-color-hover)}@keyframes _ngcontent-%COMP%_shimmer-animation{0%{background-position:-1000px 0}to{background-position:1000px 0}}.text-line-through[_ngcontent-%COMP%]{text-decoration:line-through}.text-highlight[_ngcontent-%COMP%]{color:var(--%NS%app-color-primary);font-weight:700;cursor:pointer}.font-line-2xs[_ngcontent-%COMP%]{font-size:var(--%NS%app-font-size-2xs);line-height:var(--%NS%app-line-height-2xs)}.font-2xs[_ngcontent-%COMP%]{font-size:var(--%NS%app-font-size-2xs)}.font-line-xs[_ngcontent-%COMP%]{font-size:var(--%NS%app-font-size-xs);line-height:var(--%NS%app-line-height-xs)}.font-xs[_ngcontent-%COMP%]{font-size:var(--%NS%app-font-size-xs)}.font-line-sm[_ngcontent-%COMP%]{font-size:var(--%NS%app-font-size-sm);line-height:var(--%NS%app-line-height-sm)}.font-sm[_ngcontent-%COMP%]{font-size:var(--%NS%app-font-size-sm)}.font-line-md[_ngcontent-%COMP%]{font-size:var(--%NS%app-font-size);line-height:var(--%NS%app-line-height)}.font-md[_ngcontent-%COMP%]{font-size:var(--%NS%app-font-size)}.font-line-lg[_ngcontent-%COMP%]{font-size:var(--%NS%app-font-size-lg);line-height:var(--%NS%app-line-height-lg)}.font-lg[_ngcontent-%COMP%]{font-size:var(--%NS%app-font-size-lg)}.font-line-xl[_ngcontent-%COMP%]{font-size:var(--%NS%app-font-size-xl);line-height:var(--%NS%app-line-height-xl)}.font-xl[_ngcontent-%COMP%]{font-size:var(--%NS%app-font-size-xl)}.font-line-2xl[_ngcontent-%COMP%]{font-size:var(--%NS%app-font-size-2xl);line-height:var(--%NS%app-line-height-2xl)}.font-2xl[_ngcontent-%COMP%]{font-size:var(--%NS%app-font-size-2xl)}.font-line-3xl[_ngcontent-%COMP%]{font-size:var(--%NS%app-font-size-3xl);line-height:var(--%NS%app-line-height-3xl)}.font-3xl[_ngcontent-%COMP%]{font-size:var(--%NS%app-font-size-3xl)}.font-line-4xl[_ngcontent-%COMP%]{font-size:var(--%NS%app-font-size-4xl);line-height:var(--%NS%app-line-height-4xl)}.font-4xl[_ngcontent-%COMP%]{font-size:var(--%NS%app-font-size-4xl)}.font-line-5xl[_ngcontent-%COMP%]{font-size:var(--%NS%app-font-size-5xl);line-height:var(--%NS%app-line-height-5xl)}.font-5xl[_ngcontent-%COMP%]{font-size:var(--%NS%app-font-size-5xl)}.font-line-6xl[_ngcontent-%COMP%]{font-size:var(--%NS%app-font-size-6xl);line-height:var(--%NS%app-line-height-6xl)}.font-6xl[_ngcontent-%COMP%]{font-size:var(--%NS%app-font-size-6xl)}.font-weight-thin[_ngcontent-%COMP%]{font-weight:300!important}.font-weight-normal[_ngcontent-%COMP%]{font-weight:400!important}
1128.font-weight-medium[_ngcontent-%COMP%]{font-weight:500!important}.font-weight-bold[_ngcontent-%COMP%]{font-weight:700!important}.monospace[_ngcontent-%COMP%]{font-family:monospace}.text-ellipsis[_ngcontent-%COMP%]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.text-center[_ngcontent-%COMP%]{text-align:center}.page-break[_ngcontent-%COMP%]{break-before:page}.page-break[_ngcontent-%COMP%]:before{display:block;width:100%!important;text-align:center!important;font-style:normal!important;text-decoration:none!important;line-height:0!important;font-weight:300!important;border-bottom:1px solid var(--%NS%app-foreground-color-soft)!important;content:"page break";font-size:var(--%NS%app-font-size-sm);line-height:var(--%NS%app-line-height-sm);color:var(--%NS%app-foreground-color-muted);padding:0!important;margin-bottom:20px}@media print{.page-break[_ngcontent-%COMP%]:before{display:none!important}}.flex-gap[_ngcontent-%COMP%]{gap:calc(20px * var(--%NS%app-size-ratio))}.flex-align-center[_ngcontent-%COMP%]{align-items:center;justify-content:center}.flex-container-row[_ngcontent-%COMP%]{display:flex;flex-direction:row;box-sizing:border-box}.flex-container-column[_ngcontent-%COMP%]{display:flex;flex-direction:column;box-sizing:border-box}.flex-item-grow[_ngcontent-%COMP%]{flex:1 0 auto}.flex-item-initial[_ngcontent-%COMP%]{flex:0 1 auto}.flex-item-available-height[_ngcontent-%COMP%]{flex:1 0 auto;height:1%}.ace_removed[_ngcontent-%COMP%], .ace_removed_current[_ngcontent-%COMP%]{background-color:#f57c0026;border-left:2px solid #f57c00;border-radius:0;position:absolute}.ace_added[_ngcontent-%COMP%], .ace_added_current[_ngcontent-%COMP%]{background-color:#66bb6a26;border-left:2px solid #66bb6a;border-radius:0;position:absolute}.ace_focus[_ngcontent-%COMP%]   .ace_removed_current[_ngcontent-%COMP%]{background-color:#f57c0066;border-left:2px solid #f57c00;border-radius:0;position:absolute}.ace_focus[_ngcontent-%COMP%]   .ace_added_current[_ngcontent-%COMP%]{background-color:#66bb6a66;border-left:2px solid #66bb6a;border-radius:0;position:absolute}.ace-octoperf[readonly][_ngcontent-%COMP%]   .ace_gutter-active-line[_ngcontent-%COMP%]{background-color:transparent!important;color:var(--%NS%app-foreground-color-muted)!important}.ace-octoperf[readonly][_ngcontent-%COMP%]   .ace_cursor[_ngcontent-%COMP%]{color:transparent!important}.ace-octoperf[_ngcontent-%COMP%]{background:inherit;color:var(--%NS%app-foreground-color-base)}.ace-octoperf[_ngcontent-%COMP%]   .ace_search[_ngcontent-%COMP%]{box-shadow:0 5px 5px -3px #0003,0 8px 10px 1px #00000024,0 3px 14px 2px #0000001f}.ace-octoperf[_ngcontent-%COMP%]   .ace_log[_ngcontent-%COMP%]{font-weight:700}.ace-octoperf[_ngcontent-%COMP%]   .ace_log.ace_info[_ngcontent-%COMP%]{color:var(--%NS%app-color-info)}.ace-octoperf[_ngcontent-%COMP%]   .ace_log.ace_warn[_ngcontent-%COMP%]{color:var(--%NS%app-color-warn)}.ace-octoperf[_ngcontent-%COMP%]   .ace_log.ace_error[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-error)}.ace-octoperf[_ngcontent-%COMP%]   .ace_gutter[_ngcontent-%COMP%]{background:inherit;color:var(--%NS%app-foreground-color-muted);font-size:var(--%NS%app-font-size);font-weight:500!important}[_ngcontent-%COMP%]:root   .ace-octoperf[_ngcontent-%COMP%]   .ace_left[_ngcontent-%COMP%], .octoperf-dark-theme[_ngcontent-%COMP%]   .ace-octoperf[_ngcontent-%COMP%]   .ace_left[_ngcontent-%COMP%]{background-color:#7986cb4d;border-left:2px solid rgba(121,134,203,.8);border-radius:0;position:absolute}[_ngcontent-%COMP%]:root   .ace-octoperf[_ngcontent-%COMP%]   .ace_right[_ngcontent-%COMP%], .octoperf-dark-theme[_ngcontent-%COMP%]   .ace-octoperf[_ngcontent-%COMP%]   .ace_right[_ngcontent-%COMP%]{background-color:#81c7844d;border-left:2px solid rgba(129,199,132,.8);border-radius:0;position:absolute}[_ngcontent-%COMP%]:root   .ace-octoperf.ace_focus[_ngcontent-%COMP%]   .ace_gutter-active-line[_ngcontent-%COMP%], .octoperf-dark-theme[_ngcontent-%COMP%]   .ace-octoperf.ace_focus[_ngcontent-%COMP%]   .ace_gutter-active-line[_ngcontent-%COMP%]{background-color:var(--%NS%app-background-color-selected);color:var(--%NS%app-foreground-color-base)}[_ngcontent-%COMP%]:root   .ace-octoperf.ace_focus[_ngcontent-%COMP%]   .ace_cursor[_ngcontent-%COMP%], .octoperf-dark-theme[_ngcontent-%COMP%]   .ace-octoperf.ace_focus[_ngcontent-%COMP%]   .ace_cursor[_ngcontent-%COMP%]{color:var(--%NS%app-foreground-color-base)}[_ngcontent-%COMP%]:root   .ace-octoperf[_ngcontent-%COMP%]   .ace_search[_ngcontent-%COMP%], .octoperf-dark-theme[_ngcontent-%COMP%]   .ace-octoperf[_ngcontent-%COMP%]   .ace_search[_ngcontent-%COMP%]{background:var(--%NS%app-background-color-bis);color:var(--%NS%app-foreground-color-base);border-bottom-color:var(--%NS%app-border-color);border-left-color:var(--%NS%app-border-color)}[_ngcontent-%COMP%]:root   .ace-octoperf[_ngcontent-%COMP%]   .ace_button[_ngcontent-%COMP%], .octoperf-dark-theme[_ngcontent-%COMP%]   .ace-octoperf[_ngcontent-%COMP%]   .ace_button[_ngcontent-%COMP%]{color:var(--%NS%app-foreground-color-base)}[_ngcontent-%COMP%]:root   .ace-octoperf[_ngcontent-%COMP%]   .ace_button[_ngcontent-%COMP%]:hover, .octoperf-dark-theme[_ngcontent-%COMP%]   .ace-octoperf[_ngcontent-%COMP%]   .ace_button[_ngcontent-%COMP%]:hover{background:var(--%NS%app-background-color-ter)}[_ngcontent-%COMP%]:root   .ace-octoperf[_ngcontent-%COMP%]   .ace_print-margin[_ngcontent-%COMP%], .octoperf-dark-theme[_ngcontent-%COMP%]   .ace-octoperf[_ngcontent-%COMP%]   .ace_print-margin[_ngcontent-%COMP%]{width:1px;background:#232323}[_ngcontent-%COMP%]:root   .ace-octoperf[_ngcontent-%COMP%]   .ace_cursor[_ngcontent-%COMP%], .octoperf-dark-theme[_ngcontent-%COMP%]   .ace-octoperf[_ngcontent-%COMP%]   .ace_cursor[_ngcontent-%COMP%]{color:transparent}[_ngcontent-%COMP%]:root   .ace-octoperf[_ngcontent-%COMP%]   .ace_marker-layer[_ngcontent-%COMP%]   .ace_selection[_ngcontent-%COMP%], .octoperf-dark-theme[_ngcontent-%COMP%]   .ace-octoperf[_ngcontent-%COMP%]   .ace_marker-layer[_ngcontent-%COMP%]   .ace_selection[_ngcontent-%COMP%]{background:var(--%NS%app-background-color-selected-darker)}[_ngcontent-%COMP%]:root   .ace-octoperf[_ngcontent-%COMP%]   .ace_multiselect[_ngcontent-%COMP%]   .ace_selection.ace_start[_ngcontent-%COMP%], .octoperf-dark-theme[_ngcontent-%COMP%]   .ace-octoperf[_ngcontent-%COMP%]   .ace_multiselect[_ngcontent-%COMP%]   .ace_selection.ace_start[_ngcontent-%COMP%]{box-shadow:0 0 3px #191919}[_ngcontent-%COMP%]:root   .ace-octoperf[_ngcontent-%COMP%]   .ace_marker-layer[_ngcontent-%COMP%]   .ace_step[_ngcontent-%COMP%], .octoperf-dark-theme[_ngcontent-%COMP%]   .ace-octoperf[_ngcontent-%COMP%]   .ace_marker-layer[_ngcontent-%COMP%]   .ace_step[_ngcontent-%COMP%]{background:#665200}[_ngcontent-%COMP%]:root   .ace-octoperf[_ngcontent-%COMP%]   .ace_marker-layer[_ngcontent-%COMP%]   .ace_bracket[_ngcontent-%COMP%], .octoperf-dark-theme[_ngcontent-%COMP%]   .ace-octoperf[_ngcontent-%COMP%]   .ace_marker-layer[_ngcontent-%COMP%]   .ace_bracket[_ngcontent-%COMP%]{margin:-1px 0 0 -1px;border:1px solid #bfbfbf}[_ngcontent-%COMP%]:root   .ace-octoperf[_ngcontent-%COMP%]   .ace_marker-layer[_ngcontent-%COMP%]   .ace_active-line[_ngcontent-%COMP%], .octoperf-dark-theme[_ngcontent-%COMP%]   .ace-octoperf[_ngcontent-%COMP%]   .ace_marker-layer[_ngcontent-%COMP%]   .ace_active-line[_ngcontent-%COMP%]{background:#d7d7d708}[_ngcontent-%COMP%]:root   .ace-octoperf[_ngcontent-%COMP%]   .ace_marker-layer[_ngcontent-%COMP%]   .ace_selected-word[_ngcontent-%COMP%], .octoperf-dark-theme[_ngcontent-%COMP%]   .ace-octoperf[_ngcontent-%COMP%]   .ace_marker-layer[_ngcontent-%COMP%]   .ace_selected-word[_ngcontent-%COMP%]{border:1px solid #000000}[_ngcontent-%COMP%]:root   .ace-octoperf[_ngcontent-%COMP%]   .ace_invisible[_ngcontent-%COMP%], .octoperf-dark-theme[_ngcontent-%COMP%]   .ace-octoperf[_ngcontent-%COMP%]   .ace_invisible[_ngcontent-%COMP%]{color:#666}[_ngcontent-%COMP%]:root   .ace-octoperf[_ngcontent-%COMP%]   .ace_keyword[_ngcontent-%COMP%], [_ngcontent-%COMP%]:root   .ace-octoperf[_ngcontent-%COMP%]   .ace_meta[_ngcontent-%COMP%], [_ngcontent-%COMP%]:root   .ace-octoperf[_ngcontent-%COMP%]   .ace_support.ace_constant.ace_property-value[_ngcontent-%COMP%], .octoperf-dark-theme[_ngcontent-%COMP%]   .ace-octoperf[_ngcontent-%COMP%]   .ace_keyword[_ngcontent-%COMP%], .octoperf-dark-theme[_ngcontent-%COMP%]   .ace-octoperf[_ngcontent-%COMP%]   .ace_meta[_ngcontent-%COMP%], .octoperf-dark-theme[_ngcontent-%COMP%]   .ace-octoperf[_ngcontent-%COMP%]   .ace_support.ace_constant.ace_property-value[_ngcontent-%COMP%]{color:#927c5d}[_ngcontent-%COMP%]:root   .ace-octoperf[_ngcontent-%COMP%]   .ace_keyword.ace_operator[_ng
1128content-%COMP%], .octoperf-dark-theme[_ngcontent-%COMP%]   .ace-octoperf[_ngcontent-%COMP%]   .ace_keyword.ace_operator[_ngcontent-%COMP%]{color:#747474}[_ngcontent-%COMP%]:root   .ace-octoperf[_ngcontent-%COMP%]   .ace_keyword.ace_other.ace_unit[_ngcontent-%COMP%], .octoperf-dark-theme[_ngcontent-%COMP%]   .ace-octoperf[_ngcontent-%COMP%]   .ace_keyword.ace_other.ace_unit[_ngcontent-%COMP%]{color:#366f1a}[_ngcontent-%COMP%]:root   .ace-octoperf[_ngcontent-%COMP%]   .ace_constant.ace_language[_ngcontent-%COMP%], .octoperf-dark-theme[_ngcontent-%COMP%]   .ace-octoperf[_ngcontent-%COMP%]   .ace_constant.ace_language[_ngcontent-%COMP%]{color:#39946a}[_ngcontent-%COMP%]:root   .ace-octoperf[_ngcontent-%COMP%]   .ace_constant.ace_numeric[_ngcontent-%COMP%], .octoperf-dark-theme[_ngcontent-%COMP%]   .ace-octoperf[_ngcontent-%COMP%]   .ace_constant.ace_numeric[_ngcontent-%COMP%]{color:#46a609}[_ngcontent-%COMP%]:root   .ace-octoperf[_ngcontent-%COMP%]   .ace_constant.ace_character.ace_entity[_ngcontent-%COMP%], .octoperf-dark-theme[_ngcontent-%COMP%]   .ace-octoperf[_ngcontent-%COMP%]   .ace_constant.ace_character.ace_entity[_ngcontent-%COMP%]{color:#a165ac}[_ngcontent-%COMP%]:root   .ace-octoperf[_ngcontent-%COMP%]   .ace_invalid[_ngcontent-%COMP%], .octoperf-dark-theme[_ngcontent-%COMP%]   .ace-octoperf[_ngcontent-%COMP%]   .ace_invalid[_ngcontent-%COMP%]{color:#fff;background-color:#e92e2e}[_ngcontent-%COMP%]:root   .ace-octoperf[_ngcontent-%COMP%]   .ace_fold[_ngcontent-%COMP%], .octoperf-dark-theme[_ngcontent-%COMP%]   .ace-octoperf[_ngcontent-%COMP%]   .ace_fold[_ngcontent-%COMP%]{background-color:#927c5d;border-color:#929292}[_ngcontent-%COMP%]:root   .ace-octoperf[_ngcontent-%COMP%]   .ace_storage[_ngcontent-%COMP%], [_ngcontent-%COMP%]:root   .ace-octoperf[_ngcontent-%COMP%]   .ace_support.ace_class[_ngcontent-%COMP%], [_ngcontent-%COMP%]:root   .ace-octoperf[_ngcontent-%COMP%]   .ace_support.ace_function[_ngcontent-%COMP%], [_ngcontent-%COMP%]:root   .ace-octoperf[_ngcontent-%COMP%]   .ace_support.ace_other[_ngcontent-%COMP%], [_ngcontent-%COMP%]:root   .ace-octoperf[_ngcontent-%COMP%]   .ace_support.ace_type[_ngcontent-%COMP%], .octoperf-dark-theme[_ngcontent-%COMP%]   .ace-octoperf[_ngcontent-%COMP%]   .ace_storage[_ngcontent-%COMP%], .octoperf-dark-theme[_ngcontent-%COMP%]   .ace-octoperf[_ngcontent-%COMP%]   .ace_support.ace_class[_ngcontent-%COMP%], .octoperf-dark-theme[_ngcontent-%COMP%]   .ace-octoperf[_ngcontent-%COMP%]   .ace_support.ace_function[_ngcontent-%COMP%], .octoperf-dark-theme[_ngcontent-%COMP%]   .ace-octoperf[_ngcontent-%COMP%]   .ace_support.ace_other[_ngcontent-%COMP%], .octoperf-dark-theme[_ngcontent-%COMP%]   .ace-octoperf[_ngcontent-%COMP%]   .ace_support.ace_type[_ngcontent-%COMP%]{color:#e92e2e}[_ngcontent-%COMP%]:root   .ace-octoperf[_ngcontent-%COMP%]   .ace_string[_ngcontent-%COMP%], .octoperf-dark-theme[_ngcontent-%COMP%]   .ace-octoperf[_ngcontent-%COMP%]   .ace_string[_ngcontent-%COMP%]{color:#5d90cd}[_ngcontent-%COMP%]:root   .ace-octoperf[_ngcontent-%COMP%]   .ace_comment[_ngcontent-%COMP%], .octoperf-dark-theme[_ngcontent-%COMP%]   .ace-octoperf[_ngcontent-%COMP%]   .ace_comment[_ngcontent-%COMP%]{color:var(--%NS%app-foreground-color-muted)}[_ngcontent-%COMP%]:root   .ace-octoperf[_ngcontent-%COMP%]   .ace_entity.ace_name.ace_tag[_ngcontent-%COMP%], [_ngcontent-%COMP%]:root   .ace-octoperf[_ngcontent-%COMP%]   .ace_entity.ace_other.ace_attribute-name[_ngcontent-%COMP%], .octoperf-dark-theme[_ngcontent-%COMP%]   .ace-octoperf[_ngcontent-%COMP%]   .ace_entity.ace_name.ace_tag[_ngcontent-%COMP%], .octoperf-dark-theme[_ngcontent-%COMP%]   .ace-octoperf[_ngcontent-%COMP%]   .ace_entity.ace_other.ace_attribute-name[_ngcontent-%COMP%]{color:#7d7d7d}[_ngcontent-%COMP%]:root   .ace-octoperf[_ngcontent-%COMP%]   .ace_indent-guide[_ngcontent-%COMP%], .octoperf-dark-theme[_ngcontent-%COMP%]   .ace-octoperf[_ngcontent-%COMP%]   .ace_indent-guide[_ngcontent-%COMP%]{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNgYGBgYHB3d/8PAAOIAdULw8qMAAAAAElFTkSuQmCC) right repeat-y}.octoperf-light-theme[_ngcontent-%COMP%]   .ace-octoperf[_ngcontent-%COMP%]   .ace_left[_ngcontent-%COMP%]{background-color:#7986cb4d;border-left:2px solid rgba(121,134,203,.8);border-radius:0;position:absolute}.octoperf-light-theme[_ngcontent-%COMP%]   .ace-octoperf[_ngcontent-%COMP%]   .ace_right[_ngcontent-%COMP%]{background-color:#81c7844d;border-left:2px solid rgba(129,199,132,.8);border-radius:0;position:absolute}.octoperf-light-theme[_ngcontent-%COMP%]   .ace-octoperf.ace_focus[_ngcontent-%COMP%]   .ace_gutter-active-line[_ngcontent-%COMP%]{background-color:var(--%NS%app-background-color-selected);color:var(--%NS%app-foreground-color-base)}.octoperf-light-theme[_ngcontent-%COMP%]   .ace-octoperf.ace_focus[_ngcontent-%COMP%]   .ace_cursor[_ngcontent-%COMP%]{color:var(--%NS%app-foreground-color-base)}.octoperf-light-theme[_ngcontent-%COMP%]   .ace-octoperf[_ngcontent-%COMP%]   .ace_print-margin[_ngcontent-%COMP%]{width:1px;background:#e8e8e8}.octoperf-light-theme[_ngcontent-%COMP%]   .ace-octoperf[_ngcontent-%COMP%]   .ace_cursor[_ngcontent-%COMP%]{color:transparent}.octoperf-light-theme[_ngcontent-%COMP%]   .ace-octoperf[_ngcontent-%COMP%]   .ace_marker-layer[_ngcontent-%COMP%]   .ace_selection[_ngcontent-%COMP%]{background:#c2dcff}.octoperf-light-theme[_ngcontent-%COMP%]   .ace-octoperf[_ngcontent-%COMP%]   .ace_multiselect[_ngcontent-%COMP%]   .ace_selection.ace_start[_ngcontent-%COMP%]{box-shadow:0 0 3px #e7eefa}.octoperf-light-theme[_ngcontent-%COMP%]   .ace-octoperf[_ngcontent-%COMP%]   .ace_marker-layer[_ngcontent-%COMP%]   .ace_step[_ngcontent-%COMP%]{background:#ff0}.octoperf-light-theme[_ngcontent-%COMP%]   .ace-octoperf[_ngcontent-%COMP%]   .ace_marker-layer[_ngcontent-%COMP%]   .ace_bracket[_ngcontent-%COMP%]{margin:-1px 0 0 -1px;border:1px solid #bfbfbf}.octoperf-light-theme[_ngcontent-%COMP%]   .ace-octoperf[_ngcontent-%COMP%]   .ace_marker-layer[_ngcontent-%COMP%]   .ace_active-line[_ngcontent-%COMP%]{background:#fffbd1}.octoperf-light-theme[_ngcontent-%COMP%]   .ace-octoperf[_ngcontent-%COMP%]   .ace_marker-layer[_ngcontent-%COMP%]   .ace_selected-word[_ngcontent-%COMP%]{border:1px solid #bdd5fc}.octoperf-light-theme[_ngcontent-%COMP%]   .ace-octoperf[_ngcontent-%COMP%]   .ace_invisible[_ngcontent-%COMP%]{color:#bfbfbf}.octoperf-light-theme[_ngcontent-%COMP%]   .ace-octoperf[_ngcontent-%COMP%]   .ace_keyword[_ngcontent-%COMP%], .octoperf-light-theme[_ngcontent-%COMP%]   .ace-octoperf[_ngcontent-%COMP%]   .ace_meta[_ngcontent-%COMP%], .octoperf-light-theme[_ngcontent-%COMP%]   .ace-octoperf[_ngcontent-%COMP%]   .ace_support.ace_constant.ace_property-value[_ngcontent-%COMP%]{color:#af956f}.octoperf-light-theme[_ngcontent-%COMP%]   .ace-octoperf[_ngcontent-%COMP%]   .ace_keyword.ace_operator[_ng
1128content-%COMP%]{color:#484848}.octoperf-light-theme[_ngcontent-%COMP%]   .ace-octoperf[_ngcontent-%COMP%]   .ace_keyword.ace_other.ace_unit[_ngcontent-%COMP%]{color:#96dc5f}.octoperf-light-theme[_ngcontent-%COMP%]   .ace-octoperf[_ngcontent-%COMP%]   .ace_constant.ace_language[_ngcontent-%COMP%]{color:#39946a}.octoperf-light-theme[_ngcontent-%COMP%]   .ace-octoperf[_ngcontent-%COMP%]   .ace_constant.ace_numeric[_ngcontent-%COMP%]{color:#46a609}.octoperf-light-theme[_ngcontent-%COMP%]   .ace-octoperf[_ngcontent-%COMP%]   .ace_constant.ace_character.ace_entity[_ngcontent-%COMP%]{color:#bf78cc}.octoperf-light-theme[_ngcontent-%COMP%]   .ace-octoperf[_ngcontent-%COMP%]   .ace_invalid[_ngcontent-%COMP%]{background-color:#ff002a}.octoperf-light-theme[_ngcontent-%COMP%]   .ace-octoperf[_ngcontent-%COMP%]   .ace_fold[_ngcontent-%COMP%]{background-color:#af956f;border-color:#000}.octoperf-light-theme[_ngcontent-%COMP%]   .ace-octoperf[_ngcontent-%COMP%]   .ace_storage[_ngcontent-%COMP%], .octoperf-light-theme[_ngcontent-%COMP%]   .ace-octoperf[_ngcontent-%COMP%]   .ace_support.ace_class[_ngcontent-%COMP%], .octoperf-light-theme[_ngcontent-%COMP%]   .ace-octoperf[_ngcontent-%COMP%]   .ace_support.ace_function[_ngcontent-%COMP%], .octoperf-light-theme[_ngcontent-%COMP%]   .ace-octoperf[_ngcontent-%COMP%]   .ace_support.ace_other[_ngcontent-%COMP%], .octoperf-light-theme[_ngcontent-%COMP%]   .ace-octoperf[_ngcontent-%COMP%]   .ace_support.ace_type[_ngcontent-%COMP%]{color:#c52727}.octoperf-light-theme[_ngcontent-%COMP%]   .ace-octoperf[_ngcontent-%COMP%]   .ace_string[_ngcontent-%COMP%]{color:#5d90cd}.octoperf-light-theme[_ngcontent-%COMP%]   .ace-octoperf[_ngcontent-%COMP%]   .ace_comment[_ngcontent-%COMP%]{color:#818980}.octoperf-light-theme[_ngcontent-%COMP%]   .ace-octoperf[_ngcontent-%COMP%]   .ace_entity.ace_name.ace_tag[_ngcontent-%COMP%], .octoperf-light-theme[_ngcontent-%COMP%]   .ace-octoperf[_ngcontent-%COMP%]   .ace_entity.ace_other.ace_attribute-name[_ngcontent-%COMP%]{color:#606060}.octoperf-light-theme[_ngcontent-%COMP%]   .ace-octoperf[_ngcontent-%COMP%]   .ace_indent-guide[_ngcontent-%COMP%]{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4////f4bLly//BwAmVgd1/w11/gAAAABJRU5ErkJggg==) right repeat-y}[_nghost-%COMP%]{display:block;width:100%;height:100%;display:flex;flex-direction:row;box-sizing:border-box;position:relative}[_nghost-%COMP%]:hover   .options[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center}[_nghost-%COMP%]   .options[_ngcontent-%COMP%]{z-index:9;position:absolute!important;top:calc(5px * var(--%NS%app-size-ratio));right:calc(5px * var(--%NS%app-size-ratio));display:none}`]})}}return n})();var Co=w$6(he$2());function hn(n,r){if(n&1&&($d$1(),um$1(0,`path`)),n&2){let o=r.$implicit;am$1(`d`,o)}}var ao$1=40;var en$1=(()=>{class n extends l$8{constructor(){super(),this.changeDetectorRef=T$9(GH),this.splitCodeDiffLinkerWidth=ao$1,this.matches=[],this.leftOffset=new nr$1(0),this.rightOffset=new nr$1(0),this.leftLineHeight=new nr$1(0),this.rightLineHeight=new nr$1(0),this.width=ao$1,this.halfWidth=ao$1/2,this.paths=[],this.matchValues=[],kg$1([this.leftOffset,this.rightOffset]).pipe(Vg$1(this.destroyed)).subscribe(this._computePath.bind(this)),kg$1([this.leftLineHeight,this.rightLineHeight]).pipe(Vg$1(this.destroyed)).subscribe(()=>{this.matchValues=this._calculateRanges(this.matches),this._computePath()})}_calculateRanges(o){return o.map(a=>({left:{p1:{x:-1,y:this.leftLineHeight.value*a.left.start.row},p2:{x:-1,y:this.leftLineHeight.value*(a.left.end.row+1)}},right:{p1:{x:ao$1,y:this.rightLineHeight.value*a.right.start.row},p2:{x:ao$1,y:this.rightLineHeight.value*(a.right.end.row+1)}}}))}_computePath(){this.paths=[],this.matchValues.forEach(o=>{let a=this._extractInterpolationPoints(o.left.p1,o.right.p1),t=this._extractInterpolationPoints(o.left.p2,o.right.p2);this.paths.push(this._computeLinkerPath(a,t))}),this.changeDetectorRef.markForCheck()}_extractInterpolationPoints(o,a){return{p1:{x:o.x,y:o.y-this.leftOffset.value},p2:{x:this.halfWidth,y:o.y-this.leftOffset.value},p3:{x:this.halfWidth,y:a.y-this.rightOffset.value},p4:{x:a.x,y:a.y-this.rightOffset.value}}}_computeLinkerPath(o,a){return`M ${o.p1.x} ${o.p1.y} L ${a.p1.x} ${a.p1.y} C ${a.p2.x} ${a.p2.y} ${a.p3.x}
1128 ${a.p3.y} ${a.p4.x} ${a.p4.y} L ${o.p4.x} ${o.p4.y} C ${o.p3.x} ${o.p3.y} ${o.p2.x} ${o.p2.y} ${o.p1.x} ${o.p1.y} Z`}static{this.ɵfac=function(a){return new(a||n)}}static{this.ɵcmp=bb({type:n,selectors:[[`lib-split-code-diff-linker`]],hostVars:2,hostBindings:function(a,t){a&2&&_m$1(`width`,t.width,`px`)},features:[Xh],decls:3,vars:1,consts:[[`height`,`100%`,`xmlns`,`http://www.w3.org/2000/svg`]],template:function(a,t){a&1&&($d$1(),Al$1(0,`svg`,0),nw(1,hn,1,1,`:svg:path`,null,tw),Ol$1()),a&2&&(am$1(`width`,t.splitCodeDiffLinkerWidth),zE(),rw(t.paths))},styles:[`[_ngcontent-%COMP%]:root{--%NS%app-font-family: OctoPerf;--%NS%app-size-ratio: .9;--%NS%app-font-size-2xs: calc(8px * var(--%NS%app-size-ratio));--%NS%app-font-size-xs: calc(10px * var(--%NS%app-size-ratio));--%NS%app-font-size-sm: calc(12px * var(--%NS%app-size-ratio));--%NS%app-font-size: calc(14px * var(--%NS%app-size-ratio));--%NS%app-font-size-lg: calc(16px * var(--%NS%app-size-ratio));--%NS%app-font-size-xl: calc(20px * var(--%NS%app-size-ratio));--%NS%app-font-size-2xl: calc(24px * var(--%NS%app-size-ratio));--%NS%app-font-size-3xl: calc(34px * var(--%NS%app-size-ratio));--%NS%app-font-size-4xl: calc(48px * var(--%NS%app-size-ratio));--%NS%app-font-size-5xl: calc(60px * var(--%NS%app-size-ratio));--%NS%app-font-size-6xl: calc(96px * var(--%NS%app-size-ratio));--%NS%app-line-height-2xs: calc(8px * var(--%NS%app-size-ratio));--%NS%app-line-height-xs: calc(10px * var(--%NS%app-size-ratio));--%NS%app-line-height-sm: calc(12px * var(--%NS%app-size-ratio));--%NS%app-line-height: calc(20px * var(--%NS%app-size-ratio));--%NS%app-line-height-lg: calc(22px * var(--%NS%app-size-ratio));--%NS%app-line-height-xl: calc(28px * var(--%NS%app-size-ratio));--%NS%app-line-height-2xl: calc(32px * var(--%NS%app-size-ratio));--%NS%app-line-height-3xl: calc(40px * var(--%NS%app-size-ratio));--%NS%app-line-height-4xl: calc(50px * var(--%NS%app-size-ratio));--%NS%app-line-height-5xl: calc(60px * var(--%NS%app-size-ratio));--%NS%app-line-height-6xl: calc(96px * var(--%NS%app-size-ratio));--%NS%app-margin-x-2xs: calc(4px * var(--%NS%app-size-ratio));--%NS%app-margin-y-2xs: calc(3px * var(--%NS%app-size-ratio));--%NS%app-margin-x-xs: calc(6px * var(--%NS%app-size-ratio));--%NS%app-margin-y-xs: calc(4px * var(--%NS%app-size-ratio));--%NS%app-margin-x-sm: calc(12px * var(--%NS%app-size-ratio));--%NS%app-margin-y-sm: calc(6px * var(--%NS%app-size-ratio));--%NS%app-margin-x-md: calc(20px * var(--%NS%app-size-ratio));--%NS%app-margin-y-md: calc(12px * var(--%NS%app-size-ratio));--%NS%app-margin-x-lg: calc(28px * var(--%NS%app-size-ratio));--%NS%app-margin-y-lg: calc(20px * var(--%NS%app-size-ratio));--%NS%app-margin-x-xl: calc(34px * var(--%NS%app-size-ratio));--%NS%app-margin-y-xl: calc(28px * var(--%NS%app-size-ratio));--%NS%app-margin-x-2xl: calc(40px * var(--%NS%app-size-ratio));--%NS%app-margin-y-2xl: calc(34px * var(--%NS%app-size-ratio));--%NS%app-margin-x-3xl: calc(48px * var(--%NS%app-size-ratio));--%NS%app-margin-y-3xl: calc(42px * var(--%NS%app-size-ratio));--%NS%app-padding-x-2xs: calc(4px * var(--%NS%app-size-ratio));--%NS%app-padding-y-2xs: calc(3px * var(--%NS%app-size-ratio));--%NS%app-padding-x-xs: calc(6px * var(--%NS%app-size-ratio));--%NS%app-padding-y-xs: calc(4px * var(--%NS%app-size-ratio));--%NS%app-padding-x-sm: calc(12px * var(--%NS%app-size-ratio));--%NS%app-padding-y-sm: calc(6px * var(--%NS%app-size-ratio));--%NS%app-padding-x-md: calc(20px * var(--%NS%app-size-ratio));--%NS%app-padding-y-md: calc(12px * var(--%NS%app-size-ratio));--%NS%app-padding-x-lg: calc(28px * var(--%NS%app-size-ratio));--%NS%app-padding-y-lg: calc(20px * var(--%NS%app-size-ratio));--%NS%app-padding-x-xl: calc(34px * var(--%NS%app-size-ratio));--%NS%app-padding-y-xl: calc(28px * var(--%NS%app-size-ratio));--%NS%app-padding-x-2xl: calc(40px * var(--%NS%app-size-ratio));--%NS%app-padding-y-2xl: calc(34px * var(--%NS%app-size-ratio));--%NS%app-padding-x-3xl: calc(48px * var(--%NS%app-size-ratio));--%NS%app-padding-y-3xl: calc(42px * var(--%NS%app-size-ratio));--%NS%app-font-weight: 400;--%NS%app-font-weight-bold: bold;--%NS%app-font-weight-thin: 300;--%NS%app-border-width: 1px;--%NS%app-border: 1px solid var(--%NS%app-border-color);--%NS%app-border-highlight: 1px solid var(--%NS%app-border-highlight-color);--%NS%app-border-radius: 4px;--%NS%app-sort-header-arrow-width: calc(18px * var(--%NS%app-size-ratio));--%NS%app-icon-button-size: calc(28px * var(--%NS%app-size-ratio));--%NS%app-icon-button-font-size: calc(18px * var(--%NS%app-size-ratio));--%NS%app-tabs-header-default-height: calc(32px * var(--%NS%app-size-ratio));--%NS%app-button-default-height: calc(24px * var(--%NS%app-size-ratio));--%NS%app-input-default-height: calc(24px * var(--%NS%app-size-ratio));
1128--%NS%app-lib-form-field-height: calc(36px * var(--%NS%app-size-ratio));--%NS%app-tile-opacity: .7}.fill-base[_ngcontent-%COMP%]{fill:var(--%NS%app-background-color-base)}.background-base[_ngcontent-%COMP%]{background-color:var(--%NS%app-background-color-base)}.fill-forced-base[_ngcontent-%COMP%]{fill:var(--%NS%app-background-color-base)!important}.background-forced-base[_ngcontent-%COMP%]{background-color:var(--%NS%app-background-color-base)!important}.fill-white[_ngcontent-%COMP%]{fill:#fff}.background-white[_ngcontent-%COMP%]{background-color:#fff}.fill-forced-white[_ngcontent-%COMP%]{fill:#fff!important}.background-forced-white[_ngcontent-%COMP%]{background-color:#fff!important}.fill-form[_ngcontent-%COMP%]{fill:var(--%NS%app-background-color-form)}.background-form[_ngcontent-%COMP%]{background-color:var(--%NS%app-background-color-form)}.fill-forced-form[_ngcontent-%COMP%]{fill:var(--%NS%app-background-color-form)!important}.background-forced-form[_ngcontent-%COMP%]{background-color:var(--%NS%app-background-color-form)!important}.fill-hover[_ngcontent-%COMP%]{fill:var(--%NS%app-background-color-hover)}.background-hover[_ngcontent-%COMP%]{background-color:var(--%NS%app-background-color-hover)}.fill-forced-hover[_ngcontent-%COMP%]{fill:var(--%NS%app-background-color-hover)!important}.background-forced-hover[_ngcontent-%COMP%]{background-color:var(--%NS%app-background-color-hover)!important}.fill-unset[_ngcontent-%COMP%]{fill:unset}.background-unset[_ngcontent-%COMP%]{background-color:unset}.fill-forced-unset[_ngcontent-%COMP%]{fill:unset!important}.background-forced-unset[_ngcontent-%COMP%]{background-color:unset!important}.fill-inherit[_ngcontent-%COMP%]{fill:inherit}.background-inherit[_ngcontent-%COMP%]{background-color:inherit}.fill-forced-inherit[_ngcontent-%COMP%]{fill:inherit!important}.background-forced-inherit[_ngcontent-%COMP%]{background-color:inherit!important}.fill-foreground[_ngcontent-%COMP%]{fill:var(--%NS%app-foreground-color-base)}.background-foreground[_ngcontent-%COMP%]{background-color:var(--%NS%app-foreground-color-base)}.fill-forced-foreground[_ngcontent-%COMP%]{fill:var(--%NS%app-foreground-color-base)!important}.background-forced-foreground[_ngcontent-%COMP%]{background-color:var(--%NS%app-foreground-color-base)!important}.fill-bis[_ngcontent-%COMP%]{fill:var(--%NS%app-background-color-bis)}.background-bis[_ngcontent-%COMP%]{background-color:var(--%NS%app-background-color-bis)}.fill-forced-bis[_ngcontent-%COMP%]{fill:var(--%NS%app-background-color-bis)!important}.background-forced-bis[_ngcontent-%COMP%]{background-color:var(--%NS%app-background-color-bis)!important}.fill-ter[_ngcontent-%COMP%]{fill:var(--%NS%app-background-color-ter)}.background-ter[_ngcontent-%COMP%]{background-color:var(--%NS%app-background-color-ter)}.fill-forced-ter[_ngcontent-%COMP%]{fill:var(--%NS%app-background-color-ter)!important}.background-forced-ter[_ngcontent-%COMP%]{background-color:var(--%NS%app-background-color-ter)!important}.fill-table-even[_ngcontent-%COMP%]{fill:var(--%NS%app-background-color-table-even)}.background-table-even[_ngcontent-%COMP%]{background-color:var(--%NS%app-background-color-table-even)}.fill-forced-table-even[_ngcontent-%COMP%]{fill:var(--%NS%app-background-color-table-even)!important}.background-forced-table-even[_ngcontent-%COMP%]{background-color:var(--%NS%app-background-color-table-even)!important}.fill-selected[_ngcontent-%COMP%]{fill:var(--%NS%app-background-color-selected)}.background-selected[_ngcontent-%COMP%]{background-color:var(--%NS%app-background-color-selected)}.fill-forced-selected[_ngcontent-%COMP%]{fill:var(--%NS%app-background-color-selected)!important}.background-forced-selected[_ngcontent-%COMP%]{background-color:var(--%NS%app-background-color-selected)!important}.fill-selected-darker[_ngcontent-%COMP%]{fill:var(--%NS%app-background-color-selected-darker)}.background-selected-darker[_ngcontent-%COMP%]{background-color:var(--%NS%app-background-color-selected-darker)}.fill-forced-selected-darker[_ngcontent-%COMP%]{fill:var(--%NS%app-background-color-selected-darker)!important}.background-forced-selected-darker[_ngcontent-%COMP%]{background-color:var(--%NS%app-background-color-selected-darker)!important}
1128.fill-info[_ngcontent-%COMP%]{fill:var(--%NS%app-color-info)}.background-info[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-info)}.fill-forced-info[_ngcontent-%COMP%]{fill:var(--%NS%app-color-info)!important}.background-forced-info[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-info)!important}.fill-warn[_ngcontent-%COMP%]{fill:var(--%NS%app-color-warn)}.background-warn[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-warn)}.fill-forced-warn[_ngcontent-%COMP%]{fill:var(--%NS%app-color-warn)!important}.background-forced-warn[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-warn)!important}.fill-error[_ngcontent-%COMP%]{fill:var(--%NS%app-color-error)}.background-error[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-error)}.fill-forced-error[_ngcontent-%COMP%]{fill:var(--%NS%app-color-error)!important}.background-forced-error[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-error)!important}.fill-primary[_ngcontent-%COMP%]{fill:var(--%NS%app-color-primary)}.background-primary[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-primary)}.fill-forced-primary[_ngcontent-%COMP%]{fill:var(--%NS%app-color-primary)!important}.background-forced-primary[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-primary)!important}.fill-secondary[_ngcontent-%COMP%]{fill:var(--%NS%app-color-secondary)}.background-secondary[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-secondary)}.fill-forced-secondary[_ngcontent-%COMP%]{fill:var(--%NS%app-color-secondary)!important}.background-forced-secondary[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-secondary)!important}.fill-success[_ngcontent-%COMP%]{fill:var(--%NS%app-color-success)}.background-success[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-success)}.fill-forced-success[_ngcontent-%COMP%]{fill:var(--%NS%app-color-success)!important}.background-forced-success[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-success)!important}.fill-accent[_ngcontent-%COMP%]{fill:var(--%NS%app-color-accent)}.background-accent[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-accent)}.fill-forced-accent[_ngcontent-%COMP%]{fill:var(--%NS%app-color-accent)!important}.background-forced-accent[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-accent)!important}.fill-info-alpha[_ngcontent-%COMP%]{fill:var(--%NS%app-color-info-alpha)}.background-info-alpha[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-info-alpha)}.fill-forced-info-alpha[_ngcontent-%COMP%]{fill:var(--%NS%app-color-info-alpha)!important}.background-forced-info-alpha[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-info-alpha)!important}.fill-warn-alpha[_ngcontent-%COMP%]{fill:var(--%NS%app-color-warn-alpha)}.background-warn-alpha[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-warn-alpha)}.fill-forced-warn-alpha[_ngcontent-%COMP%]{fill:var(--%NS%app-color-warn-alpha)!important}.background-forced-warn-alpha[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-warn-alpha)!important}.fill-error-alpha[_ngcontent-%COMP%]{fill:var(--%NS%app-color-error-alpha)}.background-error-alpha[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-error-alpha)}.fill-forced-error-alpha[_ngcontent-%COMP%]{fill:var(--%NS%app-color-error-alpha)!important}.background-forced-error-alpha[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-error-alpha)!important}.fill-primary-alpha[_ngcontent-%COMP%]{fill:var(--%NS%app-color-primary-alpha)}.background-primary-alpha[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-primary-alpha)}.fill-forced-primary-alpha[_ngcontent-%COMP%]{fill:var(--%NS%app-color-primary-alpha)!important}.background-forced-primary-alpha[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-primary-alpha)!important}.fill-secondary-alpha[_ngcontent-%COMP%]{fill:var(--%NS%app-color-secondary-alpha)}.background-secondary-alpha[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-secondary-alpha)}.fill-forced-secondary-alpha[_ngcontent-%COMP%]{fill:var(--%NS%app-color-secondary-alpha)!important}.background-forced-secondary-alpha[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-secondary-alpha)!important}
1128.fill-success-alpha[_ngcontent-%COMP%]{fill:var(--%NS%app-color-success-alpha)}.background-success-alpha[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-success-alpha)}.fill-forced-success-alpha[_ngcontent-%COMP%]{fill:var(--%NS%app-color-success-alpha)!important}.background-forced-success-alpha[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-success-alpha)!important}.fill-accent-alpha[_ngcontent-%COMP%]{fill:var(--%NS%app-color-accent-alpha)}.background-accent-alpha[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-accent-alpha)}.fill-forced-accent-alpha[_ngcontent-%COMP%]{fill:var(--%NS%app-color-accent-alpha)!important}.background-forced-accent-alpha[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-accent-alpha)!important}.fill-administration[_ngcontent-%COMP%]{fill:var(--%NS%app-color-administration)}.background-administration[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-administration)}.fill-forced-administration[_ngcontent-%COMP%]{fill:var(--%NS%app-color-administration)!important}.background-forced-administration[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-administration)!important}.fill-workspace[_ngcontent-%COMP%]{fill:var(--%NS%app-color-workspace)}.background-workspace[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-workspace)}.fill-forced-workspace[_ngcontent-%COMP%]{fill:var(--%NS%app-color-workspace)!important}.background-forced-workspace[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-workspace)!important}.fill-project[_ngcontent-%COMP%]{fill:var(--%NS%app-color-project)}.background-project[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-project)}.fill-forced-project[_ngcontent-%COMP%]{fill:var(--%NS%app-color-project)!important}.background-forced-project[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-project)!important}.fill-design[_ngcontent-%COMP%]{fill:var(--%NS%app-color-design)}.background-design[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-design)}.fill-forced-design[_ngcontent-%COMP%]{fill:var(--%NS%app-color-design)!important}.background-forced-design[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-design)!important}.fill-runtime[_ngcontent-%COMP%]{fill:var(--%NS%app-color-runtime)}.background-runtime[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-runtime)}.fill-forced-runtime[_ngcontent-%COMP%]{fill:var(--%NS%app-color-runtime)!important}.background-forced-runtime[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-runtime)!important}.fill-analysis[_ngcontent-%COMP%]{fill:var(--%NS%app-color-analysis)}.background-analysis[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-analysis)}.fill-forced-analysis[_ngcontent-%COMP%]{fill:var(--%NS%app-color-analysis)!important}.background-forced-analysis[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-analysis)!important}.fill-context[_ngcontent-%COMP%]{fill:var(--%NS%app-color-context)}.background-context[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-context)}.fill-forced-context[_ngcontent-%COMP%]{fill:var(--%NS%app-color-context)!important}.background-forced-context[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-context)!important}.fill-administration-alpha[_ngcontent-%COMP%]{fill:var(--%NS%app-color-administration-alpha)}.background-administration-alpha[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-administration-alpha)}.fill-forced-administration-alpha[_ngcontent-%COMP%]{fill:var(--%NS%app-color-administration-alpha)!important}.background-forced-administration-alpha[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-administration-alpha)!important}.fill-workspace-alpha[_ngcontent-%COMP%]{fill:var(--%NS%app-color-workspace-alpha)}.background-workspace-alpha[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-workspace-alpha)}.fill-forced-workspace-alpha[_ngcontent-%COMP%]{fill:var(--%NS%app-color-workspace-alpha)!important}.background-forced-workspace-alpha[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-workspace-alpha)!important}.fill-project-alpha[_ngcontent-%COMP%]{fill:var(--%NS%app-color-project-alpha)}.background-project-alpha[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-project-alpha)}
1128.fill-forced-project-alpha[_ngcontent-%COMP%]{fill:var(--%NS%app-color-project-alpha)!important}.background-forced-project-alpha[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-project-alpha)!important}.fill-design-alpha[_ngcontent-%COMP%]{fill:var(--%NS%app-color-design-alpha)}.background-design-alpha[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-design-alpha)}.fill-forced-design-alpha[_ngcontent-%COMP%]{fill:var(--%NS%app-color-design-alpha)!important}.background-forced-design-alpha[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-design-alpha)!important}.fill-runtime-alpha[_ngcontent-%COMP%]{fill:var(--%NS%app-color-runtime-alpha)}.background-runtime-alpha[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-runtime-alpha)}.fill-forced-runtime-alpha[_ngcontent-%COMP%]{fill:var(--%NS%app-color-runtime-alpha)!important}.background-forced-runtime-alpha[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-runtime-alpha)!important}.fill-analysis-alpha[_ngcontent-%COMP%]{fill:var(--%NS%app-color-analysis-alpha)}.background-analysis-alpha[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-analysis-alpha)}.fill-forced-analysis-alpha[_ngcontent-%COMP%]{fill:var(--%NS%app-color-analysis-alpha)!important}.background-forced-analysis-alpha[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-analysis-alpha)!important}.fill-context-alpha[_ngcontent-%COMP%]{fill:var(--%NS%app-color-context-alpha)}.background-context-alpha[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-context-alpha)}.fill-forced-context-alpha[_ngcontent-%COMP%]{fill:var(--%NS%app-color-context-alpha)!important}.background-forced-context-alpha[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-context-alpha)!important}.color-base[_ngcontent-%COMP%]{color:var(--%NS%app-foreground-color-base)}.color-forced-base[_ngcontent-%COMP%]{color:var(--%NS%app-foreground-color-base)!important}.color-white[_ngcontent-%COMP%]{color:#fff}.color-forced-white[_ngcontent-%COMP%]{color:#fff!important}.color-form[_ngcontent-%COMP%]{color:var(--%NS%app-foregrounf-color-form)}.color-forced-form[_ngcontent-%COMP%]{color:var(--%NS%app-foregrounf-color-form)!important}.color-hover[_ngcontent-%COMP%]{color:var(--%NS%app-foreground-color-muted)}.color-forced-hover[_ngcontent-%COMP%]{color:var(--%NS%app-foreground-color-muted)!important}.color-soft[_ngcontent-%COMP%]{color:var(--%NS%app-foreground-color-soft)}.color-forced-soft[_ngcontent-%COMP%]{color:var(--%NS%app-foreground-color-soft)!important}.color-muted[_ngcontent-%COMP%]{color:var(--%NS%app-foreground-color-muted)}.color-forced-muted[_ngcontent-%COMP%]{color:var(--%NS%app-foreground-color-muted)!important}.color-background[_ngcontent-%COMP%]{color:var(--%NS%app-background-color-base)}.color-forced-background[_ngcontent-%COMP%]{color:var(--%NS%app-background-color-base)!important}.color-unset[_ngcontent-%COMP%]{color:unset}.color-forced-unset[_ngcontent-%COMP%]{color:unset!important}.color-info[_ngcontent-%COMP%]{color:var(--%NS%app-color-info)}.color-forced-info[_ngcontent-%COMP%]{color:var(--%NS%app-color-info)!important}.color-warn[_ngcontent-%COMP%]{color:var(--%NS%app-color-warn)}.color-forced-warn[_ngcontent-%COMP%]{color:var(--%NS%app-color-warn)!important}.color-error[_ngcontent-%COMP%]{color:var(--%NS%app-color-error)}.color-forced-error[_ngcontent-%COMP%]{color:var(--%NS%app-color-error)!important}.color-primary[_ngcontent-%COMP%]{color:var(--%NS%app-color-primary)}.color-forced-primary[_ngcontent-%COMP%]{color:var(--%NS%app-color-primary)!important}.color-secondary[_ngcontent-%COMP%]{color:var(--%NS%app-color-secondary)}.color-forced-secondary[_ngcontent-%COMP%]{color:var(--%NS%app-color-secondary)!important}.color-success[_ngcontent-%COMP%]{color:var(--%NS%app-color-success)}.color-forced-success[_ngcontent-%COMP%]{color:var(--%NS%app-color-success)!important}.color-accent[_ngcontent-%COMP%]{color:var(--%NS%app-color-accent)}.color-forced-accent[_ngcontent-%COMP%]{color:var(--%NS%app-color-accent)!important}.color-info-alpha[_ngcontent-%COMP%]{color:var(--%NS%app-color-info-alpha)}.color-forced-info-alpha[_ngcontent-%COMP%]{color:var(--%NS%app-color-info-alpha)!important}.color-warn-alpha[_ngcontent-%COMP%]{color:var(--%NS%app-color-warn-alpha)}.color-forced-warn-alpha[_ngcontent-%COMP%]{color:var(--%NS%app-color-warn-alpha)!important}.color-error-alpha[_ngcontent-%COMP%]{color:var(--%NS%app-color-error-alpha)}.color-forced-error-alpha[_ngcontent-%COMP%]{color:var(--%NS%app-color-error-alpha)!important}.color-primary-alpha[_ngcontent-%COMP%]{color:var(--%NS%app-color-primary-alpha)}.color-forced-primary-alpha[_ngcontent-%COMP%]{color:var(--%NS%app-color-primary-alpha)!important}.color-secondary-alpha[_ngcontent-%COMP%]{color:var(--%NS%app-color-secondary-alpha)}.color-forced-secondary-alpha[_ngcontent-%COMP%]{color:var(--%NS%app-color-secondary-alpha)!important}.color-success-alpha[_ngcontent-%COMP%]{color:var(--%NS%app-color-success-alpha)}.color-forced-success-alpha[_ngcontent-%COMP%]{color:var(--%NS%app-color-success-alpha)!important}.color-accent-alpha[_ngcontent-%COMP%]{color:var(--%NS%app-color-accent-alpha)}.color-forced-accent-alpha[_ngcontent-%COMP%]{color:var(--%NS%app-color-accent-alpha)!important}.color-administration[_ngcontent-%COMP%]{color:var(--%NS%app-color-administration)}.color-forced-administration[_ngcontent-%COMP%]{color:var(--%NS%app-color-administration)!important}.color-workspace[_ngcontent-%COMP%]{color:var(--%NS%app-color-workspace)}.color-forced-workspace[_ngcontent-%COMP%]{color:var(--%NS%app-color-workspace)!important}.color-project[_ngcontent-%COMP%]{color:var(--%NS%app-color-project)}.color-forced-project[_ngcontent-%COMP%]{color:var(--%NS%app-color-project)!important}.color-design[_ngcontent-%COMP%]{color:var(--%NS%app-color-design)}.color-forced-design[_ngcontent-%COMP%]{color:var(--%NS%app-color-design)!important}
1128.color-runtime[_ngcontent-%COMP%]{color:var(--%NS%app-color-runtime)}.color-forced-runtime[_ngcontent-%COMP%]{color:var(--%NS%app-color-runtime)!important}.color-analysis[_ngcontent-%COMP%]{color:var(--%NS%app-color-analysis)}.color-forced-analysis[_ngcontent-%COMP%]{color:var(--%NS%app-color-analysis)!important}.color-context[_ngcontent-%COMP%]{color:var(--%NS%app-color-context)}.color-forced-context[_ngcontent-%COMP%]{color:var(--%NS%app-color-context)!important}.color-administration-alpha[_ngcontent-%COMP%]{color:var(--%NS%app-color-administration-alpha)}.color-forced-administration-alpha[_ngcontent-%COMP%]{color:var(--%NS%app-color-administration-alpha)!important}.color-workspace-alpha[_ngcontent-%COMP%]{color:var(--%NS%app-color-workspace-alpha)}.color-forced-workspace-alpha[_ngcontent-%COMP%]{color:var(--%NS%app-color-workspace-alpha)!important}.color-project-alpha[_ngcontent-%COMP%]{color:var(--%NS%app-color-project-alpha)}.color-forced-project-alpha[_ngcontent-%COMP%]{color:var(--%NS%app-color-project-alpha)!important}.color-design-alpha[_ngcontent-%COMP%]{color:var(--%NS%app-color-design-alpha)}.color-forced-design-alpha[_ngcontent-%COMP%]{color:var(--%NS%app-color-design-alpha)!important}.color-runtime-alpha[_ngcontent-%COMP%]{color:var(--%NS%app-color-runtime-alpha)}.color-forced-runtime-alpha[_ngcontent-%COMP%]{color:var(--%NS%app-color-runtime-alpha)!important}.color-analysis-alpha[_ngcontent-%COMP%]{color:var(--%NS%app-color-analysis-alpha)}.color-forced-analysis-alpha[_ngcontent-%COMP%]{color:var(--%NS%app-color-analysis-alpha)!important}.color-context-alpha[_ngcontent-%COMP%]{color:var(--%NS%app-color-context-alpha)}.color-forced-context-alpha[_ngcontent-%COMP%]{color:var(--%NS%app-color-context-alpha)!important}.background-hover[_ngcontent-%COMP%]:not(.background-selected){background:var(--%NS%app-background-color-hover)}@keyframes _ngcontent-%COMP%_shimmer-animation{0%{background-position:-1000px 0}to{background-position:1000px 0}}svg[_ngcontent-%COMP%]{height:100%;box-sizing:border-box;border-left:2px solid var(--%NS%app-border-color);border-right:2px solid var(--%NS%app-border-color);stroke:var(--%NS%app-border-color);fill:var(--%NS%app-border-color);fill-opacity:.15;stroke-width:2px;background:var(--%NS%app-background-color-bis)}`]})}}return n})();var uo=class{constructor(r,o,a,t){this.sizeContainerSupplier=r,this.elementInPixelSupplier=o,this.scrollSizeSupplier=a,this.updateScroll=t}};var Mo=class{constructor(r,o,a){this.leftEditor=r,this.rightEditor=o,this.linker=a,this.topSyncContext=new uo(t=>t.height,t=>t.lineHeight,t=>t.getScreenLength(),(t,e)=>t.setScrollTop(e)),this.leftSyncContext=new uo(t=>t.width,t=>t.characterWidth,t=>t.getScreenWidth(),(t,e)=>t.setScrollLeft(e)),this.changeScrollTopLRCallback=t=>this._syncScroll(this.leftEditor,this.rightEditor,t,this.topSyncContext),this.changeScrollLeftLRCallback=t=>this._syncScroll(this.leftEditor,this.rightEditor,t,this.leftSyncContext),this.changeScrollTopRLCallback=t=>this._syncScroll(this.rightEditor,this.leftEditor,t,this.topSyncContext),this.changeScrollLeftRLCallback=t=>this._syncScroll(this.rightEditor,this.leftEditor,t,this.leftSyncContext),this.linkerTopLeftOffsetCallback=t=>this.linker.leftOffset.next(Math.max(0,t)),this.linkerTopRightOffsetCallback=t=>this.linker.rightOffset.next(Math.max(0,t))}initializeEditorsSync(){this.leftEditor.editor.session.removeEventListener(`changeScrollTop`,this.changeScrollTopLRCallback),this.leftEditor.editor.session.removeEventListener(`changeScrollLeft`,this.changeScrollLeftLRCallback),this.leftEditor.editor.session.addEventListener(`changeScrollTop`,this.changeScrollTopLRCallback),this.leftEditor.editor.session.addEventListener(`changeScrollLeft`,this.changeScrollLeftLRCallback),this.rightEditor.editor.session.removeEventListener(`changeScrollTop`,this.changeScrollTopRLCallback),this.rightEditor.editor.session.removeEventListener(`changeScrollLeft`,this.changeScrollLeftRLCallback),this.rightEditor.editor.session.addEventListener(`changeScrollTop`,this.changeScrollTopRLCallback),this.rightEditor.editor.session.addEventListener(`changeScrollLeft`,this.changeScrollLeftRLCallback)}initializeEditorsLinkerSync(r,o){this.linker.matches=this._extractMatchingDiffs(r,o),this.linker.leftLineHeight.next(this.leftEditor.editor.renderer.lineHeight),this.linker.rightLineHeight.next(this.rightEditor.editor.renderer.lineHeight),this.leftEditor.editor.session.removeEventListener(`changeScrollTop`,this.linkerTopLeftOffsetCallback),this.leftEditor.editor.session.addEventListener(`changeScrollTop`,this.linkerTopLeftOffsetCallback),this.rightEditor.editor.session.removeEventListener(`changeScrollTop`,this.linkerTopRightOffsetCallback),this.rightEditor.editor.session.addEventListener(`changeScrollTop`,this.linkerTopRightOffsetCallback)}_extractMatchingDiffs(r,o){let a={left:0,right:0},t=[];
1128return r.forEach(e=>{o.forEach(c=>{c.start.row+a.left===e.start.row+a.right&&t.push({left:c,right:e}),a.right+=c.end.row-c.start.row+1}),a.right=0,a.left+=e.end.row-e.start.row+1}),t}_syncScroll(r,o,a,t){let e=r.editor.renderer,c=r.editor.session,p=o.editor.renderer,i=o.editor.session,l=t.elementInPixelSupplier(e),s=t.elementInPixelSupplier(p),d=Wc$1(t.sizeContainerSupplier(e.container.getBoundingClientRect())/l),f=Wc$1(t.sizeContainerSupplier(p.container.getBoundingClientRect())/s),_=t.scrollSizeSupplier(c)-d,m=t.scrollSizeSupplier(i)-f;if(m<0)return;let u=Wx(a/(l*_),0,1),P=s*m;t.updateScroll(i,u*P)}};var mn=[`left`];var un=[`right`];var Mn$1=[`linker`];function Cn(n,r){if(n&1){let o=lw();Zi$1(0,`lib-code-diff-menu`,3),mm$1(`changeMode`,function(t){xd$1(o);return Ad$1(gw().changeMode(t))})(`expand`,function(){xd$1(o);return Ad$1(gw().openInDialog())})(`goToNextMarker`,function(){xd$1(o);return Ad$1(gw().goToNextMarker())})(`goToPreviousMarker`,function(){xd$1(o);return Ad$1(gw().goToPreviousMarker())})(`switchFormatted`,function(){xd$1(o);return Ad$1(gw().switchFormatted())}),xl$1(),lm$1(1,`lib-code-editor`,4,0)(3,`lib-split-code-diff-linker`,null,1)(5,`lib-code-editor`,4,2)}if(n&2){let o=gw();cm$1(`changeModeIcon`,o.changeModeIcon)(`changeModeMode`,o.changeModeMode)(`changeModeTitle`,`Enable unified code diff`)(`currentMarkerIndex`,o.currentMarkerIndex())(`focused`,o.focused())(`isFormatSupported`,o.isFormatSupported())(`isFormatted`,o.isFormatted())(`isInDialog`,o.isInDialog())(`isMultiLine`,o.isMultiLine())(`leftAndRightTheSame`,o.leftAndRightTheSame())(`markers`,o.markers()),zE(),cm$1(`enableBasicAutoCompletion`,!1)(`lineWrap`,!o.isMultiLine())(`mode`,o.mode())(`scrollToBottomOnInit`,!1)(`readonly`,!0),zE(4),cm$1(`enableBasicAutoCompletion`,!1)(`lineWrap`,!o.isMultiLine())(`mode`,o.mode())(`scrollToBottomOnInit`,!1)(`readonly`,!0)}}var At$1=(()=>{class n extends ho{constructor(){super(),this.changeModeIcon=new e$6().icon(m5).transform(`shrink-1`).build(),this.changeModeMode=`unified`,this.isVisible=VH(),this.leftEditor=BH(`left`),this.rightEditor=BH(`right`),this.linker=BH(`linker`),this.visible=new nr$1(!1),Ka$1(()=>{let o=this.isVisible();o!==void 0&&this.visible.next(o)})}ngAfterViewInit(){this.visible.pipe(Vg$1(this.destroyed),Nu$1(()=>this.changeDetectorRef.detectChanges()),lt$3(o=>o)).subscribe(()=>{let o=this.leftEditor(),a=this.rightEditor(),t=this.linker();this.synchronizer=new Mo(o,a,t),this._loadIsFormatted(),this._listenDiffChanges(),this._setFocusHandlers(o,a),this.synchronizer.initializeEditorsSync()})}_updateEditor(o){this._resetData();let a=this.leftEditor(),t=this.rightEditor();!o||!a||!t||(this._removeMarkers(a.editor.session,t.editor.session),a.value.set(`Loading...`),t.value.set(``),this._doUpdateEditorInWebWorker(this._getFormattedDiff(o)))}_computeDiffRanges(o){return this.isMultiLine()?this._changesToRangesMultiLine(o):this._changesToRangesWords(o)}_completeRangesWords(o,a){let t=[],e=0;return o.forEach(c=>{let p=c[1].length;a(c)&&t.push(new Co.Range(0,e,0,e+p)),e+=p}),t}goToNextMarker(){if(!this.markers().length||!this.isMultiLine())return;let o=this.currentMarkerIndex()+1;o>=this.markers().length&&(o=0),this._updateCurrentMarker(o),this._getEditorFromMarker()?.focus()}goToPreviousMarker(){if(!this.markers().length||!this.isMultiLine())return;let o=this.currentMarkerIndex()-1;o<0&&(o=this.markers().length-1),this._updateCurrentMarker(o),this._getEditorFromMarker()?.focus()}_getEditorFromMarker(){return this.markers()[this.currentMarkerIndex()].clazz.startsWith(no$1)?this.leftEditor()?.editor:this.rightEditor()?.editor}isSplitCodeDiff(){return!0}find(o,a={caseSensitive:!1},t){return this.leftEditor()?.find(o,a,t)||this.rightEditor()?.find(o,a,t)||!1}_handleDiffResultInWebWorkerIfPossible(o){this.isMultiLine.set(o.isMultiline);let a=o.diffs,t=this._computeDiffRanges(a),e=a.map(f=>f[0]<=0?f[1]:``).join(``),c=a.map(f=>f[0]>=0?f[1]:``).join(``),p=this.leftEditor(),i=this.rightEditor();if(!p||!i)return;p.value.set(e),i.value.set(c);let l=p.editor.session,s=i.editor.session;
1128t.addedRanges.forEach(f=>s.addMarker(f,fo,this._rangeToType(f))),t.removedRanges.forEach(f=>l.addMarker(f,no$1,this._rangeToType(f)));let d=[];d.push(...Object.values(l.getMarkers()||{})),d.push(...Object.values(s.getMarkers()||{})),d.sort((f,_)=>{let m=f.range,u=_.range;return Co.Range.comparePoints(m.start,u.start)}),this.markers.set(d),this.synchronizer.initializeEditorsLinkerSync(t.addedRanges,t.removedRanges),this.goToNextMarker()}_changesToRangesMultiLine(o){return{addedRanges:this._completeRangesMultiline(o.filter(a=>a[0]>=0),a=>a[0]>0),removedRanges:this._completeRangesMultiline(o.filter(a=>a[0]<=0),a=>a[0]<0)}}_completeRangesMultiline(o,a){let t=[],e=0;return o.forEach(c=>{let p=q.countLines(c[1])-1,i=e,l=i+Math.max(0,p-1);a(c)&&t.push(new Co.Range(i,0,l,1)),e+=p}),t}_changesToRangesWords(o){return{addedRanges:this._completeRangesWords(o.filter(a=>a[0]>=0),a=>a[0]>0),removedRanges:this._completeRangesWords(o.filter(a=>a[0]<=0),a=>a[0]<0)}}_scrollToRange(o){this._getEditorFromMarker()?.scrollToLine(o.start.row,!0,!0,K$4)}static{this.ɵfac=function(a){return new(a||n)}}static{this.ɵcmp=bb({type:n,selectors:[[`lib-split-code-diff`,`diff`,``]],viewQuery:function(a,t){a&1&&Dm$1(t.leftEditor,mn,5)(t.rightEditor,un,5)(t.linker,Mn$1,5),a&2&&ww(3)},inputs:{isVisible:[1,`isVisible`]},features:[Xh],decls:1,vars:1,consts:[[`left`,``],[`linker`,``],[`right`,``],[1,`options`,`m-r`,3,`changeMode`,`expand`,`goToNextMarker`,`goToPreviousMarker`,`switchFormatted`,`changeModeIcon`,`changeModeMode`,`changeModeTitle`,`currentMarkerIndex`,`focused`,`isFormatSupported`,`isFormatted`,`isInDialog`,`isMultiLine`,`leftAndRightTheSame`,`markers`],[3,`enableBasicAutoCompletion`,`lineWrap`,`mode`,`scrollToBottomOnInit`,`readonly`]],template:function(a,t){a&1&&Jb(0,Cn,7,21),a&2&&Xb(t.visible.value?0:-1)},dependencies:[mo,Ye,en$1],styles:[`.absolute-filler[_ngcontent-%COMP%]{position:absolute;inset:0}.block-filler[_ngcontent-%COMP%]{display:block;width:100%;height:100%;box-sizing:border-box}.block-filler-x[_ngcontent-%COMP%]{display:block;width:100%}.block-filler-y[_ngcontent-%COMP%]{display:block;height:100%}.full-height[_ngcontent-%COMP%]{height:100%}.full-width[_ngcontent-%COMP%]{width:100%}[_ngcontent-%COMP%]:root{--%NS%app-font-family: OctoPerf;--%NS%app-size-ratio: .9;--%NS%app-font-size-2xs: calc(8px * var(--%NS%app-size-ratio));--%NS%app-font-size-xs: calc(10px * var(--%NS%app-size-ratio));--%NS%app-font-size-sm: calc(12px * var(--%NS%app-size-ratio));--%NS%app-font-size: calc(14px * var(--%NS%app-size-ratio));--%NS%app-font-size-lg: calc(16px * var(--%NS%app-size-ratio));--%NS%app-font-size-xl: calc(20px * var(--%NS%app-size-ratio));--%NS%app-font-size-2xl: calc(24px * var(--%NS%app-size-ratio));--%NS%app-font-size-3xl: calc(34px * var(--%NS%app-size-ratio));--%NS%app-font-size-4xl: calc(48px * var(--%NS%app-size-ratio));--%NS%app-font-size-5xl: calc(60px * var(--%NS%app-size-ratio));--%NS%app-font-size-6xl: calc(96px * var(--%NS%app-size-ratio));--%NS%app-line-height-2xs: calc(8px * var(--%NS%app-size-ratio));--%NS%app-line-height-xs: calc(10px * var(--%NS%app-size-ratio));--%NS%app-line-height-sm: calc(12px * var(--%NS%app-size-ratio));--%NS%app-line-height: calc(20px * var(--%NS%app-size-ratio));--%NS%app-line-height-lg: calc(22px * var(--%NS%app-size-ratio));--%NS%app-line-height-xl: calc(28px * var(--%NS%app-size-ratio));--%NS%app-line-height-2xl: calc(32px * var(--%NS%app-size-ratio));--%NS%app-line-height-3xl: calc(40px * var(--%NS%app-size-ratio));--%NS%app-line-height-4xl: calc(50px * var(--%NS%app-size-ratio));--%NS%app-line-height-5xl: calc(60px * var(--%NS%app-size-ratio));--%NS%app-line-height-6xl: calc(96px * var(--%NS%app-size-ratio));--%NS%app-margin-x-2xs: calc(4px * var(--%NS%app-size-ratio));--%NS%app-margin-y-2xs: calc(3px * var(--%NS%app-size-ratio));--%NS%app-margin-x-xs: calc(6px * var(--%NS%app-size-ratio));--%NS%app-margin-y-xs: calc(4px * var(--%NS%app-size-ratio));--%NS%app-margin-x-sm: calc(12px * var(--%NS%app-size-ratio));--%NS%app-margin-y-sm: calc(6px * var(--%NS%app-size-ratio));--%NS%app-margin-x-md: calc(20px * var(--%NS%app-size-ratio));--%NS%app-margin-y-md: calc(12px * var(--%NS%app-size-ratio));--%NS%app-margin-x-lg: calc(28px * var(--%NS%app-size-ratio));--%NS%app-margin-y-lg: calc(20px * var(--%NS%app-size-ratio));--%NS%app-margin-x-xl: calc(34px * var(--%NS%app-size-ratio));--%NS%app-margin-y-xl: calc(28px * var(--%NS%app-size-ratio));--%NS%app-margin-x-2xl: calc(40px * var(--%NS%app-size-ratio));--%NS%app-margin-y-2xl: calc(34px * var(--%NS%app-size-ratio));--%NS%app-margin-x-3xl: calc(48px * var(--%NS%app-size-ratio));--%NS%app-margin-y-3xl: calc(42px * var(--%NS%app-size-ratio));--%NS%app-padding-x-2xs: calc(4px * var(--%NS%app-size-ratio));--%NS%app-padding-y-2xs: calc(3px * var(--%NS%app-size-ratio));--%NS%app-padding-x-xs: calc(6px * var(--%NS%app-size-ratio));--%NS%app-padding-y-xs: calc(4px * var(--%NS%app-size-ratio));--%NS%app-padding-x-sm: calc(12px * var(--%NS%app-size-ratio));--%NS%app-padding-y-sm: calc(6px * var(--%NS%app-size-ratio));--%NS%app-padding-x-md: calc(20px * var(--%NS%app-size-ratio));--%NS%app-padding-y-md: calc(12px * var(--%NS%app-size-ratio));--%NS%app-padding-x-lg: calc(28px * var(--%NS%app-size-ratio));--%NS%app-padding-y-lg: calc(20px * var(--%NS%app-size-ratio));--%NS%app-padding-x-xl: calc(34px * var(--%NS%app-size-ratio));--%NS%app-padding-y-xl: calc(28px * var(--%NS%app-size-ratio));--%NS%app-padding-x-2xl: calc(40px * var(--%NS%app-size-ratio));--%NS%app-padding-y-2xl: calc(34px * var(--%NS%app-size-ratio));--%NS%app-padding-x-3xl: calc(48px * var(--%NS%app-size-ratio));--%NS%app-padding-y-3xl: calc(42px * var(--%NS%app-size-ratio));--%NS%app-font-weight: 400;--%NS%app-font-weight-bold: bold;--%NS%app-font-weight-thin: 300;--%NS%app-border-width: 1px;--%NS%app-border: 1px solid var(--%NS%app-border-color);--%NS%app-border-highlight: 1px solid var(--%NS%app-border-highlight-color);--%NS%app-border-radius: 4px;--%NS%app-sort-header-arrow-width: calc(18px * var(--%NS%app-size-ratio));--%NS%app-icon-button-size: calc(28px * var(--%NS%app-size-ratio));--%NS%app-icon-button-font-size: calc(18px * var(--%NS%app-size-ratio));--%NS%app-tabs-header-default-height: calc(32px * var(--%NS%app-size-ratio));--%NS%app-button-default-height: calc(24px * var(--%NS%app-size-ratio));--%NS%app-input-default-height: calc(24px * var(--%NS%app-size-ratio));
1128--%NS%app-lib-form-field-height: calc(36px * var(--%NS%app-size-ratio));--%NS%app-tile-opacity: .7}.fill-base[_ngcontent-%COMP%]{fill:var(--%NS%app-background-color-base)}.background-base[_ngcontent-%COMP%]{background-color:var(--%NS%app-background-color-base)}.fill-forced-base[_ngcontent-%COMP%]{fill:var(--%NS%app-background-color-base)!important}.background-forced-base[_ngcontent-%COMP%]{background-color:var(--%NS%app-background-color-base)!important}.fill-white[_ngcontent-%COMP%]{fill:#fff}.background-white[_ngcontent-%COMP%]{background-color:#fff}.fill-forced-white[_ngcontent-%COMP%]{fill:#fff!important}.background-forced-white[_ngcontent-%COMP%]{background-color:#fff!important}.fill-form[_ngcontent-%COMP%]{fill:var(--%NS%app-background-color-form)}.background-form[_ngcontent-%COMP%]{background-color:var(--%NS%app-background-color-form)}.fill-forced-form[_ngcontent-%COMP%]{fill:var(--%NS%app-background-color-form)!important}.background-forced-form[_ngcontent-%COMP%]{background-color:var(--%NS%app-background-color-form)!important}.fill-hover[_ngcontent-%COMP%]{fill:var(--%NS%app-background-color-hover)}.background-hover[_ngcontent-%COMP%]{background-color:var(--%NS%app-background-color-hover)}.fill-forced-hover[_ngcontent-%COMP%]{fill:var(--%NS%app-background-color-hover)!important}.background-forced-hover[_ngcontent-%COMP%]{background-color:var(--%NS%app-background-color-hover)!important}.fill-unset[_ngcontent-%COMP%]{fill:unset}.background-unset[_ngcontent-%COMP%]{background-color:unset}.fill-forced-unset[_ngcontent-%COMP%]{fill:unset!important}.background-forced-unset[_ngcontent-%COMP%]{background-color:unset!important}.fill-inherit[_ngcontent-%COMP%]{fill:inherit}.background-inherit[_ngcontent-%COMP%]{background-color:inherit}.fill-forced-inherit[_ngcontent-%COMP%]{fill:inherit!important}.background-forced-inherit[_ngcontent-%COMP%]{background-color:inherit!important}.fill-foreground[_ngcontent-%COMP%]{fill:var(--%NS%app-foreground-color-base)}.background-foreground[_ngcontent-%COMP%]{background-color:var(--%NS%app-foreground-color-base)}.fill-forced-foreground[_ngcontent-%COMP%]{fill:var(--%NS%app-foreground-color-base)!important}.background-forced-foreground[_ngcontent-%COMP%]{background-color:var(--%NS%app-foreground-color-base)!important}.fill-bis[_ngcontent-%COMP%]{fill:var(--%NS%app-background-color-bis)}.background-bis[_ngcontent-%COMP%]{background-color:var(--%NS%app-background-color-bis)}.fill-forced-bis[_ngcontent-%COMP%]{fill:var(--%NS%app-background-color-bis)!important}.background-forced-bis[_ngcontent-%COMP%]{background-color:var(--%NS%app-background-color-bis)!important}.fill-ter[_ngcontent-%COMP%]{fill:var(--%NS%app-background-color-ter)}.background-ter[_ngcontent-%COMP%]{background-color:var(--%NS%app-background-color-ter)}.fill-forced-ter[_ngcontent-%COMP%]{fill:var(--%NS%app-background-color-ter)!important}.background-forced-ter[_ngcontent-%COMP%]{background-color:var(--%NS%app-background-color-ter)!important}.fill-table-even[_ngcontent-%COMP%]{fill:var(--%NS%app-background-color-table-even)}.background-table-even[_ngcontent-%COMP%]{background-color:var(--%NS%app-background-color-table-even)}.fill-forced-table-even[_ngcontent-%COMP%]{fill:var(--%NS%app-background-color-table-even)!important}.background-forced-table-even[_ngcontent-%COMP%]{background-color:var(--%NS%app-background-color-table-even)!important}.fill-selected[_ngcontent-%COMP%]{fill:var(--%NS%app-background-color-selected)}.background-selected[_ngcontent-%COMP%]{background-color:var(--%NS%app-background-color-selected)}.fill-forced-selected[_ngcontent-%COMP%]{fill:var(--%NS%app-background-color-selected)!important}.background-forced-selected[_ngcontent-%COMP%]{background-color:var(--%NS%app-background-color-selected)!important}.fill-selected-darker[_ngcontent-%COMP%]{fill:var(--%NS%app-background-color-selected-darker)}.background-selected-darker[_ngcontent-%COMP%]{background-color:var(--%NS%app-background-color-selected-darker)}.fill-forced-selected-darker[_ngcontent-%COMP%]{fill:var(--%NS%app-background-color-selected-darker)!important}.background-forced-selected-darker[_ngcontent-%COMP%]{background-color:var(--%NS%app-background-color-selected-darker)!important}
1128.fill-info[_ngcontent-%COMP%]{fill:var(--%NS%app-color-info)}.background-info[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-info)}.fill-forced-info[_ngcontent-%COMP%]{fill:var(--%NS%app-color-info)!important}.background-forced-info[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-info)!important}.fill-warn[_ngcontent-%COMP%]{fill:var(--%NS%app-color-warn)}.background-warn[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-warn)}.fill-forced-warn[_ngcontent-%COMP%]{fill:var(--%NS%app-color-warn)!important}.background-forced-warn[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-warn)!important}.fill-error[_ngcontent-%COMP%]{fill:var(--%NS%app-color-error)}.background-error[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-error)}.fill-forced-error[_ngcontent-%COMP%]{fill:var(--%NS%app-color-error)!important}.background-forced-error[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-error)!important}.fill-primary[_ngcontent-%COMP%]{fill:var(--%NS%app-color-primary)}.background-primary[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-primary)}.fill-forced-primary[_ngcontent-%COMP%]{fill:var(--%NS%app-color-primary)!important}.background-forced-primary[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-primary)!important}.fill-secondary[_ngcontent-%COMP%]{fill:var(--%NS%app-color-secondary)}.background-secondary[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-secondary)}.fill-forced-secondary[_ngcontent-%COMP%]{fill:var(--%NS%app-color-secondary)!important}.background-forced-secondary[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-secondary)!important}.fill-success[_ngcontent-%COMP%]{fill:var(--%NS%app-color-success)}.background-success[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-success)}.fill-forced-success[_ngcontent-%COMP%]{fill:var(--%NS%app-color-success)!important}.background-forced-success[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-success)!important}.fill-accent[_ngcontent-%COMP%]{fill:var(--%NS%app-color-accent)}.background-accent[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-accent)}.fill-forced-accent[_ngcontent-%COMP%]{fill:var(--%NS%app-color-accent)!important}.background-forced-accent[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-accent)!important}.fill-info-alpha[_ngcontent-%COMP%]{fill:var(--%NS%app-color-info-alpha)}.background-info-alpha[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-info-alpha)}.fill-forced-info-alpha[_ngcontent-%COMP%]{fill:var(--%NS%app-color-info-alpha)!important}.background-forced-info-alpha[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-info-alpha)!important}.fill-warn-alpha[_ngcontent-%COMP%]{fill:var(--%NS%app-color-warn-alpha)}.background-warn-alpha[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-warn-alpha)}.fill-forced-warn-alpha[_ngcontent-%COMP%]{fill:var(--%NS%app-color-warn-alpha)!important}.background-forced-warn-alpha[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-warn-alpha)!important}.fill-error-alpha[_ngcontent-%COMP%]{fill:var(--%NS%app-color-error-alpha)}.background-error-alpha[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-error-alpha)}.fill-forced-error-alpha[_ngcontent-%COMP%]{fill:var(--%NS%app-color-error-alpha)!important}.background-forced-error-alpha[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-error-alpha)!important}.fill-primary-alpha[_ngcontent-%COMP%]{fill:var(--%NS%app-color-primary-alpha)}.background-primary-alpha[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-primary-alpha)}.fill-forced-primary-alpha[_ngcontent-%COMP%]{fill:var(--%NS%app-color-primary-alpha)!important}.background-forced-primary-alpha[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-primary-alpha)!important}.fill-secondary-alpha[_ngcontent-%COMP%]{fill:var(--%NS%app-color-secondary-alpha)}.background-secondary-alpha[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-secondary-alpha)}.fill-forced-secondary-alpha[_ngcontent-%COMP%]{fill:var(--%NS%app-color-secondary-alpha)!important}.background-forced-secondary-alpha[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-secondary-alpha)!important}
1128.fill-success-alpha[_ngcontent-%COMP%]{fill:var(--%NS%app-color-success-alpha)}.background-success-alpha[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-success-alpha)}.fill-forced-success-alpha[_ngcontent-%COMP%]{fill:var(--%NS%app-color-success-alpha)!important}.background-forced-success-alpha[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-success-alpha)!important}.fill-accent-alpha[_ngcontent-%COMP%]{fill:var(--%NS%app-color-accent-alpha)}.background-accent-alpha[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-accent-alpha)}.fill-forced-accent-alpha[_ngcontent-%COMP%]{fill:var(--%NS%app-color-accent-alpha)!important}.background-forced-accent-alpha[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-accent-alpha)!important}.fill-administration[_ngcontent-%COMP%]{fill:var(--%NS%app-color-administration)}.background-administration[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-administration)}.fill-forced-administration[_ngcontent-%COMP%]{fill:var(--%NS%app-color-administration)!important}.background-forced-administration[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-administration)!important}.fill-workspace[_ngcontent-%COMP%]{fill:var(--%NS%app-color-workspace)}.background-workspace[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-workspace)}.fill-forced-workspace[_ngcontent-%COMP%]{fill:var(--%NS%app-color-workspace)!important}.background-forced-workspace[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-workspace)!important}.fill-project[_ngcontent-%COMP%]{fill:var(--%NS%app-color-project)}.background-project[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-project)}.fill-forced-project[_ngcontent-%COMP%]{fill:var(--%NS%app-color-project)!important}.background-forced-project[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-project)!important}.fill-design[_ngcontent-%COMP%]{fill:var(--%NS%app-color-design)}.background-design[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-design)}.fill-forced-design[_ngcontent-%COMP%]{fill:var(--%NS%app-color-design)!important}.background-forced-design[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-design)!important}.fill-runtime[_ngcontent-%COMP%]{fill:var(--%NS%app-color-runtime)}.background-runtime[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-runtime)}.fill-forced-runtime[_ngcontent-%COMP%]{fill:var(--%NS%app-color-runtime)!important}.background-forced-runtime[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-runtime)!important}.fill-analysis[_ngcontent-%COMP%]{fill:var(--%NS%app-color-analysis)}.background-analysis[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-analysis)}.fill-forced-analysis[_ngcontent-%COMP%]{fill:var(--%NS%app-color-analysis)!important}.background-forced-analysis[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-analysis)!important}.fill-context[_ngcontent-%COMP%]{fill:var(--%NS%app-color-context)}.background-context[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-context)}.fill-forced-context[_ngcontent-%COMP%]{fill:var(--%NS%app-color-context)!important}.background-forced-context[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-context)!important}.fill-administration-alpha[_ngcontent-%COMP%]{fill:var(--%NS%app-color-administration-alpha)}.background-administration-alpha[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-administration-alpha)}.fill-forced-administration-alpha[_ngcontent-%COMP%]{fill:var(--%NS%app-color-administration-alpha)!important}.background-forced-administration-alpha[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-administration-alpha)!important}.fill-workspace-alpha[_ngcontent-%COMP%]{fill:var(--%NS%app-color-workspace-alpha)}.background-workspace-alpha[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-workspace-alpha)}.fill-forced-workspace-alpha[_ngcontent-%COMP%]{fill:var(--%NS%app-color-workspace-alpha)!important}.background-forced-workspace-alpha[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-workspace-alpha)!important}.fill-project-alpha[_ngcontent-%COMP%]{fill:var(--%NS%app-color-project-alpha)}.background-project-alpha[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-project-alpha)}
1128.fill-forced-project-alpha[_ngcontent-%COMP%]{fill:var(--%NS%app-color-project-alpha)!important}.background-forced-project-alpha[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-project-alpha)!important}.fill-design-alpha[_ngcontent-%COMP%]{fill:var(--%NS%app-color-design-alpha)}.background-design-alpha[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-design-alpha)}.fill-forced-design-alpha[_ngcontent-%COMP%]{fill:var(--%NS%app-color-design-alpha)!important}.background-forced-design-alpha[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-design-alpha)!important}.fill-runtime-alpha[_ngcontent-%COMP%]{fill:var(--%NS%app-color-runtime-alpha)}.background-runtime-alpha[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-runtime-alpha)}.fill-forced-runtime-alpha[_ngcontent-%COMP%]{fill:var(--%NS%app-color-runtime-alpha)!important}.background-forced-runtime-alpha[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-runtime-alpha)!important}.fill-analysis-alpha[_ngcontent-%COMP%]{fill:var(--%NS%app-color-analysis-alpha)}.background-analysis-alpha[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-analysis-alpha)}.fill-forced-analysis-alpha[_ngcontent-%COMP%]{fill:var(--%NS%app-color-analysis-alpha)!important}.background-forced-analysis-alpha[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-analysis-alpha)!important}.fill-context-alpha[_ngcontent-%COMP%]{fill:var(--%NS%app-color-context-alpha)}.background-context-alpha[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-context-alpha)}.fill-forced-context-alpha[_ngcontent-%COMP%]{fill:var(--%NS%app-color-context-alpha)!important}.background-forced-context-alpha[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-context-alpha)!important}.color-base[_ngcontent-%COMP%]{color:var(--%NS%app-foreground-color-base)}.color-forced-base[_ngcontent-%COMP%]{color:var(--%NS%app-foreground-color-base)!important}.color-white[_ngcontent-%COMP%]{color:#fff}.color-forced-white[_ngcontent-%COMP%]{color:#fff!important}.color-form[_ngcontent-%COMP%]{color:var(--%NS%app-foregrounf-color-form)}.color-forced-form[_ngcontent-%COMP%]{color:var(--%NS%app-foregrounf-color-form)!important}.color-hover[_ngcontent-%COMP%]{color:var(--%NS%app-foreground-color-muted)}.color-forced-hover[_ngcontent-%COMP%]{color:var(--%NS%app-foreground-color-muted)!important}.color-soft[_ngcontent-%COMP%]{color:var(--%NS%app-foreground-color-soft)}.color-forced-soft[_ngcontent-%COMP%]{color:var(--%NS%app-foreground-color-soft)!important}.color-muted[_ngcontent-%COMP%]{color:var(--%NS%app-foreground-color-muted)}.color-forced-muted[_ngcontent-%COMP%]{color:var(--%NS%app-foreground-color-muted)!important}.color-background[_ngcontent-%COMP%]{color:var(--%NS%app-background-color-base)}.color-forced-background[_ngcontent-%COMP%]{color:var(--%NS%app-background-color-base)!important}.color-unset[_ngcontent-%COMP%]{color:unset}.color-forced-unset[_ngcontent-%COMP%]{color:unset!important}.color-info[_ngcontent-%COMP%]{color:var(--%NS%app-color-info)}.color-forced-info[_ngcontent-%COMP%]{color:var(--%NS%app-color-info)!important}.color-warn[_ngcontent-%COMP%]{color:var(--%NS%app-color-warn)}.color-forced-warn[_ngcontent-%COMP%]{color:var(--%NS%app-color-warn)!important}.color-error[_ngcontent-%COMP%]{color:var(--%NS%app-color-error)}.color-forced-error[_ngcontent-%COMP%]{color:var(--%NS%app-color-error)!important}.color-primary[_ngcontent-%COMP%]{color:var(--%NS%app-color-primary)}.color-forced-primary[_ngcontent-%COMP%]{color:var(--%NS%app-color-primary)!important}.color-secondary[_ngcontent-%COMP%]{color:var(--%NS%app-color-secondary)}.color-forced-secondary[_ngcontent-%COMP%]{color:var(--%NS%app-color-secondary)!important}.color-success[_ngcontent-%COMP%]{color:var(--%NS%app-color-success)}.color-forced-success[_ngcontent-%COMP%]{color:var(--%NS%app-color-success)!important}.color-accent[_ngcontent-%COMP%]{color:var(--%NS%app-color-accent)}.color-forced-accent[_ngcontent-%COMP%]{color:var(--%NS%app-color-accent)!important}.color-info-alpha[_ngcontent-%COMP%]{color:var(--%NS%app-color-info-alpha)}.color-forced-info-alpha[_ngcontent-%COMP%]{color:var(--%NS%app-color-info-alpha)!important}.color-warn-alpha[_ngcontent-%COMP%]{color:var(--%NS%app-color-warn-alpha)}.color-forced-warn-alpha[_ngcontent-%COMP%]{color:var(--%NS%app-color-warn-alpha)!important}.color-error-alpha[_ngcontent-%COMP%]{color:var(--%NS%app-color-error-alpha)}.color-forced-error-alpha[_ngcontent-%COMP%]{color:var(--%NS%app-color-error-alpha)!important}.color-primary-alpha[_ngcontent-%COMP%]{color:var(--%NS%app-color-primary-alpha)}.color-forced-primary-alpha[_ngcontent-%COMP%]{color:var(--%NS%app-color-primary-alpha)!important}.color-secondary-alpha[_ngcontent-%COMP%]{color:var(--%NS%app-color-secondary-alpha)}.color-forced-secondary-alpha[_ngcontent-%COMP%]{color:var(--%NS%app-color-secondary-alpha)!important}.color-success-alpha[_ngcontent-%COMP%]{color:var(--%NS%app-color-success-alpha)}.color-forced-success-alpha[_ngcontent-%COMP%]{color:var(--%NS%app-color-success-alpha)!important}.color-accent-alpha[_ngcontent-%COMP%]{color:var(--%NS%app-color-accent-alpha)}.color-forced-accent-alpha[_ngcontent-%COMP%]{color:var(--%NS%app-color-accent-alpha)!important}.color-administration[_ngcontent-%COMP%]{color:var(--%NS%app-color-administration)}.color-forced-administration[_ngcontent-%COMP%]{color:var(--%NS%app-color-administration)!important}.color-workspace[_ngcontent-%COMP%]{color:var(--%NS%app-color-workspace)}.color-forced-workspace[_ngcontent-%COMP%]{color:var(--%NS%app-color-workspace)!important}.color-project[_ngcontent-%COMP%]{color:var(--%NS%app-color-project)}.color-forced-project[_ngcontent-%COMP%]{color:var(--%NS%app-color-project)!important}.color-design[_ngcontent-%COMP%]{color:var(--%NS%app-color-design)}.color-forced-design[_ngcontent-%COMP%]{color:var(--%NS%app-color-design)!important}
1128.color-runtime[_ngcontent-%COMP%]{color:var(--%NS%app-color-runtime)}.color-forced-runtime[_ngcontent-%COMP%]{color:var(--%NS%app-color-runtime)!important}.color-analysis[_ngcontent-%COMP%]{color:var(--%NS%app-color-analysis)}.color-forced-analysis[_ngcontent-%COMP%]{color:var(--%NS%app-color-analysis)!important}.color-context[_ngcontent-%COMP%]{color:var(--%NS%app-color-context)}.color-forced-context[_ngcontent-%COMP%]{color:var(--%NS%app-color-context)!important}.color-administration-alpha[_ngcontent-%COMP%]{color:var(--%NS%app-color-administration-alpha)}.color-forced-administration-alpha[_ngcontent-%COMP%]{color:var(--%NS%app-color-administration-alpha)!important}.color-workspace-alpha[_ngcontent-%COMP%]{color:var(--%NS%app-color-workspace-alpha)}.color-forced-workspace-alpha[_ngcontent-%COMP%]{color:var(--%NS%app-color-workspace-alpha)!important}.color-project-alpha[_ngcontent-%COMP%]{color:var(--%NS%app-color-project-alpha)}.color-forced-project-alpha[_ngcontent-%COMP%]{color:var(--%NS%app-color-project-alpha)!important}.color-design-alpha[_ngcontent-%COMP%]{color:var(--%NS%app-color-design-alpha)}.color-forced-design-alpha[_ngcontent-%COMP%]{color:var(--%NS%app-color-design-alpha)!important}.color-runtime-alpha[_ngcontent-%COMP%]{color:var(--%NS%app-color-runtime-alpha)}.color-forced-runtime-alpha[_ngcontent-%COMP%]{color:var(--%NS%app-color-runtime-alpha)!important}.color-analysis-alpha[_ngcontent-%COMP%]{color:var(--%NS%app-color-analysis-alpha)}.color-forced-analysis-alpha[_ngcontent-%COMP%]{color:var(--%NS%app-color-analysis-alpha)!important}.color-context-alpha[_ngcontent-%COMP%]{color:var(--%NS%app-color-context-alpha)}.color-forced-context-alpha[_ngcontent-%COMP%]{color:var(--%NS%app-color-context-alpha)!important}.background-hover[_ngcontent-%COMP%]:not(.background-selected){background:var(--%NS%app-background-color-hover)}@keyframes _ngcontent-%COMP%_shimmer-animation{0%{background-position:-1000px 0}to{background-position:1000px 0}}.text-line-through[_ngcontent-%COMP%]{text-decoration:line-through}.text-highlight[_ngcontent-%COMP%]{color:var(--%NS%app-color-primary);font-weight:700;cursor:pointer}.font-line-2xs[_ngcontent-%COMP%]{font-size:var(--%NS%app-font-size-2xs);line-height:var(--%NS%app-line-height-2xs)}.font-2xs[_ngcontent-%COMP%]{font-size:var(--%NS%app-font-size-2xs)}.font-line-xs[_ngcontent-%COMP%]{font-size:var(--%NS%app-font-size-xs);line-height:var(--%NS%app-line-height-xs)}.font-xs[_ngcontent-%COMP%]{font-size:var(--%NS%app-font-size-xs)}.font-line-sm[_ngcontent-%COMP%]{font-size:var(--%NS%app-font-size-sm);line-height:var(--%NS%app-line-height-sm)}.font-sm[_ngcontent-%COMP%]{font-size:var(--%NS%app-font-size-sm)}.font-line-md[_ngcontent-%COMP%]{font-size:var(--%NS%app-font-size);line-height:var(--%NS%app-line-height)}.font-md[_ngcontent-%COMP%]{font-size:var(--%NS%app-font-size)}.font-line-lg[_ngcontent-%COMP%]{font-size:var(--%NS%app-font-size-lg);line-height:var(--%NS%app-line-height-lg)}.font-lg[_ngcontent-%COMP%]{font-size:var(--%NS%app-font-size-lg)}.font-line-xl[_ngcontent-%COMP%]{font-size:var(--%NS%app-font-size-xl);line-height:var(--%NS%app-line-height-xl)}.font-xl[_ngcontent-%COMP%]{font-size:var(--%NS%app-font-size-xl)}.font-line-2xl[_ngcontent-%COMP%]{font-size:var(--%NS%app-font-size-2xl);line-height:var(--%NS%app-line-height-2xl)}.font-2xl[_ngcontent-%COMP%]{font-size:var(--%NS%app-font-size-2xl)}.font-line-3xl[_ngcontent-%COMP%]{font-size:var(--%NS%app-font-size-3xl);line-height:var(--%NS%app-line-height-3xl)}.font-3xl[_ngcontent-%COMP%]{font-size:var(--%NS%app-font-size-3xl)}.font-line-4xl[_ngcontent-%COMP%]{font-size:var(--%NS%app-font-size-4xl);line-height:var(--%NS%app-line-height-4xl)}.font-4xl[_ngcontent-%COMP%]{font-size:var(--%NS%app-font-size-4xl)}.font-line-5xl[_ngcontent-%COMP%]{font-size:var(--%NS%app-font-size-5xl);line-height:var(--%NS%app-line-height-5xl)}.font-5xl[_ngcontent-%COMP%]{font-size:var(--%NS%app-font-size-5xl)}.font-line-6xl[_ngcontent-%COMP%]{font-size:var(--%NS%app-font-size-6xl);line-height:var(--%NS%app-line-height-6xl)}.font-6xl[_ngcontent-%COMP%]{font-size:var(--%NS%app-font-size-6xl)}.font-weight-thin[_ngcontent-%COMP%]{font-weight:300!important}.font-weight-normal[_ngcontent-%COMP%]{font-weight:400!important}
1128.font-weight-medium[_ngcontent-%COMP%]{font-weight:500!important}.font-weight-bold[_ngcontent-%COMP%]{font-weight:700!important}.monospace[_ngcontent-%COMP%]{font-family:monospace}.text-ellipsis[_ngcontent-%COMP%]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.text-center[_ngcontent-%COMP%]{text-align:center}.page-break[_ngcontent-%COMP%]{break-before:page}.page-break[_ngcontent-%COMP%]:before{display:block;width:100%!important;text-align:center!important;font-style:normal!important;text-decoration:none!important;line-height:0!important;font-weight:300!important;border-bottom:1px solid var(--%NS%app-foreground-color-soft)!important;content:"page break";font-size:var(--%NS%app-font-size-sm);line-height:var(--%NS%app-line-height-sm);color:var(--%NS%app-foreground-color-muted);padding:0!important;margin-bottom:20px}@media print{.page-break[_ngcontent-%COMP%]:before{display:none!important}}.flex-gap[_ngcontent-%COMP%]{gap:calc(20px * var(--%NS%app-size-ratio))}.flex-align-center[_ngcontent-%COMP%]{align-items:center;justify-content:center}.flex-container-row[_ngcontent-%COMP%]{display:flex;flex-direction:row;box-sizing:border-box}.flex-container-column[_ngcontent-%COMP%]{display:flex;flex-direction:column;box-sizing:border-box}.flex-item-grow[_ngcontent-%COMP%]{flex:1 0 auto}.flex-item-initial[_ngcontent-%COMP%]{flex:0 1 auto}.flex-item-available-height[_ngcontent-%COMP%]{flex:1 0 auto;height:1%}.ace_removed[_ngcontent-%COMP%], .ace_removed_current[_ngcontent-%COMP%]{background-color:#f57c0026;border-left:2px solid #f57c00;border-radius:0;position:absolute}.ace_added[_ngcontent-%COMP%], .ace_added_current[_ngcontent-%COMP%]{background-color:#66bb6a26;border-left:2px solid #66bb6a;border-radius:0;position:absolute}.ace_focus[_ngcontent-%COMP%]   .ace_removed_current[_ngcontent-%COMP%]{background-color:#f57c0066;border-left:2px solid #f57c00;border-radius:0;position:absolute}.ace_focus[_ngcontent-%COMP%]   .ace_added_current[_ngcontent-%COMP%]{background-color:#66bb6a66;border-left:2px solid #66bb6a;border-radius:0;position:absolute}.ace-octoperf[readonly][_ngcontent-%COMP%]   .ace_gutter-active-line[_ngcontent-%COMP%]{background-color:transparent!important;color:var(--%NS%app-foreground-color-muted)!important}.ace-octoperf[readonly][_ngcontent-%COMP%]   .ace_cursor[_ngcontent-%COMP%]{color:transparent!important}.ace-octoperf[_ngcontent-%COMP%]{background:inherit;color:var(--%NS%app-foreground-color-base)}.ace-octoperf[_ngcontent-%COMP%]   .ace_search[_ngcontent-%COMP%]{box-shadow:0 5px 5px -3px #0003,0 8px 10px 1px #00000024,0 3px 14px 2px #0000001f}.ace-octoperf[_ngcontent-%COMP%]   .ace_log[_ngcontent-%COMP%]{font-weight:700}.ace-octoperf[_ngcontent-%COMP%]   .ace_log.ace_info[_ngcontent-%COMP%]{color:var(--%NS%app-color-info)}.ace-octoperf[_ngcontent-%COMP%]   .ace_log.ace_warn[_ngcontent-%COMP%]{color:var(--%NS%app-color-warn)}.ace-octoperf[_ngcontent-%COMP%]   .ace_log.ace_error[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-error)}.ace-octoperf[_ngcontent-%COMP%]   .ace_gutter[_ngcontent-%COMP%]{background:inherit;color:var(--%NS%app-foreground-color-muted);font-size:var(--%NS%app-font-size);font-weight:500!important}[_ngcontent-%COMP%]:root   .ace-octoperf[_ngcontent-%COMP%]   .ace_left[_ngcontent-%COMP%], .octoperf-dark-theme[_ngcontent-%COMP%]   .ace-octoperf[_ngcontent-%COMP%]   .ace_left[_ngcontent-%COMP%]{background-color:#7986cb4d;border-left:2px solid rgba(121,134,203,.8);border-radius:0;position:absolute}[_ngcontent-%COMP%]:root   .ace-octoperf[_ngcontent-%COMP%]   .ace_right[_ngcontent-%COMP%], .octoperf-dark-theme[_ngcontent-%COMP%]   .ace-octoperf[_ngcontent-%COMP%]   .ace_right[_ngcontent-%COMP%]{background-color:#81c7844d;border-left:2px solid rgba(129,199,132,.8);border-radius:0;position:absolute}[_ngcontent-%COMP%]:root   .ace-octoperf.ace_focus[_ngcontent-%COMP%]   .ace_gutter-active-line[_ngcontent-%COMP%], .octoperf-dark-theme[_ngcontent-%COMP%]   .ace-octoperf.ace_focus[_ngcontent-%COMP%]   .ace_gutter-active-line[_ngcontent-%COMP%]{background-color:var(--%NS%app-background-color-selected);color:var(--%NS%app-foreground-color-base)}[_ngcontent-%COMP%]:root   .ace-octoperf.ace_focus[_ngcontent-%COMP%]   .ace_cursor[_ngcontent-%COMP%], .octoperf-dark-theme[_ngcontent-%COMP%]   .ace-octoperf.ace_focus[_ngcontent-%COMP%]   .ace_cursor[_ngcontent-%COMP%]{color:var(--%NS%app-foreground-color-base)}[_ngcontent-%COMP%]:root   .ace-octoperf[_ngcontent-%COMP%]   .ace_search[_ngcontent-%COMP%], .octoperf-dark-theme[_ngcontent-%COMP%]   .ace-octoperf[_ngcontent-%COMP%]   .ace_search[_ngcontent-%COMP%]{background:var(--%NS%app-background-color-bis);color:var(--%NS%app-foreground-color-base);border-bottom-color:var(--%NS%app-border-color);border-left-color:var(--%NS%app-border-color)}[_ngcontent-%COMP%]:root   .ace-octoperf[_ngcontent-%COMP%]   .ace_button[_ngcontent-%COMP%], .octoperf-dark-theme[_ngcontent-%COMP%]   .ace-octoperf[_ngcontent-%COMP%]   .ace_button[_ngcontent-%COMP%]{color:var(--%NS%app-foreground-color-base)}[_ngcontent-%COMP%]:root   .ace-octoperf[_ngcontent-%COMP%]   .ace_button[_ngcontent-%COMP%]:hover, .octoperf-dark-theme[_ngcontent-%COMP%]   .ace-octoperf[_ngcontent-%COMP%]   .ace_button[_ngcontent-%COMP%]:hover{background:var(--%NS%app-background-color-ter)}[_ngcontent-%COMP%]:root   .ace-octoperf[_ngcontent-%COMP%]   .ace_print-margin[_ngcontent-%COMP%], .octoperf-dark-theme[_ngcontent-%COMP%]   .ace-octoperf[_ngcontent-%COMP%]   .ace_print-margin[_ngcontent-%COMP%]{width:1px;background:#232323}[_ngcontent-%COMP%]:root   .ace-octoperf[_ngcontent-%COMP%]   .ace_cursor[_ngcontent-%COMP%], .octoperf-dark-theme[_ngcontent-%COMP%]   .ace-octoperf[_ngcontent-%COMP%]   .ace_cursor[_ngcontent-%COMP%]{color:transparent}[_ngcontent-%COMP%]:root   .ace-octoperf[_ngcontent-%COMP%]   .ace_marker-layer[_ngcontent-%COMP%]   .ace_selection[_ngcontent-%COMP%], .octoperf-dark-theme[_ngcontent-%COMP%]   .ace-octoperf[_ngcontent-%COMP%]   .ace_marker-layer[_ngcontent-%COMP%]   .ace_selection[_ngcontent-%COMP%]{background:var(--%NS%app-background-color-selected-darker)}[_ngcontent-%COMP%]:root   .ace-octoperf[_ngcontent-%COMP%]   .ace_multiselect[_ngcontent-%COMP%]   .ace_selection.ace_start[_ngcontent-%COMP%], .octoperf-dark-theme[_ngcontent-%COMP%]   .ace-octoperf[_ngcontent-%COMP%]   .ace_multiselect[_ngcontent-%COMP%]   .ace_selection.ace_start[_ngcontent-%COMP%]{box-shadow:0 0 3px #191919}[_ngcontent-%COMP%]:root   .ace-octoperf[_ngcontent-%COMP%]   .ace_marker-layer[_ngcontent-%COMP%]   .ace_step[_ngcontent-%COMP%], .octoperf-dark-theme[_ngcontent-%COMP%]   .ace-octoperf[_ngcontent-%COMP%]   .ace_marker-layer[_ngcontent-%COMP%]   .ace_step[_ngcontent-%COMP%]{background:#665200}[_ngcontent-%COMP%]:root   .ace-octoperf[_ngcontent-%COMP%]   .ace_marker-layer[_ngcontent-%COMP%]   .ace_bracket[_ngcontent-%COMP%], .octoperf-dark-theme[_ngcontent-%COMP%]   .ace-octoperf[_ngcontent-%COMP%]   .ace_marker-layer[_ngcontent-%COMP%]   .ace_bracket[_ngcontent-%COMP%]{margin:-1px 0 0 -1px;border:1px solid #bfbfbf}[_ngcontent-%COMP%]:root   .ace-octoperf[_ngcontent-%COMP%]   .ace_marker-layer[_ngcontent-%COMP%]   .ace_active-line[_ngcontent-%COMP%], .octoperf-dark-theme[_ngcontent-%COMP%]   .ace-octoperf[_ngcontent-%COMP%]   .ace_marker-layer[_ngcontent-%COMP%]   .ace_active-line[_ngcontent-%COMP%]{background:#d7d7d708}[_ngcontent-%COMP%]:root   .ace-octoperf[_ngcontent-%COMP%]   .ace_marker-layer[_ngcontent-%COMP%]   .ace_selected-word[_ngcontent-%COMP%], .octoperf-dark-theme[_ngcontent-%COMP%]   .ace-octoperf[_ngcontent-%COMP%]   .ace_marker-layer[_ngcontent-%COMP%]   .ace_selected-word[_ngcontent-%COMP%]{border:1px solid #000000}[_ngcontent-%COMP%]:root   .ace-octoperf[_ngcontent-%COMP%]   .ace_invisible[_ngcontent-%COMP%], .octoperf-dark-theme[_ngcontent-%COMP%]   .ace-octoperf[_ngcontent-%COMP%]   .ace_invisible[_ngcontent-%COMP%]{color:#666}[_ngcontent-%COMP%]:root   .ace-octoperf[_ngcontent-%COMP%]   .ace_keyword[_ngcontent-%COMP%], [_ngcontent-%COMP%]:root   .ace-octoperf[_ngcontent-%COMP%]   .ace_meta[_ngcontent-%COMP%], [_ngcontent-%COMP%]:root   .ace-octoperf[_ngcontent-%COMP%]   .ace_support.ace_constant.ace_property-value[_ngcontent-%COMP%], .octoperf-dark-theme[_ngcontent-%COMP%]   .ace-octoperf[_ngcontent-%COMP%]   .ace_keyword[_ngcontent-%COMP%], .octoperf-dark-theme[_ngcontent-%COMP%]   .ace-octoperf[_ngcontent-%COMP%]   .ace_meta[_ngcontent-%COMP%], .octoperf-dark-theme[_ngcontent-%COMP%]   .ace-octoperf[_ngcontent-%COMP%]   .ace_support.ace_constant.ace_property-value[_ngcontent-%COMP%]{color:#927c5d}[_ngcontent-%COMP%]:root   .ace-octoperf[_ngcontent-%COMP%]   .ace_keyword.ace_operator[_ng
1128content-%COMP%], .octoperf-dark-theme[_ngcontent-%COMP%]   .ace-octoperf[_ngcontent-%COMP%]   .ace_keyword.ace_operator[_ngcontent-%COMP%]{color:#747474}[_ngcontent-%COMP%]:root   .ace-octoperf[_ngcontent-%COMP%]   .ace_keyword.ace_other.ace_unit[_ngcontent-%COMP%], .octoperf-dark-theme[_ngcontent-%COMP%]   .ace-octoperf[_ngcontent-%COMP%]   .ace_keyword.ace_other.ace_unit[_ngcontent-%COMP%]{color:#366f1a}[_ngcontent-%COMP%]:root   .ace-octoperf[_ngcontent-%COMP%]   .ace_constant.ace_language[_ngcontent-%COMP%], .octoperf-dark-theme[_ngcontent-%COMP%]   .ace-octoperf[_ngcontent-%COMP%]   .ace_constant.ace_language[_ngcontent-%COMP%]{color:#39946a}[_ngcontent-%COMP%]:root   .ace-octoperf[_ngcontent-%COMP%]   .ace_constant.ace_numeric[_ngcontent-%COMP%], .octoperf-dark-theme[_ngcontent-%COMP%]   .ace-octoperf[_ngcontent-%COMP%]   .ace_constant.ace_numeric[_ngcontent-%COMP%]{color:#46a609}[_ngcontent-%COMP%]:root   .ace-octoperf[_ngcontent-%COMP%]   .ace_constant.ace_character.ace_entity[_ngcontent-%COMP%], .octoperf-dark-theme[_ngcontent-%COMP%]   .ace-octoperf[_ngcontent-%COMP%]   .ace_constant.ace_character.ace_entity[_ngcontent-%COMP%]{color:#a165ac}[_ngcontent-%COMP%]:root   .ace-octoperf[_ngcontent-%COMP%]   .ace_invalid[_ngcontent-%COMP%], .octoperf-dark-theme[_ngcontent-%COMP%]   .ace-octoperf[_ngcontent-%COMP%]   .ace_invalid[_ngcontent-%COMP%]{color:#fff;background-color:#e92e2e}[_ngcontent-%COMP%]:root   .ace-octoperf[_ngcontent-%COMP%]   .ace_fold[_ngcontent-%COMP%], .octoperf-dark-theme[_ngcontent-%COMP%]   .ace-octoperf[_ngcontent-%COMP%]   .ace_fold[_ngcontent-%COMP%]{background-color:#927c5d;border-color:#929292}[_ngcontent-%COMP%]:root   .ace-octoperf[_ngcontent-%COMP%]   .ace_storage[_ngcontent-%COMP%], [_ngcontent-%COMP%]:root   .ace-octoperf[_ngcontent-%COMP%]   .ace_support.ace_class[_ngcontent-%COMP%], [_ngcontent-%COMP%]:root   .ace-octoperf[_ngcontent-%COMP%]   .ace_support.ace_function[_ngcontent-%COMP%], [_ngcontent-%COMP%]:root   .ace-octoperf[_ngcontent-%COMP%]   .ace_support.ace_other[_ngcontent-%COMP%], [_ngcontent-%COMP%]:root   .ace-octoperf[_ngcontent-%COMP%]   .ace_support.ace_type[_ngcontent-%COMP%], .octoperf-dark-theme[_ngcontent-%COMP%]   .ace-octoperf[_ngcontent-%COMP%]   .ace_storage[_ngcontent-%COMP%], .octoperf-dark-theme[_ngcontent-%COMP%]   .ace-octoperf[_ngcontent-%COMP%]   .ace_support.ace_class[_ngcontent-%COMP%], .octoperf-dark-theme[_ngcontent-%COMP%]   .ace-octoperf[_ngcontent-%COMP%]   .ace_support.ace_function[_ngcontent-%COMP%], .octoperf-dark-theme[_ngcontent-%COMP%]   .ace-octoperf[_ngcontent-%COMP%]   .ace_support.ace_other[_ngcontent-%COMP%], .octoperf-dark-theme[_ngcontent-%COMP%]   .ace-octoperf[_ngcontent-%COMP%]   .ace_support.ace_type[_ngcontent-%COMP%]{color:#e92e2e}[_ngcontent-%COMP%]:root   .ace-octoperf[_ngcontent-%COMP%]   .ace_string[_ngcontent-%COMP%], .octoperf-dark-theme[_ngcontent-%COMP%]   .ace-octoperf[_ngcontent-%COMP%]   .ace_string[_ngcontent-%COMP%]{color:#5d90cd}[_ngcontent-%COMP%]:root   .ace-octoperf[_ngcontent-%COMP%]   .ace_comment[_ngcontent-%COMP%], .octoperf-dark-theme[_ngcontent-%COMP%]   .ace-octoperf[_ngcontent-%COMP%]   .ace_comment[_ngcontent-%COMP%]{color:var(--%NS%app-foreground-color-muted)}[_ngcontent-%COMP%]:root   .ace-octoperf[_ngcontent-%COMP%]   .ace_entity.ace_name.ace_tag[_ngcontent-%COMP%], [_ngcontent-%COMP%]:root   .ace-octoperf[_ngcontent-%COMP%]   .ace_entity.ace_other.ace_attribute-name[_ngcontent-%COMP%], .octoperf-dark-theme[_ngcontent-%COMP%]   .ace-octoperf[_ngcontent-%COMP%]   .ace_entity.ace_name.ace_tag[_ngcontent-%COMP%], .octoperf-dark-theme[_ngcontent-%COMP%]   .ace-octoperf[_ngcontent-%COMP%]   .ace_entity.ace_other.ace_attribute-name[_ngcontent-%COMP%]{color:#7d7d7d}[_ngcontent-%COMP%]:root   .ace-octoperf[_ngcontent-%COMP%]   .ace_indent-guide[_ngcontent-%COMP%], .octoperf-dark-theme[_ngcontent-%COMP%]   .ace-octoperf[_ngcontent-%COMP%]   .ace_indent-guide[_ngcontent-%COMP%]{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNgYGBgYHB3d/8PAAOIAdULw8qMAAAAAElFTkSuQmCC) right repeat-y}.octoperf-light-theme[_ngcontent-%COMP%]   .ace-octoperf[_ngcontent-%COMP%]   .ace_left[_ngcontent-%COMP%]{background-color:#7986cb4d;border-left:2px solid rgba(121,134,203,.8);border-radius:0;position:absolute}.octoperf-light-theme[_ngcontent-%COMP%]   .ace-octoperf[_ngcontent-%COMP%]   .ace_right[_ngcontent-%COMP%]{background-color:#81c7844d;border-left:2px solid rgba(129,199,132,.8);border-radius:0;position:absolute}.octoperf-light-theme[_ngcontent-%COMP%]   .ace-octoperf.ace_focus[_ngcontent-%COMP%]   .ace_gutter-active-line[_ngcontent-%COMP%]{background-color:var(--%NS%app-background-color-selected);color:var(--%NS%app-foreground-color-base)}.octoperf-light-theme[_ngcontent-%COMP%]   .ace-octoperf.ace_focus[_ngcontent-%COMP%]   .ace_cursor[_ngcontent-%COMP%]{color:var(--%NS%app-foreground-color-base)}.octoperf-light-theme[_ngcontent-%COMP%]   .ace-octoperf[_ngcontent-%COMP%]   .ace_print-margin[_ngcontent-%COMP%]{width:1px;background:#e8e8e8}.octoperf-light-theme[_ngcontent-%COMP%]   .ace-octoperf[_ngcontent-%COMP%]   .ace_cursor[_ngcontent-%COMP%]{color:transparent}.octoperf-light-theme[_ngcontent-%COMP%]   .ace-octoperf[_ngcontent-%COMP%]   .ace_marker-layer[_ngcontent-%COMP%]   .ace_selection[_ngcontent-%COMP%]{background:#c2dcff}.octoperf-light-theme[_ngcontent-%COMP%]   .ace-octoperf[_ngcontent-%COMP%]   .ace_multiselect[_ngcontent-%COMP%]   .ace_selection.ace_start[_ngcontent-%COMP%]{box-shadow:0 0 3px #e7eefa}.octoperf-light-theme[_ngcontent-%COMP%]   .ace-octoperf[_ngcontent-%COMP%]   .ace_marker-layer[_ngcontent-%COMP%]   .ace_step[_ngcontent-%COMP%]{background:#ff0}.octoperf-light-theme[_ngcontent-%COMP%]   .ace-octoperf[_ngcontent-%COMP%]   .ace_marker-layer[_ngcontent-%COMP%]   .ace_bracket[_ngcontent-%COMP%]{margin:-1px 0 0 -1px;border:1px solid #bfbfbf}.octoperf-light-theme[_ngcontent-%COMP%]   .ace-octoperf[_ngcontent-%COMP%]   .ace_marker-layer[_ngcontent-%COMP%]   .ace_active-line[_ngcontent-%COMP%]{background:#fffbd1}.octoperf-light-theme[_ngcontent-%COMP%]   .ace-octoperf[_ngcontent-%COMP%]   .ace_marker-layer[_ngcontent-%COMP%]   .ace_selected-word[_ngcontent-%COMP%]{border:1px solid #bdd5fc}.octoperf-light-theme[_ngcontent-%COMP%]   .ace-octoperf[_ngcontent-%COMP%]   .ace_invisible[_ngcontent-%COMP%]{color:#bfbfbf}.octoperf-light-theme[_ngcontent-%COMP%]   .ace-octoperf[_ngcontent-%COMP%]   .ace_keyword[_ngcontent-%COMP%], .octoperf-light-theme[_ngcontent-%COMP%]   .ace-octoperf[_ngcontent-%COMP%]   .ace_meta[_ngcontent-%COMP%], .octoperf-light-theme[_ngcontent-%COMP%]   .ace-octoperf[_ngcontent-%COMP%]   .ace_support.ace_constant.ace_property-value[_ngcontent-%COMP%]{color:#af956f}.octoperf-light-theme[_ngcontent-%COMP%]   .ace-octoperf[_ngcontent-%COMP%]   .ace_keyword.ace_operator[_ng
1128content-%COMP%]{color:#484848}.octoperf-light-theme[_ngcontent-%COMP%]   .ace-octoperf[_ngcontent-%COMP%]   .ace_keyword.ace_other.ace_unit[_ngcontent-%COMP%]{color:#96dc5f}.octoperf-light-theme[_ngcontent-%COMP%]   .ace-octoperf[_ngcontent-%COMP%]   .ace_constant.ace_language[_ngcontent-%COMP%]{color:#39946a}.octoperf-light-theme[_ngcontent-%COMP%]   .ace-octoperf[_ngcontent-%COMP%]   .ace_constant.ace_numeric[_ngcontent-%COMP%]{color:#46a609}.octoperf-light-theme[_ngcontent-%COMP%]   .ace-octoperf[_ngcontent-%COMP%]   .ace_constant.ace_character.ace_entity[_ngcontent-%COMP%]{color:#bf78cc}.octoperf-light-theme[_ngcontent-%COMP%]   .ace-octoperf[_ngcontent-%COMP%]   .ace_invalid[_ngcontent-%COMP%]{background-color:#ff002a}.octoperf-light-theme[_ngcontent-%COMP%]   .ace-octoperf[_ngcontent-%COMP%]   .ace_fold[_ngcontent-%COMP%]{background-color:#af956f;border-color:#000}.octoperf-light-theme[_ngcontent-%COMP%]   .ace-octoperf[_ngcontent-%COMP%]   .ace_storage[_ngcontent-%COMP%], .octoperf-light-theme[_ngcontent-%COMP%]   .ace-octoperf[_ngcontent-%COMP%]   .ace_support.ace_class[_ngcontent-%COMP%], .octoperf-light-theme[_ngcontent-%COMP%]   .ace-octoperf[_ngcontent-%COMP%]   .ace_support.ace_function[_ngcontent-%COMP%], .octoperf-light-theme[_ngcontent-%COMP%]   .ace-octoperf[_ngcontent-%COMP%]   .ace_support.ace_other[_ngcontent-%COMP%], .octoperf-light-theme[_ngcontent-%COMP%]   .ace-octoperf[_ngcontent-%COMP%]   .ace_support.ace_type[_ngcontent-%COMP%]{color:#c52727}.octoperf-light-theme[_ngcontent-%COMP%]   .ace-octoperf[_ngcontent-%COMP%]   .ace_string[_ngcontent-%COMP%]{color:#5d90cd}.octoperf-light-theme[_ngcontent-%COMP%]   .ace-octoperf[_ngcontent-%COMP%]   .ace_comment[_ngcontent-%COMP%]{color:#818980}.octoperf-light-theme[_ngcontent-%COMP%]   .ace-octoperf[_ngcontent-%COMP%]   .ace_entity.ace_name.ace_tag[_ngcontent-%COMP%], .octoperf-light-theme[_ngcontent-%COMP%]   .ace-octoperf[_ngcontent-%COMP%]   .ace_entity.ace_other.ace_attribute-name[_ngcontent-%COMP%]{color:#606060}.octoperf-light-theme[_ngcontent-%COMP%]   .ace-octoperf[_ngcontent-%COMP%]   .ace_indent-guide[_ngcontent-%COMP%]{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4////f4bLly//BwAmVgd1/w11/gAAAABJRU5ErkJggg==) right repeat-y}[_nghost-%COMP%]{display:block;width:100%;height:100%;display:flex;flex-direction:row;box-sizing:border-box;position:relative}[_nghost-%COMP%]:hover   .options[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center}[_nghost-%COMP%]   .options[_ngcontent-%COMP%]{z-index:9;position:absolute!important;top:calc(5px * var(--%NS%app-size-ratio));right:calc(5px * var(--%NS%app-size-ratio));display:none}`]})}}return n})();var n$4=(()=>{class o{transform(t){let i=`:`+t.port;return(t.protocol===`HTTP`&&t.port===80||t.protocol===`HTTPS`&&t.port===443)&&(i=``),`${t.protocol?.toLowerCase()}://${t.hostname}${i}`}static{this.ɵfac=function(i){return new(i||o)}}static{this.ɵpipe=Sb({name:`serverToHostname`,type:o,pure:!0})}static{this.ɵprov=ce$3({token:o,factory:o.ɵfac,providedIn:`root`})}}return o})();var T$7=class e{constructor(){this.toHostnamePipe=T$9(n$4),this.pages=T$9(Te$3),this.label=`Server`,this.icon=Ha$1,this.listIcon=Ha$1}static{this.TYPES=new Map([[`HTTPS`,{icon:new n$9().defaultIcon(new e$6().icon(q8).build()).state(`hover`,new e$6().icon(wc$1).build()).build(),label:`Secured - HTTPS`}],[`HTTP`,{icon:new n$9().defaultIcon(new e$6().icon(o8).transform(`shrink-1 right-1`).build()).state(`hover`,new e$6().icon(tc$1).transform(`shrink-1 right-1`).build()).build(),label:`Unsecured - HTTP`}],[`UNKNOWN`,{icon:new e$6().icon(N0).build(),label:`Unknown protocol`}]])}transform(o){return new n$10(o).label(this.label).name(o.hostname).description(this.toHostnamePipe.transform(o)).icon(e.TYPES.get(o.protocol)?.icon??new e$6().icon(N0).build()).listLink(this.pages.resolveLink(P$10)).link(this.pages.resolveLink(a$10,[S$9,o.id],[T$11,o.projectId])).build()}static{this.ɵfac=function(k){return new(k||e)}}static{this.ɵpipe=Sb({name:`serverToView`,type:e,pure:!0})}static{this.ɵprov=ce$3({token:e,factory:e.ɵfac,providedIn:`root`})}};var g$3=(()=>{class t extends l$8{constructor(){super(),this.routerHelper=T$9(Y$5),this.pages=T$9(Te$3),this.isVuValidationStepSelected=!1}initialize(){this.routerHelper.urlObservable().pipe(Vg$1(this.destroyed)).subscribe(this._onUrlChanged.bind(this))}virtualUserPageStepLink(e,r,U=!1){let R=new s$9().from(this.pages.resolveLink(N$9,[R$8,e])),s={};return s[o$7]=r,R.extras({queryParams:s,replaceUrl:U}).build()}_onUrlChanged(e){e.includes(`/`+`virtual-user`)&&(this.isVuValidationStepSelected=e.includes(`virtualUserStepId`+`=`+`validation`)&&!e.includes(`actionId`+`=`))}static{this.ɵfac=function(r){return new(r||t)}}static{this.ɵprov=ce$3({token:t,factory:t.ɵfac,providedIn:`root`})}}return t})();var o$4=class extends l$8{constructor(e,t,i,p){super(),this.eventBus=i,this.helpType=p,this.handlers=new Map,e.of(w$9.CHANNEL).pipe(Vg$1(this.destroyed)).subscribe(this.setRouterHelp.bind(this)),t.dialogOpened.pipe(Vg$1(this.destroyed)).pipe(lt$3(y=>!y)).pipe(lt$3(()=>!!this.lastRouterHelpId)).subscribe(()=>i.publishAsync(new $t$3(this.lastRouterHelpId,this.helpType)))}register(e){this.handlers.set(e.id,e)}unregister(e){this.handlers.delete(e.id)}setRouterHelp(e){let t=this.getHelpData(e.data);t&&(t.handler?this.publishEvent(this.handlers.get(t.handler).handle(e,t,this.helpType)):t.editId&&t.queryParameter&&e.current.queryParamMap.has(t.queryParameter)?this.publishEvent(t.editId):t.id&&this.publishEvent(t.id))}getHelpData(e){switch(this.helpType){case`DOCUMENTATION`:return e.documentation;case`TUTORIAL`:return e.tutorial}}publishEvent(e){this.lastRouterHelpId=e,this.eventBus.publishAsync(new $t$3(e,this.helpType))}};var w$3=(()=>{class r extends o$4{constructor(){let t=T$9(l$10),i=T$9(fi$1),p=T$9(Y$5);super(p,i,t,`DOCUMENTATION`)}static{this.ɵfac=function(i){return new(i||r)}}static{this.ɵprov=ce$3({token:r,factory:r.ɵfac,providedIn:`root`})}}return r})();var S$3=(()=>{class e extends o$4{constructor(){let o=T$9(l$10),r=T$9(fi$1),p=T$9(Y$5);super(p,r,o,`TUTORIAL`)}static{this.ɵfac=function(r){return new(r||e)}}static{this.ɵprov=ce$3({token:e,factory:e.ɵfac,providedIn:`root`})}}return e})();var a$5=class extends n$11{constructor(){super(...arguments),this.lastChangeTimestamp=new nr$1(void 0)}
1128_updateLastChange(){this.lastChangeTimestamp.next(Vr$2())}onUpdateEntity(t){super.onUpdateEntity(t),this._updateLastChange()}onDeleteEntities(t){super.onDeleteEntities(t),this._updateLastChange()}onCreateEntities(t){super.onCreateEntities(t),this._updateLastChange()}};var m$7=(()=>{class r extends u$10{constructor(){let t=T$9(We$1),e=T$9(w$8);super(e,t,`/design/http-servers`)}deleteUnused(t){return this.http.delete(this.config.apiUrl(`${this.rootPath}/unused/by-project/${t}`))}replace(t,e){return this.http.put(this.config.apiUrl(`${this.rootPath}/replace?serverId=${e}`),t)}serverIds(t){return this.http.post(this.config.apiUrl(`${this.rootPath}/usage`),t)}static{this.ɵfac=function(e){return new(e||r)}}static{this.ɵprov=ce$3({token:r,factory:r.ɵfac,providedIn:`root`})}}return r})();var w$2=(()=>{class r extends a$5{constructor(){let t=T$9(G$4),e=T$9(P$8),o=T$9(m$7);super(e,o,t,`HttpServerCrudService`),this.http=o}get defaultId(){return this.entities()[0]?.id||``}deleteUnused(t=this.projectCrud.getId()){return this.http.deleteUnused(t).pipe(Nu$1(e=>this.onDeleteEntities(e)))}replace(t,e){let o=t.filter(l=>l!==e);return o.length===0?_g$1(void 0):this.http.replace(o,e)}static{this.ɵfac=function(e){return new(e||r)}}static{this.ɵprov=ce$3({token:r,factory:r.ɵfac,providedIn:`root`})}}return r})();var D$5=(()=>{class r{constructor(){this.durationToString=T$9(h$12)}transform(t){if(t[`@type`]===O$9.DURATION_CONDITION){let o=t;return`for ${this.durationToString.transform(c$12.fromMilliseconds(o.duration))}`}else return`for ${t.times} times`}static{this.ɵfac=function(o){return new(o||r)}}static{this.ɵpipe=Sb({name:`thresholdTimeConditionToString`,type:r,pure:!0})}static{this.ɵprov=ce$3({token:r,factory:r.ɵfac,providedIn:`root`})}}return r})();var nE=new Map([[`USERLOAD`,`Virtual User count`],[`HITS_RATE`,`Hit rate`],[`HITS_TOTAL`,`Hit count`],[`HITS_SUCCESSFUL_TOTAL`,`Successful hit count`],[`HITS_SUCCESSFUL_PERCENT`,`Successful hit percentage`],[`RESPONSE_TIME_AVG`,`Average response time`],[`RESPONSE_TIME_MAX`,`Maximum response time`],[`RESPONSE_TIME_MIN`,`Minimum response time`],[`RESPONSE_TIME_VAR`,`Response time variance`],[`RESPONSE_TIME_STD`,`Response time standard deviation`],[`RESPONSE_TIME_PERCENTILE_80`,`Response time percentile 80`],[`RESPONSE_TIME_PERCENTILE_90`,`Response time percentile 90`],[`RESPONSE_TIME_PERCENTILE_95`,`Response time percentile 95`],[`RESPONSE_TIME_PERCENTILE_99`,`Response time percentile 99`],[`RESPONSE_TIME_MEDIAN`,`Response time median`],[`RESPONSE_TIME_APDEX`,`Apdex on response time`],[`NETWORK_TIME_AVG`,`Average network time`],[`NETWORK_TIME_MAX`,`Maximum network time`],[`NETWORK_TIME_MIN`,`Minimum network time`],[`NETWORK_TIME_VAR`,`Network time variance`],[`CONNECT_TIME_AVG`,`Average connect time`],[`CONNECT_TIME_MAX`,`Maximum connect time`],[`CONNECT_TIME_MIN`,`Minimum connect time`],[`CONNECT_TIME_VAR`,`Connect time variance`],[`CONNECT_TIME_STD`,`Connect time standard deviation`],[`CONNECT_TIME_APDEX`,`Apdex on connect time`],[`LATENCY_AVG`,`Average latency`],[`LATENCY_MAX`,`Maximum latency`],[`LATENCY_MIN`,`Minimum latency`],[`LATENCY_VAR`,`Latency variance`],[`LATENCY_STD`,`Latency standard deviation`],[`LATENCY_APDEX`,`Apdex on latency`],[`SENT_BYTES_AVG`,`Average sent data`],[`SENT_BYTES_MAX`,`Maximum sent data`],[`SENT_BYTES_MIN`,`Minimum sent data`],[`SENT_BYTES_STD`,`Sent data standard deviation`],[`SENT_BYTES_RATE`,`Sent data rate`],[`SENT_BYTES_TOTAL`,`Sent data`],[`THROUGHPUT_RATE`,`Received data rate`],[`THROUGHPUT_TOTAL`,`Received data`],[`RESPONSE_SIZE`,`Response size`],[`ERRORS_RATE`,`Error rate`],[`ERRORS_TOTAL`,`Error count`],[`ERRORS_PERCENT`,`Error percentage`],[`ASSERTIONS_ERROR_TOTAL`,`Assertion error count`],[`ASSERTIONS_FAILURE_TOTAL`,`Assertion failure count`],[`ASSERTIONS_SUCCESS_TOTAL`,`Assertion success count`],[`HTTP_METHODS`,`HTTP methods`],[`HTTP_RESPONSE_CODES`,`HTTP response codes`],[`HTTP_MEDIA_TYPES`,`Media type count`],[`HTTP_MEDIA_TYPES_THROUGHPUT`,`Media type throughput`],[`ERRORS_TABLE`,`Errors`]]);var RE=new Map([[`USERLOAD`,`Number of active Virtual Users`],[`HITS_RATE`,`Number of executions per second`],[`HITS_TOTAL`,`Total number of executions`],[`HITS_SUCCESSFUL_TOTAL`,`Total number of successful executions`],[`HITS_SUCCESSFUL_PERCENT`,`Percentage of successful executions`],[`RESPONSE_TIME_AVG`,`Average time between the request and the end of the response`],[`RESPONSE_TIME_MAX`,`Maximum time between the request and the last b
1128yte of the response`],[`RESPONSE_TIME_MIN`,`Minimum time between the request and the last byte of the response`],[`RESPONSE_TIME_VAR`,`Small variance indicates that the response times tend to be very close to each other`],[`RESPONSE_TIME_STD`,`Square root of the response time variance`],[`RESPONSE_TIME_PERCENTILE_80`,`80% percentile for the response time`],[`RESPONSE_TIME_PERCENTILE_90`,`90% percentile for the response time`],[`RESPONSE_TIME_PERCENTILE_95`,`95% percentile for the response time`],[`RESPONSE_TIME_PERCENTILE_99`,`99% percentile for the response time`],[`RESPONSE_TIME_MEDIAN`,`Median for the response time`],[`RESPONSE_TIME_APDEX`,`Apdex score on the average response time`],[`NETWORK_TIME_AVG`,`Average network time (response time - latency)`],[`NETWORK_TIME_MAX`,`Maximum network time (response time - latency)`],[`NETWORK_TIME_MIN`,`Minimum network time (response time - latency)`],[`NETWORK_TIME_VAR`,`Variance of the network time (response time - latency)`],[`CONNECT_TIME_AVG`,`Average time between the request and the server connection`],[`CONNECT_TIME_MAX`,`Maximum time between the request and the server connection`],[`CONNECT_TIME_MIN`,`Minimum time between the request and the server connection`],[`CONNECT_TIME_VAR`,`Small variance indicates that the connect times tend to be very close to each other`],[`CONNECT_TIME_STD`,`Square root of the connect time variance`],[`CONNECT_TIME_APDEX`,`Apdex score on the average connect time`],[`LATENCY_AVG`,`Average time between the request and the first response byte (or TTFB)`],[`LATENCY_MAX`,`Maximum time between the request and the first response byte (or TTFB)`],[`LATENCY_MIN`,`Minimum time between the request and the first response byte (or TTFB)`],[`LATENCY_VAR`,`Small variance indicates that the latencies (server times) tend to be very close to each other`],[`LATENCY_STD`,`Square root of the latency (server time) variance`],[`LATENCY_APDEX`,`Apdex score on the average latency (server time)`],[`SENT_BYTES_AVG`,`Average Bytes sent by HTTP requests`],[`SENT_BYTES_MAX`,`Maximum Bytes sent by HTTP requests`],[`SENT_BYTES_MIN`,`Minimum Bytes sent by HTTP requests`],[`SENT_BYTES_STD`,`How far the sent Bytes are spread out`],[`SENT_BYTES_RATE`,`Sent Bytes per second`],[`SENT_BYTES_TOTAL`,`Total amount of data sent in Bytes`],[`THROUGHPUT_RATE`,`Received data in Bytes per second`],[`THROUGHPUT_TOTAL`,`Total amount of data received in Bytes`],[`RESPONSE_SIZE`,`Average response size in Bytes`],[`ERRORS_RATE`,`Number of errors per second`],[`ERRORS_TOTAL`,`Total number of errors`],[`ERRORS_PERCENT`,`Percentage of executions in error`],[`ASSERTIONS_ERROR_TOTAL`,`Total number of assertions in error`],[`ASSERTIONS_FAILURE_TOTAL`,`Total number of assertions failed`],[`ASSERTIONS_SUCCESS_TOTAL`,`Total number of successful assertions`],[`HTTP_METHODS`,`HTTP methods (GET, POST, DELETE, ...) repartition`],[`HTTP_RESPONSE_CODES`,`HTTP response codes (2xx, 3xx, 4xx, 5xx, ...) repartition`],[`HTTP_MEDIA_TYPES`,`Media types (html, css, json, javascript, xml, ...) count repartition`],[`HTTP_MEDIA_TYPES_THROUGHPUT`,`Media types (html, css, json, javascript, xml, ...) throughput repartition`],[`ERRORS_TABLE`,`List of errors`]]);var n$3=S=>
1128new e$6().icon(v7).color(S).transform(`shrink-5 down-4 right-4`).build();var E$7=(S,_,T,N)=>{let t=new e$6().icon(S).color(_).transform(N??``).build();return T===`RATE`?new a$7().icons(t,n$3(`white`),new e$6().icon(f5).color(_).transform(`shrink-4 down-4 right-4`).build()).build():T===`PERCENT`?new a$7().icons(t,n$3(_),new e$6().icon(j8).color(`white`).transform(`shrink-7 down-4 right-4`).build()).build():T===`MIN`?new a$7().icons(t,n$3(`white`),new e$6().icon(F7).color(_).transform(`shrink-4 down-4 right-4`).build()).build():T===`MAX`?new a$7().icons(t,n$3(`white`),new e$6().icon(N7).color(_).transform(`shrink-4 down-4 right-4`).build()).build():T===`DEVIATION`?new a$7().icons(t,n$3(_),new e$6().icon(s7).color(`white`).transform(`shrink-8 down-4 right-4`).build()).build():T===`VARIANCE`?new a$7().icons(t,n$3(_),new e$6().icon(h7).color(`white`).transform(`shrink-9 down-5 right-4 rotate-180`).build()).build():T===`APDEX`?new a$7().icons(t,n$3(_),new e$6().icon(I8).color(`white`).transform(`shrink-8 down-4 right-4`).build()).build():T===`RESPONSE`?new a$7().icons(t,n$3(_),new e$6().icon(O7).color(`white`).transform(`shrink-8 down-4 right-5`).build()).build():T===`MEDIAN`?new a$7().icons(t,n$3(_),new e$6().icon(r7).color(`white`).transform(`shrink-9 down-4 right-4`).build()).build():T===`AVG`?new a$7().icons(t,n$3(_),new e$6().icon(A1).color(`white`).transform(`shrink-8 down-4 right-4`).build()).build():new a$7().icons(t).build()};var iE=E$7(a4,`design`,`STANDARD`,`left-2`);var P$2=E$7(v3,`primary`);var i$4=E$7(p8,`primary`);var m$6=E$7(o0,`primary`,`STANDARD`,`shrink-2`);var A$6=E$7(O3,`primary`);var I$5=E$7(M2,`primary`);var M$4=E$7(N3,`primary`);var H$1=E$7(L3,`primary`);var D$4=E$7(t3,`error`);var B$2=E$7(a0,`accent`);var h$5=(S,_,T)=>new a$7().icons(new e$6().icon(U7).color(T).transform(`shrink-7 down-1 left-7`).build(),new e$6().icon(S).color(T).transform(`shrink-5`).build(),new e$6().icon(_).color(T).transform(`shrink-5 right-7`).build()).build();var NE=h$5(B2,G8,`primary`);var oE=h$5(W8,G8,`primary`);var sE=h$5(W8,k2,`primary`);var aE=h$5(W8,W8,`primary`);var AE=new Map([[`USERLOAD`,iE],[`HITS_TOTAL`,P$2],[`HITS_RATE`,E$7(v3,`primary`,`RATE`)],[`HITS_SUCCESSFUL_TOTAL`,E$7(v3,`success`)],[`HITS_SUCCESSFUL_PERCENT`,E$7(v3,`success`,`PERCENT`)],[`RESPONSE_TIME_AVG`,i$4],[`RESPONSE_TIME_MAX`,E$7(p8,`primary`,`MAX`)],[`RESPONSE_TIME_MIN`,E$7(p8,`primary`,`MIN`)],[`RESPONSE_TIME_VAR`,E$7(p8,`primary`,`VARIANCE`)],[`RESPONSE_TIME_STD`,E$7(p8,`primary`,`DEVIATION`)],[`RESPONSE_TIME_PERCENTILE_80`,NE],[`RESPONSE_TIME_PERCENTILE_90`,oE],[`RESPONSE_TIME_PERCENTILE_95`,sE],[`RESPONSE_TIME_PERCENTILE_99`,aE],[`RESPONSE_TIME_MEDIAN`,E$7(p8,`primary`,`MEDIAN`)],[`RESPONSE_TIME_APDEX`,E$7(p8,`primary`,`APDEX`)],[`NETWORK_TIME_AVG`,m$6],[`NETWORK_TIME_MAX`,E$7(o0,`primary`,`MAX`,`shrink-2`)],[`NETWORK_TIME_MIN`,E$7(o0,`primary`,`MIN`,`shrink-2`)],[`NETWORK_TIME_VAR`,E$7(o0,`primary`,`VARIANCE`,`shrink-2`)],[`CONNECT_TIME_AVG`,A$6],[`CONNECT_TIME_MAX`,E$7(O3,`primary`,`MAX`)],[`CONNECT_TIME_MIN`,E$7(O3,`primary`,`MIN`)],[`CONNECT_TIME_VAR`,E$7(O3,`primary`,`VARIANCE`)],[`CONNECT_TIME_STD`,E$7(O3,`primary`,`DEVIATION`)],[`CONNECT_TIME_APDEX`,E$7(O3,`primary`,`APDEX`)],[`LATENCY_AVG`,I$5],[`LATENCY_MAX`,E$7(M2,`primary`,`MAX`)],[`LATENCY_MIN`,E$7(M2,`primary`,`MIN`)],[`LATENCY_VAR`,E$7(M2,`primary`,`VARIANCE`)],[`LATENCY_STD`,E$7(M2,`primary`,`DEVIATION`)],[`LATENCY_APDEX`,E$7(M2,`primary`,`APDEX`)],[`SENT_BYTES_TOTAL`,M$4],[`SENT_BYTES_AVG`,E$7(N3,`primary`,`AVG`)],[`SENT_BYTES_MAX`,E$7(N3,`primary`,`MAX`)],[`SENT_BYTES_MIN`,E$7(N3,`primary`,`MIN`)],[`SENT_BYTES_STD`,E$7(N3,`primary`,`DEVIATION`)],[`SENT_BYTES_RATE`,E$7(N3,`primary`,`RATE`)],[`THROUGHPUT_TOTAL`,H$1],[`THROUGHPUT_RATE`,E$7(L3,`primary`,`RATE`)],[`RESPONSE_SIZE`,E$7(L3,`primary`,`RESPONSE`)],[`ERRORS_TOTAL`,D$4],[`ERRORS_RATE`,E$7(t3,`error`,`RATE`)],[`ERRORS_PERCENT`,E$7(t3,`error`,`PERCENT`)],[`ASSERTIONS_ERROR_TOTAL`,E$7(k4,`error`)],[`ASSERTIONS_FAILURE_TOTAL`,E$7(k4,`warn`)],[`ASSERTIONS_SUCCESS_TOTAL`,E$7(k4,`success`)],[`HTTP_METHODS`,E$7(E6,`accent`,`STANDARD`,`grow-1`)],[`HTTP_RESPONSE_CODES`,E$7(J0,`accent`,`STANDARD`,`shrink-2 left-2`)],[`HTTP_MEDIA_TYPES`,B$2],[`HTTP_MEDIA_TYPES_THROUGHPUT`,E$7(a0,`accent`,`RATE`)],[`ERRORS_TABLE`,E$7(I3,`error`)],[`MONITORING`,E$7(p6,`success`)],[`LOAD_GENERATOR`,E$7(p6,`success`)]]);var IE=new Map([[`USERLOAD`,iE],[`HITS_RATE`,P$2],[`HITS_TOTAL`,P$2],[`HITS_SUCCESSFUL_TOTAL`,P$2],[`HITS_SUCCESSFUL_PERCENT`,P$2],[`RESPONSE_TIME_AVG`,i$4],[`RESPONSE_TIME_MAX`,i$4],[`RESPONSE_TIME_MIN`,i$4],[`RESPONSE_TIME_VAR`,i$4],[`RESPONSE_TIME_STD`,i$4],[`RESPONSE_TIME_PERCENTILE_80`,NE],[`RESPONSE_TIME_PERCENTILE_90`,oE],[`RESPONSE_TIME_PERCENTILE_95`,sE],[`RESPONSE_TIME_PERCENTILE_99`,aE],[`RESPONSE_TIME_MEDIAN`,i$4],[`RESPONSE_TIME_APDEX`,i$4],[`NETWORK_TIME_AVG`,m$6],[`NETWORK_TIME_MAX`,m$6],[`NETWORK_TIME_MIN`,m$6],[`NETWORK_TIME_VAR`,m$6],[`CONNECT_TIME_AVG`,A$6],[`CONNECT_TIME_MAX`,A$6],[`CONNECT_TIME_MIN`,A$6],[`CONNECT_TIME_VAR`,A$6],[`CONNECT_TIME_STD`,A$6],[`CONNECT_TIME_APDEX`,A$6],[`LATENCY_AVG`,I$5
1128],[`LATENCY_MAX`,I$5],[`LATENCY_MIN`,I$5],[`LATENCY_VAR`,I$5],[`LATENCY_STD`,I$5],[`LATENCY_APDEX`,I$5],[`SENT_BYTES_AVG`,M$4],[`SENT_BYTES_MAX`,M$4],[`SENT_BYTES_MIN`,M$4],[`SENT_BYTES_STD`,M$4],[`SENT_BYTES_RATE`,M$4],[`SENT_BYTES_TOTAL`,M$4],[`THROUGHPUT_RATE`,H$1],[`THROUGHPUT_TOTAL`,H$1],[`RESPONSE_SIZE`,H$1],[`ERRORS_TOTAL`,D$4],[`ERRORS_RATE`,D$4],[`ERRORS_PERCENT`,D$4],[`HTTP_MEDIA_TYPES`,B$2],[`HTTP_MEDIA_TYPES_THROUGHPUT`,B$2]]);var ME=new Map([[`USERLOAD`,`Virtual User Load`],[`HITS_RATE`,`Hits`],[`HITS_TOTAL`,`Hits`],[`HITS_SUCCESSFUL_TOTAL`,`Hits`],[`HITS_SUCCESSFUL_PERCENT`,`Hits`],[`RESPONSE_TIME_AVG`,`Response time`],[`RESPONSE_TIME_MAX`,`Response time`],[`RESPONSE_TIME_MIN`,`Response time`],[`RESPONSE_TIME_VAR`,`Response time`],[`RESPONSE_TIME_STD`,`Response time`],[`RESPONSE_TIME_PERCENTILE_80`,`Response time`],[`RESPONSE_TIME_PERCENTILE_90`,`Response time`],[`RESPONSE_TIME_PERCENTILE_95`,`Response time`],[`RESPONSE_TIME_PERCENTILE_99`,`Response time`],[`RESPONSE_TIME_MEDIAN`,`Response time`],[`RESPONSE_TIME_APDEX`,`Response time`],[`NETWORK_TIME_AVG`,`Network time`],[`NETWORK_TIME_MAX`,`Network time`],[`NETWORK_TIME_MIN`,`Network time`],[`NETWORK_TIME_VAR`,`Network time`],[`CONNECT_TIME_AVG`,`Connect time`],[`CONNECT_TIME_MAX`,`Connect time`],[`CONNECT_TIME_MIN`,`Connect time`],[`CONNECT_TIME_VAR`,`Connect time`],[`CONNECT_TIME_STD`,`Connect time`],[`CONNECT_TIME_APDEX`,`Connect time`],[`LATENCY_AVG`,`Latency`],[`LATENCY_MAX`,`Latency`],[`LATENCY_MIN`,`Latency`],[`LATENCY_VAR`,`Latency`],[`LATENCY_STD`,`Latency`],[`LATENCY_APDEX`,`Latency`],[`SENT_BYTES_TOTAL`,`Sent data`],[`SENT_BYTES_AVG`,`Sent data`],[`SENT_BYTES_MAX`,`Sent data`],[`SENT_BYTES_MIN`,`Sent data`],[`SENT_BYTES_STD`,`Sent data`],[`SENT_BYTES_RATE`,`Sent data`],[`THROUGHPUT_TOTAL`,`Received data`],[`THROUGHPUT_RATE`,`Received data`],[`RESPONSE_SIZE`,`Received data`],[`ERRORS_TOTAL`,`Errors`],[`ERRORS_PERCENT`,`Errors`],[`ERRORS_RATE`,`Errors`],[`ASSERTIONS_ERROR_TOTAL`,`Assertions`],[`ASSERTIONS_FAILURE_TOTAL`,`Assertions`],[`ASSERTIONS_SUCCESS_TOTAL`,`Assertions`],[`HTTP_METHODS`,`HTTP`],[`HTTP_RESPONSE_CODES`,`HTTP`],[`HTTP_MEDIA_TYPES`,`HTTP`],[`HTTP_MEDIA_TYPES_THROUGHPUT`,`HTTP`],[`ERRORS_TABLE`,`Errors`]]);var f$5=class{constructor(_,T,N,t,l,U,L,Y,y){this.id=_,this.name=T,this.tinyName=N,this.shortName=t,this.description=l,this.icon=U,this.baseIcon=L,this.group=Y,this.unitLabel=y}};var OE=new Map([[`USERLOAD`,`VU Count`],[`HITS_RATE`,`Hit Rate`],[`HITS_TOTAL`,`Hit Count`],[`HITS_SUCCESSFUL_TOTAL`,`Hit Success`],[`HITS_SUCCESSFUL_PERCENT`,`Hit % Success`],[`RESPONSE_TIME_AVG`,`Resp time Avg`],[`RESPONSE_TIME_MAX`,`Resp time Max`],[`RESPONSE_TIME_MIN`,`Resp time Min`],[`RESPONSE_TIME_VAR`,`Resp time Variance`],[`RESPONSE_TIME_STD`,`Resp time SD`],[`RESPONSE_TIME_PERCENTILE_80`,`Resp time Perc 80`],[`RESPONSE_TIME_PERCENTILE_90`,`Resp time Perc 90`],[`RESPONSE_TIME_PERCENTILE_95`,`Resp time Perc 95`],[`RESPONSE_TIME_PERCENTILE_99`,`Resp time Perc 99`],[`RESPONSE_TIME_MEDIAN`,`Resp time Median`],[`RESPONSE_TIME_APDEX`,`Resp time Apdex `],[`NETWORK_TIME_AVG`,`Net time Avg`],[`NETWORK_TIME_MAX`,`Net time Max`],[`NETWORK_TIME_MIN`,`Net time Min`],[`NETWORK_TIME_VAR`,`Net time Variance`],[`CONNECT_TIME_AVG`,`Conn time Avg`],[`CONNECT_TIME_MAX`,`Conn time  Max`],[`CONNECT_TIME_MIN`,`Conn time  Min`],[`CONNECT_TIME_VAR`,`Conn time Variance`],[`CONNECT_TIME_STD`,`Conn time SD`],[`CONNECT_TIME_APDEX`,`Conn time Apdex`],[`LATENCY_AVG`,`Latency Avg`],[`LATENCY_MAX`,`Latency Max`],[`LATENCY_MIN`,`Latency Min`],[`LATENCY_VAR`,`Latency Variance`],[`LATENCY_STD`,`Latency SD`],[`LATENCY_APDEX`,`Latency Apdex`],[`SENT_BYTES_AVG`,`Sent Data Avg`],[`SENT_BYTES_MAX`,`Sent Data Max`],[`SENT_BYTES_MIN`,`Sent Data Min`],[`SENT_BYTES_STD`,`Sent Data SD`],[`SENT_BYTES_RATE`,`Sent Data Rate`],[`SENT_BYTES_TOTAL`,`Sent Data`],[`THROUGHPUT_RATE`,`Received Data rate`],[`THROUGHPUT_TOTAL`,`Received Data`],[`RESPONSE_SIZE`,`Resp Size`],[`ERRORS_RATE`,`Error Rate`],[`ERRORS_TOTAL`,`Error Count`],[`ERRORS_PERCENT`,`Error %`],[`ASSERTIONS_ERROR_TOTAL`,`Assert Error Count`],[`ASSERTIONS_FAILURE_TOTAL`,`Assert Fail Count`],[`ASSERTIONS_SUCCESS_TOTAL`,`Assert Success count`],[`HTTP_METHODS`,`HTTP methods`],[`HTTP_RESPONSE_CODES`,`HTTP Resp Codes`],[`HTTP_MEDIA_TYPES`,`Media Type Count`],[`HTTP_MEDIA_TYPES_THROUGHPUT`,`Media Type Throughput`],[`ERRORS_TABLE`,`Errors`]]);var cE=new Map([[`USERLOAD`,`VUs`],[`HITS_RATE`,`Hit R`],[`HITS_TOTAL`,`Hit C`],[`HITS_SUCCESSFUL_TOTAL`,`Hit +`],[`HITS_SUCCESSFUL_PERCENT`,`Hit %`],[`RESPONSE_TIME_AVG`,`RT Avg`],[`RESPONSE_TIME_MAX`,`RT Max`],[`RESPONSE_TIME_MIN`,`RT Min`],[`RESPONSE_TIME_VAR`,`RT Var`],[`RESPONSE_TIME_STD`,`RT SD`],[`RESPONSE_TIME_PERCENTILE_80`,`RT P80`],[`RESPONSE_TIME_PERCENTILE_90`,`RT P90`],[`RESPONSE_TIME_PERCENTILE_95`,`RT P95`],[`RESPONSE_TIME_PERCENTILE_99`,`RT P99`],[`RESPONSE_TIME_MEDIAN`,`RT Med`],[`RESPONSE_TIME_APDEX`,`RT Apd `],[`NETWORK_TIME_AVG`,`Net Avg`],[`NETWORK_TIME_MAX`,`Net Max`],[`NETWORK_TIME_MIN`,`Net Min`],[`NETWORK_TIME_VAR`,`Net Var`],[`CONNECT_TIME_AVG`,`Con Avg`],[`CONNECT_TIME_MAX`,`Con  Max`],[`CONNECT_TIME_MIN`,`Con  Min`],[`CONNECT_TIME_VAR`,`Con Var`],[`CONNECT_TIME_STD`,`Con SD`],[`CONNECT_TIME_APDEX`,`Con Apd`],[`LATENCY_AVG`,`Lat Avg`],[`LATENCY_MAX`,`Lat Max`],[`LATENCY_MIN`,`Lat Min`],[`LATENCY_VAR`,`Lat Var`],[`LATENCY_STD`,`Lat SD`],[`LATENCY_APDEX`,`Lat Apd`],[`SENT_BYTES_AVG`,`UL Avg`],[`SENT_BYTES_MAX`,`UL Max`],[`SENT_BYTES_MIN`,`UL Min`],[`SENT_BYTES_STD`,`UL SD`],[`SENT_BYTES_RATE`,`UL Rate`],[`SENT_BYTES_TOTAL`,`UL`],[`THROUGHPUT_RATE`,`DL rate`],[`THROUGHPUT_TOTAL`,`RL`],[`RESPONSE_SIZE`,`R size`],[`ERRORS_RATE`,`Err R`],[`ERRORS_TOTAL`,`Err C`],[`ERRORS_PERCENT`,`Err %`],[`ASSERTIONS_ERROR_TOTAL`,`Ast Err`],[`ASSERTIONS_FAILURE_TOTAL`,`Ast Fail`],[`ASSERTIONS_SUCCESS_TOTAL`,`Ast Suc`],[`HTTP_METHODS`,`HTTP meth`],[`HTTP_RESPONSE_CODES`,`HTTP RC`],[`HTTP_MEDIA_TYPES`,`Mdi C`],[`HTTP_MEDIA_TYPES_THROUGHPUT`,`Mdi Thrgh`],[`ERRORS_TABLE`,`Err`]]);var FE=(()=>{class S{constructor(){this.units=T$9(wr$1)}transform(T){let N=nE.get(T)??T,t=cE.get(T)??T,l=OE.get(T)??T,U=RE.get(T)??``,L=AE.get(T)??d3,Y=IE.get(T)??L,y=ME.get(T)??`Other`,CE=this.units.reportItemMetricIdToUnitService(T).unit.label;return new f$5(T,N,t,l,U,L,Y,y,CE)}static{this.ɵfac=function(N){return new(N||S)}}static{this.ɵpipe=Sb({name:`reportItemMetricIdToView`,type:S,pure:!0})}static{this.ɵprov=ce$3({token:S,factory:S.ɵfac,providedIn:`root`})}}return S})();var l$3=(()=>{class t{static{this.LESS_THAN_REGEX=/<=/g}transform(e,p,n=!1){let o=``;e.lowerBoundType&&(e.lowerBoundType===`OPEN`?o=e.lowerEndpoint+` < `:e.lowerBoundType===`CLOSED`&&(o=e.lowerEndpoint+` <= `));let i=``;return e.upperBoundType&&(e.upperBoundType===`OPEN`?i=` < `+e.upperEndpoint:e.upperBoundType===`CLOSED`&&(i=` <= `+e.upperEndpoint)),n?`${o}${p}${i}`:`${o}<b>${p}</b>${i}`.replace(t.LESS_THAN_REGEX,`&le;`)}static{this.ɵfac=function(p){return new(p||t)}}static{this.ɵpipe=Sb({name:`rangeToHtml`,type:t,pure:!0})}static{this.ɵprov=ce$3({token:t,factory:t.ɵfac,providedIn:`root`})}}return t})();var u$4=class{constructor(s,t){this.severity=s,this.description=t}};var d$10=class{constructor(s,t,r,h){this.source=s,this.metricView=t,this.description=r,this.byThresholdDescriptions=h}};var f$4=class extends s$8{constructor(s,t,r,h,g,n,a,c,m){super(t,r,h,g,n,a,c,m),this.thresholdViews=s}};var V$4=class extends n$10{constructor(){super(...arguments),this.thresholdViewsValue=[]}thresholdViews(s){return this.thresholdViewsValue=s,this}build(){return new f$4(this.thresholdViewsValue,this.sourceValue,this.labelValue,this.nameValue,this.descriptionValue,this.iconValue,this.colorValue,this.listLinkValue,this.linkValue)}};var Y$1=(()=>{class i{constructor(){this.label=`SLA Profile`,this.icon=st$2,this.listIcon=st$2,this.pages=T$9(Te$3),this.metricIdToView=T$9(FE),this.rangeToString=T$9(l$3),this.thresholdTimeConditionToString=T$9(D$5),this.strings=T$9(J$7)}transform(t){let r=``,g=t.thresholds.map(n=>
1128{let a=this.metricIdToView.transform(n.metric.id),c=new Map,m=[];n.thresholds.forEach(e=>{c.set(e.severity,(c.get(e.severity)??0)+1);let l=e.value.range;m.push(new u$4(e.severity,this.rangeToString.transform(l,a.name))),r+=`* **${e.name}:** ${this.rangeToString.transform(l,a.name)} _${this.thresholdTimeConditionToString.transform(e.time)}_ (${this.strings.prettyString(e.severity)})
1129`});return new d$10(n,a,[...c.entries()].map(([e,l])=>this.strings.prettyString(e)+` x`+l).join(`, `),m)});return new V$4(t).thresholdViews(g).label(this.label).name(t.name).description(r).icon(st$2).listLink(this.pages.resolveLink(v$7)).link(this.pages.resolveLink(u$12,[T$11,t.projectId],[x$8,t.id])).color(`warn`).build()}static{this.ɵfac=function(r){return new(r||i)}}static{this.ɵpipe=Sb({name:`slaProfileToView`,type:i,pure:!0})}static{this.ɵprov=ce$3({token:i,factory:i.ɵfac,providedIn:`root`})}}return i})();var u$3=(()=>{class t extends u$10{constructor(){let o=T$9(We$1),r=T$9(w$8);super(r,o,`/design/sla-profiles`)}thresholdDefaults(){return this.http.get(this.config.apiUrl(`${this.rootPath}/threshold-defaults`))}slaProfileIds(o,r){return this.http.post(this.config.apiUrl(`${this.rootPath}/usage`),o,{params:{onlyEnabled:r}})}static{this.ɵfac=function(r){return new(r||t)}}static{this.ɵprov=ce$3({token:t,factory:t.ɵfac,providedIn:`root`})}}return t})();var g$2=(()=>{class t extends n$11{constructor(){let o=T$9(G$4),e=T$9(u$3),a=T$9(P$8);super(a,e,o,`SlaProfileCrudService`)}get defaultId(){return this.entities()[0]?.id||``}static{this.ɵfac=function(e){return new(e||t)}}static{this.ɵprov=ce$3({token:t,factory:t.ɵfac,providedIn:`root`})}}return t})();var f$3=(()=>
1129{class t extends u$10{constructor(){let o=T$9(We$1),r=T$9(w$8);super(r,o,`/design/variables`)}static{this.ɵfac=function(r){return new(r||t)}}static{this.ɵprov=ce$3({token:t,factory:t.ɵfac,providedIn:`root`})}}return t})();var P$1=(()=>{class t extends a$5{constructor(){let o=T$9(G$4),r=T$9(f$3),u=T$9(P$8);super(u,r,o,`VariableWrapperCrudService`)}static{this.ɵfac=function(r){return new(r||t)}}static{this.ɵprov=ce$3({token:t,factory:t.ɵfac,providedIn:`root`})}}return t})();var I$4=class t{static{this.VALUES=new Map([[E$14.JMETER,ka$1],[E$14.WEB_DRIVER,ar$1],[E$14.FRAGMENTS,rr$1],[E$14.PLAYWRIGHT,tr$2]])}transform(r){return t.VALUES.get(r)??Zr$1}static{this.ɵfac=function(c){return new(c||t)}}static{this.ɵpipe=Sb({name:`virtualUserTypeToIcon`,type:t,pure:!0})}static{this.ɵprov=ce$3({token:t,factory:t.ɵfac,providedIn:`root`})}};var v$2=(()=>{class r{constructor(){this.pages=T$9(Te$3),this.typeToIcon=T$9(I$4),this.label=`Virtual User`,this.icon=Zr$1,this.listIcon=jr$1}transform(i){return new n$10(i).label(this.label).name(i.name).description(i.description).icon(new e$6().from(this.typeToIcon.transform(i.type)).build()).listLink(this.pages.resolveLink(V$8)).link(this.pages.resolveLink(N$9,[R$8,i.id],[T$11,i.projectId])).build()}static{this.ɵfac=function(d){return new(d||r)}}static{this.ɵpipe=Sb({name:`virtualUserToView`,type:r,pure:!0})}static{this.ɵprov=ce$3({token:r,factory:r.ɵfac,providedIn:`root`})}}return r})();var T$6=(function(R){return R.HTML_EXTRACTOR=`HtmlVariableExtractor`,R.JSONPATH_EXTRACTOR=`JsonVariableExtractor`,R.JMESPATH_EXTRACTOR=`JMesPathVariableExtractor`,R.REGEXP_EXTRACTOR=`RegexpVariableExtractor`,R.XPATH1_EXTRACTOR=`XPath1VariableExtractor`,R.XPATH2_EXTRACTOR=`XPath2VariableExtractor`,R})(T$6||{});var B$1=(()=>{class t extends u$10{constructor(){let o=T$9(We$1),n=T$9(w$8);super(n,o,`/design/correlation-rules`)}static{this.ɵfac=function(n){return new(n||t)}}static{this.ɵprov=ce$3({token:t,factory:t.ɵfac,providedIn:`root`})}}return t})();var et=(()=>{class t extends n$11{constructor(){let o=T$9(G$4),n=T$9(P$8),G=T$9(B$1);super(n,G,o,`CorrelationRuleCrudService`)}static{this.ɵfac=function(n){return new(n||t)}}static{this.ɵprov=ce$3({token:t,factory:t.ɵfac,providedIn:`root`})}}return t})();var D$3=new n$9().defaultIcon(new a$7().icons(new e$6().icon(y4).build(),new e$6().icon(X7).transform(`shrink-10`).build()).build()).state(`hover`,new a$7().icons(new e$6().icon(O5).build(),new e$6().icon(X7).transform(`shrink-10`).build()).build()).build();var F$3=new n$9().defaultIcon(new a$7().icons(new e$6().icon(R8).build(),new e$6().icon(v0).transform(`shrink-8 rotate-90`).build()).build()).state(`hover`,new a$7().icons(new e$6().icon(gc$1).build(),new e$6().icon(v0).transform(`shrink-8 rotate-90`).build()).build()).build();var J$2=new n$9().defaultIcon(new e$6().icon(j0).build()).state(`hover`,new e$6().icon(u9).build()).build();var y$2=new n$9().defaultIcon(new e$6().icon(z0).build()).state(`hover`,new e$6().icon(e9).build()).build();var U$1=class t{constructor(){this.pages=T$9(Te$3),this.label=`Variable`,this.icon=nt$2,this.listIcon=et$4}static{this.LABELS=new Map([[T$6.REGEXP_EXTRACTOR,`RegExp`],[T$6.HTML_EXTRACTOR,`CSS`],[T$6.JSONPATH_EXTRACTOR,`JSON`],[T$6.XPATH1_EXTRACTOR,`XPATH1`],[T$6.XPATH2_EXTRACTOR,`XPATH2`]])}static{this.ICONS=new Map([[T$6.REGEXP_EXTRACTOR,D$3],[T$6.HTML_EXTRACTOR,F$3],[T$6.JSONPATH_EXTRACTOR,J$2],[T$6.XPATH1_EXTRACTOR,y$2],[T$6.XPATH2_EXTRACTOR,y$2]])}transform(c){let o=c.extractor[m$10];return new n$10(c).label(t.LABELS.get(o)??`Generic Rule`).name(c.extractor.name).description(``).icon(t.ICONS.get(o)??nt$2).listLink(this.pages.resolveLink(C$8)).link(this.pages.resolveLink(d$14,[c$11,c.id],[T$11,c.projectId])).build()}static{this.ɵfac=function(o){return new(o||t)}}static{this.ɵpipe=Sb({name:`correlationRuleToView`,type:t,pure:!0})}static{this.ɵprov=ce$3({token:t,factory:t.ɵfac,providedIn:`root`})}};var N$4=(function(I){return I.EMAIL_NOTIFICATION=`EmailNotification`,I.SLACK_NOTIFICATION=`SlackNotification`,I.HTTP_NOTIFICATION=`HttpNotification`,I.JIRA_NOTIFICATION=`JiraNotification`,I.TEAMS_NOTIFICATION=`TeamsNotification`,I.GOOGLE_CHAT_NOTIFICATION=`GoogleChatNotification`,I.WEBEX_NOTIFICATION=`WebexNotification`,I})(N$4||{});var _$8=[{id:N$4.EMAIL_NOTIFICATION,label:`Email Notification`,shortLabel:`Email`,icon:Pr$1},{id:N$4.SLACK_NOTIFICATION,label:`Slack Notification`,shortLabel:`Slack`,icon:Dr},{id:N$4.TEAMS_NOTIFICATION,label:`MS Teams Notification`,shortLabel:`MS Teams`,icon:hr$1},{id:N$4.HTTP_NOTIFICATION,label:`HTTP Notification`,shortLabel:`HTTP`,icon:mr$1},{id:N$4.JIRA_NOTIFICATION,label:`JIRA Notification`,shortLabel:`JIRA`,icon:Fr$1},{id:N$4.GOOGLE_CHAT_NOTIFICATION,label:`Google Chat Notification`,shortLabel:`Google Chat`,icon:Mr$1},{id:N$4.WEBEX_NOTIFICATION,label:`Webex Notification`,shortLabel:`Webex`,icon:kr$1}];var E$6=hg$1(_$8,`id`);var v$1=(()=>
1129{class e{transform(i){return E$6[i.integration[m$10]].shortLabel}static{this.ɵfac=function(o){return new(o||e)}}static{this.ɵpipe=Sb({name:`notificationToShortTypeLabel`,type:e,pure:!0})}static{this.ɵprov=ce$3({token:e,factory:e.ɵfac,providedIn:`root`})}}return e})();var p$4=class extends s$8{constructor(t,i,o,s,f,m,A,L,y,O){super(o,s,f,m,A,L,y,O),this.eventsView=t,this.shortTypeLabel=i}};var T$5=class extends n$10{constructor(t){super(t),this.eventsViewValue=[],this.shortTypeLabelValue=``}eventsView(t){return this.eventsViewValue=t,this}shortTypeLabel(t){return this.shortTypeLabelValue=t,this}build(){return new p$4(this.eventsViewValue,this.shortTypeLabelValue,this.sourceValue,this.labelValue,this.nameValue,this.descriptionValue,this.iconValue,this.colorValue,this.listLinkValue,this.linkValue)}};var h$4=class e{static{this.EVENTS=new Map([[`TEST_STARTED`,{id:`TEST_STARTED`,label:`Started`,help:`Test queued for startup`,order:1}],[`TEST_ENDED`,{id:`TEST_ENDED`,label:`Ended`,help:`Test stopped`,order:2}],[`TEST_PASSED`,{id:`TEST_PASSED`,label:`Passed`,help:`Test finished in success (SLA OK)`,order:3}],[`TEST_FAILED`,{id:`TEST_FAILED`,label:`Failed`,help:`Test finished in failure (SLA KO)`,order:4}],[`TEST_ERROR`,{id:`TEST_ERROR`,label:`Error`,help:`Test finished in error (Unable to launch the test)`,order:5}]])}get allViews(){return Array.from(e.EVENTS.values()).sort((t,i)=>t.order-i.order)}toView(t){return e.EVENTS.get(t)}static{this.ɵfac=function(i){return new(i||e)}}static{this.ɵprov=ce$3({token:e,factory:e.ɵfac,providedIn:`root`})}};var w$1=class e{constructor(){this.pages=T$9(Te$3),this.events=T$9(h$4),this.toShortTypeLabel=T$9(v$1),this.label=`Notification`,this.icon=Ur$1,this.listIcon=Ur$1}static{this.TO_STRING={EmailNotification:t=>t.email,HttpNotification:()=>`HTTP Notification`,SlackNotification:t=>t.channel,TeamsNotification:()=>`MS Teams Notification`,JiraNotification:t=>t.url,GoogleChatNotification:()=>`Google Chat Notification`,WebexNotification:()=>`Webex Notification`}}transform(t){let i=t.integration[m$10],o=E$6[i],s=e.TO_STRING[i](t.integration)||o.label,f=new Set(t.eventIds);return new T$5(t).eventsView(this.events.allViews.filter(m=>f.has(m.id))).shortTypeLabel(this.toShortTypeLabel.transform(t)).label(this.label).name(s).description(s).icon(o.icon).listLink(this.pages.resolveLink(C$10)).link(this.pages.resolveLink(n$14,[_$14,t.id])).build()}static{this.ɵfac=function(i){return new(i||e)}}static{this.ɵpipe=Sb({name:`notificationToView`,type:e,pure:!0})}static{this.ɵprov=ce$3({token:e,factory:e.ɵfac,providedIn:`root`})}};var s$3=class{constructor(t=``,o=`PLAIN`){this.value=t,this.type=o}};var c$5=(function(e){return e.JIRA_CLOUD=`JIRA_CLOUD`,e.JIRA_DATA_CENTER_BASIC=`JIRA_DATA_CENTER_BASIC`,e.JIRA_DATA_CENTER_ACCESS_TOKEN=`JIRA_DATA_CENTER_ACCESS_TOKEN`,e})(c$5||{});var m$5=class{constructor(t,r,i,n,l,g,K,L,J,H,M){this.url=t,this.connectionType=r,this.apiKey=i,this.email=n,this.boardId=l,this.issueNameFilter=g,this.projectId=K,this.statusId=L,this.errorTransitionId=J,this.failTransitionId=H,this.passTransitionId=M,this[`@type`]=N$4.JIRA_NOTIFICATION}};var I$3=class{constructor(){this.urlValue=``,this.connectionTypeValue=c$5.JIRA_CLOUD,this.apiKeyValue=new s$3,this.emailValue=``,this.boardIdValue=``,this.issueNameFilterValue=``,this.projectIdValue=``,this.statusIdValue=``,this.errorTransitionIdValue=``,this.failTransitionIdValue=``,this.passTransitionIdValue=``}url(t){return this.urlValue=t,this}connectionType(t){return this.connectionTypeValue=t,this}apiKey(t){return this.apiKeyValue=t,this}email(t){return this.emailValue=t,this}boardId(t){return this.boardIdValue=t,this}issueNameFilter(t){return this.issueNameFilterValue=t,this}projectId(t){return this.projectIdValue=t,this}statusId(t){return this.statusIdValue=t,this}errorTransitionId(t){return this.errorTransitionIdValue=t,this}failTransitionId(t){return this.failTransitionIdValue=t,this}passTransitionId(t){return this.passTransitionIdValue=t,this}from(t){return this.url(t.url).connectionType(t.connectionType||c$5.JIRA_CLOUD).apiKey(t.apiKey).email(t.email).boardId(t.boardId).issueNameFilter(t.issueNameFilter).projectId(t.projectId).statusId(t.statusId).errorTransitionId(t.errorTransitionId).failTransitionId(t.failTransitionId).passTransitionId(t.passTransitionId)}build(){return new m$5(this.urlValue,this.connectionTypeValue,this.apiKeyValue,this.emailValue,this.boardIdValue,this.issueNameFilterValue,this.projectIdValue,this.statusIdValue,this.errorTransitionIdValue,this.failTransitionIdValue,this.passTransitionIdValue)}};var d$9=class{constructor(t,r,i,n,l,g){this.id=t,this.userId=r,this.workspaceId=i,this.integration=n,this.filters=l,this.eventIds=g}};var f$2=class{constructor(t,r,i,n,l){this.email=t,this.reportExportConfig=r,this.size=i,this.locale=n,this.timezone=l,this[`@type`]=N$4.EMAIL_NOTIFICATION}};var u$2=class{constructor(){this.emailValue=``,this.reportExportConfigValue=new r$8().build(),this.localeValue=`en`}email(t){return this.emailValue=t,this}size(t){return this.sizeValue=t,this}reportExportConfig(t){return this.reportExportConfigValue=t,this}locale(t){return this.localeValue=t,this}timezone(t){return this.timezoneValue=t,this}from(t){return this.email(t.email).reportExportConfig(t.reportExportConfig).locale(t.locale).size(t.size).timezone(t.timezone)}build(){return new f$2(this.emailValue,this.reportExportConfigValue,this.sizeValue,this.localeValue,this.timezoneValue)}};var T$4=class{constructor(){this.idValue=``,this.userIdValue=``,this.workspaceIdValue=``,this.integrationValue=new u$2().build(),this.filtersValue=[],this.eventIdsValue=[`TEST_STARTED`,`TEST_ENDED`]}id(t){return this.idValue=t,this}userId(t){return this.userIdValue=t,this}workspaceId(t){return this.workspaceIdValue=t,this}integration(t){return this.integrationValue=t,this}filters(t){return this.filtersValue=t,this}eventIds(t){return this.eventIdsValue=t,this}from(t){return this.id(t.id).userId(t.userId).workspaceId(t.workspaceId).integration(t.integration).filters(t.filters).eventIds(t.eventIds)}build(){return new d$9(this.idValue,this.userIdValue,this.workspaceIdValue,this.integrationValue,this.filtersValue,this.eventIdsValue)}};var V$3=class{constructor(t){this.webhookUrl=t,this[`@type`]=N$4.GOOGLE_CHAT_NOTIFICATION}};var N$3=class{constructor(){this.webhookUrlValue=new s$3}webhookUrl(t){return this.webhookUrlValue=t,this}from(t){return this.webhookUrl(t.webhookUrl)}build(){return new V$3(this.webhookUrlValue)}};var E$5=class{constructor(t,r){this.url=t,this.headers=r,this[`@type`]=N$4.HTTP_NOTIFICATION}};var A$5=class{constructor(){this.urlValue=new s$3,this.headersValue={}}url(t){return this.urlValue=t,this}headers(t){return this.headersValue=t,this}from(t){return this.url(t.url).headers(t.headers)}build(){return new E$5(this.urlValue,this.headersValue)}};
1129var C$3=class{constructor(t,r,i){this.token=t,this.channel=r,this.username=i,this[`@type`]=N$4.SLACK_NOTIFICATION}};var w=class{constructor(){this.tokenValue=new s$3,this.channelValue=``,this.usernameValue=``}token(t){return this.tokenValue=t,this}channel(t){return this.channelValue=t,this}username(t){return this.usernameValue=t,this}from(t){return this.token(t.token).channel(t.channel).username(t.username)}build(){return new C$3(this.tokenValue,this.channelValue,this.usernameValue)}};var y$1=class{constructor(t){this.url=t,this[`@type`]=N$4.TEAMS_NOTIFICATION}};var _$7=class{constructor(){this.urlValue=new s$3}url(t){return this.urlValue=t,this}from(t){return this.url(t.url)}build(){return new y$1(this.urlValue)}};var b$2=class{constructor(t){this.token=t,this[`@type`]=N$4.WEBEX_NOTIFICATION}};var O$3=class{constructor(){this.incomingUrlValue=new s$3}token(t){return this.incomingUrlValue=t,this}from(t){return this.token(t.token)}build(){return new b$2(this.incomingUrlValue)}};var D$2=(()=>{class e extends c$8{constructor(){let r=T$9(We$1),i=T$9(w$8);
1129super(i,r,`/workspaces/notifications`)}test(r){return this.http.post(this.config.apiUrl(`${this.rootPath}/test`),r)}byWorkspace(r){return super.byWorkspace(r).pipe(He$1(i=>this._fromNotifs(i)))}find(r,i){return super.find(r,i).pipe(He$1(n=>this._fromNotif(n)))}all(r,i){return super.all(r,i).pipe(He$1(n=>this._fromNotifs(n)))}_fromNotifs(r){return r.map(i=>this._fromNotif(i))}_fromNotif(r){return new T$4().from(r).integration(this._fromIntegration(r.integration)).build()}findMatchingNotifications(r,i){return this.http.get(this.config.apiUrl(`${this.rootPath}/scenario/${r}/${i}`))}_fromIntegration(r){switch(r[m$10]){case N$4.JIRA_NOTIFICATION:return new I$3().from(r).build();case N$4.EMAIL_NOTIFICATION:return new u$2().from(r).build();case N$4.GOOGLE_CHAT_NOTIFICATION:return new N$3().from(r).build();case N$4.HTTP_NOTIFICATION:return new A$5().from(r).build();case N$4.SLACK_NOTIFICATION:return new w().from(r).build();case N$4.TEAMS_NOTIFICATION:return new _$7().from(r).build();case N$4.WEBEX_NOTIFICATION:return new O$3().from(r).build()}}static{this.ɵfac=function(i){return new(i||e)}}static{this.ɵprov=ce$3({token:e,factory:e.ɵfac,providedIn:`root`})}}return e})();var tr=(()=>{class e extends h$9{constructor(){let r=T$9(G$4),i=T$9(b$3),n=T$9(D$2);super(i,n,r,`NotificationCrudService`)}findMatchingNotifications(r){return this.http.findMatchingNotifications(this.workspaceCrud.id,r).pipe(Nu$1(this.setEntities.bind(this)))}static{this.ɵfac=function(i){return new(i||e)}}static{this.ɵprov=ce$3({token:e,factory:e.ɵfac,providedIn:`root`})}}return e})();var O$2=(()=>{class i{constructor(){this.pages=T$9(Te$3),this.label=`Project`,this.icon=Vr$1,this.listIcon=Vr$1}transform(e){return new n$10(e).label(this.label).name(e.name).description(e.description).icon(this.icon).listLink(this.pages.resolveLink(t$5)).link(this.pages.resolveLink(_$11,[o$8,e.workspaceId],[T$11,e.id])).build()}static{this.ɵfac=function(f){return new(f||i)}}static{this.ɵpipe=Sb({name:`projectToView`,type:i,pure:!0})}static{this.ɵprov=ce$3({token:i,factory:i.ɵfac,providedIn:`root`})}}return i})();var b$1=(()=>{class i{constructor(){this.pages=T$9(Te$3),this.label=`Workspace`,this.icon=Cr$1,this.listIcon=Cr$1}transform(e){return new n$10(e).label(this.label).name(e.name).description(e.description).icon(this.icon).listLink(this.pages.resolveLink(T$13)).link(this.pages.resolveLink(P$11,[o$8,e.id])).build()}static{this.ɵfac=function(m){return new(m||i)}}static{this.ɵpipe=Sb({name:`workspaceToView`,type:i,pure:!0})}static{this.ɵprov=ce$3({token:i,factory:i.ɵfac,providedIn:`root`})}}return i})();var d$8=class extends s$8{constructor(i,t,r,o,n,s,c,f,h,y,H,F,L,B,U){super(f,h,y,H,F,L,B,U),this.configType=i,this.canCreateAgent=t,this.canHaveStaticIps=r,this.isReadonly=o,this.capacity=n,this.shared=s,this.expiry=c}};var l$2=class extends n$10{constructor(i){super(i),this.configTypeValue=void 0,this.canCreateAgentValue=!1,this.canHaveStaticIpsValue=!1,this.isReadOnlyValue=!1,this.sharedValue=!1}configType(i){return this.configTypeValue=i,this}canCreateAgent(i){return this.canCreateAgentValue=i,this}canHaveStaticIps(i){return this.canHaveStaticIpsValue=i,this}isReadonly(i){return this.isReadOnlyValue=i,this}capacity(i){return this.capacityValue=i,this}shared(i){return this.sharedValue=i,this}expiry(i){return this.expiryValue=i,this}build(){return new d$8(this.configTypeValue,this.canCreateAgentValue,this.canHaveStaticIpsValue,this.isReadOnlyValue,this.capacityValue,this.sharedValue,this.expiryValue,this.sourceValue,this.labelValue,this.nameValue,this.descriptionValue,this.iconValue,this.colorValue,this.listLinkValue,this.linkValue)}};var m$4=class{constructor(i,t,r,o,n){this.providerId=i,this.capacityType=t,this.vus=r,this.heavyVus=o,this.browserVus=n}};var M$3=(()=>{class e{getCapacity(t){let r=t.autoScaled?`AUTO_SCALED`:`FIXED`,o=t.instance.memAvailable*t.memory.memPercent/100-t.memory.baseMb,n=Math.max(0,Math.floor(o/t.memory.vuMb)),s=Math.max(0,Math.floor(o/t.memory.heavyVuMb)),c=Math.max(0,Math.floor(o/t.memory.realBrowserVuMb));return new m$4(t.providerId,r,n,s,c)}static{this.ɵfac=function(r){return new(r||e)}}static{this.ɵprov=ce$3({token:e,factory:e.ɵfac,providedIn:`root`})}}return e})();var N$2=(()=>{class e{constructor(){this.capacities=T$9(M$3)}transform(t){return this.capacities.getCapacity(t)}static{this.ɵfac=function(r){return new(r||e)}}static{this.ɵpipe=Sb({name:`dockerProviderCapacityToView`,type:e,pure:!0})}static{this.ɵprov=ce$3({token:e,factory:e.ɵfac,providedIn:`root`})}}return e})();var j$1=`You need workspace administrator rights on this provider.`;var it=`You need workspace administrator rights to add an agent.`;var Pt=(()=>{class e{constructor(){this.pages=T$9(Te$3),this.configCrud=T$9(Jt$4),this.authorizations=T$9(v$10),this.auth=T$9(ge$7),this.toTypeView=T$9(D$12),this.providerCrud=T$9(H$5),this.dedicatedIpExpiryCrud=T$9(A$12),this.capacityToView=T$9(N$2),this.label=`Host Provider`,this.icon=Nr$1,this.listIcon=Nr$1,this.readonlyIcon=new e$6().icon(z3).build()}transform(t){let r=this.configCrud.getById(t.configId),o=r?r[m$10]:void 0,n=t.type===`PRIVATE`&&t.userId!==this.auth.userId,s=this.authorizations.canCreateProvider(),c=this.toTypeView.transform(o),f=this.dedicatedIpExpiryCrud.entities().find(y=>y.providerId===t.id),h=this.providerCrud.getCapacityById(t.id);return new l$2(t).shared(n).expiry(f).configType(o).canCreateAgent(o===n$16.ON_PREMISE_PROVIDER_CONFIG).canHaveStaticIps(s&&o!==n$16.ON_PREMISE_PROVIDER_CONFIG).isReadonly(!s).capacity(h?this.capacityToView.transform(h):void 0).label(`Host Provider`).name(t.name).description(s?c.label:j$1).icon(s?c.icon:this.readonlyIcon).listLink(this.pages.resolveLink(p$10)).link(this.pages.resolveLink(D$13,[t$8,t.id])).build()}static{this.ɵfac=function(r){return new(r||e)}}static{this.ɵpipe=Sb({name:`dockerProviderToView`,type:e,pure:!0})}static{this.ɵprov=ce$3({token:e,factory:e.ɵfac,providedIn:`root`})}}return e})();var d$7=(()=>{class i{constructor(){this.config=T$9(w$8),this.http=T$9(We$1),this.rootPath=`/workspaces
1129/docker-cloud-instances`}list(){return this.http.get(this.config.apiUrl(this.rootPath))}byProvider(t){return this.http.get(this.config.apiUrl(`${this.rootPath}/by-provider/${t}`))}reboot(t){return this.http.put(this.config.apiUrl(`${this.rootPath}/reboot`),t)}terminate(t){return this.http.put(this.config.apiUrl(`${this.rootPath}/terminate`),t)}static{this.ɵfac=function(e){return new(e||i)}}static{this.ɵprov=ce$3({token:i,factory:i.ɵfac,providedIn:`root`})}}return i})();var $$2=(()=>{class i{constructor(){this.http=T$9(d$7),this.status=Ze$1(`empty`),this.instances=Ze$1([]),this.minimumDelay=T$9(b$5)}clear(){this.status.set(`empty`),this.instances.set([])}list(t=0){return this.wrapCall(this.minimumDelay.delayObservable(this.http.list(),t))}byProvider(t,e=0){return this.wrapCall(this.minimumDelay.delayObservable(this.http.byProvider(t),e))}terminateAll(t){return S$7(t,e=>this.http.terminate(e).pipe(He$1(()=>e))).pipe(He$1(e=>e.progressPercentage))}wrapCall(t){return t.pipe(U$5(()=>{this.status.set(`loading`),this.instances.set([])}),Nu$1(e=>{this.status.set(`loaded`),this.instances.set(e)}),Ms$1(()=>(this.status.set(`loaded`),this.instances.set([]),_g$1([]))))}static{this.ɵfac=function(e){return new(e||i)}}static{this.ɵprov=ce$3({token:i,factory:i.ɵfac,providedIn:`root`})}}return i})();var I$2=`administration`;var _$6=`correlation-frameworks`;var A$4=`correlationFrameworkId`;var E$4=`cloud-instances`;var N$1=`dedicated-ips`;var o$3=`dedicatedIpProviderId`;var t$2=`provider-agents`;var D$1=`users`;var S$2=`userId`;var s$2=`users-activity`;var M$2=`user-sessions`;var e$2=`schedulers`;var R$2=`oauth-clients`;var r$3=`ssoRegistrationId`;var T$3=`stripe`;var n$2=`workspaces`;var c$4=`licenses`;var O$1=`bench-result-migrations`;var p$3=`ADMIN_AGENTS`;var C$2=`ADMIN_AGENT_INSPECT`;var x$1=`ADMIN_CORRELATION_FRAMEWORK_LIST`;var P=`ADMIN_CORRELATION_FRAMEWORK_EDIT`;var G$1=`ADMIN_CLOUD_INSTANCES`;var U=`ADMIN_DEDICATED_IPS`;var L$2=`ADMIN_DEDICATED_IPS_PROVIDER`;var i$3=`ADMIN_USER_LIST`;var a$4=`ADMIN_USER_EDIT`;var d$6=`ADMIN_USERS_ACTIVITY`;var H=`ADMIN_USER_SESSIONS`;var K$1=`ADMIN_SCHEDULED_JOBS`;var W$1=`ADMIN_OAUTH_CLIENTS`;var u$1=`ADMIN_SSO`;var l$1=`ADMIN_SSO_REGISTRATION`;var F$2=`ADMIN_STRIPE`;var V$2=`ADMIN_STRIPE_USER`;var B=`ADMIN_WORKSPACES`;var m$3=`ADMIN_LICENSES`;var g$1=`ADMIN_BENCH_RESULT_MIGRATIONS`;var h$3=`ACCOUNT`;var d$5=class{constructor(g,e,r,t,o,a,c,S,T){this.source=g,this.stateView=e,this.providerName=r,this.isProviderReadOnly=t,this.freeMemoryBytes=o,this.freeMemoryPercentage=a,this.stateIcon=c,this.stateDescription=S,this.link=T}};var F$1=(()=>{class i{constructor(){this.providerCrud=T$9(H$5),this.pages=T$9(Te$3),this.providerToView=T$9(Pt),this.authentications=T$9(ge$7),this.upIcon=new e$6().icon(F0).color(`success`).build(),this.downIcon=new e$6().icon(O4).color(`error`).build(),this.disabledIcon=new e$6().icon(W2).color(`error`).build(),this.removedIcon=new e$6().icon(X0).color(`error`).build(),this.zombieIcon=new e$6().icon(K2).color(`error`).build(),this.instancesByProviderId=new Map;let e=T$9($$2);Ka$1(()=>{let r=e.instances();this.instancesByProviderId.clear();for(let t of r){let o=this.instancesByProviderId.get(t.providerId)??[];o.push(t),this.instancesByProviderId.set(t.providerId,o)}})}transform(e,r=!1){let t=this.providerCrud.getById(e.info.providerId),o=t?this.providerToView.transform(t):void 0,a=e.usage.memory.freeMb+e.usage.memory.bufferedMb+e.usage.memory.cachedMb,c=this._toStateView(e,r,t);return new d$5(e,c,t?.name??`Unknown provider (${e.info.providerId})`,this._isReadonly(r,o),a*1024*1024,a/e.usage.memory.totalMb,this._toStateViewIcon(c),this._toStateViewDescription(c),r?this.pages.resolveLink(C$2,[r$11,e.info.id]):this.pages.resolveLink(T$15,[t$8,e.info.providerId],[r$11,e.info.id]))}_toStateView(e,r,t){if(r){if(this._isCloudZombie(e))return`CLOUD_ZOMBIE`;if(this._isOnPremiseZombie(t))return`ON_PREMISE_ZOMBIE`}return e.agent.state}_isCloudZombie(e){return e.info.type===`AUTOMATIC`&&!this.instancesByProviderId.has(e.info.providerId)}_isOnPremiseZombie(e){return!e}_toStateViewIcon(e){switch(e){case`UP`:return this.upIcon;case`CLOUD_ZOMBIE`:return this.zombieIcon;case`ON_PREMISE_ZOMBIE`:return this.zombieIcon;case`DISABLED`:return this.disabledIcon;case`DOWN`:return this.downIcon;case`REMOVED`:return this.removedIcon}}_toStateViewDescription(e){switch(e){case`UP`:return`The agent is operational`;case`DOWN`:return`The agent is unresponsive`;case`CLOUD_ZOMBIE`:return`The agent is registered but unreachable`;case`ON_PREMISE_ZOMBIE`:return`The agent is orphan (not linked to any Provider)`;case`DISABLED`:return`The agent is turned off`;case`REMOVED`:return`The agent has been deleted`}}_isReadonly(e,r){return this.authentications.isAdmin()||e?!1:!r||r.isReadonly?!0:!r.canCreateAgent}static{this.ɵfac=function(r){return new(r||i)}}static{this.ɵpipe=Sb({name:`fullAgentToView`,type:i,pure:!0})}static{this.ɵprov=ce$3({token:i,factory:i.ɵfac,providedIn:`root`})}}return i})();var x=(()=>{class i{constructor(){this.configuration=T$9(w$8),this.http=T$9(We$1)}terminateAgent(t,e,r){return this.http.delete(this.configuration.apiUrl(`/workspaces
1129/agents/terminate-agent/${t}/${e}/${r}`),{headers:J$6})}all(){return this.http.get(this.configuration.apiUrl(`/workspaces/agents`),{headers:J$6}).pipe(He$1(t=>this._excludeDeletedAgents(this._populateIds(t))))}byWorkspace(t){return this.http.get(this.configuration.apiUrl(`/workspaces/agents/by-workspace/${t}`),{headers:J$6}).pipe(He$1(e=>this._excludeDeletedAgents(this._populateIds(e))))}byProvider(t){return this.http.get(this.configuration.apiUrl(`/workspaces/agents/by-provider/${t}`),{headers:J$6}).pipe(He$1(e=>this._excludeDeletedAgents(this._populateIds(e))))}byId(t){return this.http.get(this.configuration.apiUrl(`/workspaces/agents/${t}`),{headers:J$6}).pipe(He$1(e=>this._populateId(e)))}_excludeDeletedAgents(t){let e={};return w$10(t).filter(r=>t[r].agent.state!==`REMOVED`).forEach(r=>{e[r]=this._populateId(t[r])}),e}_populateIds(t){let e={};return w$10(t).forEach(r=>{e[r]=this._populateId(t[r])}),e}_populateId(t){return s$6(r$4({},t),{id:t.info.id})}static{this.ɵfac=function(e){return new(e||i)}}static{this.ɵprov=ce$3({token:i,factory:i.ɵfac,providedIn:`root`})}}return i})();var z$2=(()=>{class i{constructor(){this.httpService=T$9(x),this.workspaceCrud=T$9(b$3),this.providerCrud=T$9(H$5),this.minimumDelay=T$9(b$5),this.status=Ze$1(`empty`),this.agents=new nr$1({}),this.agent=new nr$1(void 0)}clear(){this.status.set(`empty`),this.agents.next({})}terminateAgent(t,e,r){let o=this._findAgentHavingGivenNameAndContainerId(e,r);return o?this.httpService.terminateAgent(t,o.id,r):qg$1(()=>new Error(`No agent '${e}' found`))}_findAgentHavingGivenNameAndContainerId(t,e){return Vc$1(this.agents.value).filter(r=>r.info.name===t).find(r=>!!r.usage.containers.find(o=>o.id===e))}all(t=0){return this.wrapCall(this.minimumDelay.delayObservable(this.httpService.all(),t))}byWorkspace(t=this.workspaceCrud.getId(),e=0){return this.wrapCall(this.minimumDelay.delayObservable(this.httpService.byWorkspace(t),e))}byProvider(t,e=0){return this.wrapCall(this.minimumDelay.delayObservable(this.httpService.byProvider(t),e))}loadById(t){return this.httpService.byId(t).pipe(Nu$1(e=>this.agent.next(e)))}getOrLoadById(t){let e=this.loadFromCache(t);return e?(this.agent.next(e),_g$1(e)):this.loadById(t)}loadFromCache(t){let e=this.agent.value;return e?.info.id===t?e:this.agents.value[t]}getOrLoadByProviderId(t,e=this.providerCrud.getId()){let r=this.loadFromCache(t);return r?(this.agent.next(r),_g$1(r)):this.loadByProviderId(t,e)}loadByProviderId(t,e=this.providerCrud.getId()){return this.byProvider(e).pipe(He$1(r=>r[t])).pipe(Nu$1(r=>this.agent.next(r)))}wrapCall(t){return t.pipe(U$5(()=>{this.status.set(`loading`),this.agents.next({})}),Nu$1(e=>{this.status.set(`loaded`),this.agents.next(e)}),Ms$1(()=>(this.status.set(`loaded`),this.agents.next({}),_g$1({}))))}static{this.ɵfac=function(e){return new(e||i)}}static{this.ɵprov=ce$3({token:i,factory:i.ɵfac,providedIn:`root`})}}return i})();var _t=[`*`];function Ut(i,s){i&1&&Iw(0)}var Jt$1=[`tabListContainer`];var te=[`tabList`];var ee$1=[`tabListInner`];var ne=[`nextPaginator`];var ae$1=[`previousPaginator`];var ie=[`content`];function oe$1(i,s){}var re=[`tabBodyWrapper`];var se=[`tabHeader`];function le(i,s){}function de(i,s){if(i&1&&tm$1(0,le,0,0,`ng-template`,12),i&2){let t=gw().$implicit;cm$1(`cdkPortalOutlet`,t.templateLabel)}}function ce(i,s){if(i&1&&Zw(0),i&2){let t=gw().$implicit;Pm$1(t.textLabel)}}function be(i,s){if(i&1){let t=lw();Zi$1(0,`div`,7,2),mm$1(`click`,function(){let n=xd$1(t),a=n.$implicit,o=n.$index,f=gw(),k=Tw(1);return Ad$1(f._handleClick(a,k,o))})(`cdkFocusChange`,function(n){let a=xd$1(t).$index;return Ad$1(gw()._tabFocusChanged(n,a))}),lm$1(2,`span`,8)(3,`div`,9),Zi$1(4,`span`,10)(5,`span`,11),Jb(6,de,1,1,null,12)(7,ce,1,1),xl$1()()()}if(i&2){let t=s.$implicit,e=s.$index,n=Tw(1),a=gw();Vw(t.labelClass),Mm$1(`mdc-tab--active`,a.selectedIndex===e),cm$1(`id`,a._getTabLabelId(t,e))(`disabled`,t.disabled)(`fitInkBarToContent`,a.fitInkBarToContent),am$1(`tabIndex`,a._getTabIndex(e))(`aria-posinset`,e+1)(`aria-setsize`,a._tabs.length)(`aria-controls`,a._getTabContentId(e))(`aria-selected`,a.selectedIndex===e)(`aria-label`,t.ariaLabel||null)(`aria-labelledby`,!t.ariaLabel&&t.ariaLabelledby?t.ariaLabelledby:null),zE(3),cm$1(`matRippleTrigger`,n)(`matRippleDisabled`,t.disabled||a.disableRipple),zE(3),Xb(t.templateLabel?6:7
1129)}}function me(i,s){i&1&&Iw(0)}function he$1(i,s){if(i&1){let t=lw();Zi$1(0,`mat-tab-body`,13),mm$1(`_onCentered`,function(){xd$1(t);return Ad$1(gw()._removeTabBodyWrapperHeight())})(`_onCentering`,function(n){xd$1(t);return Ad$1(gw()._setTabBodyWrapperHeight(n))})(`_beforeCentering`,function(n){xd$1(t);return Ad$1(gw()._bodyCentered(n))}),xl$1()}if(i&2){let t=s.$implicit,e=s.$index,n=gw();Vw(t.bodyClass),cm$1(`id`,n._getTabContentId(e))(`content`,t.content)(`position`,t.position)(`animationDuration`,n._bodyAnimationDuration)(`preserveContent`,n.preserveContent),am$1(`tabindex`,n.contentTabIndex!=null&&n.selectedIndex===e?n.contentTabIndex:null)(`aria-labelledby`,n._getTabLabelId(t,e))(`aria-hidden`,n.selectedIndex!==e)}}var _e=new x$2(`MatTabContent`);var pe=(()=>{class i{template=T$9($r$1);static ɵfac=function(e){return new(e||i)};static ɵdir=Mb({type:i,selectors:[[``,`matTabContent`,``]],features:[cT([{provide:_e,useExisting:i}])]})}return i})();var ue=new x$2(`MatTabLabel`);var qt=new x$2(`MAT_TAB`);var fe$1=(()=>{class i extends Hi$1{_closestTab=T$9(qt,{optional:!0});static ɵfac=(()=>{let t;return function(n){return(t||(t=Xv(i)))(n||i)}})();static ɵdir=Mb({type:i,selectors:[[``,`mat-tab-label`,``],[``,`matTabLabel`,``]],features:[cT([{provide:ue,useExisting:i}]),Xh]})}return i})();var Zt=new x$2(`MAT_TAB_GROUP`);var ge=(()=>{class i{_viewContainerRef=T$9(ds$1);_closestTabGroup=T$9(Zt,{optional:!0});disabled=!1;get templateLabel(){return this._templateLabel}set templateLabel(t){this._setTemplateLabelInput(t)}_templateLabel;_explicitContent=void 0;_implicitContent;textLabel=``;ariaLabel;ariaLabelledby;labelClass;bodyClass;id=null;_contentPortal=null;get content(){return this._contentPortal}_stateChanges=new ee$5;position=null;origin=null;isActive=!1;constructor(){T$9(I$11).load(Ge$1)}ngOnChanges(t){(t.hasOwnProperty(`textLabel`)||t.hasOwnProperty(`disabled`))&&this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}ngOnInit(){this._contentPortal=new I$12(this._explicitContent||this._implicitContent,this._viewContainerRef)}_setTemplateLabelInput(t){t&&t._closestTab===this&&(this._templateLabel=t)}static ɵfac=function(e){return new(e||i)};static ɵcmp=bb({type:i,selectors:[[`mat-tab`]],contentQueries:function(e,n,a){if(e&1&&vm$1(a,fe$1,5)(a,pe,7,$r$1),e&2){let o;Dw(o=bw())&&(n.templateLabel=o.first),Dw(o=bw())&&(n._explicitContent=o.first)}},viewQuery:function(e,n){if(e&1&&Im$1($r$1,7),e&2){let a;Dw(a=bw())&&(n._implicitContent=a.first)}},hostAttrs:[`hidden`,``],hostVars:1,hostBindings:function(e,n){e&2&&am$1(`id`,null)},inputs:{disabled:[2,`disabled`,`disabled`,QH],textLabel:[0,`label`,`textLabel`],ariaLabel:[0,`aria-label`,`ariaLabel`],ariaLabelledby:[0,`aria-labelledby`,`ariaLabelledby`],labelClass:`labelClass`,bodyClass:`bodyClass`,id:`id`},exportAs:[`matTab`],features:[cT([{provide:qt,useExisting:i}]),kv],ngContentSelectors:_t,decls:1,vars:0,template:function(e,n){e&1&&(vw(),nm$1(0,Ut,1,0,`ng-template`))},encapsulation:2,changeDetection:1})}return i})();var dt$1=`mdc-tab-indicator--active`;var Vt=`mdc-tab-indicator--no-transition`;var bt=class{_items;_currentItem;constructor(s){this._items=s}hide(){this._items.forEach(s=>s.deactivateInkBar()),this._currentItem=void 0}alignToElement(s){let t=this._items.find(n=>n.elementRef.nativeElement===s),e=this._currentItem;if(t!==e&&(e?.deactivateInkBar(),t)){let n=e?.elementRef.nativeElement.getBoundingClientRect?.();t.activateInkBar(n),this._currentItem=t}}};var ve$1=(()=>{class i{_elementRef=T$9(zr$1);_inkBarElement=null;_inkBarContentElement=null;_fitToContent=!1;get fitInkBarToContent(){return this._fitToContent}set fitInkBarToContent(t){this._fitToContent!==t&&(this._fitToContent=t,this._inkBarElement&&this._appendInkBarElement())}activateInkBar(t){let e=this._elementRef.nativeElement;if(!t||!e.getBoundingClientRect||!this._inkBarContentElement){e.classList.add(dt$1);return}let n=e.getBoundingClientRect(),a=t.width/n.width,o=t.left-n.left;e.classList.add(Vt),this._inkBarContentElement.style.setProperty(`transform`,`translateX(${o}px) scaleX(${a})`),e.getBoundingClientRect(),e.classList.remove(Vt),e.classList.add(dt$1),this._inkBarContentElement.style.setProperty(`transform`,``)}deactivateInkBar(){this._elementRef.nativeElement.classList.remove(dt$1)}ngOnInit(){this._createInkBarElement()}ngOnDestroy(){this._inkBarElement?.remove(),this._inkBarElement=this._inkBarContentElement=null}_createInkBarElement(){let t=this._elementRef.nativeElement.ownerDocument||document,e=this._inkBarElement=t.createElement(`span`),n=this._inkBarContentElement=t.createElement(`span`);e.className=`mdc-tab-indicator`,n.className=`mdc-tab-indicator__content mdc-tab-indicator__content--underline`,e.appendChild(this._inkBarContentElement),this._appendInkBarElement()}_appendInkBarElement(){this._inkBarElement;(this._fitToContent?this._elementRef.nativeElement.querySelector(`.mdc-tab__content`):this._elementRef.nativeElement).appendChild(this._inkBarElement)}static ɵfac=function(e){return new(e||i)};
1129static ɵdir=Mb({type:i,inputs:{fitInkBarToContent:[2,`fitInkBarToContent`,`fitInkBarToContent`,QH]}})}return i})();var Kt=(()=>{class i extends ve$1{elementRef=T$9(zr$1);disabled=!1;focus(){this.elementRef.nativeElement.focus()}getOffsetLeft(){return this.elementRef.nativeElement.offsetLeft}getOffsetWidth(){return this.elementRef.nativeElement.offsetWidth}static ɵfac=(()=>{let t;return function(n){return(t||(t=Xv(i)))(n||i)}})();static ɵdir=Mb({type:i,selectors:[[``,`matTabLabelWrapper`,``]],hostVars:3,hostBindings:function(e,n){e&2&&(am$1(`aria-disabled`,!!n.disabled),Mm$1(`mat-mdc-tab-disabled`,n.disabled))},inputs:{disabled:[2,`disabled`,`disabled`,QH]},features:[Xh]})}return i})();var Gt={passive:!0};var ye=650;var ke=100;function ct$1(i){let s=i+``;return/^[0-9]+(?:\.[0-9]+)?$/.test(s)?`${i}ms`:/^[0-9]+(?:\.[0-9]+)?(?:ms|s)$/.test(s)?s:``}var Te=(()=>{class i{_elementRef=T$9(zr$1);_changeDetectorRef=T$9(GH);_viewportRuler=T$9(B$5);_dir=T$9(V$9,{optional:!0});_ngZone=T$9(we$3);_platform=T$9(C$9);_sharedResizeObserver=T$9(yn$3);_injector=T$9(be$3);_renderer=T$9(_c$1);_animationsDisabled=De$3();_eventCleanups;_scrollDistance=0;_selectedIndexChanged=!1;_destroyed=new ee$5;_showPaginationControls=!1;_disableScrollAfter=!0;_disableScrollBefore=!0;_tabLabelCount;_scrollDistanceChanged=!1;_keyManager;_currentTextContent;_stopScrolling=new ee$5;disablePagination=!1;get selectedIndex(){return this._selectedIndex}set selectedIndex(t){let e=isNaN(t)?0:t;this._selectedIndex!=e&&(this._selectedIndexChanged=!0,this._selectedIndex=e,this._keyManager&&this._keyManager.updateActiveItem(e))}_selectedIndex=0;selectFocusedIndex=new et$3;indexFocused=new et$3;constructor(){this._eventCleanups=this._ngZone.runOutsideAngular(()=>[this._renderer.listen(this._elementRef.nativeElement,`mouseleave`,()=>this._stopInterval())])}ngAfterViewInit(){this._eventCleanups.push(this._renderer.listen(this._previousPaginator.nativeElement,`touchstart`,()=>this._handlePaginatorPress(`before`),Gt),this._renderer.listen(this._nextPaginator.nativeElement,`touchstart`,()=>this._handlePaginatorPress(`after`),Gt))}ngAfterContentInit(){let t=this._dir?this._dir.change:_g$1(`ltr`),e=this._sharedResizeObserver.observe(this._elementRef.nativeElement).pipe(gy(32),Vg$1(this._destroyed)),n=this._viewportRuler.change(150).pipe(Vg$1(this._destroyed)),a=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new Ft$2(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap().skipPredicate(()=>!1),this._keyManager.updateActiveItem(Math.max(this._selectedIndex,0)),Kp$1(a,{injector:this._injector}),ay(t,n,e,this._items.changes,this._itemsResized()).pipe(Vg$1(this._destroyed)).subscribe(()=>{this._ngZone.run(()=>{Promise.resolve().then(()=>{this._scrollDistance=Math.max(0,Math.min(this._getMaxScrollDistance(),this._scrollDistance)),a()})}),this._keyManager?.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.subscribe(o=>{this.indexFocused.emit(o),this._setTabFocus(o)})}_itemsResized(){return typeof ResizeObserver!=`function`?he$5:this._items.changes.pipe(Su$1(this._items),Bu(t=>new w$7(e=>this._ngZone.runOutsideAngular(()=>{let n=new ResizeObserver(a=>e.next(a));return t.forEach(a=>n.observe(a.elementRef.nativeElement)),()=>{n.disconnect()}}))),Hu$1(1),lt$3(t=>t.some(e=>e.contentRect.width>0&&e.contentRect.height>0)))}ngAfterContentChecked(){this._tabLabelCount!=this._items.length&&(this.updatePagination(),this._tabLabelCount=this._items.length,this._changeDetectorRef.markForCheck()),this._selectedIndexChanged&&(this._scrollToLabel(this._selectedIndex),this._checkScrollingControls(),this._alignInkBarToSelectedTab(),this._selectedIndexChanged=!1,this._changeDetectorRef.markForCheck()),this._scrollDistanceChanged&&(this._updateTabScrollPosition(),this._scrollDistanceChanged=!1,this._changeDetectorRef.markForCheck())}ngOnDestroy(){this._eventCleanups.forEach(t=>t()),this._keyManager?.destroy(),this._destroyed.next(),this._destroyed.complete(),this._stopScrolling.complete()}_handleKeydown(t){if(!Re$3(t))switch(t.keyCode){case 13:case 32:if(this.focusIndex!==this.selectedIndex){let e=this._items.get(this.focusIndex);
1129e&&!e.disabled&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(t))}break;default:this._keyManager?.onKeydown(t)}}_onContentChanges(){let t=this._elementRef.nativeElement.textContent;t!==this._currentTextContent&&(this._currentTextContent=t||``,this._ngZone.run(()=>{this.updatePagination(),this._alignInkBarToSelectedTab(),this._changeDetectorRef.markForCheck()}))}updatePagination(){this._checkPaginationEnabled(),this._checkScrollingControls(),this._updateTabScrollPosition()}get focusIndex(){return this._keyManager?this._keyManager.activeItemIndex:0}set focusIndex(t){!this._isValidIndex(t)||this.focusIndex===t||!this._keyManager||this._keyManager.setActiveItem(t)}_isValidIndex(t){return this._items?!!this._items.toArray()[t]:!0}_setTabFocus(t){if(this._showPaginationControls&&this._scrollToLabel(t),this._items&&this._items.length){this._items.toArray()[t].focus();let e=this._tabListContainer.nativeElement;this._getLayoutDirection()==`ltr`?e.scrollLeft=0:e.scrollLeft=e.scrollWidth-e.offsetWidth}}_getLayoutDirection(){return this._dir&&this._dir.value===`rtl`?`rtl`:`ltr`}_updateTabScrollPosition(){if(this.disablePagination)return;let t=this.scrollDistance,e=this._getLayoutDirection()===`ltr`?-t:t;this._tabList.nativeElement.style.transform=`translateX(${Math.round(e)}px)`,(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}get scrollDistance(){return this._scrollDistance}set scrollDistance(t){this._scrollTo(t)}_scrollHeader(t){let e=this._tabListContainer.nativeElement.offsetWidth,n=(t==`before`?-1:1)*e/3;return this._scrollTo(this._scrollDistance+n)}_handlePaginatorClick(t){this._stopInterval(),this._scrollHeader(t)}_scrollToLabel(t){if(this.disablePagination)return;let e=this._items?this._items.toArray()[t]:null;if(!e)return;let n=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:a,offsetWidth:o}=e.elementRef.nativeElement,f,k;this._getLayoutDirection()==`ltr`?(f=a,k=f+o):(k=this._tabListInner.nativeElement.offsetWidth-a,f=k-o);let Z=this.scrollDistance,pt=this.scrollDistance+n;f<Z?this.scrollDistance-=Z-f:k>pt&&(this.scrollDistance+=Math.min(k-pt,f-Z))}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=!1;else{let n=this._tabListInner.nativeElement.scrollWidth-this._elementRef.nativeElement.offsetWidth>=5;n||(this.scrollDistance=0),n!==this._showPaginationControls&&(this._showPaginationControls=n,this._changeDetectorRef.markForCheck())}}_checkScrollingControls(){this.disablePagination?this._disableScrollAfter=this._disableScrollBefore=!0:(this._disableScrollBefore=this.scrollDistance==0,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck())}_getMaxScrollDistance(){return this._tabListInner.nativeElement.scrollWidth-this._tabListContainer.nativeElement.offsetWidth||0}_alignInkBarToSelectedTab(){let t=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,e=t?t.elementRef.nativeElement:null;e?this._inkBar.alignToElement(e):this._inkBar.hide()}_stopInterval(){this._stopScrolling.next()}_handlePaginatorPress(t,e){e&&e.button!=null&&e.button!==0||(this._stopInterval(),me$4(ye,ke).pipe(Vg$1(ay(this._stopScrolling,this._destroyed))).subscribe(()=>{let{maxScrollDistance:n,distance:a}=this._scrollHeader(t);(a===0||a>=n)&&this._stopInterval()}))}_scrollTo(t){if(this.disablePagination)return{maxScrollDistance:0,distance:0};let e=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(e,t)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:e,distance:this._scrollDistance}}static ɵfac=function(e){return new(e||i)};static ɵdir=Mb({type:i,inputs:{disablePagination:[2,`disablePagination`,`disablePagination`,QH],selectedIndex:[2,`selectedIndex`,`selectedIndex`,ZH]},outputs:{selectFocusedIndex:`selectFocusedIndex`,indexFocused:`indexFocused`}})}return i})();var Ce=(()=>{class i extends Te{_items;_tabListContainer;_tabList;_tabListInner;_nextPaginator;_previousPaginator;_inkBar;ariaLabel;ariaLabelledby;disableRipple=!1;ngAfterContentInit(){this._inkBar=new bt(this._items),super.ngAfterContentInit()}_itemSelected(t){t.preventDefault()}static ɵfac=(()=>{let t;return function(n){return(t||(t=Xv(i)))(n||i)}})();static ɵcmp=bb({type:i,selectors:[[`mat-tab-header`]],contentQueries:function(e,n,a){if(e&1&&vm$1(a,Kt,4),e&2){let o;Dw(o=bw())&&(n._items=o)}},viewQuery:function(e,n){if(e&1&&Im$1(Jt$1,7)(te,7)(ee$1,7)(ne,5)(ae$1,5),e&2){let a;Dw(a=bw())&&(n._tabListContainer=a.first),Dw(a=bw())&&(n._tabList=a.first),Dw(a=bw())&&(n._tabListInner=a.first),Dw(a=bw())&&(n._nextPaginator=a.first),Dw(a=bw())&&(n._previousPaginator=a.first)}},hostAttrs:[1,`mat-mdc-tab-header`],hostVars:4,hostBindings:function(e,n){e&2&&Mm$1(`mat-mdc-tab-header-pagination-controls-enabled`,n._showPaginationControls)(`mat-mdc-tab-header-rtl`,n._getLayoutDirection()==`rtl`)},inputs:{ariaLabel:[0,`aria-label`,`ariaLabel`],ariaLabelledby:[0,`aria-labelledby`,`ariaLabelledby`],disableRipple:[2,`disableRipple`,`disableRipple`,QH]},features:[Xh],ngContentSelectors:_t,decls:13,vars:10,consts:[[`previousPaginator`,``],[`tabListContainer`,``],[`tabList`,``],[`tabListInner`,``],[`nextPaginator`,``],[`mat-ripple`,``,1,`mat-mdc-tab-header-pagination`,`mat-mdc-tab-header-pagination-before`,3,`click`,`mousedown`,`touchend`,`matRippleDisabled`],[1,`mat-mdc-tab-header-pagination-chevron`],[1,`mat-mdc-tab-label-container`,3,`keydown`],[`role`,`tablist`,1,`mat-mdc-tab-list`,3,`cdkObserveContent`],[1,`mat-mdc-tab-labels`],[`mat-ripple`,``,1,`mat-mdc-tab-header-pagination`,`mat-mdc-tab-header-pagination-after`,3,`mousedown`,`click`,`touchend`,`matRippleDisabled`]],template:function(e,n){e&1&&(vw(),Zi$1(0,`div`,5,0),mm$1(`click`,function(){return n._handlePaginatorClick(`before`)})(`mousedown`,function(o){return n._handlePaginatorPress(`before`,o)})(`touchend`,function(){return n._stopInterval()}),lm$1(2,`div`,6),xl$1(),Zi$1(3,`div`,7,1),mm$1(`keydown`,function(o){return n._handleKeydown(o)}),Zi$1(5,`div`,8,2),mm$1(`cdkObserveContent`,function(){return n._onContentChanges()}),Zi$1(7,`div`,9,3),Iw(9),xl$1()()(),Zi$1(10,`div`,10,4),mm$1(`mousedown`,function(o){return n._handlePaginatorPress(`after`,o)})(`click`,function(){return n._handlePaginatorClick(`after`)})(`touchend`,function(){return n._stopInterval()}),lm$1(12,`div`,6),xl$1()),e&2&&(Mm$1(`mat-mdc-tab-header-pagination-disabled`,n._disableScrollBefore),cm$1(`matRippleDisabled`,n._disableScrollBefore||n.disableRipple),zE(3),Mm$1(`_mat-animation-noopable`,n._animationsDisabled),zE(2),am$1(`aria-label`,n.ariaLabel||null)(`aria-labelledby`,n.ariaLabelledby||null),zE(5),Mm$1(`mat-mdc-tab-header-pagination-disabled`,n._disableScrollAfter),cm$1(`matRippleDisabled`,n._disableScrollAfter||n.disableRipple))},dependencies:[ii$1,wa$2],styles:[`.mat-mdc-tab-header {
1130  display: flex;
1131  overflow: hidden;
1132  position: relative;
1133  flex-shrink: 0;
1134}
1135
1136.mdc-tab-indicator .mdc-tab-indicator__content {
1137  transition-duration: var(--%NS%mat-tab-header-animation-duration, 250ms);
1138}
1139
1140.mat-mdc-tab-header-pagination {
1141  -webkit-user-select: none;
1142  user-select: none;
1143  position: relative;
1144  display: none;
1145  justify-content: center;
1146  align-items: center;
1147  min-width: 32px;
1148  cursor: pointer;
1149  z-index: 2;
1150  -webkit-tap-highlight-color: transparent;
1151  touch-action: none;
1152  box-sizing: content-box;
1153  outline: 0;
1154}
1155.mat-mdc-tab-header-pagination::-moz-focus-inner {
1156  border: 0;
1157}
1158.mat-mdc-tab-header-pagination .mat-ripple-element {
1159  opacity: 0.12;
1160  background-color: var(--%NS%mat-tab-inactive-ripple-color, var(--%NS%mat-sys-on-surface));
1161}
1162.mat-mdc-tab-header-pagination-controls-enabled .mat-mdc-tab-header-pagination {
1163  display: flex;
1164}
1165
1166.mat-mdc-tab-header-pagination-before,
1167.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after {
1168  padding-left: 4px;
1169}
1170.mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,
1171.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron {
1172  transform: rotate(-135deg);
1173}
1174
1175.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before,
1176.mat-mdc-tab-header-pagination-after {
1177  padding-right: 4px;
1178}
1179.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,
1180.mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron {
1181  transform: rotate(45deg);
1182}
1183
1184.mat-mdc-tab-header-pagination-chevron {
1185  border-style: solid;
1186  border-width: 2px 2px 0 0;
1187  height: 8px;
1188  width: 8px;
1189  border-color: var(--%NS%mat-tab-pagination-icon-color, var(--%NS%mat-sys-on-surface));
1190}
1191
1192.mat-mdc-tab-header-pagination-disabled {
1193  box-shadow: none;
1194  cursor: default;
1195  pointer-events: none;
1196}
1197.mat-mdc-tab-header-pagination-disabled .mat-mdc-tab-header-pagination-chevron {
1198  opacity: 0.4;
1199}
1200
1201.mat-mdc-tab-list {
1202  flex-grow: 1;
1203  position: relative;
1204  transition: transform 500ms cubic-bezier(0.35, 0, 0.25, 1);
1205}
1206._mat-animation-noopable .mat-mdc-tab-list {
1207  transition: none;
1208}
1209
1210.mat-mdc-tab-label-container {
1211  display: flex;
1212  flex-grow: 1;
1213  overflow: hidden;
1214  z-index: 1;
1215  border-bottom-style: solid;
1216  border-bottom-width: var(--%NS%mat-tab-divider-height, 1px);
1217  border-bottom-color: var(--%NS%mat-tab-divider-color, var(--%NS%mat-sys-surface-variant));
1218}
1219.mat-mdc-tab-group-inverted-header .mat-mdc-tab-label-container {
1220  border-bottom: none;
1221  border-top-style: solid;
1222  border-top-width: var(--%NS%mat-tab-divider-height, 1px);
1223  border-top-color: var(--%NS%mat-tab-divider-color, var(--%NS%mat-sys-surface-variant));
1224}
1225
1226.mat-mdc-tab-labels {
1227  display: flex;
1228  flex: 1 0 auto;
1229}
1230[mat-align-tabs=center] > .mat-mdc-tab-header .mat-mdc-tab-labels {
1231  justify-content: center;
1232}
1233[mat-align-tabs=end] > .mat-mdc-tab-header .mat-mdc-tab-labels {
1234  justify-content: flex-end;
1235}
1236.cdk-drop-list .mat-mdc-tab-labels, .mat-mdc-tab-labels.cdk-drop-list {
1237  min-height: var(--%NS%mat-tab-container-height, 48px);
1238}
1239
1240.mat-mdc-tab::before {
1241  margin: 5px;
1242}
1243@media (forced-colors: active) {
1244  .mat-mdc-tab[aria-disabled=true] {
1245    color: GrayText;
1246  }
1247}
1248`],encapsulation:2,changeDetection:1})}return i})();var xe=new x$2(`MAT_TABS_CONFIG`);var $t=(()=>{class i extends Xi$1{_host=T$9(mt$1);_ngZone=T$9(we$3);_centeringSub=F$6.EMPTY;_leavingSub=F$6.EMPTY;ngOnInit(){super.ngOnInit(),this._centeringSub=this._host._beforeCentering.pipe(Su$1(this._host._isCenterPosition())).subscribe(t=>{this._host._content&&t&&!this.hasAttached()&&this._ngZone.run(()=>{Promise.resolve().then(),this.attach(this._host._content)})}),this._leavingSub=this._host._afterLeavingCenter.subscribe(()=>{this._host.preserveContent||this._ngZone.run(()=>this.detach())})}ngOnDestroy(){super.ngOnDestroy(),this._centeringSub.unsubscribe(),this._leavingSub.unsubscribe()}static ɵfac=(()=>{let t;return function(n){return(t||(t=Xv(i)))(n||i)}})();
1248static ɵdir=Mb({type:i,selectors:[[``,`matTabBodyHost`,``]],features:[Xh]})}return i})();var mt$1=(()=>{class i{_elementRef=T$9(zr$1);_dir=T$9(V$9,{optional:!0});_ngZone=T$9(we$3);_injector=T$9(be$3);_renderer=T$9(_c$1);_diAnimationsDisabled=De$3();_eventCleanups;_initialized=!1;_fallbackTimer;_positionIndex;_dirChangeSubscription=F$6.EMPTY;_position;_previousPosition;_onCentering=new et$3;_beforeCentering=new et$3;_afterLeavingCenter=new et$3;_onCentered=new et$3(!0);_portalHost;_contentElement;_content;animationDuration=`500ms`;preserveContent=!1;set position(t){this._positionIndex=t,this._computePositionAnimationState()}constructor(){if(this._dir){let t=T$9(GH);this._dirChangeSubscription=this._dir.change.subscribe(e=>{this._computePositionAnimationState(e),t.markForCheck()})}}ngOnInit(){this._bindTransitionEvents(),this._position===`center`&&(this._setActiveClass(!0),Kp$1(()=>this._onCentering.emit(this._elementRef.nativeElement.clientHeight),{injector:this._injector})),this._initialized=!0}ngOnDestroy(){clearTimeout(this._fallbackTimer),this._eventCleanups?.forEach(t=>t()),this._dirChangeSubscription.unsubscribe()}_bindTransitionEvents(){this._ngZone.runOutsideAngular(()=>{let t=this._elementRef.nativeElement,e=n=>{n.target===this._contentElement?.nativeElement&&(this._elementRef.nativeElement.classList.remove(`mat-tab-body-animating`),n.type===`transitionend`&&this._transitionDone())};this._eventCleanups=[this._renderer.listen(t,`transitionstart`,n=>{n.target===this._contentElement?.nativeElement&&(this._elementRef.nativeElement.classList.add(`mat-tab-body-animating`),this._transitionStarted())}),this._renderer.listen(t,`transitionend`,e),this._renderer.listen(t,`transitioncancel`,e)]})}_transitionStarted(){clearTimeout(this._fallbackTimer);let t=this._position===`center`;this._beforeCentering.emit(t),t&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}_transitionDone(){this._position===`center`?this._onCentered.emit():this._previousPosition===`center`&&this._afterLeavingCenter.emit()}_setActiveClass(t){this._elementRef.nativeElement.classList.toggle(`mat-mdc-tab-body-active`,t)}_getLayoutDirection(){return this._dir&&this._dir.value===`rtl`?`rtl`:`ltr`}_isCenterPosition(){return this._positionIndex===0}_computePositionAnimationState(t=this._getLayoutDirection()){this._previousPosition=this._position,this._positionIndex<0?this._position=t==`ltr`?`left`:`right`:this._positionIndex>0?this._position=t==`ltr`?`right`:`left`:this._position=`center`,this._animationsDisabled()?this._simulateTransitionEvents():this._initialized&&(this._position===`center`||this._previousPosition===`center`)&&(clearTimeout(this._fallbackTimer),this._fallbackTimer=this._ngZone.runOutsideAngular(()=>setTimeout(()=>this._simulateTransitionEvents(),100)))}_simulateTransitionEvents(){this._transitionStarted(),Kp$1(()=>this._transitionDone(),{injector:this._injector})}_animationsDisabled(){return this._diAnimationsDisabled||this.animationDuration===`0ms`||this.animationDuration===`0s`}static ɵfac=function(e){return new(e||i)};static ɵcmp=bb({type:i,selectors:[[`mat-tab-body`]],viewQuery:function(e,n){if(e&1&&Im$1($t,5)(ie,5),e&2){let a;Dw(a=bw())&&(n._portalHost=a.first),Dw(a=bw())&&(n._contentElement=a.first)}},hostAttrs:[1,`mat-mdc-tab-body`],hostVars:1,hostBindings:function(e,n){e&2&&am$1(`inert`,n._position===`center`?null:``)},inputs:{_content:[0,`content`,`_content`],animationDuration:`animationDuration`,preserveContent:`preserveContent`,position:`position`},outputs:{_onCentering:`_onCentering`,_beforeCentering:`_beforeCentering`,_onCentered:`_onCentered`},decls:3,vars:6,consts:[[`content`,``],[`cdkScrollable`,``,1,`mat-mdc-tab-body-content`],[`matTabBodyHost`,``]],template:function(e,n){e&1&&(Zi$1(0,`div`,1,0),tm$1(2,oe$1,0,0,`ng-template`,2),xl$1()),e&2&&Mm$1(`mat-tab-body-content-left`,n._position===`left`)(`mat-tab-body-content-right`,n._position===`right`)(`mat-tab-body-content-can-animate`,n._position===`center`||n._previousPosition===`center`)},dependencies:[$t,At$3],styles:[`.mat-mdc-tab-body {
1249  top: 0;
1250  left: 0;
1251  right: 0;
1252  bottom: 0;
1253  position: absolute;
1254  display: block;
1255  overflow: hidden;
1256  outline: 0;
1257  flex-basis: 100%;
1258}
1259.mat-mdc-tab-body.mat-mdc-tab-body-active {
1260  position: relative;
1261  overflow-x: hidden;
1262  overflow-y: auto;
1263  z-index: 1;
1264  flex-grow: 1;
1265}
1266.mat-mdc-tab-group.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body.mat-mdc-tab-body-active {
1267  overflow-y: hidden;
1268}
1269
1270.mat-mdc-tab-body-content {
1271  height: 100%;
1272  overflow: auto;
1273  transform: none;
1274  visibility: hidden;
1275}
1276.mat-tab-body-animating > .mat-mdc-tab-body-content, .mat-mdc-tab-body-active > .mat-mdc-tab-body-content {
1277  visibility: visible;
1278}
1279.mat-tab-body-animating > .mat-mdc-tab-body-content {
1280  min-height: 1px;
1281}
1282.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body-content {
1283  overflow: hidden;
1284}
1285
1286.mat-tab-body-content-can-animate {
1287  transition: transform var(--%NS%mat-tab-body-animation-duration) 1ms cubic-bezier(0.35, 0, 0.25, 1);
1288}
1289.mat-mdc-tab-body-wrapper._mat-animation-noopable .mat-tab-body-content-can-animate {
1290  transition: none;
1291}
1292
1293.mat-tab-body-content-left {
1294  transform: translate3d(-100%, 0, 0);
1295}
1296
1297.mat-tab-body-content-right {
1298  transform: translate3d(100%, 0, 0);
1299}
1300`],encapsulation:2,changeDetection:1})}return i})();var dn=(()=>{class i{_elementRef=T$9(zr$1);
1300_changeDetectorRef=T$9(GH);_ngZone=T$9(we$3);_tabsSubscription=F$6.EMPTY;_tabLabelSubscription=F$6.EMPTY;_tabBodySubscription=F$6.EMPTY;_diAnimationsDisabled=De$3();_bodyAnimationDuration;_headerAnimationDuration;_allTabs;_tabBodies;_tabBodyWrapper;_tabHeader;_tabs=new Li$2;_indexToSelect=0;_lastFocusedTabIndex=null;_tabBodyWrapperHeight=0;color;get fitInkBarToContent(){return this._fitInkBarToContent}set fitInkBarToContent(t){this._fitInkBarToContent=t,this._changeDetectorRef.markForCheck()}_fitInkBarToContent=!1;stretchTabs=!0;alignTabs=null;dynamicHeight=!1;get selectedIndex(){return this._selectedIndex}set selectedIndex(t){this._indexToSelect=isNaN(t)?null:t}_selectedIndex=null;headerPosition=`above`;get animationDuration(){return this._animationDuration}set animationDuration(t){this._animationDuration=t,t&&typeof t==`object`?(this._bodyAnimationDuration=ct$1(t.body),this._headerAnimationDuration=ct$1(t.header)):this._headerAnimationDuration=this._bodyAnimationDuration=ct$1(t)}_animationDuration;get contentTabIndex(){return this._contentTabIndex}set contentTabIndex(t){this._contentTabIndex=isNaN(t)?null:t}_contentTabIndex=null;disablePagination=!1;disableRipple=!1;preserveContent=!1;get backgroundColor(){return this._backgroundColor}set backgroundColor(t){let e=this._elementRef.nativeElement.classList;e.remove(`mat-tabs-with-background`,`mat-background-${this.backgroundColor}`),t&&e.add(`mat-tabs-with-background`,`mat-background-${t}`),this._backgroundColor=t}_backgroundColor;ariaLabel;ariaLabelledby;selectedIndexChange=new et$3;focusChange=new et$3;animationDone=new et$3;selectedTabChange=new et$3(!0);_groupId;_isServer=!T$9(C$9).isBrowser;constructor(){let t=T$9(xe,{optional:!0});this._groupId=T$9(Ot$2).getId(`mat-tab-group-`),this.animationDuration=t&&t.animationDuration?t.animationDuration:`500ms`,this.disablePagination=t&&t.disablePagination!=null?t.disablePagination:!1,this.dynamicHeight=t&&t.dynamicHeight!=null?t.dynamicHeight:!1,t?.contentTabIndex!=null&&(this.contentTabIndex=t.contentTabIndex),this.preserveContent=!!t?.preserveContent,this.fitInkBarToContent=t&&t.fitInkBarToContent!=null?t.fitInkBarToContent:!1,this.stretchTabs=t&&t.stretchTabs!=null?t.stretchTabs:!0,this.alignTabs=t&&t.alignTabs!=null?t.alignTabs:null}ngAfterContentChecked(){let t=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=t){let e=this._selectedIndex==null;if(!e){this.selectedTabChange.emit(this._createChangeEvent(t));let n=this._tabBodyWrapper.nativeElement;n.style.minHeight=n.clientHeight+`px`}Promise.resolve().then(()=>
1300{this._tabs.forEach((n,a)=>n.isActive=a===t),e||(this.selectedIndexChange.emit(t),this._tabBodyWrapper.nativeElement.style.minHeight=``)})}this._tabs.forEach((e,n)=>{e.position=n-t,this._selectedIndex!=null&&e.position==0&&!e.origin&&(e.origin=t-this._selectedIndex)}),this._selectedIndex!==t&&(this._selectedIndex=t,this._lastFocusedTabIndex=null,this._changeDetectorRef.markForCheck())}ngAfterContentInit(){this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(()=>{let t=this._clampTabIndex(this._indexToSelect);if(t===this._selectedIndex){let e=this._tabs.toArray(),n;for(let a=0;a<e.length;a++)if(e[a].isActive){this._indexToSelect=this._selectedIndex=a,this._lastFocusedTabIndex=null,n=e[a];break}!n&&e[t]&&Promise.resolve().then(()=>{e[t].isActive=!0,this.selectedTabChange.emit(this._createChangeEvent(t))})}this._changeDetectorRef.markForCheck()})}ngAfterViewInit(){this._tabBodySubscription=this._tabBodies.changes.subscribe(()=>this._bodyCentered(!0))}_subscribeToAllTabChanges(){this._allTabs.changes.pipe(Su$1(this._allTabs)).subscribe(t=>{this._tabs.reset(t.filter(e=>e._closestTabGroup===this||!e._closestTabGroup)),this._tabs.notifyOnChanges()})}ngOnDestroy(){this._tabs.destroy(),this._tabsSubscription.unsubscribe(),this._tabLabelSubscription.unsubscribe(),this._tabBodySubscription.unsubscribe()}realignInkBar(){this._tabHeader&&this._tabHeader._alignInkBarToSelectedTab()}updatePagination(){this._tabHeader&&this._tabHeader.updatePagination()}focusTab(t){let e=this._tabHeader;e&&(e.focusIndex=t)}_focusChanged(t){this._lastFocusedTabIndex=t,this.focusChange.emit(this._createChangeEvent(t))}_createChangeEvent(t){let e=new ht;return e.index=t,this._tabs&&this._tabs.length&&(e.tab=this._tabs.toArray()[t]),e}_subscribeToTabLabels(){this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=ay(...this._tabs.map(t=>t._stateChanges)).subscribe(()=>this._changeDetectorRef.markForCheck())}_clampTabIndex(t){return Math.min(this._tabs.length-1,Math.max(t||0,0))}_getTabLabelId(t,e){return t.id||`${this._groupId}-label-${e}`}_getTabContentId(t){return`${this._groupId}-content-${t}`}_setTabBodyWrapperHeight(t){if(!this.dynamicHeight||!this._tabBodyWrapperHeight){this._tabBodyWrapperHeight=t;return}let e=this._tabBodyWrapper.nativeElement;e.style.height=this._tabBodyWrapperHeight+`px`,this._tabBodyWrapper.nativeElement.offsetHeight&&(e.style.height=t+`px`)}_removeTabBodyWrapperHeight(){let t=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=t.clientHeight,t.style.height=``,this._ngZone.run(()=>this.animationDone.emit())}_handleClick(t,e,n){e.focusIndex=n,t.disabled||(this.selectedIndex=n)}_getTabIndex(t){return t===(this._lastFocusedTabIndex??this.selectedIndex)?0:-1}_tabFocusChanged(t,e){t&&t!==`mouse`&&t!==`touch`&&(this._tabHeader.focusIndex=e)}_bodyCentered(t){t&&this._tabBodies?.forEach((e,n)=>e._setActiveClass(n===this._selectedIndex))}_bodyAnimationsDisabled(){return this._diAnimationsDisabled||this._bodyAnimationDuration===`0`||this._bodyAnimationDuration===`0ms`}static ɵfac=function(e){return new(e||i)};static ɵcmp=bb({type:i,selectors:[[`mat-tab-group`]],contentQueries:function(e,n,a){if(e&1&&vm$1(a,ge,5),e&2){let o;Dw(o=bw())&&(n._allTabs=o)}},viewQuery:function(e,n){if(e&1&&Im$1(re,5)(se,5)(mt$1,5),e&2){let a;Dw(a=bw())&&(n._tabBodyWrapper=a.first),Dw(a=bw())&&(n._tabHeader=a.first),Dw(a=bw())&&(n._tabBodies=a)}},hostAttrs:[1,`mat-mdc-tab-group`],hostVars:13,hostBindings:function(e,n){e&2&&(am$1(`mat-align-tabs`,n.alignTabs),Vw(`mat-`+(n.color||`primary`)),_m$1(`--%NS%mat-tab-body-animation-duration`,n._bodyAnimationDuration)(`--%NS%mat-tab-header-animation-duration`,n._headerAnimationDuration),Mm$1(`mat-mdc-tab-group-dynamic-height`,n.dynamicHeight)(`mat-mdc-tab-group-inverted-header`,n.headerPosition===`below`)(`mat-mdc-tab-group-stretch-tabs`,n.stretchTabs))},inputs:{color:`color`,fitInkBarToContent:[2,`fitInkBarToContent`,`fitInkBarToContent`,QH],stretchTabs:[2,`mat-stretch-tabs`,`stretchTabs`,QH],alignTabs:[0,`mat-align-tabs`,`alignTabs`],dynamicHeight:[2,`dynamicHeight`,`dynamicHeight`,QH],selectedIndex:[2,`selectedIndex`,`selectedIndex`,ZH],headerPosition:`headerPosition`,animationDuration:`animationDuration`,contentTabIndex:[2,`contentTabIndex`,`contentTabIndex`,ZH],disablePagination:[2,`disablePagination`,`disablePagination`,QH],disableRipple:[2,`disableRipple`,`disableRipple`,QH],preserveContent:[2,`preserveContent`,`preserveContent`,QH],backgroundColor:`backgroundColor`,ariaLabel:[0,`aria-label`,`ariaLabel`],ariaLabelledby:[0,`aria-labelledby`,`ariaLabelledby`]},outputs:{selectedIndexChange:`selectedIndexChange`,focusChange:`focusChange`,animationDone:`animationDone`,selectedTabChange:`selectedTabChange`},exportAs:[`matTabGroup`],features:[cT([{provide:Zt,useExisting:i}])],ngContentSelectors:_t,decls:9,vars:8,consts:[[`tabHeader`,``],[`tabBodyWrapper`,``],[`tabNode`,``],[3,`indexFocused`,`selectFocusedIndex`,`selectedIndex`,`disableRipple`,`disablePagination`,`aria-label`,`aria-labelledby`],[`role`,`tab`,`matTabLabelWrapper`,``,`cdkMonitorElementFocus`,``,1,`mdc-tab`,`mat-mdc-tab`,`mat-focus-indicator`,3,`id`,`mdc-tab--active`,`class`,`disabled`,`fitInkBarToContent`],[1,`mat-mdc-tab-body-wrapper`],[`role`,`tabpanel`,3,`id`,`class`,`content`,`position`,`animationDuration`,`preserveContent`],[`role`,`tab`,`matTabLabelWrapper`,``,`cdkMonitorElementFocus`,``,1,`mdc-tab`,`mat-mdc-tab`,`mat-focus-indicator`,3,`click`,`cdkFocusChange`,`id`,`disabled`,`fitInkBarToContent`],[1,`mdc-tab__ripple`],[`mat-ripple`,``,1,`mat-mdc-tab-ripple`,3,`matRippleTrigger`,`matRippleDisabled`],[1,`mdc-tab__content`],[1,`mdc-tab__text-label`],[3,`cdkPortalOutlet`],[`role`,`tabpanel`,3,`_onCentered`,`_onCentering`,`_beforeCentering`,`id`,`content`,`position`,`animationDuration`,`preserveContent`]],template:function(e,n){e&1&&(vw(),Zi$1(0,`mat-tab-header`,3,0),mm$1(`indexFocused`,function(o){return n._focusChanged(o)})(`selectFocusedIndex`,function(o){return n.selectedIndex=o}
1300),nw(2,be,8,17,`div`,4,tw),xl$1(),Jb(4,me,1,0),Zi$1(5,`div`,5,1),nw(7,he$1,1,10,`mat-tab-body`,6,tw),xl$1()),e&2&&(cm$1(`selectedIndex`,n.selectedIndex||0)(`disableRipple`,n.disableRipple)(`disablePagination`,n.disablePagination),sm$1(`aria-label`,n.ariaLabel)(`aria-labelledby`,n.ariaLabelledby),zE(2),rw(n._tabs),zE(2),Xb(n._isServer?4:-1),zE(),Mm$1(`_mat-animation-noopable`,n._bodyAnimationsDisabled()),zE(2),rw(n._tabs))},dependencies:[Ce,Kt,tn$3,ii$1,Xi$1,mt$1],styles:[`.mdc-tab {
1301  min-width: 90px;
1302  padding: 0 24px;
1303  display: flex;
1304  flex: 1 0 auto;
1305  justify-content: center;
1306  box-sizing: border-box;
1307  border: none;
1308  outline: none;
1309  text-align: center;
1310  white-space: nowrap;
1311  cursor: pointer;
1312  z-index: 1;
1313  touch-action: manipulation;
1314}
1315
1316.mdc-tab__content {
1317  display: flex;
1318  align-items: center;
1319  justify-content: center;
1320  height: inherit;
1321  pointer-events: none;
1322}
1323
1324.mdc-tab__text-label {
1325  transition: 150ms color linear;
1326  display: inline-block;
1327  line-height: 1;
1328  z-index: 2;
1329}
1330
1331.mdc-tab--active .mdc-tab__text-label {
1332  transition-delay: 100ms;
1333}
1334
1335._mat-animation-noopable .mdc-tab__text-label {
1336  transition: none;
1337}
1338
1339.mdc-tab-indicator {
1340  display: flex;
1341  position: absolute;
1342  top: 0;
1343  left: 0;
1344  justify-content: center;
1345  width: 100%;
1346  height: 100%;
1347  pointer-events: none;
1348  z-index: 1;
1349}
1350
1351.mdc-tab-indicator__content {
1352  transition: var(--%NS%mat-tab-header-animation-duration, 250ms) transform cubic-bezier(0.4, 0, 0.2, 1);
1353  transform-origin: left;
1354  opacity: 0;
1355}
1356
1357.mdc-tab-indicator__content--underline {
1358  align-self: flex-end;
1359  box-sizing: border-box;
1360  width: 100%;
1361  border-top-style: solid;
1362}
1363
1364.mdc-tab-indicator--active .mdc-tab-indicator__content {
1365  opacity: 1;
1366}
1367
1368._mat-animation-noopable .mdc-tab-indicator__content, .mdc-tab-indicator--no-transition .mdc-tab-indicator__content {
1369  transition: none;
1370}
1371
1372.mat-mdc-tab-ripple.mat-mdc-tab-ripple {
1373  position: absolute;
1374  top: 0;
1375  left: 0;
1376  bottom: 0;
1377  right: 0;
1378  pointer-events: none;
1379}
1380
1381.mat-mdc-tab {
1382  -webkit-tap-highlight-color: transparent;
1383  -webkit-font-smoothing: antialiased;
1384  -moz-osx-font-smoothing: grayscale;
1385  text-decoration: none;
1386  background: none;
1387  height: var(--%NS%mat-tab-container-height, 48px);
1388  font-family: var(--%NS%mat-tab-label-text-font, var(--%NS%mat-sys-title-small-font));
1389  font-size: var(--%NS%mat-tab-label-text-size, var(--%NS%mat-sys-title-small-size));
1390  letter-spacing: var(--%NS%mat-tab-label-text-tracking, var(--%NS%mat-sys-title-small-tracking));
1391  line-height: var(--%NS%mat-tab-label-text-line-height, var(--%NS%mat-sys-title-small-line-height));
1392  font-weight: var(--%NS%mat-tab-label-text-weight, var(--%NS%mat-sys-title-small-weight));
1393}
1394.mat-mdc-tab.mdc-tab {
1395  flex-grow: 0;
1396}
1397.mat-mdc-tab .mdc-tab-indicator__content--underline {
1398  border-color: var(--%NS%mat-tab-active-indicator-color, var(--%NS%mat-sys-primary));
1399  border-top-width: var(--%NS%mat-tab-active-indicator-height, 2px);
1400  border-radius: var(--%NS%mat-tab-active-indicator-shape, 0);
1401}
1402.mat-mdc-tab:hover .mdc-tab__text-label {
1403  color: var(--%NS%mat-tab-inactive-hover-label-text-color, var(--%NS%mat-sys-on-surface));
1404}
1405.mat-mdc-tab:focus .mdc-tab__text-label {
1406  color: var(--%NS%mat-tab-inactive-focus-label-text-color, var(--%NS%mat-sys-on-surface));
1407}
1408.mat-mdc-tab.mdc-tab--active .mdc-tab__text-label {
1409  color: var(--%NS%mat-tab-active-label-text-color, var(--%NS%mat-sys-on-surface));
1410}
1411.mat-mdc-tab.mdc-tab--active .mdc-tab__ripple::before,
1412.mat-mdc-tab.mdc-tab--active .mat-ripple-element {
1413  background-color: var(--%NS%mat-tab-active-ripple-color, var(--%NS%mat-sys-on-surface));
1414}
1415.mat-mdc-tab.mdc-tab--%NS%active:hover .mdc-tab__text-label {
1416  color: var(--%NS%mat-tab-active-hover-label-text-color, var(--%NS%mat-sys-on-surface));
1417}
1418.mat-mdc-tab.mdc-tab--%NS%active:hover .mdc-tab-indicator__content--underline {
1419  border-color: var(--%NS%mat-tab-active-hover-indicator-color, var(--%NS%mat-sys-primary));
1420}
1421.mat-mdc-tab.mdc-tab--%NS%active:focus .mdc-tab__text-label {
1422  color: var(--%NS%mat-tab-active-focus-label-text-color, var(--%NS%mat-sys-on-surface));
1423}
1424.mat-mdc-tab.mdc-tab--%NS%active:focus .mdc-tab-indicator__content--underline {
1425  border-color: var(--%NS%mat-tab-active-focus-indicator-color, var(--%NS%mat-sys-primary));
1426}
1427.mat-mdc-tab.mat-mdc-tab-disabled {
1428  opacity: 0.4;
1429  pointer-events: none;
1430}
1431.mat-mdc-tab.mat-mdc-tab-disabled .mdc-tab__content {
1432  pointer-events: none;
1433}
1434.mat-mdc-tab.mat-mdc-tab-disabled .mdc-tab__ripple::before,
1435.mat-mdc-tab.mat-mdc-tab-disabled .mat-ripple-element {
1436  background-color: var(--%NS%mat-tab-disabled-ripple-color, var(--%NS%mat-sys-on-surface-variant));
1437}
1438.mat-mdc-tab .mdc-tab__ripple::before {
1439  content: "";
1440  display: block;
1441  position: absolute;
1442  top: 0;
1443  left: 0;
1444  right: 0;
1445  bottom: 0;
1446  opacity: 0;
1447  pointer-events: none;
1448  background-color: var(--%NS%mat-tab-inactive-ripple-color, var(--%NS%mat-sys-on-surface));
1449}
1450.mat-mdc-tab .mdc-tab__text-label {
1451  color: var(--%NS%mat-tab-inactive-label-text-color, var(--%NS%mat-sys-on-surface));
1452  display: inline-flex;
1453  align-items: center;
1454}
1455.mat-mdc-tab .mdc-tab__content {
1456  position: relative;
1457  pointer-events: auto;
1458}
1459.mat-mdc-tab:hover .mdc-tab__ripple::before {
1460  opacity: 0.04;
1461}
1462.mat-mdc-tab.cdk-program-focused .mdc-tab__ripple::before, .mat-mdc-tab.cdk-keyboard-focused .mdc-tab__ripple::before {
1463  opacity: 0.12;
1464}
1465.mat-mdc-tab .mat-ripple-element {
1466  opacity: 0.12;
1467  background-color: var(--%NS%mat-tab-inactive-ripple-color, var(--%NS%mat-sys-on-surface));
1468}
1469.mat-mdc-tab-group.mat-mdc-tab-group-stretch-tabs > .mat-mdc-tab-header .mat-mdc-tab {
1470  flex-grow: 1;
1471}
1472
1473.mat-mdc-tab-group {
1474  display: flex;
1475  flex-direction: column;
1476  max-width: 100%;
1477}
1478.mat-mdc-tab-group.mat-tabs-with-background > .mat-mdc-tab-header, .mat-mdc-tab-group.mat-tabs-with-background > .mat-mdc-tab-header-pagination {
1479  background-color: var(--%NS%mat-tab-background-color);
1480}
1481.mat-mdc-tab-group.mat-tabs-with-background.mat-primary > .mat-mdc-tab-header .mat-mdc-tab .mdc-tab__text-label {
1482  color: var(--%NS%mat-tab-foreground-color);
1483}
1484.mat-mdc-tab-group.mat-tabs-with-background.mat-primary > .mat-mdc-tab-header .mdc-tab-indicator__content--underline {
1485  border-color: var(--%NS%mat-tab-foreground-color);
1486}
1487.mat-mdc-tab-group.mat-tabs-with-background:not(.mat-primary) > .mat-mdc-tab-header .mat-mdc-tab:not(.mdc-tab--active) .mdc-tab__text-label {
1488  color: var(--%NS%mat-tab-foreground-color);
1489}
1490.mat-mdc-tab-group.mat-tabs-with-background:not(.mat-primary) > .mat-mdc-tab-header .mat-mdc-tab:not(.mdc-tab--active) .mdc-tab-indicator__content--underline {
1491  border-color: var(--%NS%mat-tab-foreground-color);
1492}
1493.mat-mdc-tab-group.mat-tabs-with-background > .mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron,
1494.mat-mdc-tab-group.mat-tabs-with-background > .mat-mdc-tab-header .mat-focus-indicator::before, .mat-mdc-tab-group.mat-tabs-with-background > .mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron,
1495.mat-mdc-tab-group.mat-tabs-with-background > .mat-mdc-tab-header-pagination .mat-focus-indicator::before {
1496  border-color: var(--%NS%mat-tab-foreground-color);
1497}
1498.mat-mdc-tab-group.mat-tabs-with-background > .mat-mdc-tab-header .mat-ripple-element, .mat-mdc-tab-group.mat-tabs-with-background > .mat-mdc-tab-header .mdc-tab__ripple::before, .mat-mdc-tab-group.mat-tabs-with-background > .mat-mdc-tab-header-pagination .mat-ripple-element, .mat-mdc-tab-group.mat-tabs-with-background > .mat-mdc-tab-header-pagination .mdc-tab__ripple::before {
1499  background-color: var(--%NS%mat-tab-foreground-color);
1500}
1501.mat-mdc-tab-group.mat-tabs-with-background > .mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron, .mat-mdc-tab-group.mat-tabs-with-background > .mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron {
1502  color: var(--%NS%mat-tab-foreground-color);
1503}
1504.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header {
1505  flex-direction: column-reverse;
1506}
1507.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header .mdc-tab-indicator__content--underline {
1508  align-self: flex-start;
1509}
1510
1511.mat-mdc-tab-body-wrapper {
1512  position: relative;
1513  overflow: hidden;
1514  display: flex;
1515  transition: height 500ms cubic-bezier(0.35, 0, 0.25, 1);
1516}
1517.mat-mdc-tab-body-wrapper._mat-animation-noopable {
1518  transition: none !important;
1519  animation: none !important;
1520}
1521`],encapsulation:2,changeDetection:1})}return i})();var ht=class{index;tab};var ae=w$6(u$9((de,fe)=>{"use strict";((K,E)=>{typeof define==`function`&&define.amd?define([],E):typeof fe==`object`&&typeof de<`u`?fe.exports=E():K.Papa=E()})(de,function K(){var E=typeof self<`u`?self:typeof window<`u`?window:E!==void 0?E:{}
vendor: 14,730 bytes, lines 1521-1529
1521,M,T=!E.document&&!!E.postMessage,J=E.IS_PAPA_WORKER||!1,V={},Y=0,a={};function H(e){this._handle=null,this._finished=!1,this._completed=!1,this._halted=!1,this._input=null,this._baseIndex=0,this._partialLine=``,this._rowCount=0,this._start=0,this._nextChunk=null,this.isFirstChunk=!0,this._completeResults={data:[],errors:[],meta:{}},function(t){var r=he(t);r.chunkSize=parseInt(r.chunkSize),t.step||t.chunk||(r.chunkSize=null),this._handle=new le(r),(this._handle.streamer=this)._config=r}.call(this,e),this.parseChunk=function(t,r){var n=parseInt(this._config.skipFirstNLines)||0;if(this.isFirstChunk&&0<n){let u=this._config.newline;u||(i=this._config.quoteChar||`"`,u=this._handle.guessLineEndings(t,i)),t=[...t.split(u).slice(n)].join(u)}this.isFirstChunk&&y(this._config.beforeFirstChunk)&&(i=this._config.beforeFirstChunk(t))!==void 0&&(t=i),this.isFirstChunk=!1,this._halted=!1;var n=this._partialLine+t,i=(this._partialLine=``,this._handle.parse(n,this._baseIndex,!this._finished));if(!this._handle.paused()&&!this._handle.aborted()){if(t=i.meta.cursor,n=(this._finished||(this._partialLine=n.substring(t-this._baseIndex),this._baseIndex=t),i&&i.data&&(this._rowCount+=i.data.length),this._finished||this._config.preview&&this._rowCount>=this._config.preview),J)E.postMessage({results:i,workerId:a.WORKER_ID,finished:n});else if(y(this._config.chunk)&&!r){if(this._config.chunk(i,this._handle),this._handle.paused()||this._handle.aborted())return void(this._halted=!0);this._completeResults=i=void 0}return this._config.step||this._config.chunk||(this._completeResults.data=this._completeResults.data.concat(i.data),this._completeResults.errors=this._completeResults.errors.concat(i.errors),this._completeResults.meta=i.meta),this._completed||!n||!y(this._config.complete)||i&&i.meta.aborted||(this._config.complete(this._completeResults,this._input),this._completed=!0),n||i&&i.meta.paused||this._nextChunk(),i}this._halted=!0},this._sendError=function(t){y(this._config.error)?this._config.error(t):J&&this._config.error&&E.postMessage({workerId:a.WORKER_ID,error:t,finished:!1})}}function ie(e){var t;(e=e||{}).chunkSize||(e.chunkSize=a.RemoteChunkSize),H.call(this,e),this._nextChunk=T?function(){this._readChunk(),this._chunkLoaded()}:function(){this._readChunk()},this.stream=function(r){this._input=r,this._nextChunk()},this._readChunk=function(){if(this._finished)this._chunkLoaded();else{if(t=new XMLHttpRequest,this._config.withCredentials&&(t.withCredentials=this._config.withCredentials),T||(t.onload=$(this._chunkLoaded,this),t.onerror=$(this._chunkError,this)),t.open(this._config.downloadRequestBody?`POST`:`GET`,this._input,!T),this._config.downloadRequestHeaders){var r,n=this._config.downloadRequestHeaders;for(r in n)t.setRequestHeader(r,n[r])}var i;this._config.chunkSize&&(i=this._start+this._config.chunkSize-1,t.setRequestHeader(`Range`,`bytes=`+this._start+`-`+i));try{t.send(this._config.downloadRequestBody)}catch(u){this._chunkError(u.message)}T&&t.status===0&&this._chunkError()}},this._chunkLoaded=function(){t.readyState===4&&(t.status<200||400<=t.status?this._chunkError():(this._start+=this._config.chunkSize||t.responseText.length,this._finished=!this._config.chunkSize||this._start>=(r=>(r=r.getResponseHeader(`Content-Range`))!==null?parseInt(r.substring(r.lastIndexOf(`/`)+1)):-1)(t),this.parseChunk(t.responseText)))},this._chunkError=function(r){r=t.statusText||r,this._sendError(new Error(r))}}function ne(e){(e=e||{}).chunkSize||(e.chunkSize=a.LocalChunkSize),H.call(this,e);var t,r,n=typeof FileReader<`u`;this.stream=function(i){this._input=i,r=i.slice||i.webkitSlice||i.mozSlice,n?((t=new FileReader).onload=$(this._chunkLoaded,this),t.onerror=$(this._chunkError,this)):t=new FileReaderSync,this._nextChunk()},this._nextChunk=function(){this._finished||this._config.preview&&!(this._rowCount<this._config.preview)||this._readChunk()},this._readChunk=function(){var i=this._input,u=(this._config.chunkSize&&(u=Math.min(this._start+this._config.chunkSize,this._input.size),i=r.call(i,this._start,u)),t.readAsText(i,this._config.encoding));n||this._chunkLoaded({target:{result:u}})},this._chunkLoaded=function(i){this._start+=this._config.chunkSize,this._finished=!this._config.chunkSize||this._start>=this._input.size,this.parseChunk(i.target.result)},this._chunkError=function(){this._sendError(t.error)}}function X(e){var t;H.call(this,e=e||{}),this.stream=function(r){return t=r,this._nextChunk()},this._nextChunk=function(){var r,n;if(!this._finished)return r=this._config.chunkSize,t=r?(n=t.substring(0,r),t.substring(r)):(n=t,``),this._finished=!t,this.parseChunk(n)}}function se(e){H.call(this,e=e||{});var t=[],r=!0,n=!1;this.pause=function(){H.prototype.pause.apply(this,arguments),this._input.pause()},this.resume=function(){H.prototype.resume.apply(this,arguments),this._input.resume()},this.stream=function(i){this._input=i,this._input.on(`data`,this._streamData),this._input.on(`end`,this._streamEnd),this._input.on(`error`,this._streamError)},this._checkIsFinished=function(){n&&t.length===1&&(this._finished=!0)},this._nextChunk=function(){this._checkIsFinished(),t.length?this.parseChunk(t.shift()):r=!0},this._streamData=$(function(i){try{t.push(typeof i==`string`?i:i.toString(this._config.encoding)),r&&(r=!1,this._checkIsFinished(),this.parseChunk(t.shift()))}catch(u){this._streamError(u)}},this),this._streamError=$(function(i){this._streamCleanUp(),this._sendError(i)},this),this._streamEnd=$(function(){this._streamCleanUp(),n=!0,this._streamData(``)},this),this._streamCleanUp=$(function(){this._input.removeListener(`data`,this._streamData),this._input.removeListener(`end`,this._streamEnd),this._input.removeListener(`error`,this._streamError)},this)}function le(e){var t,r,n,i,u=Math.pow(2,53),C=-u,P=/^\s*-?(\d+\.?|\.\d+|\d+\.\d+)([eE][-+]?\d+)?\s*$/,N=/^((\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z)))$/,l=this,b=0,o=0,L=!1,h=!1,c=[],s={data:[],errors:[],meta:{}};function O(p){return e.skipEmptyLines===`greedy`?p.join(``).trim()===``:p.length===1&&p[0].length===0}function S(){if(s&&n&&(U(`Delimiter`,`UndetectableDelimiter`,`Unable to auto-detect delimiting character; defaulted to '`+a.DefaultDelimiter+`'`),n=!1),e.skipEmptyLines&&(s.data=s.data.filter(function(k){return!O(k)})),D()){let k=function(I,v){y(e.transformHeader)&&(I=e.transformHeader(I,v)),c.push(I)};if(s)if(Array.isArray(s.data[0])){for(var p=0;D()&&p<s.data.length;p++)s.data[p].forEach(k);s.data.splice(0,1)}else s.data.forEach(k)}function g(k,I){for(var v=e.header?{}:[],m=0;m<k.length;m++){var f=m,F=k[m],F=((_,w)=>(x=>(e.dynamicTypingFunction&&e.dynamicTyping[x]===void 0&&(e.dynamicTyping[x]=e.dynamicTypingFunction(x)),(e.dynamicTyping[x]||e.dynamicTyping)===!0))(_)?w===`true`||w===`TRUE`||w!==`false`&&w!==`FALSE`&&((x=>{if(P.test(x)&&(x=parseFloat(x),C<x&&x<u))return 1})(w)?parseFloat(w):N.test(w)?new Date(w):w===``?null:w):w)(f=e.header?m>=c.length?`__parsed_extra`:c[m]:f,F=e.transform?e.transform(F,f):F);f===`__parsed_extra`?(v[f]=v[f]||[],v[f].push(F)):v[f]=F}return e.header&&(m>c.length?U(`FieldMismatch`,`TooManyFields`,`Too many fields: expected `+c.length+` fields but parsed `+m,o+I):m<c.length&&U(`FieldMismatch`,`TooFewFields`,`Too few fields: expected `+c.length+` fields but parsed `+m,o+I)),v}var R;s&&(e.header||e.dynamicTyping||e.transform)&&(R=1,!s.data.length||Array.isArray(s.data[0])?(s.data=s.data.map(g),R=s.data.length):s.data=g(s.data,0),e.header&&s.meta&&(s.meta.fields=c),o+=R)}function D(){return e.header&&c.length===0}function U(p,g,R,d){p={type:p,code:g,message:R},d!==void 0&&(p.row=d),s.errors.push(p)}y(e.step)&&(i=e.step,e.step=function(p){s=p,D()?S():(S(),s.data.length!==0&&(b+=p.data.length,e.preview&&b>e.preview?r.abort():(s.data=s.data[0],i(s,l))))}),this.parse=function(p,g,R){var d=e.quoteChar||`"`,d=(e.newline||(e.newline=this.guessLineEndings(p,d)),n=!1,e.delimiter?y(e.delimiter)&&(e.delimiter=e.delimiter(p),s.meta.delimiter=e.delimiter):((d=((k,I,v,m,f)=>{var F,_,w,x;f=f||[`,`,`	`,`|`,`;`,a.RECORD_SEP,a.UNIT_SEP];for(var Z=0;Z<f.length;Z++){for(var q,te=f[Z],j=0,B=0,A=0,z=(w=void 0,new oe({comments:m,delimiter:te,newline:I,preview:10}).parse(k)),Q=0;Q<z.data.length;Q++)v&&O(z.data[Q])?A++:(q=z.data[Q].length,B+=q,w===void 0?w=q:0<q&&(j+=Math.abs(q-w),w=q));0<z.data.length&&(B/=z.data.length-A),(_===void 0||j<=_)&&(x===void 0||x<B)&&1.99<B&&(_=j,F=te,x=B)}return{successful:!!(e.delimiter=F),bestDelimiter:F}})(p,e.newline,e.skipEmptyLines,e.comments,e.delimitersToGuess)).successful?e.delimiter=d.bestDelimiter:(n=!0,e.delimiter=a.DefaultDelimiter),s.meta.delimiter=e.delimiter),he(e));return e.preview&&e.header&&d.preview++,t=p,r=new oe(d),s=r.parse(t,g,R),S(),L?{meta:{paused:!0}}:s||{meta:{paused:!1}}},this.paused=function(){return L},this.pause=function(){L=!0,r.abort(),t=y(e.chunk)?``:t.substring(r.getCharIndex())},this.resume=function(){l.streamer._halted?(L=!1,l.streamer.parseChunk(t,!0)):setTimeout(l.resume,3)},this.aborted=function(){return h},this.abort=function(){h=!0,r.abort(),s.meta.aborted=!0,y(e.complete)&&e.complete(s),t=``},this.guessLineEndings=function(k,d){k=k.substring(0,1048576);var d=new RegExp(ee(d)+`([^]*?)`+ee(d),`gm`),R=(k=k.replace(d,``)).split(`\r`),d=k.split(`
1522`),k=1<d.length&&d[0].length<R[0].length;if(R.length===1||k)return`
1523`;for(var I=0,v=0;v<R.length;v++)R[v][0]===`
1524`&&I++;return I>=R.length/2?`\r
1525`:`\r`}}function ee(e){return e.replace(/[.*+?^${}()|[\]\\]/g,`\\$&`)}function oe(e){var t=(e=e||{}).delimiter,r=e.newline,n=e.comments,i=e.step,u=e.preview,C=e.fastMode,P=null,N=!1,l=e.quoteChar==null?`"`:e.quoteChar,b=l;if(e.escapeChar!==void 0&&(b=e.escapeChar),(typeof t!=`string`||-1<a.BAD_DELIMITERS.indexOf(t))&&(t=`,`),n===t)throw new Error(`Comment character same as delimiter`);n===!0?n=`#`:(typeof n!=`string`||-1<a.BAD_DELIMITERS.indexOf(n))&&(n=!1),r!==`
1526`&&r!==`\r`&&r!==`\r
1527`&&(r=`
1528`);var o=0,L=!1;this.parse=function(h,c,s){if(typeof h!=`string`)throw new Error(`Input must be a string`);var O=h.length,S=t.length,D=r.length,U=n.length,p=y(i),g=[],R=[],d=[],k=o=0;if(!h)return j();if(C||C!==!1&&h.indexOf(l)===-1){for(var I=h.split(r),v=0;v<I.length;v++){if(d=I[v],o+=d.length,v!==I.length-1)o+=r.length;else if(s)return j();if(!n||d.substring(0,U)!==n){if(p){if(g=[],x(d.split(t)),B(),L)return j()}else x(d.split(t));if(u&&u<=v)return g=g.slice(0,u),j(!0)}}return j()}for(var m=h.indexOf(t,o),f=h.indexOf(r,o),F=new RegExp(ee(b)+ee(l),`g`),_=h.indexOf(l,o);;)if(h[o]===l)for(_=o,o++;;){if((_=h.indexOf(l,_+1))===-1)return s||R.push({type:`Quotes`,code:`MissingQuotes`,message:`Quoted field unterminated`,row:g.length,index:o}),q();if(_===O-1)return q(h.substring(o,_).replace(F,l));if(l===b&&h[_+1]===b)_++;else if(l===b||_===0||h[_-1]!==b){m!==-1&&m<_+1&&(m=h.indexOf(t,_+1));var w=Z((f=f!==-1&&f<_+1?h.indexOf(r,_+1):f)===-1?m:Math.min(m,f));if(h.substr(_+1+w,S)===t){d.push(h.substring(o,_).replace(F,l)),h[o=_+1+w+S]!==l&&(_=h.indexOf(l,o)),m=h.indexOf(t,o),f=h.indexOf(r,o);break}if(w=Z(f),h.substring(_+1+w,_+1+w+D)===r){if(d.push(h.substring(o,_).replace(F,l)),te(_+1+w+D),m=h.indexOf(t,o),_=h.indexOf(l,o),p&&(B(),L))return j();if(u&&g.length>=u)return j(!0);break}R.push({type:`Quotes`,code:`InvalidQuotes`,message:`Trailing quote on quoted field is malformed`,row:g.length,index:o}),_++}}else if(n&&d.length===0&&h.substring(o,o+U)===n){if(f===-1)return j();o=f+D,f=h.indexOf(r,o),m=h.indexOf(t,o)}else if(m!==-1&&(m<f||f===-1))d.push(h.substring(o,m)),o=m+S,m=h.indexOf(t,o);else{if(f===-1)break;if(d.push(h.substring(o,f)),te(f+D),p&&(B(),L))return j();if(u&&g.length>=u)return j(!0)}return q();function x(A){g.push(A),k=o}function Z(A){var z=0;return z=A!==-1&&(A=h.substring(_+1,A))&&A.trim()===``?A.length:z}function q(A){return s||(A===void 0&&(A=h.substring(o)),d.push(A),o=O,x(d),p&&B()),j()}function te(A){o=A,x(d),d=[],f=h.indexOf(r,o)}function j(A){if(e.header&&!c&&g.length&&!N){var z=g[0],Q=Object.create(null),ue=new Set(z);let ge=!1;for(let G=0;G<z.length;G++){let W=z[G];if(Q[W=y(e.transformHeader)?e.transformHeader(W,G):W]){let re,_e=Q[W];for(;re=W+`_`+_e,_e++,ue.has(re););ue.add(re),z[G]=re,Q[W]++,ge=!0,(P=P===null?{}:P)[re]=W}else Q[W]=1,z[G]=W;ue.add(W)}ge&&console.warn(`Duplicate headers found and renamed.`),N=!0}return{data:g,errors:R,meta:{delimiter:t,linebreak:r,aborted:L,truncated:!!A,cursor:k+(c||0),renamedHeaders:P}}}function B(){i(j()),g=[],R=[]}},this.abort=function(){L=!0},this.getCharIndex=function(){return o}}function Ee(e){var t=e.data,r=V[t.workerId],n=!1;if(t.error)r.userError(t.error,t.file);else if(t.results&&t.results.data){var i={abort:function(){n=!0,ce(t.workerId,{data:[],errors:[],meta:{aborted:!0}})},pause:pe,resume:pe};if(y(r.userStep)){for(var u=0;u<t.results.data.length&&(r.userStep({data:t.results.data[u],errors:t.results.errors,meta:t.results.meta},i),!n);u++);delete t.results}else y(r.userChunk)&&(r.userChunk(t.results,i,t.file),delete t.results)}t.finished&&!n&&ce(t.workerId,t.results)}function ce(e,t){var r=V[e];y(r.userComplete)&&r.userComplete(t),r.terminate(),delete V[e]}function pe(){throw new Error(`Not implemented.`)}function he(e){if(typeof e!=`object`||e===null)return e;var t,r=Array.isArray(e)?[]:{};for(t in e)r[t]=he(e[t]);return r}function $(e,t){return function(){e.apply(t,arguments)}}function y(e){return typeof e==`function`}return a.parse=function(e,t){var r=(t=t||{}).dynamicTyping||!1;if(y(r)&&(t.dynamicTypingFunction=r,r={}),t.dynamicTyping=r,t.transform=!!y(t.transform)&&t.transform,!t.worker||!a.WORKERS_SUPPORTED)return r=null,a.NODE_STREAM_INPUT,typeof e==`string`?(e=(n=>n.charCodeAt(0)!==65279?n:n.slice(1))(e),r=new(t.download?ie:X)(t)):e.readable===!0&&y(e.read)&&y(e.on)?r=new se(t):(E.File&&e instanceof File||e instanceof Object)&&(r=new ne(t)),r.stream(e);(r=(()=>{var n;return!!a.WORKERS_SUPPORTED&&(n=(()=>{var i=E.URL||E.webkitURL||null,u=K.toString();return a.BLOB_URL||(a.BLOB_URL=i.createObjectURL(new Blob([`var global = (function() { if (typeof self !== 'undefined') { return self; } if (typeof window !== 'undefined') { return window; } if (typeof global !== 'undefined') { return global; } return {}; })(); global.IS_PAPA_WORKER=true; `,`(`,u,`)();`],{type:`text/javascript`})))})(),(n=new E.Worker(n)).onmessage=Ee,n.id=Y++,V[n.id]=n)})()).userStep=t.step,r.userChunk=t.chunk,r.userComplete=t.complete,r.userError=t.error,t.step=y(t.step),t.chunk=y(t.chunk),t.complete=y(t.complete),t.error=y(t.error),delete t.worker,r.postMessage({input:e,config:t,workerId:r.id})},a.unparse=function(e,t){var r=!1,n=!0,i=`,`,u=`\r
1529`,C=`"`,P=C+C,N=!1,l=null,b=!1,o=((()=>
1529{if(typeof t==`object`){if(typeof t.delimiter!=`string`||a.BAD_DELIMITERS.filter(function(c){return t.delimiter.indexOf(c)!==-1}).length||(i=t.delimiter),typeof t.quotes!=`boolean`&&typeof t.quotes!=`function`&&!Array.isArray(t.quotes)||(r=t.quotes),typeof t.skipEmptyLines!=`boolean`&&typeof t.skipEmptyLines!=`string`||(N=t.skipEmptyLines),typeof t.newline==`string`&&(u=t.newline),typeof t.quoteChar==`string`&&(C=t.quoteChar),typeof t.header==`boolean`&&(n=t.header),Array.isArray(t.columns)){if(t.columns.length===0)throw new Error(`Option columns is empty`);l=t.columns}t.escapeChar!==void 0&&(P=t.escapeChar+C),t.escapeFormulae instanceof RegExp?b=t.escapeFormulae:typeof t.escapeFormulae==`boolean`&&t.escapeFormulae&&(b=/^[=+\-@\t\r].*$/)}})(),new RegExp(ee(C),`g`));if(typeof e==`string`&&(e=JSON.parse(e)),Array.isArray(e)){if(!e.length||Array.isArray(e[0]))return L(null,e,N);if(typeof e[0]==`object`)return L(l||Object.keys(e[0]),e,N)}else if(typeof e==`object`)return typeof e.data==`string`&&(e.data=JSON.parse(e.data)),Array.isArray(e.data)&&(e.fields||(e.fields=e.meta&&e.meta.fields||l),e.fields||(e.fields=Array.isArray(e.data[0])?e.fields:typeof e.data[0]==`object`?Object.keys(e.data[0]):[]),Array.isArray(e.data[0])||typeof e.data[0]==`object`||(e.data=[e.data])),L(e.fields||[],e.data||[],N);throw new Error(`Unable to serialize unrecognized input`);function L(c,s,O){var S=``,D=(typeof c==`string`&&(c=JSON.parse(c)),typeof s==`string`&&(s=JSON.parse(s)),Array.isArray(c)&&0<c.length),U=!Array.isArray(s[0]);if(D&&n){for(var p=0;p<c.length;p++)0<p&&(S+=i),S+=h(c[p],p);0<s.length&&(S+=u)}for(var g=0;g<s.length;g++){var R=(D?c:s[g]).length,d=!1,k=D?Object.keys(s[g]).length===0:s[g].length===0;if(O&&!D&&(d=O===`greedy`?s[g].join(``).trim()===``:s[g].length===1&&s[g][0].length===0),O===`greedy`&&D){for(var I=[],v=0;v<R;v++){var m=U?c[v]:v;I.push(s[g][m])}d=I.join(``).trim()===``}if(!d){for(var f=0;f<R;f++){0<f&&!k&&(S+=i);var F=D&&U?c[f]:f;S+=h(s[g][F],f)}g<s.length-1&&(!O||0<R&&!k)&&(S+=u)}}return S}function h(c,s){var O,S;return c==null?``:c.constructor===Date?JSON.stringify(c).slice(1,25):(S=!1,b&&typeof c==`string`&&b.test(c)&&(c=`'`+c,S=!0),O=c.toString().replace(o,P),(S=S||r===!0||typeof r==`function`&&r(c,s)||Array.isArray(r)&&r[s]||((D,U)=>{for(var p=0;p<U.length;p++)if(-1<D.indexOf(U[p]))return!0;return!1})(O,a.BAD_DELIMITERS)||-1<O.indexOf(i)||O.charAt(0)===` `||O.charAt(O.length-1)===` `)?C+O+C:O)}},a.RECORD_SEP=`�`,a.UNIT_SEP=`�`,a.BYTE_ORDER_MARK=``,a.BAD_DELIMITERS=[`\r`,`
1530`,`"`,a.BYTE_ORDER_MARK],a.WORKERS_SUPPORTED=!T&&!!E.Worker,a.NODE_STREAM_INPUT=1,a.LocalChunkSize=10485760,a.RemoteChunkSize=5242880,a.DefaultDelimiter=`,`,a.Parser=oe,a.ParserHandle=le,a.NetworkStreamer=ie,a.FileStreamer=ne,a.StringStreamer=X,a.ReadableStreamStreamer=se,E.jQuery&&((M=E.jQuery).fn.parse=function(e){var t=e.config||{},r=[];return this.each(function(u){if(!(M(this).prop(`tagName`).toUpperCase()===`INPUT`&&M(this).attr(`type`).toLowerCase()===`file`&&E.FileReader)||!this.files||this.files.length===0)return!0;for(var C=0;C<this.files.length;C++)r.push({file:this.files[C],inputElem:this,instanceConfig:M.extend({},t)})}),n(),this;function n(){if(r.length===0)y(e.complete)&&e.complete();else{var u,C,P,N,l=r[0];if(y(e.before)){var b=e.before(l.file,l.inputElem);if(typeof b==`object`){if(b.action===`abort`)return u=`AbortError`,C=l.file,P=l.inputElem,N=b.reason,void(y(e.error)&&e.error({name:u},C,P,N));if(b.action===`skip`)return void i();typeof b.config==`object`&&(l.instanceConfig=M.extend(l.instanceConfig,b.config))}else if(b===`skip`)return void i()}var o=l.instanceConfig.complete;l.instanceConfig.complete=function(L){y(o)&&o(L,l.file,l.inputElem),i()},a.parse(l.file,l.instanceConfig)}}function i(){r.splice(0,1),n()}}),J&&(E.onmessage=function(e){e=e.data,a.WORKER_ID===void 0&&e&&(a.WORKER_ID=e.workerId),typeof e.input==`string`?E.postMessage({workerId:a.WORKER_ID,results:a.parse(e.input,e.config),finished:!0}):(E.File&&e.input instanceof File||e.input instanceof Object)&&(e=a.parse(e.input,e.config))&&E.postMessage({workerId:a.WORKER_ID,results:e,finished:!0})}),(ie.prototype=Object.create(H.prototype)).constructor=ie,(ne.prototype=Object.create(H.prototype)).constructor=ne,(X.prototype=Object.create(X.prototype)).constructor=X,(se.prototype=Object.create(H.prototype)).constructor=se,a})})());var Ae=(()=>{class K{constructor(){this.window=T$9(B$6)}parseCsvLines(M,T){let J=cb(M,(Y,a)=>`${Y}
1531${a}`,``);return ae.parse(J,{delimiter:T===`\\t`?`	`:T,skipEmptyLines:!0}).data}downloadAsCSV(M,T,J,V){let Y={fields:J,data:this.convertNanValueToEmpty(T)},a=ae.unparse(Y,V);this.window.openSaveFileDialog(a,M,`text/csv`)}convertNanValueToEmpty(M){return M.map(T=>Array.isArray(T)?this.convertNanValueToEmpty(T):Number.isNaN(T)?``:T)}static{this.ɵfac=function(T){return new(T||K)}}static{this.ɵprov=ce$3({token:K,factory:K.ɵfac,providedIn:`root`})}}return K})();var d$4=new x$2(`MAT_DATE_LOCALE`,{providedIn:`root`,factory:()=>T$9(jl$1)});var i$2=`Method not implemented`;var a$3=class{locale;_localeChanges=new ee$5;localeChanges=this._localeChanges;setTime(e,t,r,n){throw new Error(i$2)}getHours(e){throw new Error(i$2)}getMinutes(e){throw new Error(i$2)}getSeconds(e){throw new Error(i$2)}parseTime(e,t){throw new Error(i$2)}addSeconds(e,t){throw new Error(i$2)}getValidDateOrNull(e){return this.isDateInstance(e)&&this.isValid(e)?e:null}deserialize(e){return e==null||this.isDateInstance(e)&&this.isValid(e)?e:this.invalid()}setLocale(e){this.locale=e,this._localeChanges.next()}compareDate(e,t){return this.getYear(e)-this.getYear(t)||this.getMonth(e)-this.getMonth(t)||this.getDate(e)-this.getDate(t)}compareTime(e,t){return this.getHours(e)-this.getHours(t)||this.getMinutes(e)-this.getMinutes(t)||this.get
1531Seconds(e)-this.getSeconds(t)}sameDate(e,t){if(e&&t){let r=this.isValid(e),n=this.isValid(t);return r&&n?!this.compareDate(e,t):r==n}return e==t}sameTime(e,t){if(e&&t){let r=this.isValid(e),n=this.isValid(t);return r&&n?!this.compareTime(e,t):r==n}return e==t}clampDate(e,t,r){return t&&this.compareDate(e,t)<0?t:r&&this.compareDate(e,r)>0?r:e}};var h$2=new x$2(`mat-date-formats`);var O=new x$2(`MAT_LUXON_DATE_ADAPTER_OPTIONS`,{providedIn:`root`,factory:()=>({useUtc:!1,defaultOutputCalendar:`gregory`})});function _$5(o,g){let e=Array(o);for(let t=0;t<o;t++)e[t]=g(t);return e}var M$1=(()=>{class o extends a$3{_useUTC;_firstDayOfWeek;_defaultOutputCalendar;constructor(){super();let e=T$9(d$4,{optional:!0}),t=T$9(O,{optional:!0});this._useUTC=!!t?.useUtc,this._firstDayOfWeek=t?.firstDayOfWeek,this._defaultOutputCalendar=t?.defaultOutputCalendar||`gregory`,this.setLocale(e||S$8.local().locale)}getYear(e){return e.year}getMonth(e){return e.month-1}getDate(e){return e.day}getDayOfWeek(e){return e.weekday}getMonthNames(e){return ee$6.months(e,{locale:this.locale,outputCalendar:this._defaultOutputCalendar})}getDateNames(){let e=new Intl.DateTimeFormat(this.locale,{day:`numeric`,timeZone:`utc`});return _$5(31,t=>e.format(S$8.utc(2017,1,t+1).toJSDate()))}getDayOfWeekNames(e){let t=ee$6.weekdays(e,{locale:this.locale});return t.unshift(t.pop()),t}getYearName(e){return e.toFormat(`yyyy`,this._getOptions())}getFirstDayOfWeek(){return this._firstDayOfWeek??ee$6.getStartOfWeek({locale:this.locale})}getNumDaysInMonth(e){return e.daysInMonth}clone(e){return S$8.fromObject(e.toObject(),s$6(r$4({},this._getOptions()),{zone:e.zone}))}createDate(e,t,r){let i=this._getOptions();if(t<0||t>11)throw Error(`Invalid month index "${t}". Month index has to be between 0 and 11.`);if(r<1)throw Error(`Invalid date "${r}". Date has to be greater than 0.`);let s=this._useUTC?S$8.utc(e,t+1,r,i):S$8.local(e,t+1,r,i);if(!this.isValid(s))throw Error(`Invalid date "${r}". Reason: "${s.invalidReason}".`);return s}today(){let e=this._getOptions();return this._useUTC?S$8.utc(e):S$8.local(e)}parse(e,t){let r=this._getOptions();if(typeof e==`string`&&e.length>0){let i=S$8.fromISO(e,r);if(this.isValid(i))return i;let s=Array.isArray(t)?t:[t];if(!t.length)throw Error(`Formats array must not be empty.`);for(let D of s){let l=S$8.fromFormat(e,D,r);if(this.isValid(l))return l}return this.invalid()}else{if(typeof e==`number`)return S$8.fromMillis(e,r);if(e instanceof Date)return S$8.fromJSDate(e,r);if(e instanceof S$8)return S$8.fromMillis(e.toMillis(),r)}return null}format(e,t){if(!this.isValid(e))throw Error(`LuxonDateAdapter: Cannot format invalid date.`);return this._useUTC?e.setLocale(this.locale).setZone(`utc`).toFormat(t):e.setLocale(this.locale).toFormat(t)}addCalendarYears(e,t){return e.reconfigure(this._getOptions()).plus({years:t})}addCalendarMonths(e,t){return e.reconfigure(this._getOptions()).plus({months:t})}addCalendarDays(e,t){return e.reconfigure(this._getOptions()).plus({days:t})}toIso8601(e){return e.toISO()}deserialize(e){let t=this._getOptions(),r;if(e instanceof Date&&(r=S$8.fromJSDate(e,t)),typeof e==`string`){if(!e)return null;r=S$8.fromISO(e,t)}return r&&this.isValid(r)?r:super.deserialize(e)}isDateInstance(e){return e instanceof S$8}isValid(e){return e.isValid}invalid(){return S$8.invalid(`Invalid Luxon DateTime object.`)}setTime(e,t,r,i){return this.clone(e).set({hour:t,minute:r,second:i,millisecond:0})}getHours(e){return e.hour}getMinutes(e){return e.minute}getSeconds(e){return e.second}parseTime(e,t){let r=this.parse(e,t);return(!r||!this.isValid(r))&&typeof e==`string`&&this.parse(e.replace(/[^0-9:(AM|PM)]/gi,``),t)||r}addSeconds(e,t){return e.reconfigure(this._getOptions()).plus({seconds:t})}_getOptions(){return{zone:this._useUTC?`utc`:void 0,locale:this.locale,outputCalendar:this._defaultOutputCalendar}}static ɵfac=function(t){return new(t||o)};static ɵprov=Gr$1({token:o,factory:o.ɵfac,autoProvided:!1})}return o})();var T$2={parse:{dateInput:`D`,timeInput:`t`},display:{dateInput:`D`,timeInput:`t`,monthYearLabel:`LLL yyyy`,dateA11yLabel:`DD`,monthYearA11yLabel:`LLLL yyyy`,timeOptionLabel:`t`}};function S$1(o=T$2){return[{provide:a$3,useClass:M$1},{provide:h$2,useValue:o}]}var a$2=(()=>{class t{constructor(){this.document=T$9(Fn$1)}setMargin(o,e){this.document.documentElement.style.setProperty(`--dialog-margin`,e),this.document.documentElement.classList.add(`dialog-margin-${o}`)}removeMargins(){this.document.documentElement.style.removeProperty(`--dialog-margin`),this.document.documentElement.classList.remove(`dialog-margin-left`),this.document.documentElement.classList.remove(`dialog-margin-right`)}static{this.ɵfac=function(e){return new(e||t)}}static{this.ɵprov=ce$3({token:t,factory:t.ɵfac,providedIn:`root`})}}return t})();var I$1=(()=>{class t extends l$8{constructor(){super(...arguments),this.eventBus=T$9(l$10),this.lastPages=new Map([[`DOCUMENTATION`,new nr$1(t.DEFAULT)],[`TUTORIAL`,new nr$1(t.DEFAULT)],[`THIRD_PARTY`,new nr$1(t.DEFAULT)]])}static{this.DEFAULT=`HOME`}initialize(){ay(this.eventBus.ofAsync(la$2.CHANNEL),this.eventBus.ofAsync($t$3.CHANNEL)).pipe(Vg$1(this.destroyed)).subscribe(e=>this.lastPages.get(e.type).next(e.pageId||t.DEFAULT))}lastPageObservable(e){return this.lastPages.get(e).pipe(gy(50)).pipe(yy())}static{this.ɵfac=(()=>{let e;return function(l){return(e||(e=Xv(t)))(l||t)}})()}static{this.ɵprov=ce$3({token:t,factory:t.ɵfac,providedIn:`root`})}}return t})();var r$2=(()=>{class t extends f$6{static{this.CHANNEL=`analytics`}constructor(e,i,n){super(t.CHANNEL),this.action=e,this.name=i,this.value=n}}return t})();var f$1=(()=>{class e{static ɵfac=function(r){return new(r||e)};static ɵmod=Tb({type:e});static ɵinj=id$1({imports:[ge$6]})}return e})();var i$1=(()=>{class o{_animationsDisabled=De$3();state=`unchecked`;disabled=!1;appearance=`full`;static ɵfac=function(a){return new(a||o)};static ɵcmp=bb({type:o,selectors:[[`mat-pseudo-checkbox`]],hostAttrs:[1,`mat-pseudo-checkbox`],hostVars:12,hostBindings:function(a,e){a&2&&Mm$1(`mat-pseudo-checkbox-indeterminate`,e.state===`indeterminate`)(`mat-pseudo-checkbox-checked`,e.state===`checked`)(`mat-pseudo-checkbox-disabled`,e.disabled)(`mat-pseudo-checkbox-minimal`,e.appearance===`minimal`)(`mat-pseudo-checkbox-full`,e.appearance===`full`)(`_mat-animation-noopable`,e._animationsDisabled)},inputs:{state:`state`,disabled:`disabled`,appearance:`appearance`},decls:0,vars:0,template:function(a,e){},styles:[`.mat-pseudo-checkbox {
1532  border-radius: 2px;
1533  cursor: pointer;
1534  display: inline-block;
1535  vertical-align: middle;
1536  box-sizing: border-box;
1537  position: relative;
1538  flex-shrink: 0;
1539  transition: border-color 90ms cubic-bezier(0, 0, 0.2, 0.1), background-color 90ms cubic-bezier(0, 0, 0.2, 0.1);
1540}
1541.mat-pseudo-checkbox::after {
1542  position: absolute;
1543  opacity: 0;
1544  content: "";
1545  border-bottom: 2px solid currentColor;
1546  transition: opacity 90ms cubic-bezier(0, 0, 0.2, 0.1);
1547}
1548.mat-pseudo-checkbox._mat-animation-noopable {
1549  transition: none !important;
1550  animation: none !important;
1551}
1552.mat-pseudo-checkbox._mat-animation-noopable::after {
1553  transition: none;
1554}
1555
1556.mat-pseudo-checkbox-disabled {
1557  cursor: default;
1558}
1559
1560.mat-pseudo-checkbox-indeterminate::after {
1561  left: 1px;
1562  opacity: 1;
1563  border-radius: 2px;
1564}
1565
1566.mat-pseudo-checkbox-checked::after {
1567  left: 1px;
1568  border-left: 2px solid currentColor;
1569  transform: rotate(-45deg);
1570  opacity: 1;
1571  box-sizing: content-box;
1572}
1573
1574.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after, .mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after {
1575  color: var(--%NS%mat-pseudo-checkbox-minimal-selected-checkmark-color, var(--%NS%mat-sys-primary));
1576}
1577.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after, .mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after {
1578  color: var(--%NS%mat-pseudo-checkbox-minimal-disabled-selected-checkmark-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) 38%, transparent));
1579}
1580
1581.mat-pseudo-checkbox-full {
1582  border-color: var(--%NS%mat-pseudo-checkbox-full-unselected-icon-color, var(--%NS%mat-sys-on-surface-variant));
1583  border-width: 2px;
1584  border-style: solid;
1585}
1586.mat-pseudo-checkbox-full.mat-pseudo-checkbox-disabled {
1587  border-color: var(--%NS%mat-pseudo-checkbox-full-disabled-unselected-icon-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) 38%, transparent));
1588}
1589.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked, .mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate {
1590  background-color: var(--%NS%mat-pseudo-checkbox-full-selected-icon-color, var(--%NS%mat-sys-primary));
1591  border-color: transparent;
1592}
1593.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after, .mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after {
1594  color: var(--%NS%mat-pseudo-checkbox-full-selected-checkmark-color, var(--%NS%mat-sys-on-primary));
1595}
1596.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled, .mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled {
1597  background-color: var(--%NS%mat-pseudo-checkbox-full-disabled-selected-icon-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) 38%, transparent));
1598}
1599.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after, .mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after {
1600  color: var(--%NS%mat-pseudo-checkbox-full-disabled-selected-checkmark-color, var(--%NS%mat-sys-surface));
1601}
1602
1603.mat-pseudo-checkbox {
1604  width: 18px;
1605  height: 18px;
1606}
1607
1608.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after {
1609  width: 14px;
1610  height: 6px;
1611  transform-origin: center;
1612  top: -4.2426406871px;
1613  left: 0;
1614  bottom: 0;
1615  right: 0;
1616  margin: auto;
1617}
1618.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after {
1619  top: 8px;
1620  width: 16px;
1621}
1622
1623.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after {
1624  width: 10px;
1625  height: 4px;
1626  transform-origin: center;
1627  top: -2.8284271247px;
1628  left: 0;
1629  bottom: 0;
1630  right: 0;
1631  margin: auto;
1632}
1633.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after {
1634  top: 6px;
1635  width: 12px;
1636}
1637`],encapsulation:2})}return o})();var ot=[`*`,[[`mat-option`],[`ng-container`]]];var at=[`*`,`mat-option, ng-container`];var rt=[`text`];var lt=[[[`mat-icon`]],`*`];var st=[`mat-icon`,`*`];function ct(i,o){if(i&1&&lm$1(0,`mat-pseudo-checkbox`,1),i&2){let t=gw();cm$1(`disabled`,t.disabled)(`state`,t.selected?`checked`:`unchecked`)}}function mt(i,o){if(i&1&&lm$1(0,`mat-pseudo-checkbox`,3),i&2)cm$1(`disabled`,gw().disabled)}function dt(i,o){if(i&1&&(Zi$1(0,`span`,4),Zw(1),xl$1()),i&2){let t=gw();zE(),Ll$1(`(`,t.group.label,`)`)}}var Z$1=new x$2(`MAT_OPTION_PARENT_COMPONENT`);var $$1=new x$2(`MatOptgroup`);var Ct$1=(()=>{class i{label;disabled=!1;_labelId=T$9(Ot$2).getId(`mat-optgroup-label-`);_inert;constructor(){let t=T$9(Z$1,{optional:!0});this._inert=t?.inertGroups??!1}static ɵfac=function(n){return new(n||i)};static ɵcmp=bb({type:i,selectors:[[`mat-optgroup`]],hostAttrs:[1,`mat-mdc-optgroup`],hostVars:3,hostBindings:function(n,e){n&2&&am$1(`role`,e._inert?null:`group`)(`aria-disabled`,e._inert?null:e.disabled.toString())(`aria-labelledby`,e._inert?null:e._labelId)},inputs:{label:`label`,disabled:[2,`disabled`,`disabled`,QH]},exportAs:[`matOptgroup`],features:[cT([{provide:$$1,useExisting:i}])],ngContentSelectors:at,decls:5,vars:4,consts:[[`role`,`presentation`,1,`mat-mdc-optgroup-label`,3,`id`],[1,`mdc-list-item__primary-text`]],template:function(n,e){n&1&&(vw(ot),Al$1(0,`span`,0)(1,`span`,1),Zw(2),Iw(3),Ol$1()(),Iw(4,1)),n&2&&(Mm$1(`mdc-list-item--disabled`,e.disabled),pm$1(`id`,e._labelId),zE(2),Ll$1(``,e.label,` `))},styles:[`.mat-mdc-optgroup {
1638  color: var(--%NS%mat-optgroup-label-text-color, var(--%NS%mat-sys-on-surface-variant));
1639  font-family: var(--%NS%mat-optgroup-label-text-font, var(--%NS%mat-sys-title-small-font));
1640  line-height: var(--%NS%mat-optgroup-label-text-line-height, var(--%NS%mat-sys-title-small-line-height));
1641  font-size: var(--%NS%mat-optgroup-label-text-size, var(--%NS%mat-sys-title-small-size));
1642  letter-spacing: var(--%NS%mat-optgroup-label-text-tracking, var(--%NS%mat-sys-title-small-tracking));
1643  font-weight: var(--%NS%mat-optgroup-label-text-weight, var(--%NS%mat-sys-title-small-weight));
1644}
1645
1646.mat-mdc-optgroup-label {
1647  display: flex;
1648  position: relative;
1649  align-items: center;
1650  justify-content: flex-start;
1651  overflow: hidden;
1652  min-height: 48px;
1653  padding: 0 16px;
1654  outline: none;
1655}
1656.mat-mdc-optgroup-label.mdc-list-item--disabled {
1657  opacity: 0.38;
1658}
1659.mat-mdc-optgroup-label .mdc-list-item__primary-text {
1660  font-size: inherit;
1661  font-weight: inherit;
1662  letter-spacing: inherit;
1663  line-height: inherit;
1664  font-family: inherit;
1665  text-decoration: inherit;
1666  text-transform: inherit;
1667  white-space: normal;
1668  color: inherit;
1669}
1670`],encapsulation:2})}return i})();var M=class{source;isUserInput;constructor(o,t=!1){this.source=o,this.isUserInput=t}};var tt=(()=>{class i{_element=T$9(zr$1);
vendor: 8,504 bytes, lines 1670-1791
1670_changeDetectorRef=T$9(GH);_parent=T$9(Z$1,{optional:!0});group=T$9($$1,{optional:!0});_signalDisableRipple=!1;_selected=!1;_active=!1;_mostRecentViewValue=``;get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}value;id=T$9(Ot$2).getId(`mat-option-`);get disabled(){return this.group&&this.group.disabled||this._disabled()}set disabled(t){this._disabled.set(t)}_disabled=Ze$1(!1);get disableRipple(){return this._signalDisableRipple?this._parent.disableRipple():!!this._parent?.disableRipple}get hideSingleSelectionIndicator(){return!!(this._parent&&this._parent.hideSingleSelectionIndicator)}onSelectionChange=new et$3;_text;_stateChanges=new ee$5;constructor(){let t=T$9(I$11);t.load(Ge$1),t.load(bt$4),this._signalDisableRipple=!!this._parent&&Ar(this._parent.disableRipple)}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||``).trim()}select(t=!0){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),t&&this._emitSelectionChangeEvent())}deselect(t=!0){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),t&&this._emitSelectionChangeEvent())}focus(t,n){let e=this._getHostElement();typeof e.focus==`function`&&e.focus(n)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(t){(t.keyCode===13||t.keyCode===32)&&!Re$3(t)&&(this._selectViaInteraction(),t.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=this.multiple?!this._selected:!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getTabIndex(){return this.disabled?`-1`:`0`}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){let t=this.viewValue;t!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=t)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(t=!1){this.onSelectionChange.emit(new M(this,t))}static ɵfac=function(n){return new(n||i)};static ɵcmp=bb({type:i,selectors:[[`mat-option`]],viewQuery:function(n,e){if(n&1&&Im$1(rt,7),n&2){let r;Dw(r=bw())&&(e._text=r.first)}},hostAttrs:[`role`,`option`,1,`mat-mdc-option`,`mdc-list-item`],hostVars:11,hostBindings:function(n,e){n&1&&mm$1(`click`,function(){return e._selectViaInteraction()})(`keydown`,function(l){return e._handleKeydown(l)}),n&2&&(pm$1(`id`,e.id),am$1(`aria-selected`,e.selected)(`aria-disabled`,e.disabled.toString()),Mm$1(`mdc-list-item--selected`,e.selected)(`mat-mdc-option-multiple`,e.multiple)(`mat-mdc-option-active`,e.active)(`mdc-list-item--disabled`,e.disabled))},inputs:{value:`value`,id:`id`,disabled:[2,`disabled`,`disabled`,QH]},outputs:{onSelectionChange:`onSelectionChange`},exportAs:[`matOption`],ngContentSelectors:st,decls:8,vars:5,consts:[[`text`,``],[`aria-hidden`,`true`,1,`mat-mdc-option-pseudo-checkbox`,3,`disabled`,`state`],[1,`mdc-list-item__primary-text`],[`state`,`checked`,`aria-hidden`,`true`,`appearance`,`minimal`,1,`mat-mdc-option-pseudo-checkbox`,3,`disabled`],[1,`cdk-visually-hidden`],[`aria-hidden`,`true`,`mat-ripple`,``,1,`mat-mdc-option-ripple`,`mat-focus-indicator`,3,`matRippleTrigger`,`matRippleDisabled`]],template:function(n,e){n&1&&(vw(lt),Jb(0,ct,1,2,`mat-pseudo-checkbox`,1),Iw(1),Zi$1(2,`span`,2,0),Iw(4,1),xl$1(),Jb(5,mt,1,1,`mat-pseudo-checkbox`,3),Jb(6,dt,2,1,`span`,4),lm$1(7,`div`,5)),n&2&&(Xb(e.multiple?0:-1),zE(5),Xb(!e.multiple&&e.selected&&!e.hideSingleSelectionIndicator?5:-1),zE(),Xb(e.group&&e.group._inert?6:-1),zE(),cm$1(`matRippleTrigger`,e._getHostElement())(`matRippleDisabled`,e.disabled||e.disableRipple))},dependencies:[i$1,ii$1],styles:[`.mat-mdc-option {
1671  -webkit-user-select: none;
1672  user-select: none;
1673  -moz-osx-font-smoothing: grayscale;
1674  -webkit-font-smoothing: antialiased;
1675  display: flex;
1676  position: relative;
1677  align-items: center;
1678  justify-content: flex-start;
1679  overflow: hidden;
1680  min-height: 48px;
1681  padding: 0 16px;
1682  cursor: pointer;
1683  -webkit-tap-highlight-color: transparent;
1684  color: var(--%NS%mat-option-label-text-color, var(--%NS%mat-sys-on-surface));
1685  font-family: var(--%NS%mat-option-label-text-font, var(--%NS%mat-sys-label-large-font));
1686  line-height: var(--%NS%mat-option-label-text-line-height, var(--%NS%mat-sys-label-large-line-height));
1687  font-size: var(--%NS%mat-option-label-text-size, var(--%NS%mat-sys-body-large-size));
1688  letter-spacing: var(--%NS%mat-option-label-text-tracking, var(--%NS%mat-sys-label-large-tracking));
1689  font-weight: var(--%NS%mat-option-label-text-weight, var(--%NS%mat-sys-body-large-weight));
1690}
1691.mat-mdc-option:hover:not(.mdc-list-item--disabled) {
1692  background-color: var(--%NS%mat-option-hover-state-layer-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) calc(var(--%NS%mat-sys-hover-state-layer-opacity) * 100%), transparent));
1693}
1694.mat-mdc-option:focus.mdc-list-item, .mat-mdc-option.mat-mdc-option-active.mdc-list-item {
1695  background-color: var(--%NS%mat-option-focus-state-layer-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) calc(var(--%NS%mat-sys-focus-state-layer-opacity) * 100%), transparent));
1696  outline: 0;
1697}
1698.mat-mdc-option.mdc-list-item--%NS%selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-active, .mat-mdc-option-multiple, :focus, :hover) {
1699  background-color: var(--%NS%mat-option-selected-state-layer-color, var(--%NS%mat-sys-secondary-container));
1700}
1701.mat-mdc-option.mdc-list-item--%NS%selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-active, .mat-mdc-option-multiple, :focus, :hover) .mdc-list-item__primary-text {
1702  color: var(--%NS%mat-option-selected-state-label-text-color, var(--%NS%mat-sys-on-secondary-container));
1703}
1704.mat-mdc-option .mat-pseudo-checkbox {
1705  --%NS%mat-pseudo-checkbox-minimal-selected-checkmark-color: var(--%NS%mat-option-selected-state-label-text-color, var(--%NS%mat-sys-on-secondary-container));
1706}
1707.mat-mdc-option.mdc-list-item {
1708  align-items: center;
1709  background: transparent;
1710}
1711.mat-mdc-option.mdc-list-item--disabled {
1712  cursor: default;
1713  pointer-events: none;
1714}
1715.mat-mdc-option.mdc-list-item--disabled .mat-mdc-option-pseudo-checkbox, .mat-mdc-option.mdc-list-item--disabled .mdc-list-item__primary-text, .mat-mdc-option.mdc-list-item--disabled > mat-icon {
1716  opacity: 0.38;
1717}
1718.mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple) {
1719  padding-left: 32px;
1720}
1721[dir=rtl] .mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple) {
1722  padding-left: 16px;
1723  padding-right: 32px;
1724}
1725.mat-mdc-option .mat-icon,
1726.mat-mdc-option .mat-pseudo-checkbox-full {
1727  margin-right: 16px;
1728  flex-shrink: 0;
1729}
1730[dir=rtl] .mat-mdc-option .mat-icon,
1731[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-full {
1732  margin-right: 0;
1733  margin-left: 16px;
1734}
1735.mat-mdc-option .mat-pseudo-checkbox-minimal {
1736  margin-left: 16px;
1737  flex-shrink: 0;
1738}
1739[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-minimal {
1740  margin-right: 16px;
1741  margin-left: 0;
1742}
1743.mat-mdc-option .mat-mdc-option-ripple {
1744  top: 0;
1745  left: 0;
1746  right: 0;
1747  bottom: 0;
1748  position: absolute;
1749  pointer-events: none;
1750}
1751.mat-mdc-option .mdc-list-item__primary-text {
1752  white-space: normal;
1753  font-size: inherit;
1754  font-weight: inherit;
1755  letter-spacing: inherit;
1756  line-height: inherit;
1757  font-family: inherit;
1758  text-decoration: inherit;
1759  text-transform: inherit;
1760  margin-right: auto;
1761}
1762[dir=rtl] .mat-mdc-option .mdc-list-item__primary-text {
1763  margin-right: 0;
1764  margin-left: auto;
1765}
1766@media (forced-colors: active) {
1767  .mat-mdc-option.mdc-list-item--%NS%selected:not(:has(.mat-mdc-option-pseudo-checkbox))::after {
1768    content: "";
1769    position: absolute;
1770    top: 50%;
1771    right: 16px;
1772    transform: translateY(-50%);
1773    width: 10px;
1774    height: 0;
1775    border-bottom: solid 10px;
1776    border-radius: 10px;
1777  }
1778  [dir=rtl] .mat-mdc-option.mdc-list-item--%NS%selected:not(:has(.mat-mdc-option-pseudo-checkbox))::after {
1779    right: auto;
1780    left: 16px;
1781  }
1782}
1783
1784.mat-mdc-option-multiple {
1785  --%NS%mat-list-list-item-selected-container-color: var(--%NS%mat-list-list-item-container-color, transparent);
1786}
1787
1788.mat-mdc-option-active .mat-focus-indicator::before {
1789  content: "";
1790}
1791`],encapsulation:2})}return i})();function wt(i,o,t){if(t.length){let n=o.toArray(),e=t.toArray(),r=0;for(let l=0;l<i+1;l++)n[l].group&&n[l].group===e[r]&&r++;return r}return 0}function Mt(i,o,t,n){return i<t?i:i+o>t+n?Math.max(0,i-n+o):t}var Tt$1=(()=>
1791{class i{static ɵfac=function(n){return new(n||i)};static ɵmod=Tb({type:i});static ɵinj=id$1({imports:[Ye$2,f$1,tt,ge$6]})}return i})();var d$3=(()=>{class r extends h$8{static{this.headers={"Content-Type":`application/x-www-form-urlencoded;charset=utf-8`}}constructor(){let t=T$9(We$1),e=T$9(w$8);super(e,t,`/payment/subscriptions`)}subscribe(t){return this.http.post(this.config.apiUrl(`${this.rootPath}/subscribe/${t}`),null,{responseType:`text`,headers:r.headers})}unsubscribe(t){return this.http.delete(this.config.apiUrl(`${this.rootPath}/${t}`))}updateCard(){return this.http.post(this.config.apiUrl(`${this.rootPath}/card/update`),null,{responseType:`text`,headers:r.headers})}subscribable(){return this.http.get(this.config.apiUrl(`${this.rootPath}/subscribable`))}subscribedAsAdmin(t){return this.http.get(this.config.apiUrl(`${this.rootPath}/${t}`))}subscribed(){return this.http.get(this.config.apiUrl(this.rootPath))}static{this.ɵfac=function(e){return new(e||r)}}static{this.ɵprov=ce$3({token:r,factory:r.ɵfac,providedIn:`root`})}}return r})();var v=(()=>{class r extends x$5{constructor(){let t=T$9(G$4),e=T$9(d$3);super(e,t,`SubscriptionCrudService`),this.plans=new nr$1({}),this.http=e}subscribed(){return this.http.subscribed().pipe(Nu$1(this.setEntities.bind(this)))}subscribable(){return this.http.subscribable().pipe(Nu$1(t=>this.plans.next(t)))}hasOnlyFreeSubscription(t){return t.length===1&&t[0].plan.billingType===`FREE`}static{this.ɵfac=function(e){return new(e||r)}}static{this.ɵprov=ce$3({token:r,factory:r.ɵfac,providedIn:`root`})}}return r})();var A$3=(()=>{class i{constructor(){this.configuration=T$9(w$8),this.log=T$9(G$4),this.windows=T$9(B$6),this.destroyRef=T$9(ge$5)}initialize(){this.configuration.loaded().pipe($$4(this.destroyRef),Ee$3(()=>this.load())).subscribe()}load(){let t=this.configuration.value(`analytics`,``);if(this.log.info(`GoogleAnalyticsService`,`init`,t),!t)return _g$1(!1);this.pushTag({"gtm.start":Date.now(),event:`gtm.js`});let e=`https://www.googletagmanager.com/gtm.js?id=${t}&l=dataLayer`;return this.windows.loadScript(e).pipe($$4(this.destroyRef),He$1(()=>(this.log.info(`GoogleAnalyticsService`,`Script Loaded`),!0)),Ms$1(p=>(this.log.warn(`GoogleAnalyticsService`,`Script failed to load`,p),_g$1(!1))))}pushTag(t){(this.windows.window.dataLayer=this.windows.window.dataLayer??[]).push(t),this.log.info(`GoogleAnalyticsService`,`Tag Pushed`,t)}static{this.ɵfac=function(e){return new(e||i)}}static{this.ɵprov=ce$3({token:i,factory:i.ɵfac,providedIn:`root`})}}return i})();var c$3=class{constructor(o,t,r,e,s,n,a){this.ratio=o,this.lineWidth=t,this.borderRadius=r,this.fontSize=e,this.lineColor=s,this.textColor=n,this.backgroundColor=a}};var L$1=class i extends l$8{static{this.LIGHT_FOREGROUND_COLOR=`#2b2b2b`}static{this.LIGHT_BACKGROUND_COLOR=`#FBFBFB`}static{this.DARK_FOREGROUND_COLOR=`#f3f3f3`}static{this.DARK_BACKGROUND_COLOR=`#262F3D`}static{this.LINE_WIDTH_MAP=new Map([[.7,1],[.8,1],[.9,2],[1,2],[1.1,3]])}static{this.BORDER_RADIUS_MAP=new Map([[.7,2],[.8,3],[.9,4],[1,4],[1.1,5]])}static{this.FONT_SIZE_MAP=new Map([[.7,9],[.8,10],[.9,11],[1,12],[1.1,14]])}constructor(){super(),this.themeSizeService=T$9(Vr$3),this.themeService=T$9(Ct$4),this.theme=new nr$1(this.computeTheme(this.themeSizeService.sizeRatio.value,this.themeService.isActive.value)),this.themeSizeService.sizeRatio.pipe(Vg$1(this.destroyed)).pipe(yy()).subscribe(()=>this.updateTheme()),this.themeService.isActive.pipe(Vg$1(this.destroyed)).pipe(yy()).subscribe(()=>this.updateTheme())}computeTheme(o,t){let r=i.LINE_WIDTH_MAP.get(o),e=i.BORDER_RADIUS_MAP.get(o),s=i.FONT_SIZE_MAP.get(o),n=t?i.LIGHT_FOREGROUND_COLOR:i.DARK_FOREGROUND_COLOR;return new c$3(o,r,e,s,n,n,t?i.LIGHT_BACKGROUND_COLOR:i.DARK_BACKGROUND_COLOR)}computeExportTheme(o,t,r,e){let s=this.themeSizeService.computeAutoSizeRatio(o);return new c$3(s,i.LINE_WIDTH_MAP.get(s),i.BORDER_RADIUS_MAP.get(s),i.FONT_SIZE_MAP.get(s),t,r,e)}getFont(o){return{size:o.fontSize,weight:`normal`,family:`octoperf`}}getTitleFont(o){return{size:o.fontSize+1,weight:`bold`,family:`octoperf`}}getThemedOptions(o,t){let r=this.getTitleFont(o),e=this.getFont(o),s=t.dragData?9:0;return{maintainAspectRatio:!1,animation:t.stopAnimations?!1:{duration:400},font:e,elements:{point:{radius:s,borderWidth:0,hoverBorderWidth:t.stopInteractions?0:s/3,hoverBorderColor:o.lineColor,hoverRadius:t.stopInteractions?0:s+o.lineWidth*2}}
1791,datasets:{line:{borderWidth:o.lineWidth,tension:.18},pie:{borderWidth:t.stopInteractions?0:o.lineWidth*2,borderRadius:t.stopInteractions?0:o.borderRadius,hoverBorderWidth:t.stopInteractions?0:o.lineWidth,borderColor:o.backgroundColor,hoverBorderColor:`rgba(0,0,0,0)`},bar:{borderWidth:0,borderRadius:o.borderRadius,barPercentage:.6,categoryPercentage:.6}},plugins:{legend:{display:!1,position:`bottom`,labels:{font:e,usePointStyle:!0,pointStyle:`circle`,color:o.textColor}},title:{font:e,color:o.textColor},tooltip:{animation:!1,usePointStyle:!0,titleFont:r,bodyFont:e,footerFont:e,labelPointStyle:{pointStyle:`circle`,rotation:0}},datalabels:{display:!1,font:{family:e.family,size:e.size,style:e.style===`inherit`||e.style===`initial`?`normal`:e.style,weight:e.weight===null?void 0:e.weight,lineHeight:e.lineHeight}}}}}getScaleThemedOptions(o,t,r){let e=this.getFont(t);return{scales:{[o]:{ticks:{color:r??t.textColor,font:e},border:{color:t.lineColor},grid:{color:t.lineColor}}}}}updateTheme(){let o=this.themeSizeService.sizeRatio.value,t=this.themeService.isActive.value;this.theme.next(this.computeTheme(o,t))}static{this.ɵfac=function(t){return new(t||i)}}static{this.ɵprov=ce$3({token:i,factory:i.ɵfac,providedIn:`root`})}};var b=sc$1;var _$4=(()=>{class i{mergeOptions(...t){return b({},...t)}mergeData(...t){return b({},...t)}static{this.ɵfac=function(r){return new(r||i)}}static{this.ɵprov=ce$3({token:i,factory:i.ɵfac,providedIn:`root`})}}return i})();var z$1=(()=>{class i extends f$6{static{this.CHANNEL=`chart-export`}constructor(t,r,e,s,n,a){super(i.CHANNEL),this.type=t,this.configuration=r,this.options=e,this.data=s,this.toColumns=n,this.toValues=a}}return i})();var W=(()=>{class i{static{this.PARTIAL_FILL_LABEL=`fillerDatasets`}static getChartActiveIndexes(t,r){return i.filterActiveIndexes(t,r).find(e=>e.datasetIndex>=0)??{datasetIndex:-1,dataIndex:-1}}static filterActiveIndexes(t,r){return t.data.datasets.map((e,s)=>({dataset:e,index:s})).filter(e=>!e.dataset.label?.includes(i.PARTIAL_FILL_LABEL)).map((e,s)=>{let n=r.find(a=>a.datasetIndex===e.index);if(n)return{datasetIndex:s,dataIndex:n.index}}).filter(e=>!!e)}static getDataset(t){return t.datasets.filter(r=>!r.label?.includes(i.PARTIAL_FILL_LABEL))}static getPartialFillDatasetLabel(t){return i.PARTIAL_FILL_LABEL+`-`+t}static isLabelPartialFill(t){return t.includes(i.PARTIAL_FILL_LABEL)}}return i})();var c$2=(()=>{class t{constructor(){this.membershipsByWorkspaceId=Ze$1(new Map)}update(e){let r=new Map(this.membershipsByWorkspaceId());r.set(e.workspaceId,e),this.membershipsByWorkspaceId.set(r)}membershipFor(e){return this.membershipsByWorkspaceId().get(e)}roleTypeFor(e){let r=this.membershipFor(e)?.authorizations[0];return r?r[m$10]:void 0}adminsFor(e){return this.membershipFor(e)?.admins??[]}static{this.ɵfac=function(r){return new(r||t)}}static{this.ɵprov=ce$3({token:t,factory:t.ɵfac,providedIn:`root`})}}return t})();var E$3=(()=>{class t{constructor(){this.routerHelper=T$9(Y$5),this.authentication=T$9(ge$7),this.memberships=T$9(c$2),this.destroyRef=T$9(ge$5),this.isMemberSubject=new nr$1(!0),this.isMember=this.isMemberSubject.asObservable().pipe(yy())}initialize(){this.routerHelper.of(w$9.CHANNEL).pipe($$4(this.destroyRef),He$1(r=>this.routerHelper.getParam(r.current,o$8)),lt$3(r=>r?!0:(this.isMemberSubject.next(!0),!1)),yy()).subscribe(r=>{this.authentication.isAdmin()?this.isMemberSubject.next((this.memberships.membershipFor(r)?.authorizations.length??0)>0):this.isMemberSubject.next(!0)})}static{this.ɵfac=function(i){return new(i||t)}}static{this.ɵprov=ce$3({token:t,factory:t.ɵfac,providedIn:`root`})}}return t})();var o$2=class{constructor(a){this.versionString=a;let i=/^(\d+)\.(\d+)\.(\d+)/.exec(a)??[];this.major=i[1]||`?`,this.minor=i[2]||`?`,this.patch=i[3]||`?`}get toString(){return`${this.major}.${this.minor}.${this.patch}`}get toShortString(){return`${this.major}.${this.minor}`}};var K=(()=>{class t{constructor(){this.configuration=T$9(w$8),this.http=T$9(We$1),this.version=new nr$1(new o$2(``))}load(){return this.http.get(this.configuration.apiUrl(`/product`)).pipe(Nu$1(r=>
1791this.version.next(new o$2(r.version))))}static{this.ɵfac=function(i){return new(i||t)}}static{this.ɵprov=ce$3({token:t,factory:t.ɵfac,providedIn:`root`})}}return t})();var R$1=`Service workers are disabled or not supported by this browser`;var f=class{serviceWorker;worker;registration;events;constructor(i,e){if(this.serviceWorker=i,!i)this.worker=this.events=this.registration=new w$7(t=>t.error(new M$6(5601,!1)));else{let t=null,r=new ee$5;this.worker=new w$7(c=>(t!==null&&c.next(t),r.subscribe(S=>c.next(S))));let n=()=>{let{controller:c}=i;c!==null&&(t=c,r.next(t))};i.addEventListener(`controllerchange`,n),n(),this.registration=this.worker.pipe(Bu(()=>i.getRegistration().then(c=>{if(!c)throw new M$6(5601,!1);return c})));let o=new ee$5;this.events=o.asObservable();let u=c=>{let{data:S}=c;S?.type&&o.next(S)};i.addEventListener(`message`,u),e?.get(fs$1,null,{optional:!0})?.onDestroy(()=>{i.removeEventListener(`controllerchange`,n),i.removeEventListener(`message`,u)})}}postMessage(i,e){return new Promise(t=>{this.worker.pipe(yn$1(1)).subscribe(r=>{r.postMessage(r$4({action:i},e)),t()})})}postMessageWithOperation(i,e,t){let r=this.waitForOperationCompleted(t),n=this.postMessage(i,e);return Promise.all([n,r]).then(([,o])=>o)}generateNonce(){return Math.round(Math.random()*1e7)}eventsOfType(i){let e;return typeof i==`string`?e=t=>t.type===i:e=t=>i.includes(t.type),this.events.pipe(lt$3(e))}nextEventOfType(i){return this.eventsOfType(i).pipe(yn$1(1))}waitForOperationCompleted(i){return new Promise((e,t)=>{this.eventsOfType(`OPERATION_COMPLETED`).pipe(lt$3(r=>r.nonce===i),yn$1(1),He$1(r=>{if(r.result!==void 0)return r.result;throw new Error(r.error)})).subscribe({next:e,error:t})})}get isEnabled(){return!!this.serviceWorker}};var Z=(()=>{class s{sw;messages;notificationClicks;notificationCloses;pushSubscriptionChanges;subscription;get isEnabled(){return this.sw.isEnabled}pushManager=null;subscriptionChanges=new ee$5;constructor(e){if(this.sw=e,!e.isEnabled){this.messages=cy,this.notificationClicks=cy,this.notificationCloses=cy,this.pushSubscriptionChanges=cy,this.subscription=cy;return}this.messages=this.sw.eventsOfType(`PUSH`).pipe(He$1(r=>r.data)),this.notificationClicks=this.sw.eventsOfType(`NOTIFICATION_CLICK`).pipe(He$1(r=>r.data)),this.notificationCloses=this.sw.eventsOfType(`NOTIFICATION_CLOSE`).pipe(He$1(r=>r.data)),this.pushSubscriptionChanges=this.sw.eventsOfType(`PUSH_SUBSCRIPTION_CHANGE`).pipe(He$1(r=>r.data)),this.pushManager=this.sw.registration.pipe(He$1(r=>r.pushManager));let t=this.pushManager.pipe(Bu(r=>r.getSubscription()));this.subscription=new w$7(r=>{let n=t.subscribe(r),o=this.subscriptionChanges.subscribe(r);return()=>{n.unsubscribe(),o.unsubscribe()}})}requestSubscription(e){if(!this.sw.isEnabled||this.pushManager===null)return Promise.reject(new Error(R$1));let t={userVisibleOnly:!0},r=this.decodeBase64(e.serverPublicKey.replace(/_/g,`/`).replace(/-/g,`+`)),n=new Uint8Array(new ArrayBuffer(r.length));for(let o=0;o<r.length;o++)n[o]=r.charCodeAt(o);return t.applicationServerKey=n,new Promise((o,u)=>{this.pushManager.pipe(Bu(v=>v.subscribe(t)),yn$1(1)).subscribe({next:v=>{this.subscriptionChanges.next(v),o(v)},error:u})})}unsubscribe(){if(!this.sw.isEnabled)return Promise.reject(new Error(R$1));let e=t=>{if(t===null)throw new M$6(5602,!1);return t.unsubscribe().then(r=>{if(!r)throw new M$6(5603,!1);this.subscriptionChanges.next(null)})};return new Promise((t,r)=>{this.subscription.pipe(yn$1(1),Bu(e)).subscribe({next:t,error:r})})}decodeBase64(e){return atob(e)}static ɵfac=function(t){return new(t||s)(Ue$3(f))};static ɵprov=ce$3({token:s,factory:s.ɵfac})}return s})();var m$2=(()=>{class s{sw;versionUpdates;unrecoverable;get isEnabled(){return this.sw.isEnabled}ongoingCheckForUpdate=null;constructor(e){if(this.sw=e,!e.isEnabled){this.versionUpdates=cy,this.unrecoverable=cy;return}this.versionUpdates=this.sw.eventsOfType([`VERSION_DETECTED`,`VERSION_INSTALLATION_FAILED`,`VERSION_READY`,`NO_NEW_VERSION_DETECTED`]),this.unrecoverable=this.sw.eventsOfType(`UNRECOVERABLE_STATE`)}checkForUpdate(){if(!this.sw.isEnabled)return Promise.reject(new Error(R$1));if(this.ongoingCheckForUpdate)return this.ongoingCheckForUpdate;let e=this.sw.generateNonce();return this.ongoingCheckForUpdate=this.sw.postMessageWithOperation(`CHECK_FOR_UPDATES`,{nonce:e},e).finally(()=>{this.ongoingCheckForUpdate=null}),this.ongoingCheckForUpdate}activateUpdate(){if(!this.sw.isEnabled)return Promise.reject(new M$6(5601,!1));let e=this.sw.generateNonce();return this.sw.postMessageWithOperation(`ACTIVATE_UPDATE`,{nonce:e},e)}static ɵfac=function(t){return new(t||s)(Ue$3(f))};static ɵprov=ce$3({token:s,factory:s.ɵfac})}return s})();var z=new x$2(``);function J$1(){let s=T$9(E$2);if(!(`serviceWorker`in navigator&&s.enabled!==!1))return;let i=T$9(z),e=T$9(we$3),t=T$9(fs$1);e.runOutsideAngular(()=>{let r=navigator.serviceWorker,n=()=>r.controller?.postMessage({action:`INITIALIZE`});r.addEventListener(`controllerchange`,n),t.onDestroy(()=>{r.removeEventListener(`controllerchange`,n)})}),e.runOutsideAngular(()=>{let r,{registrationStrategy:n}=s;
1791if(typeof n==`function`)r=new Promise(o=>n().subscribe(()=>o()));else{let[o,...u]=(n||`registerWhenStable:30000`).split(`:`);switch(o){case`registerImmediately`:r=Promise.resolve();break;case`registerWithDelay`:r=Y(+u[0]||0);break;case`registerWhenStable`:r=Promise.race([t.whenStable(),Y(+u[0])]);break;default:throw new M$6(5600,!1)}}r.then(()=>{t.destroyed||navigator.serviceWorker.register(i,{scope:s.scope,updateViaCache:s.updateViaCache,type:s.type}).catch(o=>console.error(yr$1(5604,!1)))})})}function Y(s){return new Promise(i=>setTimeout(i,s))}function Q(){let s=T$9(E$2),i=T$9(be$3);return new f(s.enabled!==!1?navigator.serviceWorker:void 0,i)}var E$2=class{enabled;updateViaCache;type;scope;registrationStrategy};function X(s,i={}){return Nn$1([Z,m$2,{provide:z,useValue:s},{provide:E$2,useValue:i},{provide:f,useFactory:Q},xb(J$1)])}var oe=(()=>{class s{static register(e,t={}){return{ngModule:s,providers:[X(e,t)]}}static ɵfac=function(t){return new(t||s)};static ɵmod=Tb({type:s});static ɵinj=id$1({providers:[Z,m$2]})}return s})();var ee=(()=>{class s{static{this.CHECK_VERSION_INTERVAL_IN_MS=12e4}constructor(e,t,r,n){this.document=e,this.updates=t,this.appRef=r,this.logger=n,this.isNewVersionAvailable=new nr$1(!1),this.intervalSource=sy(s.CHECK_VERSION_INTERVAL_IN_MS)}start(){this.updates.versionUpdates.subscribe(e=>{switch(e.type){case`VERSION_DETECTED`:this.logger.info(`NewVersionCheckerService`,`EVENTS: Downloading new app version: ${e.version.hash}`);break;case`VERSION_READY`:this.isNewVersionAvailable.next(!0),this.logger.info(`NewVersionCheckerService`,`EVENTS: Current app version: ${e.currentVersion.hash}`),this.logger.info(`NewVersionCheckerService`,`New app version ready for use: ${e.latestVersion.hash}`);break;case`VERSION_INSTALLATION_FAILED`:this.logger.info(`NewVersionCheckerService`,`EVENTS: Failed to install app version '${e.version.hash}': ${e.error}`);break}}),this.updates.unrecoverable.subscribe(e=>{this.logger.error(`NewVersionCheckerService`,`UNRECOVERABLE EVENT`,e),this.isNewVersionAvailable.next(!0)}),this._checkForUpdate()}_checkForUpdate(){if(this.logger.info(`NewVersionCheckerService`,`SwUpdate state is ${this.updates.isEnabled}.`),!this.updates.isEnabled)return;this.intervalSubscription?.unsubscribe();let e=this.appRef.isStable.pipe(Fu(t=>t));this.intervalSubscription=vn$1(e,this.intervalSource).pipe(Ny(()=>!this.isNewVersionAvailable.value),Bu(()=>Ie$3(this.updates.checkForUpdate()).pipe(Ms$1(t=>(this.logger.error(`NewVersionCheckerService`,`CRON: Failed to check for updates:`,t),he$5))))).subscribe(t=>{this.isNewVersionAvailable.next(t),this.logger.info(`NewVersionCheckerService`,this.isNewVersionAvailable.value?`CRON: A new version is available`:`CRON: Already on the latest version.`)})}applyUpdate(){return Ie$3(this.updates.activateUpdate().then(()=>this.document.location.reload()).catch(t=>this.logger.error(`NewVersionCheckerService`,`Failed to apply updates:`,t)))}}return s})();var fe=(()=>{class s extends ee{constructor(){let e=T$9(Fn$1),t=T$9(m$2),r=T$9(fs$1),n=T$9(G$4);super(e,t,r,n)}static{this.ɵfac=function(t){return new(t||s)}}static{this.ɵprov=ce$3({token:s,factory:s.ɵfac,providedIn:`root`})}}return s})();var we=(()=>{class s extends f$6{static{this.CHANNEL=`open-new-version-dialog`}constructor(){super(s.CHANNEL)}}return s})();var i=class{constructor(e,s,l,n){this.id=e,this.label=s,this.name=l,this.icon=n}};var a$1=class{constructor(e,s,l,n,d,o,m,c,p){this.pageId=e,this.menuId=s,this.id=l,this.created=n,this.label=d,this.name=o,this.icon=m,this.link=c,this.parent=p}};var r$1=class{constructor(){this.idValue=``,this.labelValue=``,this.nameValue=``,this.iconValue=d3}id(e){return this.idValue=e,this}label(e){return this.labelValue=e,this}name(e){return this.nameValue=e,this}icon(e){return this.iconValue=e,this}build(){return new i(this.idValue,this.labelValue,this.nameValue,this.iconValue)}};var V$1=class t{constructor(){this.pageIdValue=``,this.menuIdValue=``,this.idValue=``,this.createdValue=Date.now(),this.labelValue=``,this.nameValue=``,this.iconValue=d3,this.linkValue=new s$9().build()}pageId(e){return this.pageIdValue=e,this}menuId(e){return this.menuIdValue=e,this}id(e){return this.idValue=e,this}created(e){return this.createdValue=e,this}label(e){return this.labelValue=e,this}name(e){return this.nameValue=e,this}icon(e){return this.iconValue=e,this}link(e){return this.linkValue=e,this}parent(e){return this.parentValue=e,this}from(e){return new t().pageId(e.pageId).menuId(e.menuId).id(e.id).created(e.created).label(e.label).name(e.name).icon(e.icon).link(e.link).parent(e.parent)}build(){return new a$1(this.pageIdValue,this.menuIdValue,this.idValue,this.createdValue,this.labelValue,this.nameValue,this.iconValue,this.linkValue,this.parentValue)}};var d$2=(()=>{class t{constructor(){this.tooltip=T$9(yn$2),this.tooltip.position.set(`below`),this.tooltip.keepOnMouseHover.set(!0)}static{this.ɵfac=function(l){return new(l||t)}}
1791static{this.ɵdir=Mb({type:t,selectors:[[``,`libTooltipHtml`,``]],exportAs:[`libTooltipHtml`],features:[Ob([{directive:yn$2,inputs:[`templateRef`,`libTooltipHtml`,`templateContext`,`templateContext`,`disabled`,`disabled`,`minWidth`,`minWidth`,`position`,`position`,`hasHelpStyle`,`hasHelpStyle`]}])]})}}return t})();var S=`account`;var T$1=`accountSettingsId`;var o$1=`billing`;var t$1=`email`;var I=`password`;var _$3=`apiKey`;var C$1=`sessions`;var N=`connectedApps`;var s$1=`appearance`;var E$1=`user`;var e$1=`subscription`;var n$1=`USER`;var c$1=`SUBSCRIPTION_LIST`;var A$2=`SUBSCRIPTION_CREATE`;var t=`default`;var o=`create`;var e=`empty`;var r=`redirect`;var c=`unreachable`;var n=`not-found`;var E=`NOT_FOUND`;var p$2=`virtualUserFromId`;var _$2=(()=>{class o{constructor(){this.configuration=T$9(w$8),this.http=T$9(We$1)}resolve(r){return this.http.post(this.configuration.apiUrl(`/navigation/resolve`),r)}static{this.ɵfac=function(s){return new(s||o)}}static{this.ɵprov=ce$3({token:o,factory:o.ɵfac,providedIn:`root`})}}return o})();var p$1=class{constructor(t,r=``,s=``,c=``,a=S$8.utc().valueOf(),n=S$8.utc().valueOf()){this.userId=t,this.id=r,this.name=s,this.description=c,this.created=a,this.lastModified=n}};var C={ids:{workspaceId:``,projectId:``,virtualUserId:``,scenarioId:``,benchReportId:``},values:{workspace:new p$1(``)}};var d$1=class{constructor(){this.workspaceIdValue=``,this.projectIdValue=``,this.virtualUserIdValue=``,this.scenarioIdValue=``,this.benchReportIdValue=``}workspaceId(t){return this.workspaceIdValue=t,this}projectId(t){return this.projectIdValue=t,this}virtualUserId(t){return this.virtualUserIdValue=t,this}scenarioId(t){return this.scenarioIdValue=t,this}benchReportId(t){return this.benchReportIdValue=t,this}from(t){return this.workspaceId(t.workspaceId).projectId(t.projectId).virtualUserId(t.virtualUserId).scenarioId(t.scenarioId).benchReportId(t.benchReportId)}build(){return{workspaceId:this.workspaceIdValue,projectId:this.projectIdValue,virtualUserId:this.virtualUserIdValue,scenarioId:this.scenarioIdValue,benchReportId:this.benchReportIdValue}}};var h$1=class{constructor(){this.workspaceValue=new p$1(``)}workspace(t){return this.workspaceValue=t,this}project(t){return this.projectValue=t,this}virtualUser(t){return this.virtualUserValue=t,this}scenario(t){return this.scenarioValue=t,this}benchReport(t){return this.benchReportValue=t,this}from(t){return this.workspace(t.workspace).project(t.project).virtualUser(t.virtualUser).scenario(t.scenario).benchReport(t.benchReport)}build(){return{workspace:this.workspaceValue,project:this.projectValue,virtualUser:this.virtualUserValue,scenario:this.scenarioValue,benchReport:this.benchReportValue}}};var m$1=class{constructor(){this.idsValue=new d$1().build(),this.valuesValue=new h$1().build()}ids(t){return this.idsValue=t,this}values(t){return this.valuesValue=t,this}from(t){return this.ids(t.ids).values(t.values)}build(){return{ids:this.idsValue,values:this.valuesValue}}};var Tt=(()=>{class o{static{this.SUFFIX=`-navigation`}constructor(){this.http=T$9(_$2),this.authentication=T$9(ge$7),this.storage=T$9(f$7),this.routerHelper=T$9(Y$5),this.context=new nr$1(C),this.destroyRef=T$9(ge$5),this.subscriptions=[];let r=T$9(k$2),s=T$9(q$3),c=T$9(b$4),a=T$9(P$8),n=T$9(b$3);this.workspaceHandler={id:o$8,crud:n,filter:()=>!0,getId:e=>e.workspaceId,setId:(e,i)=>e.workspaceId(i),setValue:(e,i)=>e.workspace(i)},this.projectHandler={id:T$11,crud:a,filter:()=>!0,getId:e=>e.projectId,setId:(e,i)=>e.projectId(i),setValue:(e,i)=>e.project(i)},this.virtualUserHandler={id:R$8,crud:c,filter:()=>!0,getId:e=>e.virtualUserId,setId:(e,i)=>e.virtualUserId(i),setValue:(e,i)=>e.virtualUser(i)},this.scenarioHandler={id:_$12,crud:s,filter:e=>e.mode===`STANDARD`,getId:e=>e.scenarioId,setId:(e,i)=>e.scenarioId(i),setValue:(e,i)=>e.scenario(i)},this.benchReportHandler={id:T$10,crud:r,filter:()=>!0,getId:e=>e.benchReportId,setId:(e,i)=>e.benchReportId(i),setValue:(e,i)=>e.benchReport(i)},this.handlers=new Map([[o$8,this.workspaceHandler],[T$11,this.projectHandler],[R$8,this.virtualUserHandler],[_$12,this.scenarioHandler],[T$10,this.benchReportHandler]])}initialize(r){let s=this.storage.getItem(this.authentication.userId+o.SUFFIX,C.ids);return this.resolve(r?this._withRouteIds(s,r):s).pipe($$4(this.destroyRef),Nu$1(()=>this.updateOnNavigationChange()))}_withRouteIds(r,s){let c=new d$1().from(r);for(let a=s;a;a=a.firstChild){let n=a;
1791this.handlers.forEach((e,i)=>{let f=n.paramMap.get(i);f&&e.setId(c,f)})}return c.build()}updateOnNavigationChange(){this.subscriptions.forEach(r=>r.unsubscribe()),this.subscriptions.push(this.routerHelper.of(w$9.CHANNEL).pipe($$4(this.destroyRef)).subscribe(r=>{let s=this.context.value.ids,c=new d$1().from(s);this.handlers.forEach((e,i)=>{let f=e.getId(s),v=this.routerHelper.getParam(r.current,i);f!==v&&v!==``&&e.setId(c,v)});let a=c.build();Zs$1(s,a)||this.resolve(a).subscribe()})),this.handlers.forEach(r=>{this.subscriptions.push(r.crud.of(v$6.CHANNEL).pipe($$4(this.destroyRef)).pipe(lt$3(s=>s.entity.id===r.getId(this.context.value.ids))).pipe(lt$3(s=>r.filter(s.entity))).subscribe(s=>{let c=new h$1().from(this.context.value.values);r.setValue(c,s.entity);let a=new m$1().from(this.context.value).values(c.build()).build();this.context.next(a)})),this.subscriptions.push(r.crud.of(y$3.CHANNEL).pipe($$4(this.destroyRef)).subscribe(s=>{let c=new d$1().from(this.context.value.ids),a=!1;s.entities.forEach(n=>{r.filter(n)&&n.id===r.getId(this.context.value.ids)&&(r.setId(c,``),a=!0)}),a&&this.resolve(c.build()).subscribe()}))})}resolve(r){return this.http.resolve(r).pipe(Nu$1(s=>{this.context.next(s),this.storage.setItem(this.authentication.userId+o.SUFFIX,s.ids)}))}static{this.ɵfac=function(s){return new(s||o)}}static{this.ɵprov=ce$3({token:o,factory:o.ɵfac,providedIn:`root`})}}return o})();var a=class{constructor(i,r,u,m,A){this.role=i,this.label=r,this.description=u,this.color=m,this.icon=A}};var p=class e{static{this.LABELS=new Map([[E$16.ADMIN_ACCESS,`Admin`],[E$16.TESTER_ACCESS,`Tester`],[E$16.VIEWER_ACCESS,`Viewer`],[E$16.TEST_EXECUTOR_ACCESS,`Test Executor`]])}static{this.CUSTOM_LABEL=`Custom`}static{this.DESCRIPTIONS=new Map([[E$16.ADMIN_ACCESS,`Admins can manage members and modify workspace settings.`],[E$16.TESTER_ACCESS,`Testers have the ability to create new projects and access all resources within existing ones.`],[E$16.VIEWER_ACCESS,`Viewers can view virtual users and reports but do not have permission to make any changes.`],[E$16.TEST_EXECUTOR_ACCESS,`Test Executors have full project control except for the ability to edit virtual users.`]])}static{this.CUSTOM_DESCRIPTION=`Grants access to Projects and Providers with custom permissions.`}static{this.ICONS=new Map([[E$16.ADMIN_ACCESS,new e$6().icon(U4).build()],[E$16.TESTER_ACCESS,new e$6().icon(r6).build()],[E$16.VIEWER_ACCESS,new e$6().icon(Q6).build()],[E$16.TEST_EXECUTOR_ACCESS,new e$6().icon(r3).build()]])}static{this.CUSTOM_ICON=new e$6().icon(U3).build()}static{this.COLORS=new Map([[E$16.ADMIN_ACCESS,`administration`],[E$16.TESTER_ACCESS,`success`],[E$16.VIEWER_ACCESS,`muted`],[E$16.TEST_EXECUTOR_ACCESS,`primary`]])}static{this.CUSTOM_COLOR=`unset`}transform(i){return new a(i,e.LABELS.get(i)??e.CUSTOM_LABEL,e.DESCRIPTIONS.get(i)??e.CUSTOM_DESCRIPTION,e.COLORS.get(i)??e.CUSTOM_COLOR,e.ICONS.get(i)??e.CUSTOM_ICON)}static{this.ɵfac=function(r){return new(r||e)}}static{this.ɵpipe=Sb({name:`workspaceMemberRoleToView`,type:e,pure:!0})}static{this.ɵprov=ce$3({token:e,factory:e.ɵfac,providedIn:`root`})}};var y=new a$8(`Error 404`,`No page matches this address.`,Be$1.NotFound);var F=(()=>{class t{constructor(){this.router=T$9(Ie$4),this.authentication=T$9(ge$7),this.routerHelper=T$9(Y$5),this.destroyRef=T$9(ge$5),this.failureSignal=Ze$1(void 0),this.failure=this.failureSignal.asReadonly(),this.routerHelper.of(w$9.CHANNEL).pipe($$4(this.destroyRef)).subscribe(e=>this._forgetOnceLeft(e.url))}land(e){if(e.error instanceof N$11)return;let r=this.router.parseUrl(`/`+c);if(e.url!==r.toString())return this.failureSignal.set({url:e.url,error:e.error}),new Se$2(r,{skipLocationChange:!0})}landOnUnknownAddress(e){return this.authentication.securityToken.value?(this.failureSignal.set({url:`/`+e.join(`/`),error:y}),this.router.parseUrl(`/`+c)):this.router.parseUrl(`/`+n)}_forgetOnceLeft(e){e!==`/`+`unreachable`&&this.failureSignal.set(void 0)}static{this.ɵfac=function(r){return new(r||t)}}static{this.ɵprov=ce$3({token:t,factory:t.ɵfac,providedIn:`root`})}}return t})();var V=(()=>{class t{constructor(){this.navigationContext=T$9(Tt),this.memberships=T$9(c$2)}resolve(){let e=this.navigationContext.context.value,r=e.ids.workspaceId;if(!r)return;let c=this.memberships.roleTypeFor(r);return c?`This action is not allowed with the ${p.LABELS.get(c)??p.CUSTOM_LABEL} role on the workspace \`${e.values.workspace.name}\`.`:void 0}static{this.ɵfac=function(r){return new(r||t)}}static{this.ɵprov=ce$3({token:t,factory:t.ɵfac,providedIn:`root`})}}return t})();function h(r){if(!r||typeof r!=`object`)return!1;let m=Object.getPrototypeOf(r);
1791return m===null||m===Object.prototype||Object.getPrototypeOf(m)===null?Object.prototype.toString.call(r)===`[object Object]`:!1}function j(r){return r===`__proto__`}function s(r,m){let t=Object.keys(m);for(let i=0;i<t.length;i++){let e=t[i];if(j(e))continue;let o=m[e],f=r[e];k(o)&&k(f)?r[e]=s(f,o):Array.isArray(o)?r[e]=s([],o):h(o)?r[e]=s({},o):(f===void 0||o!==void 0)&&(r[e]=o)}return r}function k(r){return h(r)||Array.isArray(r)}var A$1=new x$2(`Configuration for ngCharts`);function _$1(...r){return{registerables:[...Lh,...r]}}function G(...r){return{provide:A$1,useValue:r.reduce(s,{})}}var D=(()=>{class r{constructor(){this.colorschemesOptions=new nr$1(void 0)}setColorschemesOptions(t){this.pColorschemesOptions=t,this.colorschemesOptions.next(t)}getColorschemesOptions(){return this.pColorschemesOptions}static{this.ɵfac=function(i){return new(i||r)}}static{this.ɵprov=ce$3({token:r,factory:r.ɵfac,providedIn:`root`})}}return r})();var L=(()=>{class r{constructor(){this.type=`bar`,this.plugins=[],this.chartClick=new et$3,this.chartHover=new et$3,this.ctx=null,this.subs=[],this.themeOverrides={},this.element=T$9(zr$1),this.zone=T$9(we$3),this.themeService=T$9(D),this.config=T$9(A$1,{optional:!0}),this.platformId=T$9(vv),this.isBrowser=Ai$2(this.platformId),this.config?.registerables&&Fl.register(...this.config.registerables),this.config?.defaults&&B$3.set(this.config.defaults),this.isBrowser&&(this.ctx=this.element.nativeElement.getContext(`2d`)),this.subs.push(this.themeService.colorschemesOptions.pipe(yy()).subscribe(t=>this.themeChanged(t)))}ngOnChanges(t){if(!this.isBrowser)return;let i=[`type`],e=Object.getOwnPropertyNames(t);if(e.some(o=>i.includes(o))||e.every(o=>t[o].isFirstChange()))this.render();else if(this.chart&&t.legend){let o=this.getChartConfiguration();o.options&&(this.chart.options=o.options),this.update()}else if(this.chart){let o=this.getChartConfiguration();o.data&&this.chart.config.data&&Object.assign(this.chart.config.data,o.data),o.plugins&&this.chart.config.plugins&&Object.assign(this.chart.config.plugins,o.plugins),o.options&&this.chart.config.options&&Object.assign(this.chart.config.options,o.options),this.update()}}ngOnDestroy(){this.chart&&(this.chart.destroy(),this.chart=void 0),this.subs.forEach(t=>t.unsubscribe())}render(){if(!(!this.isBrowser||!this.ctx))return this.chart&&this.chart.destroy(),this.zone.runOutsideAngular(()=>this.chart=new Fl(this.ctx,this.getChartConfiguration()))}update(t){this.chart&&this.isBrowser&&this.zone.runOutsideAngular(()=>this.chart?.update(t))}hideDataset(t,i){this.chart&&this.isBrowser&&(this.chart.getDatasetMeta(t).hidden=i,this.update())}isDatasetHidden(t){return this.chart?.getDatasetMeta(t)?.hidden}toBase64Image(){return this.chart?.toBase64Image()}themeChanged(t){this.themeOverrides=t,this.chart&&(this.chart.config.options&&Object.assign(this.chart.config.options,this.getChartOptions()),this.update())}getChartOptions(){return[{onHover:(t,i)=>{!this.chartHover.observed&&!this.chartHover.observers?.length||this.zone.run(()=>this.chartHover.emit({event:t,active:i}))},onClick:(t,i)=>{!this.chartClick.observed&&!this.chartClick.observers?.length||this.zone.run(()=>this.chartClick.emit({event:t,active:i}))}},this.themeOverrides??{},this.options??{},{plugins:{legend:{display:this.legend}}}].reduce(s,{})}getChartConfiguration(){return{type:this.type,data:this.getChartData(),options:this.getChartOptions(),plugins:this.plugins}}getChartData(){return this.data?this.data:{labels:this.labels||[],datasets:this.datasets||[]}}static{this.ɵfac=function(i){return new(i||r)}}static{this.ɵdir=Mb({type:r,selectors:[[`canvas`,`baseChart`,``]],inputs:{type:`type`,legend:`legend`,data:`data`,options:`options`,plugins:`plugins`,labels:`labels`,datasets:`datasets`},outputs:{chartClick:`chartClick`,chartHover:`chartHover`},exportAs:[`base-chart`],features:[kv]})}}return r})();var l=(()=>{class t extends f$6{static{this.CHANNEL=`open-support-dialog`}constructor(e=``){super(t.CHANNEL),this.message=e}}return t})();var g=(()=>{class t{constructor(){this.configuration=T$9(w$8),this.events=T$9(l$10),this._enabled=Ze$1(!1),this.enabled=this._enabled.asReadonly()}initialize(){this.configuration.loaded().subscribe(()=>this._load())}open(e=``){this.events.publish(new l(e))}_load(){this._enabled.set(this.configuration.value(`support`,!1))}static{this.ɵfac=function(c){return new(c||t)}}static{this.ɵprov=ce$3({token:t,factory:t.ɵfac,providedIn:`root`})}}return t})();var u=class e{constructor(){this.configuration=T$9(w$8),this.logger=T$9(G$4)}static{this.PAGES=new Map}register(r,t){t.forEach((o,i)=>e.PAGES.set(`${r}_${i}`,o))}getUrl(r,t){switch(r){case`DOCUMENTATION`:return this.getDocumentationUrl(t);case`TUTORIAL`:return this.getTutorialUrl(t,`url`);case`THIRD_PARTY`:return this.getThirdPartyUrl(t)}}getExtUrl(r,t){return r===`DOCUMENTATION`?this.getDocumentationUrl(t):this.getTutorialUrl(t,`extUrl`)}getDocumentationUrl(r){let t=e.PAGES.get(`DOCUMENTATION_${r}`);return t?this.configuration.docUrl(t):(this.logger.error(`HelpPageService`,`documentation not found for ${r}`),this.configuration.docUrl(`/`))}getTutorialUrl(r,t){let o=this.configuration.value(`tutorial`,{url:``,globalUrl:``,extUrl:``}),i=e.PAGES.get(`TUTORIAL_${r}`);return i?o[t].replace(`<id>`,i):(this.logger.error(`HelpPageService`,`tutorial not found for ${r}`),o.globalUrl)}getThirdPartyUrl(r){return e.PAGES.get(`THIRD_PARTY_${r}`)}static{this.ɵfac=function(t){return new(t||e)}}static{this.ɵprov=ce$3({token:e,factory:e.ɵfac,providedIn:`root`})}};var d=[`*`];var m=(()=>{class i{labelPosition=`after`;static ɵfac=function(n){return new(n||i)};static ɵcmp=bb({type:i,selectors:[[``,`mat-internal-form-field`,``]],hostAttrs:[1,`mdc-form-field`,`mat-internal-form-field`],hostVars:2,hostBindings:function(n,t){n&2&&Mm$1(`mdc-form-field--align-en
1791d`,t.labelPosition===`before`)},inputs:{labelPosition:`labelPosition`},ngContentSelectors:d,decls:1,vars:0,template:function(n,t){n&1&&(vw(),Iw(0))},styles:[`.mat-internal-form-field {
1792  -moz-osx-font-smoothing: grayscale;
1793  -webkit-font-smoothing: antialiased;
1794  display: inline-flex;
1795  align-items: center;
1796  vertical-align: middle;
1797}
1798.mat-internal-form-field > label, .mat-internal-form-field > .mat-internal-form-field-label {
1799  margin-left: 0;
1800  margin-right: auto;
1801  padding-left: 4px;
1802  padding-right: 0;
1803  order: 0;
1804}
1805[dir=rtl] .mat-internal-form-field > label, [dir=rtl] .mat-internal-form-field > .mat-internal-form-field-label {
1806  margin-left: auto;
1807  margin-right: 0;
1808  padding-left: 0;
1809  padding-right: 4px;
1810}
1811
1812.mdc-form-field--align-end > label, .mdc-form-field--align-end > .mat-internal-form-field-label {
1813  margin-left: auto;
1814  margin-right: 0;
1815  padding-left: 0;
1816  padding-right: 4px;
1817  order: -1;
1818}
1819[dir=rtl] .mdc-form-field--align-end .mdc-form-field--align-end label, [dir=rtl] .mdc-form-field--align-end .mdc-form-field--align-end .mat-internal-form-field-label {
1820  margin-left: 0;
1821  margin-right: auto;
1822  padding-left: 4px;
1823  padding-right: 0;
1824}
1825`],encapsulation:2})}return i})();var _=(function(E){return E.WORKSPACE=`WORKSPACE`,E.VARIABLE_CSV=`VARIABLE_CVS`,E.VIRTUAL_USER_CREATE_HAR=`VIRTUAL_USER_CREATE_HAR`,E.VIRTUAL_USER_CREATE_HAR_FF=`VIRTUAL_USER_CREATE_HAR_FF`,E.VIRTUAL_USER_CREATE_LIST=`VIRTUAL_USER_CREATE_LIST`,E.VIRTUAL_USER_CREATE_LIST_URLS=`VIRTUAL_USER_CREATE_LIST_URLS`,E.VIRTUAL_USER_CREATE_LIST_API=`VIRTUAL_USER_CREATE_LIST_API`,E.VIRTUAL_USER_CREATE_JMX=`VIRTUAL_USER_CREATE_JMX`,E.VIRTUAL_USER_CREATE_POSTMAN=`VIRTUAL_USER_CREATE_POSTMAN`,E.VIRTUAL_USER_CREATE_FRAGMENTS=`VIRTUAL_USER_CREATE_FRAGMENTS`,E.VIRTUAL_USER_TREE=`VIRTUAL_USER_TREE`,E.VIRTUAL_USER_SEARCH=`VIRTUAL_USER_SEARCH`,E.VIRTUAL_USER_VALIDATION=`VIRTUAL_USER_VALIDATION`,E.FOR_EACH_CONTAINER_ACTION=`FOR_EACH_CONTAINER_ACTION`,E.REGEXP_EXTRACTOR_ACTION=`REGEXP_EXTRACTOR_ACTION`,E.RESPONSE_ASSERTION=`RESPONSE_ASSERTION`,E.JSR223_ACTION=`JSR223_ACTION`,E.SCENARIO_EDIT=`SCENARIO_EDIT`,E.REPORT_EDIT=`REPORT_EDIT`,E.REPORT_LOGS=`REPORT_LOGS`,E.REPORT_SETTINGS=`REPORT_SETTINGS`,E.REPORT_ITEMS=`REPORT_ITEMS`,E.REPORT_AVAILABLE_ITEMS=`REPORT_AVAILABLE_ITEMS`,E.REPORTS_COMPARE=`REPORTS_COMPARE`,E.REPORT_EXPORT=`REPORT_EXPORT`,E})(_||{});var T=new Map([[_.WORKSPACE,`2120240`],[_.VARIABLE_CSV,`2429406`],[_.VIRTUAL_USER_CREATE_HAR,`2106580`],[_.VIRTUAL_USER_CREATE_HAR_FF,`2106580`],[_.VIRTUAL_USER_CREATE_LIST,`2001148`],[_.VIRTUAL_USER_CREATE_LIST_URLS,`2001148`],[_.VIRTUAL_USER_CREATE_LIST_API,`2001148`],[_.VIRTUAL_USER_CREATE_JMX,`2001199`],[_.VIRTUAL_USER_CREATE_POSTMAN,`2029110`],[_.VIRTUAL_USER_CREATE_FRAGMENTS,`2029725`],[_.VIRTUAL_USER_TREE,`2031980`],[_.VIRTUAL_USER_SEARCH,`2034348`],[_.VIRTUAL_USER_VALIDATION,`2107211`],[_.FOR_EACH_CONTAINER_ACTION,`2107112`],[_.REGEXP_EXTRACTOR_ACTION,`2033662`],[_.RESPONSE_ASSERTION,`2001210`],[_.JSR223_ACTION,`2035936`],[_.SCENARIO_EDIT,`2110895`],[_.REPORT_EDIT,`2106606`],[_.REPORT_LOGS,`2161124`],[_.REPORT_SETTINGS,`2120219`],[_.REPORT_ITEMS,`2140140`],[_.REPORT_AVAILABLE_ITEMS,`2140140`],[_.REPORTS_COMPARE,`2110906`],[_.REPORT_EXPORT,`2110899`]]);var R=(function(E){return E.HOME=`HOME`,E.EE_CONFIGURATION_ADVERTISED_SERVER=`EE_CONFIGURATION_ADVERTISED-SERVER`,E.EE_CONFIGURATION=`EE_CONFIGURATION`,E.ACCESS_PRIVACY=`ACCESS_PRIVACY`,E.ACCESS_TOS=`ACCESS_TOS`,E.USER_PROFILE=`USER_PROFILE`,E.TWO_FACTOR_ENABLE=`TWO_FACTOR_ENABLE`,E.TWO_FACTOR_DISABLE=`TWO_FACTOR_DISABLE`,E.USER_PROFILE_BILLING_INFO=`USER_PROFILE_BILLING_INFO`,E.USER_PROFILE_EMAIL=`USER_PROFILE_EMAIL`,E.USER_PROFILE_PASSWORD=`USER_PROFILE_PASSWORD`,E.USER_PROFILE_API_KEY=`USER_PROFILE_API_KEY`,E.USER_PROFILE_SESSIONS=`USER_PROFILE_SESSIONS`,E.USER_PROFILE_CONNECTED_APPS=`USER_PROFILE_CONNECTED_APPS`,E.USER_PROFILE_APPEARANCE=`USER_PROFILE_APPEARANCE`,E.SUBSCRIPTION_CREATE=`SUBSCRIPTION_CREATE`,E.SUBSCRIPTION_LIST=`SUBSCRIPTION_LIST`,E.SUBSCRIPTION_SHARING=`SUBSCRIPTION_SHARING`,E.SUBSCRIPTION_AWAITING=`SUBSCRIPTION_AWAITING`,E.SUBSCRIPTION_NEW_SHARE=`SUBSCRIPTION_NEW_SHARE`,E.SUBSCRIPTION_INSPECT_SHARE=`SUBSCRIPTION_INSPECT_SHARE`,E.INVOICES_LIST=`INVOICES_LIST`,E.ADMIN_CORRELATION_RULES=`ADMIN_CORRELATION_RULES`,E.ADMIN_USERS=`ADMIN_USERS`,E.ADMIN_USER_SESSIONS=`ADMIN_USER_SESSIONS`,E.ADMIN_OAUTH_CLIENTS=`ADMIN_OAUTH_CLIENTS`,E.ADMIN_USER_ACTIVITY=`ADMIN_USER_ACTIVITY`,E.ADMIN_AGENTS=`ADMIN_AGENTS`,E.ADMIN_CLOUD_INSTANCES=`ADMIN_CLOUD_INSTANCES`,E.ADMIN_SSO=`ADMIN_SSO`,E.ADMIN_WORKSPACES=`ADMIN_WORKSPACES`,E.WORKSPACE=`WORKSPACE`,E.WORKSPACE_CREATE=`WORKSPACE_CREATE`,E.WORKSPACE_MEMBER=`WORKSPACE_MEMBER`,E.WORKSPACES=`WORKSPACES`,E.QUICK_START=`QUICK_START`,E.DOCKER_PROVIDERS=`DOCKER_PROVIDERS`,E.DOCKER_PROVIDER_EDIT=`DOCKER_PROVIDER_EDIT`,E.DOCKER_PROVIDER_AGENT=`DOCKER_PROVIDER_AGENT`,E.DOCKER_PROVIDER_START_AGENT=`DOCKER_PROVIDER_START_AGENT`,E.DOCKER_PROVIDER_SHARE=`DOCKER_PROVIDER_SHARE`,E.DOCKER_PROVIDER_STATIC_IPS=`DOCKER_PROVIDER_STATIC_IPS`,E.DOCKER_PROVIDER_CREATE_ON_PREMISE=`DOCKER_PROVIDER_CREATE_OnPremiseProviderConfig`,E.DOCKER_PROVIDER_CREATE_AMAZON=`DOCKER_PROVIDER_CREATE_AmazonProviderConfig`,E.DOCKER_PROVIDER_CREATE_AZURE=`DOCKER_PROVIDER_CREATE_AzureProviderConfig`,E.DOCKER_PROVIDER_CREATE_DO=`DOCKER_PROVIDER_CREATE_DigitalOceanProviderConfig`,E.DOCKER_PROVIDER_CREATE_REGIONS_ON_PREMISE=`DOCKER_PROVIDER_CREATE_REGIONS_OnPremiseProviderConfig`,E.DOCKER_PROVIDER_CREATE_REGIONS_AMAZON=`DOCKER_PROVIDER_CREATE_REGIONS_AmazonProviderConfig`,E.DOCKER_PROVIDER_CREATE_REGIONS_AZURE=`DOCKER_PROVIDER_CREATE_REGIONS_AzureProviderConfig`,E.DOCKER_PROVIDER_CREATE_REGIONS_DO=`DOCKER_PROVIDER_CREATE_REGIONS_DigitalOceanProviderConfig`,E.DOCKER_PROVIDER_CREATE_MEMORY=`DOCKER_PROVIDER_CREATE_MEMORY`,
1825E.DOCKER_PROVIDER_MEMORY_USAGE=`DOCKER_PROVIDER_MEMORY_USAGE`,E.DEDICATED_IPS=`DEDICATED_IPS`,E.NOTIFICATIONS=`NOTIFICATIONS`,E.NOTIFICATIONS_EVENTS=`NOTIFICATIONS_EVENTS`,E.NOTIFICATION_TEAMS=`NOTIFICATION_TEAMS`,E.NOTIFICATION_SLACK=`NOTIFICATION_SLACK`,E.NOTIFICATION_GOOGLE_CHAT=`NOTIFICATION_GOOGLE_CHAT`,E.NOTIFICATION_EMAIL=`NOTIFICATION_EMAIL`,E.NOTIFICATION_HTTP=`NOTIFICATION_HTTP`,E.NOTIFICATION_JIRA=`NOTIFICATION_JIRA`,E.AUDIT_LOGS=`AUDIT_LOGS`,E.PROJECT=`PROJECT`,E.PROJECT_MOVE=`PROJECT_MOVE`,E.PROJECTS=`PROJECTS`,E.PROJECT_CREATE=`PROJECT_CREATE`,E.PROJECT_TAGS=`PROJECT_TAGS`,E.VIRTUAL_USER=`VIRTUAL_USER`,E.VIRTUAL_USER_CREATE=`VIRTUAL_USER_CREATE`,E.VIRTUAL_USER_CREATE_SAMPLE=`VIRTUAL_USER_CREATE_SAMPLE`,E.VIRTUAL_USER_CREATE_LIST=`VIRTUAL_USER_CREATE_LIST`,E.VIRTUAL_USER_CREATE_LIST_URLS=`VIRTUAL_USER_CREATE_LIST_URLS`,E.VIRTUAL_USER_CREATE_LIST_API=`VIRTUAL_USER_CREATE_LIST_API`,E.VIRTUAL_USER_CREATE_LIST_SELENIUM=`VIRTUAL_USER_CREATE_LIST_SELENIUM`,E.VIRTUAL_USER_CREATE_HAR=`VIRTUAL_USER_CREATE_HAR`,E.VIRTUAL_USER_CREATE_HAR_CHROME=`VIRTUAL_USER_CREATE_HAR_CHROME`,E.VIRTUAL_USER_CREATE_HAR_FF=`VIRTUAL_USER_CREATE_HAR_FF`,E.VIRTUAL_USER_CREATE_HAR_FIDDLER=`VIRTUAL_USER_CREATE_HAR_FIDDLER`,E.VIRTUAL_USER_CREATE_HAR_CHARLES=`VIRTUAL_USER_CREATE_HAR_CHARLES`,E.VIRTUAL_USER_CREATE_HAR_EDGE=`VIRTUAL_USER_CREATE_HAR_EDGE`,E.VIRTUAL_USER_CREATE_HAR_SAFARI=`VIRTUAL_USER_CREATE_HAR_SAFARI`,E.VIRTUAL_USER_CREATE_HAR_OPERA_GX=`VIRTUAL_USER_CREATE_HAR_OPERA_GX`,E.VIRTUAL_USER_CREATE_HAR_CONTAINER_AUTOMATIC=`VIRTUAL_USER_CREATE_HAR_CONTAINER_AUTOMATIC`,E.VIRTUAL_USER_CREATE_HAR_CONTAINER_MANUAL=`VIRTUAL_USER_CREATE_HAR_CONTAINER_MANUAL`,E.VIRTUAL_USER_CREATE_JMX=`VIRTUAL_USER_CREATE_JMX`,E.VIRTUAL_USER_CREATE_POSTMAN=`VIRTUAL_USER_CREATE_POSTMAN`,E.VIRTUAL_USER_CREATE_FRAGMENTS=`VIRTUAL_USER_CREATE_FRAGMENTS`,E.VIRTUAL_USER_CREATE_PLAYWRIGHT=`VIRTUAL_USER_CREATE_PLAYWRIGHT`,E.VIRTUAL_USER_CREATE_HAR_FF_RECORD=`VIRTUAL_USER_CREATE_HAR_FF_RECORD`,E.VIRTUAL_USERS=`VIRTUAL_USERS`,E.VIRTUAL_USER_TREE=`VIRTUAL_USER_TREE`,E.VIRTUAL_USER_ACTIONS=`VIRTUAL_USER_ACTIONS`,E.VIRTUAL_USER_TRASH=`VIRTUAL_USER_TRASH`,E.VIRTUAL_USER_SEARCH=`VIRTUAL_USER_SEARCH`,E.VIRTUAL_USER_SEARCH_DIALOG=`VIRTUAL_USER_SEARCH_DIALOG`,E.VIRTUAL_USER_VALIDATION=`VIRTUAL_USER_VALIDATION`,E.VIRTUAL_USER_SANITY_CHECK=`VIRTUAL_USER_SANITY_CHECK`,E.VIRTUAL_USER_AUTOCOMPLETE=`VIRTUAL_USER_AUTOCOMPLETE`,E.VIRTUAL_USER_LOGS=`VIRTUAL_USER_LOGS`,E.VIRTUAL_USER_COPY=`VIRTUAL_USER_COPY`,E.VIRTUAL_USER_EDIT_METADATA=`VIRTUAL_USER_EDIT_METADATA`,E.REGEXP_CORRELATION_RULE=`REGEXP_CORRELATION_RULE`,E.HTML_CORRELATION_RULE=`HTML_CORRELATION_RULE`,E.JSON_CORRELATION_RULE=`JSON_CORRELATION_RULE`,E.JMESPATH_CORRELATION_RULE=`JMESPATH_CORRELATION_RULE`,E.XPATH1_CORRELATION_RULE=`XPATH1_CORRELATION_RULE`,E.XPATH2_CORRELATION_RULE=`XPATH2_CORRELATION_RULE`,E.VARIABLE_CONSTANT=`VARIABLE_CONSTANT`,E.VARIABLE_RANDOM=`VARIABLE_RANDOM`,E.VARIABLE_COUNTER=`VARIABLE_COUNTER`,E.VARIABLE_CSV=`VARIABLE_CSV`,E.VARIABLE_SECRET=`VARIABLE_SECRET`,E.VARIABLES=`VARIABLES`,E.VARIABLES_USAGE=`VARIABLES_USAGE`,E.SERVER=`SERVER`,E.SERVERS=`SERVERS`,E.REPLACE_SERVERS=`REPLACE_SERVERS`,E.CORRELATION_RULES=`CORRELATION_RULES`,E.CORRELATION_RULES_APPLY=`CORRELATION_RULES_APPLY`,E.FILES=`FILES`,E.FAKE_DATA_GENERATION=`FAKE_DATA_GENERATION`,E.SLA_PROFILE_ACTION=`SLA_PROFILE_ACTION`,E.CONTAINER_ACTION=`CONTAINER_ACTION`,E.LINK_ACTION=`LINK_ACTION`,E.LINK_ACTION_DIALOG=`LINK_ACTION_DIALOG`,E.FLOW_CONTROL_CONTAINER_ACTION=`FLOW_CONTROL_CONTAINER_ACTION`,E.FOR_EACH_CONTAINER_ACTION=`FOR_EACH_CONTAINER_ACTION`,E.IF_CONTAINER_ACTION=`IF_CONTAINER_ACTION`,E.IF_CONTAINER_ACTION_CONFIGURE=`IF_CONTAINER_ACTION_CONFIGURE`,E.LOOP_CONTAINER_ACTION=`LOOP_CONTAINER_ACTION`,E.WHILE_CONTAINER_ACTION=`WHILE_CONTAINER_ACTION`,E.WHILE_CONTAINER_ACTION_CONFIGURE=`WHILE_CONTAINER_ACTION_CONFIGURE`,E.RANDOM_CONTAINER_ACTION=`RANDOM_CONTAINER_ACTION`,E.JSR223_ACTION=`JSR223_ACTION`,E.DELAY_ACTION=`DELAY_ACTION`,E.SET_RUNTIME_PROPERTY_ACTION=`SET_RUNTIME_PROPERTY_ACTION`,E.HTTP_REQUEST_ACTION=`HTTP_REQUEST_ACTION`,E.JMETER_GENERIC_ACTION=`JMETER_GENERIC_ACTION`,E.DEBUG_ACTION=`DEBUG_ACTION`,E.RESPONSE_ASSERTION=`RESPONSE_ASSERTION`,E.RESPONSE_ASSERTION_CONFIGURE=`RESPONSE_ASSERTION_CONFIGURE`,E.JSON_ASSERTION=`JSON_ASSERTION`,E.JSON_ASSERTION_CONFIGURE=`JSON_ASSERTION_CONFIGURE`,E.REGEXP_EXTRACTOR_ACTION=`REGEXP_EXTRACTOR_ACTION`,E.REGEXP_EXTRACTOR_ACTION_CONFIGURE=`REGEXP_EXTRACTOR_ACTION_CONFIGURE`,E.HTML_EXTRACTOR_ACTION=`HTML_EXTRACTOR_ACTION`,E.JSON_EXTRACTOR_ACTION=`JSON_EXTRACTOR_ACTION`,E.JSON_EXTRACTOR_ACTION_CONFIGURE=`JSON_EXTRACTOR_ACTION_CONFIGURE`,E.JMESPATH_EXTRACTOR_ACTION=`JMESPATH_EXTRACTOR_ACTION`,E.JMESPATH_EXTRACTOR_ACTION_CONFIGURE=`JMESPATH_EXTRACTOR_ACTION_CONFIGURE`,E.XPATH1_EXTRACTOR_ACTION=`XPATH1_EXTRACTOR_ACTION`,E.XPATH2_EXTRACTOR_ACTION=`XPATH2_EXTRACTOR_ACTION`,E.WEB_DRIVER=`WEB_DRIVER`,E.PUT_QUEUE_ACTION=`PUT_QUEUE_ACTION`,E.POLL_QUEUE_ACTION=`POLL_QUEUE_ACTION`,E.PLAYWRIGHT_CONFIGURATION_ACTION=`PLAYWRIGHT_CONFIGURATION_ACTION`,E.PLAYWRIGHT_SPEC_ACTION=`PLAYWRIGHT_SPEC_ACTION`,E.SLA_PROFILES=`SLA_PROFILES`,E.SLA_PROFILE=`SLA_PROFILE`,E.JMETER_FUNCTION_THREADNUM=`JMETER_FUNCTION_THREADNUM`,E.JMETER_FUNCTION_ITERATIONNUM=`JMETER_FUNCTION_ITERATIONNUM`,E.JMETER_FUNCTION_THREADGROUPNAME=`JMETER_FUNCTION_THREADGROUPNAME`,E.JMETER_FUNCTION_SAMPLERNAME=`JMETER_FUNCTION_SAMPLERNAME`,E.JMETER_FUNCTION_MACHINEIP=`JMETER_FUNCTION_MACHINEIP`,E.JMETER_FUNCTION_MACHINENAME=`JMETER_FUNCTION_MACHINENAME`,E.JMETER_FUNCTION_TESTPLANNAME=`JMETER_FUNCTION_TESTPLANNAME`,E.JMETER_FUNCTION_LOG=`JMETER_FUNCTION_LOG`,E.JMETER_FUNCTION_LOGN=`JMETER_FUNCTION_LOGN`,E.JMETER_FUNCTION_STRINGFROMFILE=`JMETER_FUNCTION_STRINGFROMFILE`,E.JMETER_FUNCTION_FILETOSTRING=`JMETER_FUNCTION_FILETOSTRING`,E.JMETER_FUNCTION_XPATH=`JMETER_FUNCTION_XPATH`,E.JMETER_FUNCTION_STRINGTOFILE=`JMETER_FUNCTION_STRINGTOFILE`,E.JMETER_FUNCTION_CSVREAD=`JMETER_FUNCTION_CSVREAD`,E.JMETER_FUNCTION_TIME=`JMETER_FUNCTION_TIME`,E.JMETER_FUNCTION_TIMESHIFT=`JMETER_FUNCTION_TIMESHIFT`,E.JMETER_FUNCTION_DATETIMECONVERT=`JMETER_FUNCTION_DATETIMECONVERT`,E.JMETER_FUNCTION_COUNTER=`JMETER_FUNCTION_COUNTER`,E.JMETER_FUNCTION_DIGEST=`JMETER_FUNCTION_DIGEST`,E.JMETER_FUNCTION_INTSUM=`JMETER_FUNCTION_INTSUM`,E.JMETER_FUNCTION_LONGSUM=`JMETER_FUNCTION_LONGSUM`,E.JMETER_FUNCTION_DOUBLESUM=`JMETER_FUNCTION_DOUBLESUM`,E.JMETER_FUNCTION_RANDOM=`JMETER_FUNCTION_RANDOM`,E.JMETER_FUNCTION_RANDOMDATE=`JMETER_FUNCTION_RANDOMDATE`,E.JMETER_FUNCTION_RANDOMFROMMULTIPLEVARS=`JMETER_FUNCTION_RANDOMFROMMULTIPLEVARS`,E.JMETER_FUNCTION_RANDOMSTRING=`JMETER_FUNCTION_RANDOMSTRING`,E.JMETER_FUNCTION_CHOOSERANDOM=`JMETER_FUNCTION_CHOOSERANDOM`,E.JMETER_FUNCTION_UUID=`JMETER_FUNCTION_UUID`,E.JMETER_FUNCTION_IF=`JMETER_FUNCTION_IF`,E.JMETER_FUNCTION_ISPROPDEFINED=`JMETER_FUNCTION_ISPROPDEFINED`,E.JMETER_FUNCTION_PROPERTY=`JMETER_FUNCTION_PROPERTY`,E.JMETER_FUNCTION_SETPROPERTY=`JMETER_FUNCTION_SETPROPERTY`,E.JMETER_FUNCTION_ENV=`JMETER_FUNCTION_ENV`,E.JMETER_FUNCTION_GROOVY=`JMETER_FUNCTION_GROOVY`,E.JMETER_FUNCTION_JAVASCRIPT=`JMETER_FUNCTION_JAVASCRIPT`,E.JMETER_FUNCTION_SPLIT=`JMETER_FUNCTION_SPLIT`,E.JMETER_FUNCTION_EVAL=`JMETER_FUNCTION_EVAL`,E.JMETER_FUNCTION_EVALVAR=`JMETER_FUNCTION_EVALVAR`,E.JMETER_FUNCTION_V=`JMETER_FUNCTION_V`,E.JMETER_FUNCTION_ISVARDEFINED=`JMETER_FUNCTION_ISVARDEFINED`,E.JMETER_FUNCTION_ISDEFINED=`JMETER_FUNCTION_ISDEFINED`,E.JMETER_FUNCTION_CHAR=`JMETER_FUNCTION_CHAR`,E.JMETER_FUNCTION_CHANGECASE=`JMETER_FUNCTION_CHANGECASE`,E.JMETER_FUNCTION_REGEXFUNCTION=`JMETER_FUNCTION_REGEXFUNCTION`,E.JMETER_FUNCTION_STRLEN=`JMETER_FUNCTION_STRLEN`,E.JMETER_FUNCTION_SUBSTRING=`JMETER_FUNCTION_SUBSTRING`,E.JMETER_FUNCTION_STRREPLACE=`JMETER_FUNCTION_STRREPLACE`,E.JMETER_FUNCTION_MD5=`JMETER_FUNCTION_MD5`,E.JMETER_FUNCTION_UNESCAPE=`JMETER_FUNCTION_UNESCAPE`,E.JMETER_FUNCTION_ESCAPEHTML=`JMETER_FUNCTION_ESCAPEHTML`,E.JMETER_FUNCTION_UNESCAPEHTML=`JMETER_FUNCTION_UNESCAPEHTML`,E.JMETER_FUNCTION_ESCAPEOROREGEXPCHARS=`JMETER_FUNCTION_ESCAPEOROREGEXPCHARS`,E.JMETER_FUNCTION_ESCAPEXML=`JMETER_FUNCTION_ESCAPEXML`,E.JMETER_FUNCTION_URLENCODE=`JMETER_FUNCTION_URLENCODE`,E.JMETER_FUNCTION_URLDECODE=`JMETER_FUNCTION_URLDECODE`,E.JMETER_FUNCTION_BASE64ENCODE=`JMETER_FUNCTION_BASE64ENCODE`,E.JMETER_FUNCTION_BASE64DECODE=`JMETER_FUNCTION_BASE64DECODE`,E.JMETER_FUNCTION_JMETERTHREADLAST_SAMPLE_OK=`JMETER_FUNCTION_JMETERTHREADLAST_SAMPLE_OK`,E.JMETER_FUNCTION_STARTHMS=`JMETER_FUNCTION_STARTHMS`,E.JMETER_FUNCTION_STARTMS=`JMETER_FUNCTION_STARTMS`,E.JMETER_FUNCTION_STARTYMD=`JMETER_FUNCTION_STARTYMD`,E.JMETER_FUNCTION_TESTSTARTMS=`JMETER_FUNCTION_TESTSTARTMS`,E.JMETER_FUNCTION_JMETERU_T=`JMETER_FUNCTION_JMETERU_T`,E.SCENARIOS=`SCENARIOS`,E.SCENARIO_LAUNCH=`SCENARIO_LAUNCH`,E.SCENARIO_EDIT=`SCENARIO_EDIT`,E.SCENARIO_SETTINGS_SCALING=`SCENARIO_SETTINGS_SCALING`,E.SCENARIO_SETTINGS_METADATA=`SCENARIO_SETTINGS_METADATA`,E.SCENARIO_EXPORT=`SCENARIO_EXPORT`,E.USER_PROFILE_VIRTUAL_USER=`USER_PROFILE_VIRTUAL_USER`,E.USER_PROFILE_LOCATION=`USER_PROFILE_LOCATION`,E.USER_PROFILE_STRATEGY_LOAD=`USER_PROFILE_STRATEGY_LOAD`,E.USER_PROFILE_STRATEGY_POLICIES=`USER_PROFILE_STRATEGY_POLICIES`,E.USER_PROFILE_STRATEGY_SETUP=`USER_PROFILE_STRATEGY_SETUP`,E.USER_PROFILE_STRATEGY_TEARDOWN=`USER_PROFILE_STRATEGY_TEARDOWN`,E.USER_PROFILE_STRATEGY_RESCALE=`USER_PROFILE_STRATEGY_RESCALE`,E.USER_PROFILE_STRATEGY_TRANSFORM=`USER_PROFILE_STRATEGY_TRANSFORM`,E.USER_PROFILE_ADVANCED_NAME=`USER_PROFILE_ADVANCED_NAME`,E.USER_PROFILE_ADVANCED_DEVICE=`USER_PROFILE_ADVANCED_DEVICE`,E.USER_PROFILE_ADVANCED_DNS=`USER_PROFILE_ADVANCED_DNS`,E.USER_PROFILE_ADVANCED_JMETER=`USER_PROFILE_ADVANCED_JMETER`,E.USER_PROFILE_ADVANCED_MEMORY=`USER_PROFILE_ADVANCED_MEMORY`,
1825E.APM=`APM`,E.EXTERNAL_LIVE_REPORTING=`EXTERNAL_LIVE_REPORTING`,E.EXTERNAL_LIVE_REPORTING_DATADOG=`EXTERNAL_LIVE_REPORTING_DATADOG`,E.EXTERNAL_LIVE_REPORTING_INFLUXDB=`EXTERNAL_LIVE_REPORTING_INFLUXDB`,E.EXTERNAL_LIVE_REPORTING_GRAPHITE=`EXTERNAL_LIVE_REPORTING_GRAPHITE`,E.EXTERNAL_LIVE_REPORTING_DYNATRACE=`EXTERNAL_LIVE_REPORTING_DYNATRACE`,E.EXTERNAL_LIVE_REPORTING_ELASTICSEARCH=`EXTERNAL_LIVE_REPORTING_ELASTICSEARCH`,E.INTEGRATION=`INTEGRATION`,E.INTEGRATION_JIRA=`INTEGRATION_JIRA`,E.INTEGRATION_MAVEN=`INTEGRATION_MAVEN`,E.INTEGRATION_JENKINS=`INTEGRATION_JENKINS`,E.INTEGRATION_GITLAB=`INTEGRATION_GITLAB`,E.INTEGRATION_AZURE_DEVOPS=`INTEGRATION_AZURE_DEVOPS`,E.INTEGRATION_GITHUB_ACTIONS=`INTEGRATION_GITHUB_ACTIONS`,E.INTEGRATION_HTTP_API=`INTEGRATION_HTTP_API`,E.MONITORS=`MONITORS`,E.MONITOR_CREATE=`MONITOR_CREATE`,E.MONITOR_CREATE_SELECT_TYPE=`MONITOR_CREATE_SELECT_TYPE`,E.MONITOR_CREATE_CONFIGURE=`MONITOR_CREATE_CONFIGURE`,E.MONITOR_CREATE_APPLICATIONS=`MONITOR_CREATE_APPLICATIONS`,E.MONITOR_CREATE_COUNTERS=`MONITOR_CREATE_COUNTERS`,E.HOW_MONITORING_WORKS=`HOW_MONITORING_WORKS`,E.NEW_RELIC_APM=`NEW_RELIC_APM`,E.LIGHTTPD=`LIGHTTPD`,E.NGINX=`NGINX`,E.APACHE_HTTPD=`APACHE_HTTPD`,E.PROMETHEUS=`PROMETHEUS`,E.APACHE_TOMCAT=`APACHE_TOMCAT`,E.GENERIC_JMX=`GENERIC_JMX`,E.LINUX=`LINUX`,E.MYSQL=`MYSQL`,E.SLA=`SLA`,E.MONGO_DB=`MONGO_DB`,E.ORACLE_DB=`ORACLE_DB`,E.POSTGRES=`POSTGRES`,E.SQL_SERVER=`SQL_SERVER`,E.WINDOWS=`WINDOWS`,E.IIS=`IIS`,E.MONITOR_EDIT=`MONITOR_EDIT`,E.MONITOR_CONNECTION_TRASH=`MONITOR_CONNECTION_TRASH`,E.COUNTER_GROUP=`CounterGroup`,E.NUMBER_COUNTER=`NumberCounter`,E.RELATIVE_COUNTER=`RelativeCounter`,E.ARITHMETIC_COUNTER=`ArithmeticCounter`,E.CONSTANT_COUNTER=`ConstantCounter`,E.JOINING_TEXT_COUNTER=`JoiningTextCounter`,E.TEXT_COUNTER=`TextCounter`,E.THRESHOLD=`Threshold`,E.SCHEDULER=`SCHEDULER`,E.SCHEDULER_CREATE_JOB=`SCHEDULER_CREATE_JOB`,E.SCHEDULED_JOBS=`SCHEDULED_JOBS`,E.SCHEDULED_JOB=`SCHEDULED_JOB`,E.SCHEDULED_RUNS=`SCHEDULED_RUNS`,E.SCHEDULED_JOB_CREATE=`SCHEDULED_JOB_CREATE`,E.SCHEDULED_JOB_SCHEDULE_SCENARIO=`SCHEDULED_JOB_SCHEDULE_SCENARIO`,E.SCHEDULED_JOB_CRON=`SCHEDULED_JOB_CRON`,E.JTL_IMPORT=`JTL_IMPORT`,E.REPORTS=`REPORTS`,E.REPORTS_COMPARISON=`REPORTS_COMPARISON`,E.REPORTS_TREND=`REPORTS_TREND`,E.REPORT_EDIT=`REPORT_EDIT`,E.REPORT_SETTINGS=`REPORT_SETTINGS`,E.REPORT_SETTINGS_METADATA=`REPORT_SETTINGS_metadata`,E.REPORT_SETTINGS_APDEX=`REPORT_SETTINGS_apdex`,E.REPORT_SETTINGS_GRAPHS=`REPORT_SETTINGS_graphs`,E.REPORT_SETTINGS_COLORS=`REPORT_SETTINGS_colors`,E.REPORT_SETTINGS_TIME_RANGE=`REPORT_SETTINGS_time-range`,E.REPORT_SETTINGS_COVER=`REPORT_SETTINGS_cover`,E.REPORT_SETTINGS_TABLES=`REPORT_SETTINGS_tables`,E.REPORT_SETTINGS_PRINT=`REPORT_SETTINGS_print`,E.REPORT_SETTINGS_COMPARISON=`REPORT_SETTINGS_comparison`,E.REPORT_EXPORT_CHART=`REPORT_EXPORT_CHART`,E.REPORT_EXPORT_TABLE=`REPORT_EXPORT_TABLE`,E.REPORTS_COMPARE=`REPORTS_COMPARE`,E.REPORT_LAUNCH=`REPORT_LAUNCH`,E.REPORT_LOGS=`REPORT_LOGS`,E.REPORT_REMOTE_CONTROL=`REPORT_REMOTE_CONTROL`,E.REPORT_EXPORT=`REPORT_EXPORT`,E.REPORT_EXPORT_SETTINGS=`REPORT_EXPORT_SETTINGS`,E.REPORT_TEMPLATES=`REPORT_TEMPLATES`,E.ERROR_REPORT_ITEM=`ErrorsReportItem`,E.LINE_CHART_REPORT_ITEM=`LineChartReportItem`,E.BAR_CHART_REPORT_ITEM=`BarChartReportItem`,E.PERCENTILE_CHART_REPORT_ITEM=`PercentilesChartReportItem`,E.PIE_CHART_REPORT_ITEM=`PieChartReportItem`,E.STACKED_CHART_REPORT_ITEM=`StackedChartReportItem`,E.STATISTIC_TABLE_REPORT_ITEM_NORMAL=`StatisticTableReportItem_NORMAL`,E.STATISTIC_TABLE_REPORT_ITEM_DELTA=`StatisticTableReportItem_DELTA`,E.STATISTIC_TREE_REPORT_ITEM=`StatisticTreeReportItem`,E.SUMMARY_REPORT_ITEM=`SummaryReportItem`,E.SYNOPSIS_REPORT_ITEM=`SynopsisReportItem`,E.TEXT_REPORT_ITEM=`TextReportItem`,E.TEXT_REPORT_ITEM_SLA=`TextReportItem_SLA`,E.TEXTUAL_MONITOR_REPORT_ITEM=`TextualMonitorReportItem`,E.THRESHOLD_ALARM_REPORT_ITEM=`ThresholdAlarmReportItem`,E.TOP_REPORT_ITEM=`TopReportItem`,E.TREND_CONFIG_REPORT_ITEM=`TrendConfigReportItem`,E.AREA_RANGE_CHART_REPORT_ITEM=`AreaRangeChartReportItem`,E.INSIGHT_REPORT_ITEM=`InsightsReportItem`,E.LOAD_GENERATORS_CHART_REPORT_ITEM_HOSTS=`LoadGeneratorsChartReportItem_HOSTS`,E.LOAD_GENERATORS_CHART_REPORT_ITEM_JVMS=`LoadGeneratorsChartReportItem_JVMS`,E.LOAD_GENERATORS_TREE_REPORT_ITEM=`LoadGeneratorsTreeReportItem`,E.MON
1825ITORS_TABLE_REPORT_ITEM=`MonitorsTableReportItem`,E.INSIGHT_REPORT_ITEM_THROUGHPUT_JAVASCRIPT=`InsightsReportItem_THROUGHPUT_JAVASCRIPT`,E.INSIGHT_REPORT_ITEM_THROUGHPUT_IMAGE_OPTIMIZE=`InsightsReportItem_THROUGHPUT_IMAGE_OPTIMIZE`,E.INSIGHT_REPORT_ITEM_THROUGHPUT_IMAGE_NEW_FORMAT=`InsightsReportItem_THROUGHPUT_IMAGE_NEW_FORMAT`,E.INSIGHT_REPORT_ITEM_THROUGHPUT_CSS=`InsightsReportItem_THROUGHPUT_CSS`,E.INSIGHT_REPORT_ITEM_OVERALL_ERROR_5XX=`InsightsReportItem_OVERALL_ERROR_5XX`,E.INSIGHT_REPORT_ITEM_OVERALL_ERROR_4XX=`InsightsReportItem_OVERALL_ERROR_4XX`,E.INSIGHT_REPORT_ITEM_OVERALL_ERROR_NONE=`InsightsReportItem_OVERALL_ERROR_NONE`,E.INSIGHT_REPORT_ITEM_THRESHOLD_ALARM=`InsightsReportItem_THRESHOLD_ALARM`,E.INSIGHT_REPORT_ITEM_HIT_RATE_INFLEXION_POINT=`InsightsReportItem_HIT_RATE_INFLEXION_POINT`,E.INSIGHT_REPORT_ITEM_RESPONSE_TIME_STD_DEVIATION=`InsightsReportItem_RESPONSE_TIME_STD_DEVIATION`,E.INSIGHT_REPORT_ITEM_RESPONSE_TIME_GLOBAL_AVG=`InsightsReportItem_RESPONSE_TIME_GLOBAL_AVG`,E.INSIGHT_REPORT_ITEM_STEP_BY_STEP_RESPONSE_TIME=`InsightsReportItem_STEP_BY_STEP_RESPONSE_TIME`,E.INSIGHT_REPORT_ITEM_PEAK_OF_ERRORS=`InsightsReportItem_PEAK_OF_ERRORS`,E.INSIGHT_REPORT_ITEM_CONNECT_TIME_LATENCY_INCREASE=`InsightsReportItem_CONNECT_TIME_LATENCY_INCREASE`,E.INSIGHT_REPORT_ITEM_CONNECT_TIME_VS_RESPONSE_TIME=`InsightsReportItem_CONNECT_TIME_VS_RESPONSE_TIME`,E.INSIGHT_REPORT_ITEM_LATENCY_VS_RESPONSE_TIME=`InsightsReportItem_LATENCY_VS_RESPONSE_TIME`,E.REPORT_ITEM_INSPECT_ERROR=`REPORT_ITEM_INSPECT_ERROR`,E.REPORT_ITEMS=`REPORT_ITEMS`,E.REPORT_AVAILABLE_ITEMS=`REPORT_AVAILABLE_ITEMS`,E.REPORT_ITEMS_TRASH=`REPORT_ITEMS_TRASH`,E})(R||{});var A=new Map([[R.EE_CONFIGURATION_ADVERTISED_SERVER,`/on-premise-infra/configuration/#advertised-server`],[R.EE_CONFIGURATION,`/on-premise-infra/#configuration`],[R.ACCESS_PRIVACY,`/privacy`],[R.ACCESS_TOS,`/tos`],[R.USER_PROFILE,`/account/profile/`],[R.TWO_FACTOR_ENABLE,`/account/profile/two-factor/#enabling-2fa`],[R.TWO_FACTOR_DISABLE,`/account/profile/two-factor/#disabling-2fa`],[R.USER_PROFILE_BILLING_INFO,`/account/profile/#billing-information`],[R.USER_PROFILE_EMAIL,`/account/profile/#email`],[R.USER_PROFILE_PASSWORD,`/account/profile/#password`],[R.USER_PROFILE_API_KEY,`/account/profile/#apikey`],[R.USER_PROFILE_SESSIONS,`/account/profile/#sessions`],[R.USER_PROFILE_CONNECTED_APPS,`/account/profile/connected-apps/`],[R.USER_PROFILE_APPEARANCE,`/account/profile/`],[R.SUBSCRIPTION_CREATE,`/account/subscriptions/#subscribe-to-new-plan`],[R.SUBSCRIPTION_LIST,`/account/subscriptions/`],[R.SUBSCRIPTION_SHARING,`/account/subscriptions/#subscription-sharing`],[R.SUBSCRIPTION_AWAITING,`/account/subscriptions/#subscription-awaiting`],[R.SUBSCRIPTION_NEW_SHARE,`/account/subscriptions/#new-share`],[R.SUBSCRIPTION_INSPECT_SHARE,`/account/subscriptions/#share-actions`],[R.INVOICES_LIST,`/account/subscriptions/#invoices`],[R.ADMIN_CORRELATION_RULES,`/administration/#frameworks`],[R.ADMIN_USERS,`/administration/#users`],[R.ADMIN_USER_SESSIONS,`/administration/#user-sessions`],[R.ADMIN_OAUTH_CLIENTS,`/administration/oauth-clients/`],[R.ADMIN_USER_ACTIVITY,`/administration/#users-activity`],[R.ADMIN_AGENTS,`/administration/#agents`],[R.ADMIN_CLOUD_INSTANCES,`/administration/`],[R.ADMIN_SSO,`/administration/#sso`],[R.ADMIN_WORKSPACES,`/administration/#workspace`],[R.WORKSPACE,`/workspace/#edit-a-workspace`],[R.WORKSPACE_CREATE,`/workspace/#create-a-workspace`],[R.WORKSPACE_MEMBER,`/workspace/#edit-member-role`],[R.WORKSPACES,`/workspace/`],[R.DOCKER_PROVIDERS,`/on-premise-agent/providers/#providers-list`],[R.DOCKER_PROVIDER_EDIT,`/on-premise-agent/providers/#edit-an-existing-provider`],[R.DOCKER_PROVIDER_AGENT,`/on-premise-agent/provider-type/on-premise/#introduction`],[R.DOCKER_PROVIDER_START_AGENT,`/on-premise-agent/provider-type/on-premise/#start-an-agent`],[R.DOCKER_PROVIDER_SHARE,`/on-premise-agent/providers/#share-a-provider`],[R.DOCKER_PROVIDER_STATIC_IPS,`/on-premise-agent/dedicated-ips/#configuration`],[R.DOCKER_PROVIDER_CREATE_ON_PREMISE,`/on-premise-agent/providers/#create-a-new-provider`],[R.DOCKER_PROVIDER_CREATE_AMAZON,`/on-premise-agent/provider-type/amazon/`],[R.DOCKER_PROVIDER_CREATE_AZURE,`/on-premise-agent/provider-type/microsoft-azure/`],[R.DOCKER_PROVIDER_CREATE_DO,`/on-premise-agent/provider-type/digitalocean/`],[R.DOCKER_PROVIDER_CREATE_REGIONS_ON_PREMISE,`/on-premise-agent/providers/#locations`],[R.DOCKER_PROVIDER_CREATE_REGIONS_AMAZON,`/on-premise-agent/provider-type/amazon/#locations`],[R.DOCKER_PROVIDER_CREATE_REGIONS_AZURE,`/on-premise-agent/provider-type/digitalocean/#locations`],[R.DOCKER_PROVIDER_CREATE_REGIONS_DO,`/on-premise-agent/provider-type/microsoft-azure/#locations`],[R.DOCKER_PROVIDER_CREATE_MEMORY,`/on-premise-agent/providers/#memory`],[R.DOCKER_PROVIDER_MEMORY_USAGE,`/on-premise-agent/providers/#memory-usage`],[R.DEDICATED_IPS,`/on-premise-agent/dedicated-ips/`],[R.NOTIFICATIONS,`/notifications/`],[R.NOTIFICATIONS_EVENTS,`/notifications/#events`],[R.NOTIFICATION_TEAMS,`/notifications/#microsoft-teams`],[R.NOTIFICATION_SLACK,`/notifications/#slack`],[R.NOTIFICATION_GOOGLE_CHAT,`/notifications/#google`],[R.NOTIFICATION_EMAIL,`/notifications/#email`],[R.NOTIFICATION_HTTP,`/notifications/#http`],[R.NOTIFICATION_JIRA,`/notifications/#jira`],[R.AUDIT_LOGS,`/usage-logs/`],[R.PROJECT,`/project/#edit-a-project`],[R.PROJECT_MOVE,`/project/#move-a-project`],[R.PROJECTS,`/project/`],[R.PROJECT_CREATE,`/project/#create-a-project`],[R.PROJECT_TAGS,`/project/#tags`],[R.VIRTUAL_USER,`/design/edit-virtual-user/`],[R.VIRTUAL_USER_CREATE,`/design/#create-virtual-user`],[R.VIRTUAL_USER_CREATE_SAMPLE,`/design/#create-virtual-user`],[R.VIRTUAL_USER_CREATE_LIST,`/design/create-virtual-user/website-rest/`],[R.VIRTUAL_USER_CREATE_LIST_URLS,`/design/create-virtual-user/website-rest/import-website-urls/`],[R.VIRTUAL_USER_CREATE_LIST_API,`/design/create-virtual-user/website-rest/import-rest-api-urls/`],[R.VIRTUAL_USER_CREATE_LIST_SELENIUM,`/design/create-virtual-user/website-rest/record-selenium-web-driver/`],[R.VIRTUAL_USER_CREATE_HAR,`/design/create-virtual-user/har-recorder/`],[R.VIRTUAL_USER_CREATE_HAR_CHROME,`/design/create-virtual-user/har-recorder/#chrome`],[R.VIRTUAL_USER_CREATE_HAR_FF,`/design/create-virtual-user/har-recorder/#others`],[R.VIRTUAL_USER_CREATE_HAR_FIDDLER,`/design/create-virtual-user/har-recorder/#others`],[R.VIRTUAL_USER_CREATE_HAR_CHARLES,`/design/create-virtual-user/har-recorder/#others`],[R.VIRTUAL_USER_CREATE_HAR_EDGE,`/design/create-virtual-user/har-recorder/#others`],[R.VIRTUAL_USER_CREATE_HAR_SAFARI,`/design/create-virtual-user/har-recorder/#others`],[R.VIRTUAL_USER_CREATE_HAR_OPERA_GX,`/design/create-virtual-user/har-recorder/#others`],[R.VIRTUAL_USER_CREATE_HAR_CONTAINER_AUTOMATIC,`/design/create-virtual-user/har-recorder/#others`],[R.VIRTUAL_USER_CREATE_HAR_CONTAINER_MANUAL,`/design/create-virtual-user/har-recorder/#manual`],[R.VIRTUAL_USER_CREATE_JMX,`/design/create-virtual-user/import-jmeter-jmx/`],[R.VIRTUAL_USER_CREATE_POSTMAN,`/design/create-virtual-user/import-postman-collection/`],[R.VIRTUAL_USER_CREATE_FRAGMENTS,`/design/create-virtual-user/import-jmeter-jmx/#module-controllers`],[R.VIRTUAL_USER_CREATE_PLAYWRIGHT,`/design/create-virtual-user/import-playwright-node-project/`],[R.VIRTUAL_USER_CREATE_HAR_FF_RECORD,`/design/create-virtual-user/har-recorder/record-firefox-har/`],[R.VIRTUAL_USERS,`/design/`],[R.VIRTUAL_USER_TREE,`/design/edit-virtual-user/virtual-user-tree/`],[R.VIRTUAL_USER_ACTIONS,`/design/edit-virtual-user/actions/`],[R.VIRTUAL_USER_TRASH,`/design/edit-virtual-user/#trash`],[R.VIRTUAL_USER_SEARCH,`/design/edit-virtual-user/search-and-replace/`],[R.VIRTUAL_USER_SEARCH_DIALOG,`/design/edit-virtual-user/search-and-replace/#advanced-search`],[R.VIRTUAL_USER_VALIDATION,`/design/edit-virtual-user/validation/`],[R.VIRTUAL_USER_SANITY_CHECK,`/design/edit-virtual-user/validation/#sanity-check`],[R.VIRTUAL_USER_AUTOCOMPLETE,`/design/edit-virtual-user/#autocomplete`],[R.VIRTUAL_USER_LOGS,`/analysis/edit-bench-report/test-logs/`],[R.VIRTUAL_USER_COPY,`/design/#c
1825opy-virtual-user`],[R.VIRTUAL_USER_EDIT_METADATA,`/design/edit-virtual-user/#metadatas`],[R.REGEXP_CORRELATION_RULE,`/design/edit-virtual-user/action-types/post-processors/regexp-variable-extractor/`],[R.HTML_CORRELATION_RULE,`/design/edit-virtual-user/action-types/post-processors/css-variable-extractor/`],[R.JSON_CORRELATION_RULE,`/design/edit-virtual-user/action-types/post-processors/jsonpath-variable-extractor/`],[R.JMESPATH_CORRELATION_RULE,`/design/edit-virtual-user/action-types/post-processors/jmespath-variable-extractor/`],[R.XPATH1_CORRELATION_RULE,`/design/edit-virtual-user/action-types/post-processors/xpath1-variable-extractor/`],[R.XPATH2_CORRELATION_RULE,`/design/edit-virtual-user/action-types/post-processors/xpath2-variable-extractor/`],[R.VARIABLE_CONSTANT,`/design/edit-virtual-user/configuration/variables/constant/`],[R.VARIABLE_RANDOM,`/design/edit-virtual-user/configuration/variables/random/`],[R.VARIABLE_COUNTER,`/design/edit-virtual-user/configuration/variables/counter/`],[R.VARIABLE_CSV,`/design/edit-virtual-user/configuration/variables/csv/`],[R.VARIABLE_SECRET,`/design/edit-virtual-user/configuration/variables/secret/`],[R.VARIABLES,`/design/edit-virtual-user/configuration/variables/`],[R.VARIABLES_USAGE,`/design/edit-virtual-user/configuration/variables/#usage`],[R.SERVER,`/design/edit-virtual-user/configuration/servers/#update-server`],[R.SERVERS,`/design/edit-virtual-user/configuration/servers/`],[R.REPLACE_SERVERS,`/design/edit-virtual-user/configuration/servers/#replace-servers`],[R.CORRELATION_RULES,`/design/edit-virtual-user/configuration/auto-correlation/#correlation-rules`],[R.CORRELATION_RULES_APPLY,`/design/edit-virtual-user/configuration/auto-correlation/#apply-correlation-rules`],[R.FILES,`/design/edit-virtual-user/configuration/files/`],[R.FAKE_DATA_GENERATION,`/design/edit-virtual-user/configuration/data-generation`],[R.SLA_PROFILE_ACTION,`/design/edit-virtual-user/action-types/post-processors/sla-action/`],[R.CONTAINER_ACTION,`/design/edit-virtual-user/action-types/logic-actions/container-action/`],[R.LINK_ACTION,`/design/edit-virtual-user/action-types/logic-actions/link-action/`],[R.LINK_ACTION_DIALOG,`/design/edit-virtual-user/action-types/logic-actions/link-action/#move-as-link`],[R.FLOW_CONTROL_CONTAINER_ACTION,`/design/edit-virtual-user/action-types/logic-actions/flow-control-action/`],[R.FOR_EACH_CONTAINER_ACTION,`/design/edit-virtual-user/action-types/logic-actions/foreach-action/`],[R.IF_CONTAINER_ACTION,`/design/edit-virtual-user/action-types/logic-actions/if-action/`],[R.IF_CONTAINER_ACTION_CONFIGURE,`/design/edit-virtual-user/action-types/logic-actions/if-action/#condition-builder`],[R.LOOP_CONTAINER_ACTION,`/design/edit-virtual-user/action-types/logic-actions/loop-action/`],[R.WHILE_CONTAINER_ACTION,`/design/edit-virtual-user/action-types/logic-actions/while-action/`],[R.WHILE_CONTAINER_ACTION_CONFIGURE,`/design/edit-virtual-user/action-types/logic-actions/if-action/#condition-builder`],[R.RANDOM_CONTAINER_ACTION,`/design/edit-virtual-user/action-types/logic-actions/random-container-action/`],[R.JSR223_ACTION,`/design/edit-virtual-user/action-types/jsr223-actions/`],[R.DELAY_ACTION,`/design/edit-virtual-user/action-types/logic-actions/delay-action/`],[R.SET_RUNTIME_PROPERTY_ACTION,`/design/edit-virtual-user/action-types/logic-actions/set-runtime-property-action/`],[R.HTTP_REQUEST_ACTION,`/design/edit-virtual-user/action-types/http-actions/`],[R.JMETER_GENERIC_ACTION,`/design/create-virtual-user/import-jmeter-jmx/#generic-actions`],[R.DEBUG_ACTION,`/design/edit-virtual-user/action-types/post-processors/debug-action/`],[R.RESPONSE_ASSERTION,`/design/edit-virtual-user/action-types/post-processors/response-assertion/`],[R.RESPONSE_ASSERTION_CONFIGURE,`/design/edit-virtual-user/action-types/post-processors/response-assertion/#values-to-check`],[R.JSON_ASSERTION,`/design/edit-virtual-user/action-types/post-processors/json-assertion/`],[R.JSON_ASSERTION_CONFIGURE,`/design/edit-virtual-user/action-types/post-processors/json-assertion/#json-path`],[R.REGEXP_EXTRACTOR_ACTION,`/design/edit-virtual-user/action-types/post-processors/regexp-variable-extractor/`],[R.REGEXP_EXTRACTOR_ACTION_CONFIGURE,`/design/edit-virtual-user/action-types/post-processors/regexp-variable-extractor/#configure`],[R.HTML_EXTRACTOR_ACTION,`/design/edit-virtual-user/action-types/post-processors/css-variable-extractor/`],[R.JSON_EXTRACTOR_ACTION,`/design/edit-virtual-user/action-types/post-processors/jsonpath-variable-extractor/`],[R.JSON_EXTRACTOR_ACTION_CONFIGURE,`/design/edit-virtual-user/action-types/post-processors/jsonpath-variable-extractor/#configure`],[R.JMESPATH_EXTRACTOR_ACTION,`/design/edit-virtual-user/action-types/post-processors/jmespath-variable-extractor/`],[R.JMESPATH_EXTRACTOR_ACTION_CONFIGURE,`/design/edit-virtual-user/action-types/post-processors/jmespath-variable-extractor/#configure`],[R.XPATH1_EXTRACTOR_ACTION,`/design/edit-virtual-user/action-types/post-processors/xpath1-variable-extractor/`],[R.XPATH2_EXTRACTOR_ACTION,`/design/edit-virtual-user/action-types/post-processors/xpath2-variable-extractor/`],[R.WEB_DRIVER,`/design/edit-virtual-user/action-types/web-driver-
1825action/`],[R.PUT_QUEUE_ACTION,`/design/edit-virtual-user/action-types/logic-actions/queue/#put`],[R.POLL_QUEUE_ACTION,`/design/edit-virtual-user/action-types/logic-actions/queue/#poll`],[R.PLAYWRIGHT_CONFIGURATION_ACTION,`/design/edit-virtual-user/action-types/playwright-actions/playwright-configuration-action/`],[R.PLAYWRIGHT_SPEC_ACTION,`/design/edit-virtual-user/action-types/playwright-actions/playwright-spec-action/`],[R.SLA_PROFILES,`/design/edit-virtual-user/configuration/sla-profiles/`],[R.SLA_PROFILE,`/design/edit-virtual-user/configuration/sla-profiles/#sla-configuration`],[R.JMETER_FUNCTION_THREADNUM,`/design/edit-virtual-user/functions/#__threadnum`],[R.JMETER_FUNCTION_ITERATIONNUM,`/design/edit-virtual-user/functions/#__iterationnum`],[R.JMETER_FUNCTION_THREADGROUPNAME,`/design/edit-virtual-user/functions/#__threadgroupname`],[R.JMETER_FUNCTION_SAMPLERNAME,`/design/edit-virtual-user/functions/#__samplername`],[R.JMETER_FUNCTION_MACHINEIP,`/design/edit-virtual-user/functions/#__machineip`],[R.JMETER_FUNCTION_MACHINENAME,`/design/edit-virtual-user/functions/#__machinename`],[R.JMETER_FUNCTION_TESTPLANNAME,`/design/edit-virtual-user/functions/#__testplanname`],[R.JMETER_FUNCTION_LOG,`/design/edit-virtual-user/functions/#__log`],[R.JMETER_FUNCTION_LOGN,`/design/edit-virtual-user/functions/#__logn`],[R.JMETER_FUNCTION_STRINGFROMFILE,`/design/edit-virtual-user/functions/#__stringfromfile`],[R.JMETER_FUNCTION_FILETOSTRING,`/design/edit-virtual-user/functions/#__filetostring`],[R.JMETER_FUNCTION_XPATH,`/design/edit-virtual-user/functions/#__xpath`],[R.JMETER_FUNCTION_STRINGTOFILE,`/design/edit-virtual-user/functions/#__stringtofile`],[R.JMETER_FUNCTION_CSVREAD,`/design/edit-virtual-user/functions/#__csvread`],[R.JMETER_FUNCTION_TIME,`/design/edit-virtual-user/functions/#__time`],[R.JMETER_FUNCTION_TIMESHIFT,`/design/edit-virtual-user/functions/#__timeshift`],[R.JMETER_FUNCTION_DATETIMECONVERT,`/design/edit-virtual-user/functions/#__datetimeconvert`],[R.JMETER_FUNCTION_COUNTER,`/design/edit-virtual-user/functions/#__counter`],[R.JMETER_FUNCTION_DIGEST,`/design/edit-virtual-user/functions/#__digest`],[R.JMETER_FUNCTION_INTSUM,`/design/edit-virtual-user/functions/#__intsum`],[R.JMETER_FUNCTION_LONGSUM,`/design/edit-virtual-user/functions/#__longsum`],[R.JMETER_FUNCTION_DOUBLESUM,`/design/edit-virtual-user/functions/#__doublesum`],[R.JMETER_FUNCTION_RANDOM,`/design/edit-virtual-user/functions/#__random`],[R.JMETER_FUNCTION_RANDOMDATE,`/design/edit-virtual-user/functions/#__randomdate`],[R.JMETER_FUNCTION_RANDOMFROMMULTIPLEVARS,`/design/edit-virtual-user/functions/#__randomfrommultiplevars`],[R.JMETER_FUNCTION_RANDOMSTRING,`/design/edit-virtual-user/functions/#__randomstring`],[R.JMETER_FUNCTION_CHOOSERANDOM,`/design/edit-virtual-user/functions/#__chooserandom`],[R.JMETER_FUNCTION_UUID,`/design/edit-virtual-user/functions/#__uuid`],[R.JMETER_FUNCTION_IF,`/design/edit-virtual-user/functions/#__if`],[R.JMETER_FUNCTION_ISPROPDEFINED,`/design/edit-virtual-user/functions/#__ispropdefined`],[R.JMETER_FUNCTION_PROPERTY,`/design/edit-virtual-user/functions/#__property`],[R.JMETER_FUNCTION_SETPROPERTY,`/design/edit-virtual-user/functions/#__setproperty`],[R.JMETER_FUNCTION_ENV,`/design/edit-virtual-user/functions/#__env`],[R.JMETER_FUNCTION_GROOVY,`/design/edit-virtual-user/functions/#__groovy`],[R.JMETER_FUNCTION_JAVASCRIPT,`/design/edit-virtual-user/functions/#__javascript`],[R.JMETER_FUNCTION_SPLIT,`/design/edit-virtual-user/functions/#__split`],[R.JMETER_FUNCTION_EVAL,`/design/edit-virtual-user/functions/#__eval`],[R.JMETER_FUNCTION_EVALVAR,`/design/edit-virtual-user/functions/#__evalvar`],[R.JMETER_FUNCTION_V,`/design/edit-virtual-user/functions/#__v`],[R.JMETER_FUNCTION_ISVARDEFINED,`/design/edit-virtual-user/functions/#__isvardefined`],[R.JMETER_FUNCTION_ISDEFINED,`/design/edit-virtual-user/functions/#__isdefined`],[R.JMETER_FUNCTION_CHAR,`/design/edit-virtual-user/functions/#__char`],[R.JMETER_FUNCTION_CHANGECASE,`/design/edit-virtual-user/functions/#__changecase`],[R.JMETER_FUNCTION_REGEXFUNCTION,`/design/edit-virtual-user/functions/#__regexfunction`],[R.JMETER_FUNCTION_STRLEN,`/design/edit-virtual-user/functions/#__strlen`],[R.JMETER_FUNCTION_SUBSTRING,`/design/edit-virtual-user/functions/#__substring`],[R.JMETER_FUNCTION_STRREPLACE,`/design/edit-virtual-user/functions/#__strreplace`],[R.JMETER_FUNCTION_MD5,`/design/edit-virtual-user/functions/#__md5`],[R.JMETER_FUNCTION_UNESCAPE,`/design/edit-virtual-user/functions/#__unescape`],[R.JMETER_FUNCTION_ESCAPEHTML,`/design/edit-virtual-user/functions/#__escapehtml`],[R.JMETER_FUNCTION_UNESCAPEHTML,`/design/edit-virtual-user/functions/#__unescapehtml`],[R.JMETER_FUNCTION_ESCAPEOROREGEXPCHARS,`/design/edit-virtual-user/functions/#__escapeororegexpchars`],[R.JMETER_FUNCTION_ESCAPEXML,`/design/edit-virtual-user/functions/#__escapexml`],[R.JMETER_FUNCTION_URLENCODE,`/design/edit-virtual-user/functions/#__urlencode`],[R.JMETER_FUNCTION_URLDECODE,`/design/edit-virtual-user/functions/#__urldecode`],[R.JMETER_FUNCTION_BASE64ENCODE,`/design/edit-virtual-user/functions/#__base64encode`],[R.JMETER_FUNCTION_BASE64DECODE,`/design/edit-virtual-user/functions/#__base64decode`],[R.JMETER_FUNCTION_JMETERTHREADLAST_SAMPLE_OK,`/design/edit-virtual-user/configuration/variables/#jmeterthreadlast_sample_ok`],[R.JMETER_FUNCTION_STARTHMS,`/design/edit-virtual-user/configuration/variables/#starthms`],[R.JMETER_FUNCTION_STARTMS,`/design/edit-virtual-user/configuration/variables/#startms`],[R.JMETER_FUNCTION_STARTYMD,`/design/edit-virtual-user/configuration/variables/#start
1825ymd`],[R.JMETER_FUNCTION_TESTSTARTMS,`/design/edit-virtual-user/configuration/variables/#teststartms`],[R.JMETER_FUNCTION_JMETERU_T,`/design/edit-virtual-user/configuration/variables/#__jmeteru_t__`],[R.SCENARIOS,`/runtime/#runtime-scenarios`],[R.SCENARIO_LAUNCH,`/runtime/edit-scenario/launch-test/`],[R.SCENARIO_EDIT,`/runtime/edit-scenario/`],[R.SCENARIO_SETTINGS_SCALING,`/runtime/edit-scenario/#scale-scenario`],[R.SCENARIO_SETTINGS_METADATA,`/runtime/edit-scenario/#edit-scenario-metadata`],[R.SCENARIO_EXPORT,`/runtime/#export-as-json`],[R.USER_PROFILE_VIRTUAL_USER,`/runtime/edit-scenario/edit-user-profile/virtual-user/`],[R.USER_PROFILE_LOCATION,`/runtime/edit-scenario/edit-user-profile/location/`],[R.USER_PROFILE_STRATEGY_LOAD,`/runtime/edit-scenario/edit-user-profile/user-load/`],[R.USER_PROFILE_STRATEGY_POLICIES,`/runtime/edit-scenario/edit-user-profile/options/policies/`],[R.USER_PROFILE_STRATEGY_SETUP,`/runtime/edit-scenario/edit-user-profile/options/setup-teardown/`],[R.USER_PROFILE_STRATEGY_TEARDOWN,`/runtime/edit-scenario/edit-user-profile/options/setup-teardown/`],[R.USER_PROFILE_STRATEGY_RESCALE,`/runtime/edit-scenario/edit-user-profile/user-load/#rescale`],[R.USER_PROFILE_STRATEGY_TRANSFORM,`/runtime/edit-scenario/edit-user-profile/user-load/#reshape`],[R.USER_PROFILE_ADVANCED_NAME,`/runtime/edit-scenario/edit-user-profile/options/name/`],[R.USER_PROFILE_ADVANCED_DEVICE,`/runtime/edit-scenario/edit-user-profile/options/device/`],[R.USER_PROFILE_ADVANCED_DNS,`/runtime/edit-scenario/edit-user-profile/options/dns/`],[R.USER_PROFILE_ADVANCED_JMETER,`/runtime/edit-scenario/edit-user-profile/options/jmeter/`],[R.USER_PROFILE_ADVANCED_MEMORY,`/runtime/edit-scenario/edit-user-profile/options/memory/`],[R.APM,`/runtime/edit-scenario/integrations-automation/apm/`],[R.EXTERNAL_LIVE_REPORTING,`/runtime/edit-scenario/integrations-automation/live-reporting/`],[R.EXTERNAL_LIVE_REPORTING_DATADOG,`/runtime/edit-scenario/integrations-automation/live-reporting/datadog/`],[R.EXTERNAL_LIVE_REPORTING_INFLUXD
1825B,`/runtime/edit-scenario/integrations-automation/live-reporting/influxdb/`],[R.EXTERNAL_LIVE_REPORTING_GRAPHITE,`/runtime/edit-scenario/integrations-automation/live-reporting/graphite/`],[R.EXTERNAL_LIVE_REPORTING_DYNATRACE,`/runtime/edit-scenario/integrations-automation/live-reporting/dynatrace/`],[R.EXTERNAL_LIVE_REPORTING_ELASTICSEARCH,`/runtime/edit-scenario/integrations-automation/live-reporting/elasticsearch/`],[R.INTEGRATION,`/runtime/edit-scenario/integrations-automation/ci-cd/`],[R.INTEGRATION_JIRA,`/runtime/edit-scenario/integrations-automation/ci-cd/jira/`],[R.INTEGRATION_MAVEN,`/runtime/edit-scenario/integrations-automation/ci-cd/maven/`],[R.INTEGRATION_JENKINS,`/runtime/edit-scenario/integrations-automation/ci-cd/ci/jenkins/`],[R.INTEGRATION_GITLAB,`/runtime/edit-scenario/integrations-automation/ci-cd/ci/gitlab-ci/`],[R.INTEGRATION_AZURE_DEVOPS,`/runtime/edit-scenario/integrations-automation/ci-cd/ci/azure-devops/`],[R.INTEGRATION_GITHUB_ACTIONS,`/runtime/edit-scenario/integrations-automation/ci-cd/ci/github-actions/`],[R.INTEGRATION_HTTP_API,`/runtime/edit-scenario/integrations-automation/ci-cd/rest/`],[R.MONITORS,`/monitoring/list-connections/`],[R.MONITOR_CREATE,`/monitoring/list-connections/#new-monitor-connection`],[R.MONITOR_CREATE_SELECT_TYPE,`/monitoring/list-connections/#select-monitor-type`],[R.MONITOR_CREATE_CONFIGURE,`/monitoring/list-connections/#configure-connection`],[R.MONITOR_CREATE_APPLICATIONS,`/monitoring/list-connections/#applications-selection`],[R.MONITOR_CREATE_COUNTERS,`/monitoring/list-connections/#select-counters`],[R.HOW_MONITORING_WORKS,`/monitoring/#how-it-works`],[R.NEW_RELIC_APM,`/monitoring/create-connection/new-relic-apm/`],[R.LIGHTTPD,`/monitoring/create-connection/lighttpd/`],[R.NGINX,`/monitoring/create-connection/nginx/`],[R.APACHE_HTTPD,`/monitoring/create-connection/apache-httpd/`],[R.PROMETHEUS,`/monitoring/create-connection/prometheus/`],[R.APACHE_TOMCAT,`/monitoring/create-connection/apache-tomcat/`],[R.GENERIC_JMX,`/monitoring/create-connection/generic-jmx/`],[R.LINUX,`/monitoring/create-connection/linux/`],[R.MYSQL,`/monitoring/create-connection/mysql/`],[R.SLA,`/monitoring/create-connection/sla/`],[R.MONGO_DB,`/monitoring/create-connection/mongodb/`],[R.ORACLE_DB,`/monitoring/create-connection/oracledb/`],[R.POSTGRES,`/monitoring/create-connection/postgres/`],[R.SQL_SERVER,`/monitoring/create-connection/microsoft-sql-server/`],[R.WINDOWS,`/monitoring/create-connection/microsoft-windows/`],[R.IIS,`/monitoring/create-connection/microsoft-iis/`],[R.MONITOR_EDIT,`/monitoring/edit-connection/`],[R.MONITOR_CONNECTION_TRASH,`/design/edit-virtual-user/#trash`],[R.COUNTER_GROUP,`/monitoring/edit-connection/#custom-group`],[R.NUMBER_COUNTER,`/monitoring/edit-connection/`],[R.RELATIVE_COUNTER,`/monitoring/edit-connection/`],[R.ARITHMETIC_COUNTER,`/monitoring/edit-connection/`],[R.CONSTANT_COUNTER,`/monitoring/edit-connection`],[R.JOINING_TEXT_COUNTER,`/monitoring/edit-connection/`],[R.TEXT_COUNTER,`/monitoring/edit-connection/`],[R.THRESHOLD,`/monitoring/edit-connection/#thresholds`],[R.SCHEDULER,`/runtime/scheduler/`],[R.SCHEDULER_CREATE_JOB,`/runtime/scheduler/#create-a-scheduled-job`],[R.SCHEDULED_JOBS,`/runtime/scheduler/#tasks`],[R.SCHEDULED_JOB,`/runtime/scheduler/#create-a-scheduled-job`],[R.SCHEDULED_RUNS,`/runtime/scheduler/#past-runs-list`],[R.SCHEDULED_JOB_CREATE,`/runtime/scheduler/#create-a-scheduled-job`],[R.SCHEDULED_JOB_SCHEDULE_SCENARIO,`/runtime/scheduler/#create-a-scheduled-job`],[R.SCHEDULED_JOB_CRON,`/runtime/scheduler/#cron`],[R.JTL_IMPORT,`/analysis/import-jtl/`],[R.REPORTS,`/analysis/#reports-list`],[R.REPORTS_COMPARISON,`/analysis/#comparison-report`],[R.REPORTS_TREND,`/analysis/#trend-report`],[R.REPORT_EDIT,`/analysis/edit-bench-report/`],[R.REPORT_SETTINGS,`/analysis/edit-bench-report/configuration/`],[R.REPORT_SETTINGS_METADATA,`/analysis/export-bench-report/#configure-export`],[R.REPORT_SETTINGS_APDEX,`/analysis/edit-bench-report/configuration/#apdex`],[R.REPORT_SETTINGS_GRAPHS,`/analysis/edit-bench-report/configuration/#charts`],[R.REPORT_SETTINGS_COLORS,`/analysis/edit-bench-report/configuration/#colors`],[R.REPORT_SETTINGS_TIME_RANGE,`/analysis/edit-bench-report/configuration/#time-range`],[R.REPORT_SETTINGS_COVER,`/analysis/export-bench-report/#cover-page`],[R.REPORT_SETTINGS_TABLES,`/analysis/export-bench-report/#tables`],[R.REPORT_SETTINGS_PRINT,`/analysis/export-bench-report/#print-configuration`],[R.REPORT_SETTINGS_COMPARISON,`/analysis/compare-bench-results/#update-labels`],[R.REPORT_EXPORT_CHART,`/analysis/export-bench-report/export-report-items/#exporting-charts`],[R.REPORT_EXPORT_TABLE,`/analysis/export-bench-report/export-report-items/#exporting-tables`],[R.REPORTS_COMPARE,`/analysis/compare-bench-results/`],[R.REPORT_LAUNCH,`/analysis/test-status/`],[R.REPORT_LOGS,`/analysis/edit-bench-report/test-logs/`],[R.REPORT_REMOTE_CONTROL,`/analysis/edit-bench-report/runtime-properties/`],[R.REPORT_EXPORT,`/analysis/export-bench-report/`],[R.REPORT_EXPORT_SETTINGS,`/analysis/export-bench-report/#configure-export`],[R.REPORT_TEMPLATES,`/analysis/edit-bench-report/templates/`],[R.AREA_RANGE_CHART_REPORT_ITEM,`/analysis/edit-bench-report/report-items/area-range-chart/`],[R.INSIGHT_REPORT_ITEM,`/analysis/edit-bench-report/report-items/insights/`],[R.ERROR_REPORT_ITEM,`/analysis/edit-bench-report/report-items/errors-table/`],[R.LINE_CHART_REPORT_ITEM,`/analysis/edit-bench-report/report-items/line-chart/`],[R.BAR_CHART_REPORT_ITEM,`/analysis/edit-bench-report/report-items/bar-chart/`],[R.PERCENTILE_CHART_REPORT_ITEM,`/analysis/edit-bench-report/report-items/percentiles-chart/`],[R.PIE_CHART_REPORT_ITEM,`/analysis/edit-bench-report/report-items/donut-chart/`],[R.STACKED_CHART_REPORT_ITEM,`/analysis/edit-bench-report/report-items/stacked-chart/`],[R.STATISTIC_TABLE_REPORT_ITEM_NORMAL,`/analysis/edit-bench-report/report-items/results-table/`],[R.STATISTIC_TABLE_REPORT_ITEM_DELTA,`/analysis/edit-bench-report/report-items/delta-table/`],[R.STATISTIC_TREE_REPORT_ITEM,`/analysis/edit-bench-report/report-items/results-tree/`],[R.SUM
vendor: 20,904 bytes, lines 1825-1827
1825MARY_REPORT_ITEM,`/analysis/edit-bench-report/report-items/statistics/`],[R.SYNOPSIS_REPORT_ITEM,`/analysis/edit-bench-report/report-items/summary/`],[R.TEXT_REPORT_ITEM,`/analysis/edit-bench-report/report-items/text/`],[R.TEXT_REPORT_ITEM_SLA,`/analysis/edit-bench-report/report-items/text/#sla-profiles`],[R.TEXTUAL_MONITOR_REPORT_ITEM,`/analysis/edit-bench-report/report-items/textual-monitor/`],[R.THRESHOLD_ALARM_REPORT_ITEM,`/analysis/edit-bench-report/report-items/monitoring-alarms-table/`],[R.TOP_REPORT_ITEM,`/analysis/edit-bench-report/report-items/top-chart/`],[R.TREND_CONFIG_REPORT_ITEM,`/analysis/trend-bench-results/`],[R.LOAD_GENERATORS_CHART_REPORT_ITEM_HOSTS,`/analysis/edit-bench-report/report-items/lg-hosts/`],[R.LOAD_GENERATORS_CHART_REPORT_ITEM_JVMS,`/analysis/edit-bench-report/report-items/lg-jvms/`],[R.LOAD_GENERATORS_TREE_REPORT_ITEM,`/analysis/edit-bench-report/report-items/lg-tree/`],[R.MONITORS_TABLE_REPORT_ITEM,`/analysis/edit-bench-report/report-items/monitoring-alarms-table/`],[R.INSIGHT_REPORT_ITEM_THROUGHPUT_JAVASCRIPT,`/analysis/tips/#throughput`],[R.INSIGHT_REPORT_ITEM_THROUGHPUT_IMAGE_OPTIMIZE,`/analysis/tips/#throughput`],[R.INSIGHT_REPORT_ITEM_THROUGHPUT_IMAGE_NEW_FORMAT,`/analysis/tips/#throughput`],[R.INSIGHT_REPORT_ITEM_THROUGHPUT_CSS,`/analysis/tips/#throughput`],[R.INSIGHT_REPORT_ITEM_OVERALL_ERROR_5XX,`/analysis/tips/#overall-errors`],[R.INSIGHT_REPORT_ITEM_OVERALL_ERROR_4XX,`/analysis/tips/#overall-errors`],[R.INSIGHT_REPORT_ITEM_OVERALL_ERROR_NONE,`/analysis/tips/#overall-errors`],[R.INSIGHT_REPORT_ITEM_THRESHOLD_ALARM,`/analysis/edit-bench-report/report-items/monitoring-alarms-table/`],[R.INSIGHT_REPORT_ITEM_HIT_RATE_INFLEXION_POINT,`/analysis/tips/#inflexion-point`],[R.INSIGHT_REPORT_ITEM_RESPONSE_TIME_STD_DEVIATION,`/analysis/tips/#standard-deviation`],[R.INSIGHT_REPORT_ITEM_RESPONSE_TIME_GLOBAL_AVG,`/analysis/tips/#global-average-response-time`],[R.INSIGHT_REPORT_ITEM_STEP_BY_STEP_RESPONSE_TIME,`/analysis/tips/#step-by-step-response-times`],[R.INSIGHT_REPORT_ITEM_PEAK_OF_ERRORS,`/analysis/tips/#peak-of-errors`],[R.INSIGHT_REPORT_ITEM_CONNECT_TIME_LATENCY_INCREASE,`/analysis/tips/#latency-and-connect-time`],[R.INSIGHT_REPORT_ITEM_CONNECT_TIME_VS_RESPONSE_TIME,`/analysis/tips/#connect-time-increase`],[R.INSIGHT_REPORT_ITEM_LATENCY_VS_RESPONSE_TIME,`/analysis/tips/#latency-increase`],[R.REPORT_ITEM_INSPECT_ERROR,`/analysis/edit-bench-report/report-items/errors-table/#error-details`],[R.REPORT_ITEMS,`/analysis/edit-bench-report/#items-list`],[R.REPORT_AVAILABLE_ITEMS,`/analysis/edit-bench-report/#available-items`],[R.REPORT_ITEMS_TRASH,`/analysis/edit-bench-report/#trash`]]);var nu=u$9((fC,Vi)=>{"use strict";(function(t,n,e,o){"use strict";var i=[``,`webkit`,`Moz`,`MS`,`ms`,`o`],r=n.createElement(`div`),a=`function`,s=Math.round,p=Math.abs,d=Date.now;function m(l,c,u){return setTimeout(W(l,u),c)}function h(l,c,u){return Array.isArray(l)?(b(l,u[c],u),!0):!1}function b(l,c,u){var g;if(l)if(l.forEach)l.forEach(c,u);else if(l.length!==o)for(g=0;g<l.length;)c.call(u,l[g],g,l),g++;else for(g in l)l.hasOwnProperty(g)&&c.call(u,l[g],g,l)}function N(l,c,u){var g=`DEPRECATED METHOD: `+c+`
1826`+u+` AT 
1827`;return function(){var S=new Error(`get-stack-trace`),C=S&&S.stack?S.stack.replace(/^[^\(]+?[\n$]/gm,``).replace(/^\s+at\s+/gm,``).replace(/^Object.<anonymous>\s*\(/gm,`{anonymous}()@`):`Unknown Stack Trace`,R=t.console&&(t.console.warn||t.console.log);return R&&R.call(t.console,g,C),l.apply(this,arguments)}}var w;typeof Object.assign!=`function`?w=function(c){if(c===o||c===null)throw new TypeError(`Cannot convert undefined or null to object`);for(var u=Object(c),g=1;g<arguments.length;g++){var S=arguments[g];if(S!==o&&S!==null)for(var C in S)S.hasOwnProperty(C)&&(u[C]=S[C])}return u}:w=Object.assign;var Y=N(function(c,u,g){for(var S=Object.keys(u),C=0;C<S.length;)(!g||g&&c[S[C]]===o)&&(c[S[C]]=u[S[C]]),C++;return c},`extend`,"Use `assign`."),mt=N(function(c,u){return Y(c,u,!0)},`merge`,"Use `assign`.");function z(l,c,u){var g=c.prototype,S=l.prototype=Object.create(g);S.constructor=l,S._super=g,u&&w(S,u)}function W(l,c){return function(){return l.apply(c,arguments)}}function y(l,c){return typeof l==a?l.apply(c&&c[0]||o,c):l}function M(l,c){return l===o?c:l}function _(l,c,u){b(st(c),function(g){l.addEventListener(g,u,!1)})}function k(l,c,u){b(st(c),function(g){l.removeEventListener(g,u,!1)})}function D(l,c){for(;l;){if(l==c)return!0;l=l.parentNode}return!1}function U(l,c){return l.indexOf(c)>-1}function st(l){return l.trim().split(/\s+/g)}function Z(l,c,u){if(l.indexOf&&!u)return l.indexOf(c);for(var g=0;g<l.length;){if(u&&l[g][u]==c||!u&&l[g]===c)return g;g++}return-1}function vt(l){return Array.prototype.slice.call(l,0)}function Lt(l,c,u){for(var g=[],S=[],C=0;C<l.length;){var R=c?l[C][c]:l[C];Z(S,R)<0&&g.push(l[C]),S[C]=R,C++}return u&&(c?g=g.sort(function(ut,bt){return ut[c]>bt[c]}):g=g.sort()),g}function _t(l,c){for(var u,g,S=c[0].toUpperCase()+c.slice(1),C=0;C<i.length;){if(u=i[C],g=u?u+S:c,g in l)return g;C++}return o}var Ee=1;function at(){return Ee++}function Nt(l){var c=l.ownerDocument||l;return c.defaultView||c.parentWindow||t}var Mt=/mobile|tablet|ip(ad|hone|od)|android/i,Ot=`ontouchstart`in t,St=_t(t,`PointerEvent`)!==o,Zt=Ot&&Mt.test(navigator.userAgent),Et=`touch`,Se=`pen`,Ie=`mouse`,He=`kinect`,be=25,Q=1,nt=2,G=4,gt=8,Fe=1,Qt=2,We=4,xe=8,Be=16,jt=Qt|We,Ge=xe|Be,Ta=jt|Ge,Aa=[`x`,`y`],po=[`clientX`,`clientY`];function Vt(l,c){var u=this;this.manager=l,this.callback=c,this.element=l.element,this.target=l.options.inputTarget,this.domHandler=function(g){y(l.options.enable,[l])&&u.handler(g)},this.init()}Vt.prototype={handler:function(){},init:function(){this.evEl&&_(this.element,this.evEl,this.domHandler),this.evTarget&&_(this.target,this.evTarget,this.domHandler),this.evWin&&_(Nt(this.element),this.evWin,this.domHandler)},destroy:function(){this.evEl&&k(this.element,this.evEl,this.domHandler),this.evTarget&&k(this.target,this.evTarget,this.domHandler),this.evWin&&k(Nt(this.element),this.evWin,this.domHandler)}};function Wu(l){var c,u=l.options.inputClass;return u?c=u:St?c=Yi:Zt?c=mo:Ot?c=Xi:c=fo,new c(l,Bu)}function Bu(l,c,u){var g=u.pointers.length,S=u.changedPointers.length,C=c&Q&&g-S===0,R=c&(G|gt)&&g-S===0;u.isFirst=!!C,u.isFinal=!!R,C&&(l.session={}),u.eventType=c,Gu(l,u),l.emit(`hammer.input`,u),l.recognize(u),l.session.prevInput=u}function Gu(l,c){var u=l.session,g=c.pointers,S=g.length;u.firstInput||(u.firstInput=ka(c)),S>1&&!u.firstMultiple?u.firstMultiple=ka(c):S===1&&(u.firstMultiple=!1);var C=u.firstInput,R=u.firstMultiple,lt=R?R.center:C.center,ut=c.center=Ra(g);c.timeStamp=d(),c.deltaTime=c.timeStamp-C.timeStamp,c.angle=Gi(lt,ut),c.distance=uo(lt,ut),Yu(u,c),c.offsetDirection=za(c.deltaX,c.deltaY);var bt=Da(c.deltaTime,c.deltaX,c.deltaY);c.overallVelocityX=bt.x,c.overallVelocityY=bt.y,c.overallVelocity=p(bt.x)>p(bt.y)?bt.x:bt.y,c.scale=R?Ku(R.pointers,g):1,c.rotation=R?qu(R.pointers,g):0,c.maxPointers=u.prevInput?c.pointers.length>u.prevInput.maxPointers?c.pointers.length:u.prevInput.maxPointers:c.pointers.length,Xu(u,c);var ae=l.element;D(c.srcEvent.target,ae)&&(ae=c.srcEvent.target),c.target=ae}function Yu(l,c){var u=c.center,g=l.offsetDelta||{},S=l.prevDelta||{},C=l.prevInput||{};(c.eventType===Q||C.eventType===G)&&(S=l.prevDelta={x:C.deltaX||0,y:C.deltaY||0},g=l.offsetDelta={x:u.x,y:u.y}),c.deltaX=S.x+(u.x-g.x),c.deltaY=S.y+(u.y-g.y)}function Xu(l,c){var u=l.lastInterval||c,g=c.timeStamp-u.timeStamp,S,C,R,lt;if(c.eventType!=gt&&(g>be||u.velocity===o)){var ut=c.deltaX-u.deltaX,bt=c.deltaY-u.deltaY,ae=Da(g,ut,bt);C=ae.x,R=ae.y,S=p(ae.x)>p(ae.y)?ae.x:ae.y,lt=za(ut,bt),l.lastInterval=c}else S=u.velocity,C=u.velocityX,R=u.velocityY,lt=u.direction;c.velocity=S,c.velocityX=C,c.velocityY=R,c.direction=lt}function ka(l){for(var c=[],u=0;u<l.pointers.length;)c[u]={clientX:s(l.pointers[u].clientX),clientY:s(l.pointers[u].clientY)},u++;return{timeStamp:d(),pointers:c,center:Ra(c),deltaX:l.deltaX,deltaY:l.deltaY}}function Ra(l){var c=l.length;if(c===1)return{x:s(l[0].clientX),y:s(l[0].clientY)};for(var u=0,g=0,S=0;S<c;)u+=l[S].clientX,g+=l[S].clientY,S++;return{x:s(u/c),y:s(g/c)}}function Da(l,c,u){return{x:c/l||0,y:u/l||0}}function za(l,c){return l===c?Fe:p(l)>=p(c)?l<0?Qt:We:c<0?xe:Be}function uo(l,c,u){u||(u=Aa);var g=c[u[0]]-l[u[0]],S=c[u[1]]-l[u[1]];return Math.sqrt(g*g+S*S)}function Gi(l,c,u){u||(u=Aa);var g=c[u[0]]-l[u[0]],S=c[u[1]]-l[u[1]];return Math.atan2(S,g)*180/Math.PI}function qu(l,c){return Gi(c[1],c[0],po)+Gi(l[1],l[0],po)}function Ku(l,c){return uo(c[0],c[1],po)/uo(l[0],l[1],po)}var $u={mousedown:Q,mousemove:nt,mouseup:G},Ju=`mousedown`,Zu=`mousemove mouseup`;function fo(){this.evEl=Ju,this.evWin=Zu,this.pressed=!1,Vt.apply(this,arguments)}z(fo,Vt,{handler:function(c){var u=$u[c.type];u&Q&&c.button===0&&(this.pressed=!0),u&nt&&c.which!==1&&(u=G),this.pressed&&(u&G&&(this.pressed=!1),this.callback(this.manager,u,{pointers:[c],changedPointers:[c],pointerType:Ie,srcEvent:c}))}});var Qu={pointerdown:Q,pointermove:nt,pointerup:G,pointercancel:gt,pointerout:gt},tf={2:Et,3:Se,4:Ie,5:He},La=`pointerdown`,ja=`pointermove pointerup pointercancel`;t.MSPointerEvent&&!t.PointerEvent&&(La=`MSPointerDown`,ja=`MSPointerMove MSPointerUp MSPointerCancel`);function Yi(){this.evEl=La,this.evWin=ja,Vt.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}z(Yi,Vt,{handler:function(c){var u=this.store,g=!1,C=Qu[c.type.toLowerCase().replace(`ms`,``)],R=tf[c.pointerType]||c.pointerType,lt=R==Et,ut=Z(u,c.pointerId,`pointerId`);C&Q&&(c.button===0||lt)?ut<0&&(u.push(c),ut=u.length-1):C&(G|gt)&&(g=!0),!(ut<0)&&(u[ut]=c,this.callback(this.manager,C,{pointers:u,changedPointers:[c],pointerType:R,srcEvent:c}),g&&u.splice(ut,1))}});var ef={touchstart:Q,touchmove:nt,touchend:G,touchcancel:gt},nf=`touchstart`,of=`touchstart touchmove touchend touchcancel`;function Va(){this.evTarget=nf,this.evWin=of,this.started=!1,Vt.apply(this,arguments)}z(Va,Vt,{handler:function(c){var u=ef[c.type];if(u===Q&&(this.started=!0),!!this.started){var g=rf.call(this,c,u);u&(G|gt)&&g[0].length-g[1].length===0&&(this.started=!1),this.callback(this.manager,u,{pointers:g[0],changedPointers:g[1],pointerType:Et,srcEvent:c})}}});function rf(l,c){var u=vt(l.touches),g=vt(l.changedTouches);return c&(G|gt)&&(u=Lt(u.concat(g),`identifier`,!0)),[u,g]}var af={touchstart:Q,touchmove:nt,touchend:G,touchcancel:gt},sf=`touchstart touchmove touchend touchcancel`;function mo(){this.evTarget=sf,this.targetIds={},Vt.apply(this,arguments)}z(mo,Vt,{handler:function(c){var u=af[c.type],g=lf.call(this,c,u);g&&this.callback(this.manager,u,{pointers:g[0],changedPointers:g[1],pointerType:Et,srcEvent:c})}});function lf(l,c){var u=vt(l.touches),g=this.targetIds;if(c&(Q|nt)&&u.length===1)return g[u[0].identifier]=!0,[u,u];var S,C,R=vt(l.changedTouches),lt=[],ut=this.target;if(C=u.filter(function(bt){return D(bt.target,ut)}),c===Q)for(S=0;S<C.length;)g[C[S].identifier]=!0,S++;for(S=0;S<R.length;)g[R[S].identifier]&&lt.push(R[S]),c&(G|gt)&&delete g[R[S].identifier],S++;if(lt.length)return[Lt(C.concat(lt),`identifier`,!0),lt]}var cf=2500,Ua=25;function Xi(){Vt.apply(this,arguments);var l=W(this.handler,this);this.touch=new mo(this.manager,l),this.mouse=new fo(this.manager,l),this.primaryTouch=null,this.lastTouches=[]}z(Xi,Vt,{handler:function(c,u,g){var S=g.pointerType==Et,C=g.pointerType==Ie;if(!(C&&g.sourceCapabilities&&g.sourceCapabilities.firesTouchEvents)){if(S)pf.call(this,u,g);else if(C&&df.call(this,g))return;this.callback(c,u,g)}},destroy:function(){this.touch.destroy(),this.mouse.destroy()}});function pf(l,c){l&Q?(this.primaryTouch=c.changedPointers[0].identifier,Ha.call(this,c)):l&(G|gt)&&Ha.call(this,c)}function Ha(l){var c=l.changedPointers[0];if(c.identifier===this.primaryTouch){var u={x:c.clientX,y:c.clientY};this.lastTouches.push(u);var g=this.lastTouches,S=function(){var C=g.indexOf(u);C>-1&&g.splice(C,1)};setTimeout(S,cf)}}function df(l){for(var c=l.srcEvent.clientX,u=l.srcEvent.clientY,g=0;g<this.lastTouches.length;g++){var S=this.lastTouches[g],C=Math.abs(c-S.x),R=Math.abs(u-S.y);if(C<=Ua&&R<=Ua)return!0}return!1}var Fa=_t(r.style,`touchAction`),Wa=Fa!==o,Ba=`compute`,Ga=`auto`,qi=`manipulation`,Ye=`none`,kn=`pan-x`,Rn=`pan-y`,go=ff();function Ki(l,c){this.manager=l,this.set(c)}Ki.prototype={set:function(l){l==Ba&&(l=this.compute()),Wa&&this.manager.element.style&&go[l]&&(this.manager.element.style[Fa]=l),this.actions=l.toLowerCase().trim()},update:function(){this.set(this.manager.options.touchAction)},compute:function(){var l=[];return b(this.manager.recognizers,function(c){y(c.options.enable,[c])&&(l=l.concat(c.getTouchAction()))}),uf(l.join(` `))},preventDefaults:function(l){var c=l.srcEvent,u=l.offsetDirection;if(this.manager.session.prevented){c.preventDefault();return}var g=this.actions,S=U(g,Ye)&&!go[Ye],C=U(g,Rn)&&!go[Rn],R=U(g,kn)&&!go[kn];if(S){var lt=l.pointers.length===1,ut=l.distance<2,bt=l.deltaTime<250;if(lt&&ut&&bt)return}if(!(R&&C)&&(S||C&&u&jt||R&&u&Ge))return this.preventSrc(c)},preventSrc:function(l){this.manager.session.prevented=!0,l.preventDefault()}};function uf(l){if(U(l,Ye))return Ye;var c=U(l,kn),u=U(l,Rn);return c&&u?Ye:c||u?c?kn:Rn:U(l,qi)?qi:Ga}function ff(){if(!Wa)return!1;var l={},c=t.CSS&&t.CSS.supports;return[`auto`,`manipulation`,`pan-y`,`pan-x`,`pan-x pan-y`,`none`].forEach(function(u){l[u]=c?t.CSS.supports(`touch-action`,u):!0}),l}var ho=1,Ut=2,an=4,we=8,Pe=we,Dn=16,re=32;function ye(l){this.options=w({},this.defaults,l||{}),this.id=at(),this.manager=null,this.options.enable=M(this.options.enable,!0),this.state=ho,this.simultaneous={},this.requireFail=[]}ye.prototype={defaults:{},set:function(l){return w(this.options,l),this.manager&&this.manager.touchAction.update(),this},recognizeWith:function(l){if(h(l,`recognizeWith`,this))return this;var c=this.simultaneous;return l=vo(l,this),c[l.id]||(c[l.id]=l,l.recognizeWith(this)),this},dropRecognizeWith:function(l){return h(l,`dropRecognizeWith`,this)?this:(l=vo(l,this),delete this.simultaneous[l.id],this)},requireFailure:function(l){if(h(l,`requireFailure`,this))return this;var c=this.requireFail;return l=vo(l,this),Z(c,l)===-1&&(c.push(l),l.requireFailure(this)),this},dropRequireFailure:function(l){if(h(l,`dropRequireFailure`,this))return this;l=vo(l,this);var c=Z(this.requireFail,l);return c>-1&&this.requireFail.splice(c,1),this},hasRequireFailures:function(){return this.requireFail.length>0},canRecognizeWith:function(l){return!!this.simultaneous[l.id]},emit:function(l){var c=this,u=this.state;function g(S){c.manager.emit(S,l)}u<we&&g(c.options.event+Ya(u)),g(c.options.event),l.additionalEvent&&g(l.additionalEvent),u>=we&&g(c.options.event+Ya(u))},tryEmit:function(l){if(this.canEmit())return this.emit(l);this.state=re},canEmit:function(){for(var l=0;l<this.requireFail.length;){if(!(this.requireFail[l].state&(re|ho)))return!1;l++}return!0},recognize:function(l){var c=w({},l);if(!y(this.options.enable,[this,c])){this.reset(),this.state=re;return}this.state&(Pe|Dn|re)&&(this.state=ho),this.state=this.process(c),this.state&(Ut|an|we|Dn)&&this.tryEmit(c)},process:function(l){},getTouchAction:function(){},reset:function(){}};function Ya(l){return l&Dn?`cancel`:l&we?`end`:l&an?`move`:l&Ut?`start`:``}function Xa(l){return l==Be?`down`:l==xe?`up`:l==Qt?`left`:l==We?`right`:``}function vo(l,c){var u=c.manager;return u?u.get(l):l}function te(){ye.apply(this,arguments)}z(te,ye,{defaults:{pointers:1},attrTest:function(l){var c=this.options.pointers;return c===0||l.pointers.length===c},process:function(l){var c=this.state,u=l.eventType,g=c&(Ut|an),S=this.attrTest(l);return g&&(u&gt||!S)?c|Dn:g||S?u&G?c|we:c&Ut?c|an:Ut:re}});function So(){te.apply(this,arguments),this.pX=null,this.pY=null}z(So,te,{defaults:{event:`pan`,threshold:10,pointers:1,direction:Ta},getTouchAction:function(){var l=this.options.direction,c=[];return l&jt&&c.push(Rn),l&Ge&&c.push(kn),c},directionTest:function(l){var c=this.options,u=!0,g=l.distance,S=l.direction,C=l.deltaX,R=l.deltaY;return S&c.direction||(c.direction&jt?(S=C===0?Fe:C<0?Qt:We,u=C!=this.pX,g=Math.abs(l.deltaX)):(S=R===0?Fe:R<0?xe:Be,u=R!=this.pY,g=Math.abs(l.deltaY))),l.direction=S,u&&g>c.threshold&&S&c.direction},attrTest:function(l){return te.prototype.attrTest.call(this,l)&&(this.state&Ut||!(this.state&Ut)&&this.directionTest(l))},emit:function(l){this.pX=l.deltaX,this.pY=l.deltaY;var c=Xa(l.direction);c&&(l.additionalEvent=this.options.event+c),this._super.emit.call(this,l)}});function $i(){te.apply(this,arguments)}z($i,te,{defaults:{event:`pinch`,threshold:0,pointers:2},getTouchAction:function(){return[Ye]},attrTest:function(l){return this._super.attrTest.call(this,l)&&(Math.abs(l.scale-1)>this.options.threshold||this.state&Ut)},emit:function(l){if(l.scale!==1){var c=l.scale<1?`in`:`out`;l.additionalEvent=this.options.event+c}this._super.emit.call(this,l)}});function Ji(){ye.apply(this,arguments),this._timer=null,this._input=null}z(Ji,ye,{defaults:{event:`press`,pointers:1,time:251,threshold:9},getTouchAction:function(){return[Ga]},process:function(l){var c=this.options,u=l.pointers.length===c.pointers,g=l.distance<c.threshold,S=l.deltaTime>c.time;if(this._input=l,!g||!u||l.eventType&(G|gt)&&!S)this.reset();else if(l.eventType&Q)this.reset(),this._timer=m(function(){this.state=Pe,this.tryEmit()},c.time,this);else if(l.eventType&G)return Pe;return re},reset:function(){clearTimeout(this._timer)},emit:function(l){this.state===Pe&&(l&&l.eventType&G?this.manager.emit(this.options.event+`up`,l):(this._input.timeStamp=d(),this.manager.emit(this.options.event,this._input)))}});function Zi(){te.apply(this,arguments)}z(Zi,te,{defaults:{event:`rotate`,threshold:0,pointers:2},getTouchAction:function(){return[Ye]},attrTest:function(l){return this._super.attrTest.call(this,l)&&(Math.abs(l.rotation)>this.options.threshold||this.state&Ut)}});function Qi(){te.apply(this,arguments)}z(Qi,te,{defaults:{event:`swipe`,threshold:10,velocity:.3,direction:jt|Ge,pointers:1},getTouchAction:function(){return So.prototype.getTouchAction.call(this)},attrTest:function(l){var c=this.options.direction,u;return c&(jt|Ge)?u=l.overallVelocity:c&jt?u=l.overallVelocityX:c&Ge&&(u=l.overallVelocityY),this._super.attrTest.call(this,l)&&c&l.offsetDirection&&l.distance>this.options.threshold&&l.maxPointers==this.options.pointers&&p(u)>this.options.velocity&&l.eventType&G},emit:function(l){var c=Xa(l.offsetDirection);c&&this.manager.emit(this.options.event+c,l),this.manager.emit(this.options.event,l)}});function bo(){ye.apply(this,arguments),this.pTime=!1,this.pCenter=!1,this._timer=null,this._input=null,this.count=0}z(bo,ye,{defaults:{event:`tap`,pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},getTouchAction:function(){return[qi]},process:function(l){var c=this.options,u=l.pointers.length===c.pointers,g=l.distance<c.threshold,S=l.deltaTime<c.time;if(this.reset(),l.eventType&Q&&this.count===0)return this.failTimeout();if(g&&S&&u){if(l.eventType!=G)return this.failTimeout();var C=this.pTime?l.timeStamp-this.pTime<c.interval:!0,R=!this.pCenter||uo(this.pCenter,l.center)<c.posThreshold;this.pTime=l.timeStamp,this.pCenter=l.center,!R||!C?this.count=1:this.count+=1,this._input=l;if(this.count%c.taps===0)return this.hasRequireFailures()?(this._timer=m(function(){this.state=Pe,this.tryEmit()},c.interval,this),Ut):Pe}return re},failTimeout:function(){return this._timer=m(function(){this.state=re},this.options.interval,this),re},reset:function(){clearTimeout(this._timer)},emit:function(){this.state==Pe&&(this._input.tapCount=this.count,this.manager.emit(this.options.event,this._input))}});function Ce(l,c){return c=c||{},c.recognizers=M(c.recognizers,Ce.defaults.preset),new tr(l,c)}Ce.VERSION=`2.0.7`,Ce.defaults={domEvents:!1,touchAction:Ba,enable:!0,inputTarget:null,inputClass:null,preset:[[Zi,{enable:!1}],[$i,{enable:!1},[`rotate`]],[Qi,{direction:jt}],[So,{direction:jt},[`swipe`]],[bo],[bo,{event:`doubletap`,taps:2},[`tap`]],[Ji]],cssProps:{userSelect:`none`,touchSelect:`none`,touchCallout:`none`,contentZooming:`none`,userDrag:`none`,tapHighlightColor:`rgba(0,0,0,0)`}};var mf=1,qa=2;function tr(l,c){this.options=w({},Ce.defaults,c||{}),this.options.inputTarget=this.options.inputTarget||l,this.handlers={},this.session={},this.recognizers=[],this.oldCssProps={},this.element=l,this.input=Wu(this),this.touchAction=new Ki(this,this.options.touchAction),Ka(this,!0),b(this.options.recognizers,function(u){var g=this.add(new u[0](u[1]));u[2]&&g.recognizeWith(u[2]),u[3]&&g.requireFailure(u[3])},this)}tr.prototype={set:function(l){return w(this.options,l),l.touchAction&&this.touchAction.update(),l.inputTarget&&(this.input.destroy(),this.input.target=l.inputTarget,this.input.init()),this},stop:function(l){this.session.stopped=l?qa:mf},recognize:function(l){var c=this.session;if(!c.stopped){this.touchAction.preventDefaults(l);
1827var u,g=this.recognizers,S=c.curRecognizer;(!S||S&&S.state&Pe)&&(S=c.curRecognizer=null);for(var C=0;C<g.length;)u=g[C],c.stopped!==qa&&(!S||u==S||u.canRecognizeWith(S))?u.recognize(l):u.reset(),!S&&u.state&(Ut|an|we)&&(S=c.curRecognizer=u),C++}},get:function(l){if(l instanceof ye)return l;for(var c=this.recognizers,u=0;u<c.length;u++)if(c[u].options.event==l)return c[u];return null},add:function(l){if(h(l,`add`,this))return this;var c=this.get(l.options.event);return c&&this.remove(c),this.recognizers.push(l),l.manager=this,this.touchAction.update(),l},remove:function(l){if(h(l,`remove`,this))return this;if(l=this.get(l),l){var c=this.recognizers,u=Z(c,l);u!==-1&&(c.splice(u,1),this.touchAction.update())}return this},on:function(l,c){if(l!==o&&c!==o){var u=this.handlers;return b(st(l),function(g){u[g]=u[g]||[],u[g].push(c)}),this}},off:function(l,c){if(l!==o){var u=this.handlers;return b(st(l),function(g){c?u[g]&&u[g].splice(Z(u[g],c),1):delete u[g]}),this}},emit:function(l,c){this.options.domEvents&&gf(l,c);var u=this.handlers[l]&&this.handlers[l].slice();if(!(!u||!u.length)){c.type=l,c.preventDefault=function(){c.srcEvent.preventDefault()};for(var g=0;g<u.length;)u[g](c),g++}},destroy:function(){this.element&&Ka(this,!1),this.handlers={},this.session={},this.input.destroy(),this.element=null}};function Ka(l,c){var u=l.element;if(u.style){var g;b(l.options.cssProps,function(S,C){g=_t(u.style,C),c?(l.oldCssProps[g]=u.style[g],u.style[g]=S):u.style[g]=l.oldCssProps[g]||``}),c||(l.oldCssProps={})}}function gf(l,c){var u=n.createEvent(`Event`);u.initEvent(l,!0,!0),u.gesture=c,c.target.dispatchEvent(u)}w(Ce,{INPUT_START:Q,INPUT_MOVE:nt,INPUT_END:G,INPUT_CANCEL:gt,STATE_POSSIBLE:ho,STATE_BEGAN:Ut,STATE_CHANGED:an,STATE_ENDED:we,STATE_RECOGNIZED:Pe,STATE_CANCELLED:Dn,STATE_FAILED:re,DIRECTION_NONE:Fe,DIRECTION_LEFT:Qt,DIRECTION_RIGHT:We,DIRECTION_UP:xe,DIRECTION_DOWN:Be,DIRECTION_HORIZONTAL:jt,DIRECTION_VERTICAL:Ge,DIRECTION_ALL:Ta,Manager:tr,Input:Vt,TouchAction:Ki,TouchInput:mo,MouseInput:fo,PointerEventInput:Yi,TouchMouseInput:Xi,SingleTouchInput:Va,Recognizer:ye,AttrRecognizer:te,Tap:bo,Pan:So,Swipe:Qi,Pinch:$i,Rotate:Zi,Press:Ji,on:_,off:k,each:b,merge:mt,extend:Y,assign:w,inherit:z,bindFn:W,prefixed:_t});var hf=typeof t<`u`?t:typeof self<`u`?self:{};hf.Hammer=Ce,typeof define==`function`&&define.amd?define(function(){return Ce}):typeof Vi<`u`&&Vi.exports?Vi.exports=Ce:t[e]=Ce})(window,document,`Hammer`)});var Iu=u$9((Hi,Ia)=>{"use strict";(function(t,n){typeof Hi==`object`&&typeof Ia==`object`?Ia.exports=n():typeof define==`function`&&define.amd?define([],n):typeof Hi==`object`?Hi.ChartjsPluginStacked100=n():t.ChartjsPluginStacked100=n()})(self,(()=>(()=>{"use strict";var t={d:(y,M)=>{for(var _ in M)t.o(M,_)&&!t.o(y,_)&&Object.defineProperty(y,_,{enumerable:!0,get:M[_]})},o:(y,M)=>Object.prototype.hasOwnProperty.call(y,M),r:y=>{typeof Symbol<`u`&&Symbol.toStringTag&&Object.defineProperty(y,Symbol.toStringTag,{value:`Module`}),Object.defineProperty(y,"__esModule",{value:!0})}},n={};t.r(n),t.d(n,{default:()=>W});var e=function(y,M,_){if(_||arguments.length===2)for(var k,D=0,U=M.length;D<U;D++)!k&&D in M||(k||(k=Array.prototype.slice.call(M,0,D)),k[D]=M[D]);return y.concat(k||Array.prototype.slice.call(M))},o=function(y){return typeof y==`object`&&!!y},i=function(y,M,_){if(o(y))return y[(function(D,U){return D&&D[``.concat(U,`AxisKey`)]||U})(_,M?`x`:`y`)];return y},r=function(y){y.originalData=y.datasets.map((function(M){return _=M.data,e([],_,!0);var _}))},a=function(y,M){var _=Math.pow(10,M);return Math.round(100*y*_)/_},s=function(y,M){var _=Math.pow(10,M);return Math.floor(100*y*_)/_},p=function(y,M){var _=Math.pow(10,M);return Math.ceil(100*y*_)/_},d=function(){return d=Object.assign||function(y){for(var M,_=1,k=arguments.length;_<k;_++)for(var D in M=arguments[_])Object.prototype.hasOwnProperty.call(M,D)&&(y[D]=M[D]);return y},d.apply(this,arguments)},m=function(y,M,_){if(_||arguments.length===2)for(var k,D=0,U=M.length;D<U;D++)!k&&D in M||(k||(k=Array.prototype.slice.call(M,0,D)),k[D]=M[D]);return y.concat(k||Array.prototype.slice.call(M))},h=Symbol(),b=function(y,M,_,k,D){if(!o(M))return D;
1827var U=_&&_[``.concat(k?`y`:`x`,`AxisKey`)];if(!U)return D;var st=M[U];if(!st)return D;var Z=y.findIndex((function(vt){return vt===st}));return Z<0?D:Z},N=function(y,M){return!M||(y.xAxisID||y.yAxisID)===M},w=function(y,M,_,k,D,U,st,Z){U===void 0&&(U=`off`);var vt=(function(_t,Ee,at,Nt,Mt,Ot){var St,Zt=_t.labels,Et=_t.datasets,Se=Zt.length,Ie=(St=Et?.[0])===null||St===void 0?void 0:St.stack,He=m([],new Array(Se),!0).map((function(be,Q){return Et.filter((function(nt){return N(nt,Mt)})).reduce((function(nt,G,gt){var Fe=G.parsing||Ot,Qt=G.stack||h,We=G.data.find((function(Be,jt){return b(Zt,Be,Fe,at,jt)==Q}));nt[Qt]||(nt[Qt]=0);var xe=Math.abs(i(We,at,Fe)||0)*Ee[gt];return Nt&&!Ie?nt[Qt]<xe&&(nt[Qt]=xe):nt[Qt]+=xe,nt}),{})}));return Ie&&Nt?He.map((function(be){var Q=Math.max.apply(Math,Object.values(be));return Object.keys(be).forEach((function(nt){return be[nt]=Q})),be})):He})(y,M,_,D,st,Z),Lt=U===`off`?a:U===`down`?s:p;return y.datasets.map((function(_t){var Ee=N(_t,st),at=new Array(y.labels.length);return _t.data.forEach((function(Nt,Mt){var Ot=_t.parsing||Z,St=i(Nt,_,Ot),Zt=b(y.labels,Nt,Ot,_,Mt);if(Ee){var Et=_t.stack||h,Se=vt[Zt][Et];at[Zt]=St&&Se?Lt(St/Se,k):0}else at[Zt]=St})),at}))},Y=function(y,M){y&&y.forEach((function(_,k){M[k].data=_}))},mt=function(y){return y.options.indexAxis===`y`},z=function(y,M,_,k){var D=d(d({stacked:_},k),y.options.scales[M]);y.options.scales[M]=D};let W={id:`stacked100`,beforeInit:function(y,M,_){if(_.enable){var k=_.replaceTooltipLabel,D=k===void 0||k,U=_.fixNegativeScale,st=U===void 0||U,Z=_.individual,vt=Z!==void 0&&Z,Lt=mt(y),_t=Lt?`x`:`y`,Ee=(function(at,Nt){var Mt={max:100};return at?Nt?d({min:-100},Mt):Mt:d({min:0},Mt)})(y.data.datasets.some((function(at){return at.data.some((function(Nt){return(i(Nt,Lt,at.parsing||y.options.parsing)||0)<0}))})),st);_.axisId?z(y,_.axisId,!vt,Ee):[`x`,`y`].forEach((function(at){z(y,at,!vt,at===_t?Ee:{})})),D&&(y.options.plugins.tooltip.callbacks.label=(function(at,Nt){return function(Mt){var Ot=Mt.chart.data,St=Mt.datasetIndex,Zt=Mt.dataIndex,Et=Ot.datasets[St].label||``,Se=Ot.datasets[St].parsing||Mt.chart.options.parsing,Ie=Ot.originalData[St].find((function(Q,nt){return b(Ot.labels,Q,Se,at,nt)==Zt})),He=Ot.calculatedData[St][Zt],be=i(Ie,at,Se);return N(Ot.datasets[St],Nt)?``.concat(Et,`: `).concat(He,`% (`).concat(be,`)`):``.concat(Et,`: `).concat(He)}})(Lt,_.axisId))}},beforeUpdate:function(y,M,_){if(_.enable){var k=y.data;r(k);var D=k.datasets.map((function(st,Z){var vt,Lt;return((Lt=(vt=y.getDatasetMeta(Z))===null||vt===void 0?void 0:vt.hidden)!==null&&Lt!==void 0?Lt:st.hidden)?0:1})),U=(function(st){if(!(`precision`in st)||typeof st.precision!=`number`)return 1;var Z=Math.floor(st.precision);return Z<0||Z>16?1:Z})(_);k.calculatedData=w(k,D,mt(y),U,_.individual,_.roundOption,_.axisId,y.options.parsing),Y(k.calculatedData,k.datasets)}},afterUpdate:function(y,M,_){if(_.enable){var k=y.data;Y(k.originalData,k.datasets)}}};return n})()))});var yp=(()=>{class t{constructor(){this.helpPages=T$9(u)}initialize(){this.helpPages.register(`DOCUMENTATION`,A),this.helpPages.register(`TUTORIAL`,T)}static{this.ɵfac=function(o){return new(o||t)}}static{this.ɵprov=ce$3({token:t,factory:t.ɵfac,providedIn:`root`})}}return t})();var Cp=(()=>{class t{constructor(){this.helpPages=T$9(u)}initialize(){this.helpPages.register(`THIRD_PARTY`,Ue$1)}static{this.ɵfac=function(o){return new(o||t)}}static{this.ɵprov=ce$3({token:t,factory:t.ɵfac,providedIn:`root`})}}return t})();var _p=(()=>{class t extends l$8{constructor(){super(...arguments),this.configuration=T$9(w$8),this.windows=T$9(B$6),this.logger=T$9(G$4),this.eventBus=T$9(l$10),this.pages=T$9(Te$3)}initialize(){this.configuration.loaded().pipe(Vg$1(this.destroyed)).subscribe(()=>this.load())}load(){let e=this.configuration.value(`matomo`,{trackerUrl:``,scriptUrl:``,siteId:0,mode:`NONE`});if(this.logger.info(`MatomoService`,e),e.mode===`NONE`)return;let o=120,i=600,a=new Date().getTimezoneOffset(),s=a<=i&&o<=a;e.mode===`US_ONLY`&&!s||(this.logger.info(`MatomoService`,`Load Script`),this.push([`trackPageView`]),this.push([`enableLinkTracking`]),this.push([`setTrackerUrl`,`${e.trackerUrl}`]),this.push([`setSiteId`,`${e.siteId}`]),this.windows.loadScript(e.scriptUrl).pipe(Vg$1(this.destroyed),Ms$1(p=>(this.logger.warn(`MatomoService`,`Script failed to load`,p),he$5))).subscribe(()=>{this.logger.info(`MatomoService`,`Script Loaded`),this.pages.currentPage.pipe(Vg$1(this.destroyed)).pipe(yy()).subscribe(()=>this.eventBus.publish(new r$2(`Open`))),this.eventBus.of(r$2.CHANNEL).pipe(Vg$1(this.destroyed)).pipe(lt$3(()=>!!this.pages.currentPage.value.id)).subscribe(p=>{this.logger.info(`MatomoService`,`trackEvent`,this.pages.currentPage.value.id,p),this.push([`trackEvent`,this.pages.currentPage.value.id,p.action,p.name,p.value])})}))}push(e){(this.windows.window._paq=this.windows.window._paq??[]).push(e)}static{this.ɵfac=(()=>{let e;return function(i){return(e||(e=Xv(t)))(i||t)}})()}static{this.ɵprov=ce$3({token:t,factory:t.ɵfac,providedIn:`root`})}}return t})();var J=class{constructor(n,e,o,i){this.configuration=n,this.pageRegistry=e,this.pageRouter=o,this.pageActivity=i}get resolvers(){return[]}get extractors(){return[]}initialize(){this.configuration.loaded().subscribe(()=>{this.pageRegistry.addPages(this.pages),this.pageRouter.addLinkResolvers(this.resolvers),this.pageActivity.addExtractors(this.extractors)})}};var Np=(()=>{class t extends J{constructor(){let e=T$9(M$9),o=T$9(V$6),i=T$9(S$6),r=T$9(w$8);super(r,i,o,e)}get pages(){return[new p$7().id(n$1).menuId(h$3).menuItemId(n$1).linkTemplate(new s$9().commands([S,E$1]).build()).label(`My Account`).build(),new p$7().id(c$1).menuId(h$3).menuItemId(c$1).linkTemplate(new s$9().commands([S,e$1]).build()).label(`Subscriptions`).build(),new p$7().id(A$2).menuId(h$3).menuItemId(c$1).linkTemplate(new s$9().commands([S,e$1,o]).build()).label(`New Subscription`).build()]}static{this.ɵfac=function(o){return new(o||t)}}static{this.ɵprov=ce$3({token:t,factory:t.ɵfac,providedIn:`root`})}}return t})();var Op=(()=>{class t extends J{constructor(){let e=T$9(M$9),o=T$9(V$6),i=T$9(S$6),r=T$9(w$8);super(r,i,o,e)}get pages(){return[new p$7().id(p$3).menuId(h$3).menuItemId(p$3).linkTemplate(new s$9().commands([I$2,t$2]).build()).label(`Agents Administration`).build(),new p$7().id(C$2).menuId(h$3).menuItemId(p$3).linkTemplate(new s$9().commands([I$2,t$2,`$`+r$11]).build()).label(`Agent Administration`).build(),new p$7().id(x$1).menuId(h$3).menuItemId(x$1).linkTemplate(new s$9().commands([I$2,_$6]).build()).label(`Correlations Administration`).build(),new p$7().id(P).menuId(h$3).menuItemId(x$1).linkTemplate(new s$9().commands([I$2,_$6]).extras({queryParams:Object.fromEntries([[A$4,`$`+A$4]]),queryParamsHandling:`merge`}).build()).label(`Correlation Administration`).build(),new p$7().id(G$1).menuId(h$3).menuItemId(G$1).linkTemplate(new s$9().commands([I$2,E$4]).build()).label(`Cloud instances Administration`).build(),new p$7().id(U).menuId(h$3).menuItemId(U).linkTemplate(new s$9().commands([I$2,N$1]).build()).label(`Dedicated IPs Administration`).build(),new p$7().id(L$2).menuId(h$3).menuItemId(U).linkTemplate(new s$9().commands([I$2,N$1]).extras({queryParams:Object.fromEntries([[o$3,`$`+o$3]]),queryParamsHandling:`merge`}).build()).label(`Dedicated IPs Provider Administration`).build(),new p$7().id(i$3).menuId(h$3).menuItemId(i$3).linkTemplate(new s$9().commands([I$2,D$1]).build()).label(`Users Administration`).build(),new p$7().id(a$4).menuId(h$3).menuItemId(i$3).linkTemplate(new s$9().commands([I$2,D$1]).extras({queryParams:Object.fromEntries([[S$2,`$`+S$2]]),queryParamsHandling:`merge`}).build()).label(`User Administration`).build(),new p$7().id(d$6).menuId(h$3).menuItemId(d$6).linkTemplate(new s$9().commands([I$2,s$2]).build()).build(),new p$7().id(H).menuId(h$3).menuItemId(H).linkTemplate(new s$9().commands([I$2,M$2]).build()).label(`Users Sessions Administration`).build(),new p$7().id(K$1).menuId(h$3).menuItemId(K$1).linkTemplate(new s$9().commands([I$2,e$2]).build()).label(`Scheduled Jobs Administration`).build(),new p$7().id(W$1).menuId(h$3).menuItemId(W$1).linkTemplate(new s$9().commands([I$2,R$2]).build()).label(`OAuth Clients Administration`).build(),new p$7().id(u$1).menuId(h$3).menuItemId(u$1).linkTemplate(new s$9().commands([I$2,`sso`]).build()).label(`SSO Administration`).build(),new p$7().id(l$1).menuId(h$3).menuItemId(u$1).linkTemplate(new s$9().commands([I$2,`sso`]).extras({queryParams:Object.fromEntries([[r$3,`$`+r$3]]),queryParamsHandling:`merge`}).build()).label(`SSO Registration Administration`).build(),new p$7().id(F$2).menuId(h$3).menuItemId(F$2).linkTemplate(new s$9().commands([I$2,T$3]).build()).label(`Plans & Subscriptions Administration`).build(),new p$7().id(V$2).menuId(h$3).menuItemId(F$2).linkTemplate(new s$9().commands([I$2,T$3]).extras({queryParams:Object.fromEntries([[S$2,`$`+S$2]]),queryParamsHandling:`merge`}).build()).label(`User Plans & Subscriptions Administration`).build(),new p$7().id(B).menuId(h$3).menuItemId(B).linkTemplate(new s$9().commands([I$2,n$2]).build()).label(`Workspaces Administration`).build(),new p$7().id(m$3).menuId(h$3).menuItemId(m$3).linkTemplate(new s$9().commands([I$2,c$4]).build()).label(`On-Premise Licenses Administration`).build(),new p$7().id(g$1).menuId(h$3).menuItemId(g$1).linkTemplate(new s$9().commands([I$2,O$1]).build()).label(`Bench Data Migrations Administration`).build()]}static{this.ɵfac=function(o){return new(o||t)}}static{this.ɵprov=ce$3({token:t,factory:t.ɵfac,providedIn:`root`})}}return t})();var ze=class{constructor(n,e){this.id=n,this.crud=e}resolve(){return this.crud.id}};var Jt=class extends ze{constructor(n,e,o){super(n,e),this.id=n,this.navigationContext=o}resolve(){return this.navigationContext.context.value.ids[this.id]||super.resolve()}};var he=class extends l$8{constructor(n,e,o,i,r,a){super(),this.pageId=n,this.menuId=e,this.paramId=o,this.paramMode=i,this.crud=r,this.toView=a,this.extracted=new ee$5,this.updated=new ee$5,this.removed=new ee$5,this.parentRemoved=new ee$5,this.parentUpdated=new ee$5,this.crud.of(v$6.CHANNEL).pipe(Vg$1(this.destroyed)).subscribe(this.update.bind(this)),this.crud.of(y$3.CHANNEL).pipe(Vg$1(this.destroyed)).subscribe(this.remove.bind(this))}extract(n){let e=this.navigationEventToEntityId(n);e&&this.extractById(e)}extractById(n){let e=this.crud.getById(n);if(!e)return;let o=this.toView.transform(e);o.link&&this.extracted.next(this.viewToPageActivityBuilder(o).build())}update(n){let e=this.toView.transform(n.entity);e.link&&this.updated.next({menuId:this.menuId,pageId:this.pageId,activity:this.viewToPageActivityBuilder(e).build()})}
1827remove(n){n.entities.forEach(e=>{this.removed.next({menuId:this.menuId,pageId:this.pageId,activityId:e.id})})}viewToPageActivityBuilder(n){return new V$1().pageId(this.pageId).menuId(this.menuId).id(n.source.id).label(n.label).name(n.name).icon(n.icon).link(n.link)}navigationEventToEntityId(n){return this.paramMode===`QUERY_PARAMS`?n.current.queryParamMap.get(this.paramId):n.current.paramMap.get(this.paramId)}};var Mn=class extends he{constructor(n,e,o,i,r,a,s,p){super(n,e,o,i,r,a),this.parentCrud=s,this.parentToView=p,this.parentCrud.of(v$6.CHANNEL).pipe(Vg$1(this.destroyed)).subscribe(this.updateParent.bind(this)),this.parentCrud.of(y$3.CHANNEL).pipe(Vg$1(this.destroyed)).subscribe(this.removeParent.bind(this))}extractById(n){let e=this.crud.getById(n);if(!e)return;let o=this.toView.transform(e);if(!o.link)return;let i=this.viewToPageActivityBuilder(o),r=this.entityToParentId(e),a=this.parentCrud.getById(r);if(a){let s=this.parentToView.transform(a);i.parent(this.viewToPageActivityParentBuilder(s).build())}this.extracted.next(i.build())}updateParent(n){let e=this.parentToView.transform(n.entity);this.parentUpdated.next({menuId:this.menuId,parent:this.viewToPageActivityParentBuilder(e).build()})}removeParent(n){n.entities.forEach(e=>{this.parentRemoved.next({menuId:this.menuId,parentId:e.id})})}viewToPageActivityParentBuilder(n){return new r$1().id(n.source.id).name(n.name).label(n.label).icon(n.icon)}};var ve=class extends Mn{constructor(n,e,o,i,r,a,s,p){super(n,e,o,i,r,a,s,p)}entityToParentId(n){return n.workspaceId}};var Ep=(()=>{class t extends he{constructor(){let e=T$9(b$1),o=T$9(b$3);super(P$11,r$9,o$8,`PARAMS`,o,e)}viewToPageActivityBuilder(e){return super.viewToPageActivityBuilder(e).label(`Edit Workspace`)}static{this.ɵfac=function(o){return new(o||t)}}static{this.ɵprov=ce$3({token:t,factory:t.ɵfac,providedIn:`root`})}}return t})();var Ip=(()=>{class t$9 extends J{constructor(){let e=T$9(M$9),o=T$9(V$6),i=T$9(S$6),r=T$9(w$8);super(r,i,o,e),this.navigationContext=T$9(Tt),this.workspaceEditExtractor=T$9(Ep),this.workspaceCrud=T$9(b$3),this.workspaceToView=T$9(b$1),this.notificationCrud=T$9(tr),this.notificationToView=T$9(w$1)}get resolvers(){return[new Jt(o$8,this.workspaceCrud,this.navigationContext),new ze(_$14,this.notificationCrud)]}get pages(){return[new p$7().id(O$10).menuId(r$9).menuItemId(T$13).linkTemplate(new s$9().commands([I$13,t]).build()).label(`Default Workspace`).build(),new p$7().id(T$13).menuId(r$9).menuItemId(T$13).linkTemplate(new s$9().commands([I$13]).build()).label(`Workspaces`).build(),new p$7().id(P$11).menuId(r$9).menuItemId(P$11).linkTemplate(new s$9().commands([I$13,`$`+o$8]).build()).activity(!0).label(`Workspace`).build(),new p$7().id(c$13).menuId(r$9).menuItemId(P$11).linkTemplate(new s$9().commands([I$13,`$`+o$8]).extras({queryParams:Object.fromEntries([[E$15,`$`+E$15]]),queryParamsHandling:`merge`}).build()).label(`Workspace Members`).build(),new p$7().id(e$8).menuId(r$9).menuItemId(e$8).linkTemplate(new s$9().commands([I$13,`$`+o$8,t$6]).build()).label(`Usage Logs`).build(),new p$7().id(C$10).menuId(r$9).menuItemId(C$10).linkTemplate(new s$9().commands([I$13,`$`+o$8,A$10]).build()).activity(!0).samePageNavigationMode(`default`).label(`Notifications`).build(),new p$7().id(n$14).menuId(r$9).menuItemId(C$10).linkTemplate(new s$9().commands([I$13,`$`+o$8,A$10]).extras({queryParams:Object.fromEntries([[_$14,`$`+_$14]]),queryParamsHandling:`merge`}).build()).label(`Notification`).build()]}get extractors(){return[this.workspaceEditExtractor,new ve(C$10,r$9,_$14,`QUERY_PARAMS`,this.notificationCrud,this.notificationToView,this.workspaceCrud,this.workspaceToView)]}static{this.ɵfac=function(o){return new(o||t$9)}}static{this.ɵprov=ce$3({token:t$9,factory:t$9.ɵfac,providedIn:`root`})}}return t$9})();var wp=(()=>{class t{constructor(){this.service=T$9(z$2),this.toView=T$9(F$1),this.providerCrud=T$9(H$5),this.providerToView=T$9(Pt),this.pageId=T$15,this.menuId=r$9,this.extracted=new ee$5,this.updated=new ee$5,this.removed=new ee$5,this.parentRemoved=new ee$5,this.parentUpdated=new ee$5;let e=T$9(ge$5);this.providerCrud.of(v$6.CHANNEL).pipe($$4(e)).subscribe(this.updateParent.bind(this)),this.providerCrud.of(y$3.CHANNEL).pipe($$4(e)).subscribe(this.removeParent.bind(this))}extract(){let e=this.service.agent.value;if(!e)return;let o=this.toView.transform(e),i=new V$1().pageId(this.pageId).menuId(this.menuId).id(e.id).created(e.agent.lastUpdate).label(`Agent`).name(e.info.name).icon(Sr$1).link(o.link),r=this.providerCrud.getById(e.info.providerId);if(r){let a=this.providerToView.transform(r);i.parent(this.viewToPageActivityParentBuilder(a).build())}this.extracted.next(i.build())}viewToPageActivityParentBuilder(e){return new r$1().id(e.source.id).name(e.name).label(e.label).icon(e.icon)}updateParent(e){let o=this.providerToView.transform(e.entity);this.parentUpdated.next({menuId:this.menuId,parent:this.viewToPageActivityParentBuilder(o).build()})}
1827removeParent(e){e.entities.forEach(o=>{this.parentRemoved.next({menuId:this.menuId,parentId:o.id})})}static{this.ɵfac=function(o){return new(o||t)}}static{this.ɵprov=ce$3({token:t,factory:t.ɵfac,providedIn:`root`})}}return t})();var Tp=(()=>{class t extends he{constructor(){let e=T$9(Pt),o=T$9(H$5);super(D$13,r$9,t$8,`PARAMS`,o,e)}static{this.ɵfac=function(o){return new(o||t)}}static{this.ɵprov=ce$3({token:t,factory:t.ɵfac,providedIn:`root`})}}return t})();var Ap=(()=>{class t extends J{constructor(){let e=T$9(M$9),o=T$9(V$6),i=T$9(S$6),r=T$9(w$8);super(r,i,o,e),this.providerCrud=T$9(H$5),this.agentExtractor=T$9(wp),this.providerExtractor=T$9(Tp)}get resolvers(){return[new ze(t$8,this.providerCrud)]}get pages(){return[new p$7().id(p$10).menuId(r$9).menuItemId(p$10).linkTemplate(new s$9().commands([I$13,`$`+o$8,o$10]).build()).label(`Providers`).build(),new p$7().id(D$13).menuId(r$9).menuItemId(p$10).linkTemplate(new s$9().commands([I$13,`$`+o$8,o$10,`$`+t$8]).build()).label(`Provider`).activity(!0).build(),new p$7().id(n$17).menuId(r$9).menuItemId(p$10).linkTemplate(new s$9().commands([I$13,`$`+o$8,o$10,o,`$`+E$18]).build()).label(`New Provider`).samePageNavigationMode(`default`).build(),new p$7().id(T$15).menuId(r$9).menuItemId(p$10).linkTemplate(new s$9().commands([I$13,`$`+o$8,o$10,`$`+t$8,e$10,`$`+r$11]).build()).label(`Inspect Provider Agent`).activity(!0).build()]}get extractors(){return[this.providerExtractor,this.agentExtractor]}static{this.ɵfac=function(o){return new(o||t)}}static{this.ɵprov=ce$3({token:t,factory:t.ɵfac,providedIn:`root`})}}return t})();var kp=(()=>{class t extends he{constructor(){let e=T$9(b$1),o=T$9(b$3);super(t$5,r$9,o$8,`PARAMS`,o,e),this.pages=T$9(Te$3),o.of(y$3.CHANNEL).pipe(Vg$1(this.destroyed)).subscribe(i=>i.entities.forEach(r=>this.removed.next({pageId:t$5,menuId:r$9,activityId:`browse-`+r.id})))}viewToPageActivityBuilder(e){return super.viewToPageActivityBuilder(e).id(`browse-`+e.source.id).label(`Browse Projects`).link(this.pages.resolveLink(t$5,[o$8,e.source.id]))}static{this.ɵfac=function(o){return new(o||t)}}static{this.ɵprov=ce$3({token:t,factory:t.ɵfac,providedIn:`root`})}}return t})();var Rp=(()=>{class t extends ve{constructor(){let e=T$9(b$1),o=T$9(b$3),i=T$9(O$2),r=T$9(P$8);super(_$11,R$7,T$11,`PARAMS`,r,i,o,e)}viewToPageActivityBuilder(e){return super.viewToPageActivityBuilder(e).label(`Edit Project`)}static{this.ɵfac=function(o){return new(o||t)}}static{this.ɵprov=ce$3({token:t,factory:t.ɵfac,providedIn:`root`})}}return t})();var Dp=(()=>{class t$10 extends J{constructor(){let e=T$9(M$9),o=T$9(V$6),i=T$9(S$6),r=T$9(w$8);super(r,i,o,e),this.navigationContext=T$9(Tt),this.projectListExtractor=T$9(kp),this.projectEditExtractor=T$9(Rp),this.projectCrud=T$9(P$8)}get resolvers(){return[new Jt(T$11,this.projectCrud,this.navigationContext)]}get pages(){return[new p$7().id(t$5).menuId(R$7).menuItemId(t$5).linkTemplate(new s$9().commands([I$13,`$`+o$8,E$11]).build()).activity(!0).label(`Projects`).build(),new p$7().id(_$11).menuId(R$7).menuItemId(_$11).linkTemplate(new s$9().commands([I$13,`$`+o$8,E$11,`$`+T$11]).build()).label(`Project`).activity(!0).build(),new p$7().id(o$6).menuId(R$7).menuItemId(t$5).linkTemplate(new s$9().commands([I$13,`$`+o$8,E$11,t]).build()).label(`Default Project`).build()]}get extractors(){return[this.projectListExtractor,this.projectEditExtractor]}static{this.ɵfac=function(o){return new(o||t$10)}}static{this.ɵprov=ce$3({token:t$10,factory:t$10.ɵfac,providedIn:`root`})}}return t$10})();var zp=(()=>{class t extends J{constructor(){let e=T$9(M$9),o=T$9(V$6),i=T$9(S$6),r=T$9(w$8);super(r,i,o,e)}get pages(){return[new p$7().id(T$14).menuId(i$8).menuItemId(T$14).linkTemplate(new s$9().commands([t$7]).build()).label(`Access`).build(),new p$7().id(S$11).menuId(i$8).menuItemId(S$11).linkTemplate(new s$9().commands([t$7,o$9]).build()).label(`Login`).build(),new p$7().id(`mfa`).menuId(i$8).menuItemId(S$11).linkTemplate(new s$9().commands([t$7,`mfa`,`$`+e$9]).build()).label(`Login`).build(),new p$7().id(G$8).menuId(i$8).menuItemId(S$11).linkTemplate(new s$9().commands([t$7,o$9,`$`+e$9]).build()).label(`Login By Token`).build(),new p$7().id(O$11).menuId(i$8).menuItemId(S$11).linkTemplate(new s$9().commands([t$7,o$9,`$`+e$9,s$
182712,`$`+s$12]).build()).label(`Login Token Redirect`).build(),new p$7().id(a$11).menuId(i$8).menuItemId(a$11).linkTemplate(new s$9().commands([t$7,r$10,`$`+E$17]).build()).label(`Login`).build(),new p$7().id(R$9).menuId(i$8).menuItemId(R$9).linkTemplate(new s$9().commands([t$7,c$14]).build()).label(`Register`).build(),new p$7().id(C$11).menuId(i$8).menuItemId(C$11).linkTemplate(new s$9().commands([t$7,n$15]).build()).label(`Forgot Password`).build(),new p$7().id(I$14).menuId(i$8).menuItemId(I$14).linkTemplate(new s$9().commands([t$7,A$11,`$`+p$9]).build()).label(`Reset Password`).build(),new p$7().id(N$10).menuId(i$8).menuItemId(N$10).linkTemplate(new s$9().commands([t$7,_$15]).build()).label(`Activate Account`).build(),new p$7().id(P$12).menuId(i$8).menuItemId(P$12).linkTemplate(new s$9().commands([t$7,x$9]).build()).label(`Activated Account`).build()]}static{this.ɵfac=function(o){return new(o||t)}}static{this.ɵprov=ce$3({token:t,factory:t.ɵfac,providedIn:`root`})}}return t})();var Ct=class extends Mn{constructor(n,e,o,i,r,a,s,p){super(n,e,o,i,r,a,s,p)}entityToParentId(n){return n.projectId}};var Lp=(()=>{class t extends ve{constructor(){let e=T$9(b$1),o=T$9(b$3),i=T$9(O$2),r=T$9(P$8);super(V$8,R$7,T$11,`PARAMS`,r,i,o,e),this.pages=T$9(Te$3),r.of(y$3.CHANNEL).pipe(Vg$1(this.destroyed)).subscribe(a=>a.entities.forEach(s=>this.removed.next({pageId:V$8,menuId:R$7,activityId:`browse-`+s.id})))}viewToPageActivityBuilder(e){return super.viewToPageActivityBuilder(e).id(`browse-`+e.source.id).label(`Browse Virtual Users`).link(this.pages.resolveLink(V$8,[o$8,e.source.workspaceId],[T$11,e.source.id]))}static{this.ɵfac=function(o){return new(o||t)}}static{this.ɵprov=ce$3({token:t,factory:t.ɵfac,providedIn:`root`})}}return t})();var Vp=(()=>{class t$11 extends J{constructor(){let e=T$9(M$9),o=T$9(V$6),i=T$9(S$6),r=T$9(w$8);super(r,i,o,e),this.navigationContext=T$9(Tt),this.virtualUserCrud=T$9(b$4),this.virtualUserToView=T$9(v$2),this.virtualUserListExtractor=T$9(Lp),this.serverCrud=T$9(w$2),this.serverToView=T$9(T$7),this.variableCrud=T$9(P$1),this.variableToView=T$9(w$4),this.correlationCrud=T$9(et),this.correlationToView=T$9(U$1),this.slaCrud=T$9(g$2),this.slaToView=T$9(Y$1),this.projectCrud=T$9(P$8),this.projectToView=T$9(O$2)}get resolvers(){return[new Jt(R$8,this.virtualUserCrud,this.navigationContext)]}get pages(){return[new p$7().id(D$10).menuId(B$4).menuItemId(V$8).linkTemplate(new s$9().commands([I$13,`$`+o$8,E$11,`$`+T$11,E$13,t]).build()).label(`Default Virtual User`).build(),new p$7().id(V$8).menuId(B$4).menuItemId(V$8).linkTemplate(new s$9().commands([I$13,`$`+o$8,E$11,`$`+T$11,E$13,I$10]).build()).label(`Virtual Users`).activity(!0).build(),new p$7().id(O$8).menuId(B$4).menuItemId(V$8).linkTemplate(new s$9().commands([I$13,`$`+o$8,E$11,`$`+T$11,E$13,I$10,o]).build()).label(`New Virtual User`).build(),this._buildVuEditPage(N$9).build(),this._buildVuEditPage(G$7).samePageNavigationMode(`default`).build(),new p$7().id(P$10).menuId(B$4).menuItemId(P$10).linkTemplate(new s$9().commands([I$13,`$`+o$8,E$11,`$`+T$11,E$13,r$7]).build()).label(`Servers`).activity(!0).build(),new p$7().id(a$10).menuId(B$4).menuItemId(P$10).linkTemplate(new s$9().commands([I$13,`$`+o$8,E$11,`$`+T$11,E$13,r$7]).extras({queryParams:Object.fromEntries([[S$9,`$`+S$9]]),queryParamsHandling:`merge`}).build()).label(`Server`).build(),new p$7().id(i$7).menuId(B$4).menuItemId(i$7).linkTemplate(new s$9().commands([I$13,`$`+o$8,E$11,`$`+T$11,E$13,U$7]).build()).activity(!0).label(`Variables`).samePageNavigationMode(`default`).build(),new p$7().id(l$11).menuId(B$4).menuItemId(i$7).linkTemplate(new s$9().commands([I$13,`$`+o$8,E$11,`$`+T$11,E$13,U$7]).extras({queryParams:Object.fromEntries([[s$11,`$`+s$11]]),queryParamsHandling:`merge`}).build()).label(`Variable`).build(),new p$7().id(C$8).menuId(B$4).menuItemId(C$8).linkTemplate(new s$9().commands([I$13,`$`+o$8,E$11,`$`+T$11,E$13,n$13]).build()).activity(!0).label(`Correlations`).samePageNavigationMode(`default`).build(),new p$7().id(d$14).menuId(B$4).menuItemId(C$8).linkTemplate(new s$9().commands([I$13,`$`+o$8,E$11,`$`+T$11,E$13,n$13]).extras({queryParams:Object.fromEntries([[c$11,`$`+c$11]]),queryParamsHandling:`merge`}).build()).label(`Correlation`).build(),new p$7().id(F$7).menuId(B$4).menuItemId(F$7).linkTemplate(new s$9().commands([I$13,`$`+o$8,E$11,`$`+T$11,E$13,p$8]).build()).label(`Files`).build(),new p$7().id(v$7).menuId(B$4).menuItemId(v$7).linkTemplate(new s$9().commands([I$13,`$`+o$8,E$11,`$`+T$11,E$13,`sla`]).build()).label(`SLA Profiles`).activity(!0).build(),new p$7().id(u$12).menuId(B$4).menuItemId(v$7).linkTemplate(new s$9().commands([I$13,`$`+o$8,E$11,`$`+T$11,E$13,`sla`]).extras({queryParams:Object.fromEntries([[x$8,`$`+x$8]]),queryParamsHandling:`merge`}).build()).label(`SLA Profile`).build()]}get extractors(){return[this.virtualUserListExtractor,new Ct(N$9,B$4,R$8,`PARAMS`,this.virtualUserCrud,this.virtualUserToView,this.projectCrud,this.projectToView),new Ct(P$10,B$4,S$9,`QUERY_PARAMS`,this.serverCrud,this.serverToView,this.projectCrud,this.projectToView),new Ct(i$7,B$4,s$11,`QUERY_PARAMS`,this.variableCrud,this.variableToView,this.projectCrud,this.projectToView),new Ct(C$8,B$4,c$11,`QUERY_PARAMS`,this.correlationCrud,this.correlationToView,this.projectCrud,this.projectToView),new Ct(v$7,B$4,x$8,`QUERY_PARAMS`,this.slaCrud,this.slaToView,this.projectCrud,this.projectToView)]}_buildVuEditPage(e){return new p$7().id(e).menuId(B$4).menuItemId(N$9).linkTemplate(new s$9().commands([I$13,`$`+o$8,E$11,`$`+T$11,E$13,I$10,`$`+R$8]).build()).label(`Virtual User`).activity(!0)}static{this.ɵfac=function(o){return new(o||t$11)}}static{this.ɵprov=ce$3({token:t$11,factory:t$11.ɵfac,providedIn:`root`})}}return t$11})();var Up=(()=>{class t extends J{constructor(){let e=T$9(M$9),o=T$9(V$6),i=T$9(S$6),r=T$9(w$8);super(r,i,o,e),this.navigationContext=T$9(Tt),this.scenarioCrud=T$9(q$3),this.scenarioToView=T$9(_$9),this.monitorConnectionCrud=T$9(P$3),this.monitorConnectionToView=T$9(C$4),this.scheduledJobCrud=T$9(X$1),this.scheduledJobToView=T$9(yt$1),this.projectCrud=T$9(P$8),this.projectToView=T$9(O$2)}get resolvers(){return[new Jt(_$12,this.scenarioCrud,this.navigationContext)]}get pages(){return[new p$7().id(L$7).menuId(h$10).menuItemId(L$7).linkTemplate(new s$9().commands([I$13,`$`+o$8,E$11,`$`+T$11,E$12,r$6]).build()).label(`Scenarios`).build(),new p$7().id(M$10).menuId(h$10).menuItemId(P$9).linkTemplate(new s$9().commands([I$13,`$`+o$8,E$11,`$`+T$11,E$12,r$6,`$`+_$12,T$12]).build()).activity(!0).label(`Scenario`).build(),new p$7().id(P$9).menuId(h$10).menuItemId(P$9).linkTemplate(new s$9().commands([I$13,`$`+o$8,E$11,`$`+T$11,E$12,r$6,`$`+_$12]).build()).activity(!0).label(`Scenario`).build(),new p$7().id(H$3).menuId(h$10).menuItemId(P$9).linkTemplate(new s$9().commands([I$13,`$`+o$8,E$11,`$`+T$11,E$12,r$6,`$`+_$12]).extras({queryParams:Object.fromEntries([[N$8,`$`+N$8]]),queryParamsHandling:`merge`}).build()).label(`Scenario User Profile`).build(),this._buildLaunchPage(x$7).build(),this._buildLaunchPage(U$6).samePageNavigationMode(`default`).build(),new p$7().id(d$13).menuId(h$10).menuItemId(d$13).linkTemplate(new s$9().commands([I$13,`$`+o$8,E$11,`$`+T$11,E$12,s$10]).build()).label(`Monitors`).build(),new p$7().id(G$6).menuId(h$10).menuItemId(d$13).linkTemplate(new s$9().commands([I$13,`$`+o$8,E$11,`$`+T$11,E$12,s$10,`$`+D$9]).build()).label(`Monitor`).activity(!0).build(),new p$7().id(a$9).menuId(h$10).menuItemId(d$13).linkTemplate(new s$9().commands([I$13,`$`+o$8,E$11,`$`+T$11,E$12,s$10,o]).build()).label(`New Monitor`).build(),new p$7().id(i$6).menuId(h$10).menuItemId(i$6
1827).linkTemplate(new s$9().commands([I$13,`$`+o$8,E$11,`$`+T$11,E$12,c$10]).build()).label(`Scheduled Jobs`).activity(!0).build(),new p$7().id(u$11).menuId(h$10).menuItemId(i$6).linkTemplate(new s$9().commands([I$13,`$`+o$8,E$11,`$`+T$11,E$12,c$10]).extras({queryParams:Object.fromEntries([[n$12,`$`+n$12]]),queryParamsHandling:`merge`}).build()).label(`Scheduled Job`).build()]}get extractors(){return[new Ct(P$9,h$10,_$12,`PARAMS`,this.scenarioCrud,this.scenarioToView,this.projectCrud,this.projectToView),new Ct(M$10,h$10,_$12,`PARAMS`,this.scenarioCrud,this.scenarioToView,this.projectCrud,this.projectToView),new Ct(G$6,h$10,D$9,`PARAMS`,this.monitorConnectionCrud,this.monitorConnectionToView,this.projectCrud,this.projectToView),new Ct(i$6,h$10,n$12,`QUERY_PARAMS`,this.scheduledJobCrud,this.scheduledJobToView,this.projectCrud,this.projectToView)]}_buildLaunchPage(e){return new p$7().id(e).menuId(h$10).menuItemId(x$7).linkTemplate(new s$9().commands([I$13,`$`+o$8,E$11,`$`+T$11,E$12,r$6,`$`+_$12,C$7]).build()).label(`Launch test`)}static{this.ɵfac=function(o){return new(o||t)}}static{this.ɵprov=ce$3({token:t,factory:t.ɵfac,providedIn:`root`})}}return t})();var Hp=(()=>{class t{constructor(){this.themeSizes=T$9(Vr$3),this.id=Vr$3.APP_FORCED_SIZE_KEY}resolve(){return this.themeSizes.getSizeRatio()+``}static{this.ɵfac=function(o){return new(o||t)}}static{this.ɵprov=ce$3({token:t,factory:t.ɵfac,providedIn:`root`})}}return t})();var Fp=(()=>{class t extends J{constructor(){let e=T$9(M$9),o=T$9(V$6),i=T$9(S$6),r=T$9(w$8);super(r,i,o,e),this.navigationContext=T$9(Tt),this.reportCrud=T$9(k$2),this.reportToView=T$9(ae$4),this.templateCrud=T$9(A$7),this.templateToView=T$9(P$6),this.themeSizeResolver=T$9(Hp),this.projectCrud=T$9(P$8),this.projectToView=T$9(O$2),this.workspaceCrud=T$9(b$3),this.workspaceToView=T$9(b$1)}get resolvers(){return[new Jt(T$10,this.reportCrud,this.navigationContext),this.themeSizeResolver]}get pages(){return[new p$7().id(s$7).menuId(G$5).menuItemId(n$8).linkTemplate(new s$9().commands([I$13,`$`+o$8,E$11,`$`+T$11,E$10,t$4,e]).build()).label(`Reports`).build(),new p$7().id(n$8).menuId(G$5).menuItemId(n$8).linkTemplate(new s$9().commands([I$13,`$`+o$8,E$11,`$`+T$11,E$10,t$4]).build()).label(`Reports`).build(),new p$7().id(c$6).menuId(G$5).menuItemId(n$8).linkTemplate(new s$9().commands([I$13,`$`+o$8,E$11,`$`+T$11,E$10,t$4,r$5]).build()).label(`Comparison Reports`).build(),new p$7().id(A$9).menuId(G$5).menuItemId(n$8).linkTemplate(new s$9().commands([I$13,`$`+o$8,E$11,`$`+T$11,E$10,t$4,p$6]).build()).label(`Trend Reports`).build(),new p$7().id(x$3).menuId(G$5).menuItemId(L$4).linkTemplate(new s$9().commands([I$13,`$`+o$8,E$11,`$`+T$11,E$10,t$4,`$`+T$10,C$7]).build()).label(`Launch Test`).build(),new p$7().id(L$4).menuId(G$5).menuItemId(L$4).linkTemplate(new s$9().commands([I$13,`$`+o$8,E$11,`$`+T$11,E$10,t$4,`$`+T$10]).build()).activity(!0).label(`Report`).build(),new p$7().id(S$5).menuId(G$5).menuItemId(S$5).linkTemplate(new s$9().commands([I$13,`$`+o$8,E$11,`$`+T$11,E$10,t$4,`$`+T$10,e$5]).extras({queryParams:Object.fromEntries([[Ct$4.THEME_MODE_KEY,`true`],[Vr$3.APP_FORCED_SIZE_KEY,`$`+Vr$3.APP_FORCED_SIZE_KEY]])}).build()).label(`Export Report`).build(),new p$7().id(D$7).menuId(G$5).menuItemId(D$7).linkTemplate(new s$9().commands([I$13,`$`+o$8,E$11,`$`+T$11,E$10,_$10]).build()).activity(!0).samePageNavigationMode(`default`).label(`Report Templates`).build(),new p$7().id(N$6).menuId(G$5).menuItemId(D$7).linkTemplate(new s$9().commands([I$13,`$`+o$8,E$11,`$`+T$11,E$10,_$10]).extras({queryParams:Object.fromEntries([[P$7,`$`+P$7]]),queryParamsHandling:`merge`}).build()).label(`Report Template`).build(),new p$7().id(M$7).menuId(G$5).menuItemId(M$7).linkTemplate(new s$9().commands([I$13,`$`+o$8,E$11,`$`+T$11,E$10,O$7]).build()).label(`JTL Import`).build()]}get extractors(){return[new Ct(L$4,G$5,T$10,`PARAMS`,this.reportCrud,this.reportToView,this.projectCrud,this.projectToView),new ve(D$7,G$5,P$7,`QUERY_PARAMS`,this.templateCrud,this.templateToView,this.workspaceCrud,this.workspaceToView)]}static{this.ɵfac=function(o){return new(o||t)}}static{this.ɵprov=ce$3({token:t,factory:t.ɵfac,providedIn:`root`})}}return t})();var Wp=(()=>{class t extends J{constructor(){let e=T$9(M$9),o=T$9(V$6),i=T$9(S$6),r=T$9(w$8);super(r,i,o,e)}get pages(){return[new p$7().id(E).linkTemplate(new s$9().commands([c]).build()).label(`Page not found`).build()]}static{this.ɵfac=function(o){return new(o||t)}}static{this.ɵprov=ce$3({token:t,factory:t.ɵfac,providedIn:`root`})}}return t})();var Bp=(()=>{class t extends l$8{constructor(){super(...arguments),this.accessPages=T$9(zp),this.accountPages=T$9(Np),this.administrationPages=T$9(Op),this.workspacePages=T$9(Ip),this.providerPages=T$9(Ap),this.projectPages=T$9(Dp),this.designPages=T$9(Vp),this.runtimePages=T$9(Up),this.analysisPages=T$9(Fp),this.errorPages=T$9(Wp)}initialize(){this.accountPages.initialize(),this.administrationPages.initialize(),this.workspacePages.initialize(),this.providerPages.initialize(),this.projectPages.initialize(),this.accessPages.initialize(),this.designPages.initialize(),this.runtimePages.initialize(),this.analysisPages.initialize(),this.errorPages.initialize()}static{this.ɵfac=(()=>{let e;return function(i){return(e||(e=Xv(t)))(i||t)}})()}static{this.ɵprov=ce$3({token:t,factory:t.ɵfac,providedIn:`root`})}}return t})();var Oi=class t{constructor(){this.pages=T$9(Te$3),this.document=T$9(Fn$1),this.destroyRef=T$9(ge$5)}static{this.COLORS=new Map([[r$9,`--app-color-workspace`],[R$7,`--app-color-project`],[B$4,`--app-color-design`],[h$10,`--app-color-runtime`],[G$5,`--app-color-analysis`],[h$3,`--app-color-administration`]])}initialize(){this.pages.currentPage.pipe($$4(this.destroyRef)).subscribe(n=>this.updateColor(n.menuId))}updateColor(n){let e=t.COLORS.get(n)??`--app-color-primary`,o=e+`-alpha`;this.document.documentElement.style.setProperty(`--app-context-color`,`var(${e})`),this.document.documentElement.style.setProperty(`--app-context-color-alpha`,`var(${o})`)}static{this.ɵfac=function(e){return new(e||t)}}static{this.ɵprov=ce$3({token:t,factory:t.ɵfac,providedIn:`root`})}};var Gp=(()=>{class t{constructor(){this.pages=T$9(Te$3),this.titleService=T$9(Ms$2)}initialize(){this.pages.currentPage.pipe(Nu$1(e=>{let o=e.label.length?`${e.label} - `:``;this.titleService.setTitle(`${o}OctoPerf`)})).subscribe()}static{this.ɵfac=function(o){return new(o||t)}}static{this.ɵprov=ce$3({token:t,factory:t.ɵfac,providedIn:`root`})}}return t})();function Yp(){return Nn$1([{provide:xe,useValue:{animationDuration:`200ms`,dynamicHeight:!1}}])}function Xp(){return Nn$1([{provide:Vn$1,useValue:{appearance:`fill`,hideRequiredMarker:!0}}])}function qp(t){return Nn$1([{provide:v$5,useValue:t},xb(()=>j$5(T$9(w$8))()),{provide:$e$1,useClass:V$7,multi:!0},mt$4(vt$3(),Tt$2())])}var Kp=(()=>{class t{constructor(){this.authentication=T$9(ge$7),this.apiUrl=``,T$9(w$8).config.subscribe(o=>this.apiUrl=o.backendApiUrl)}intercept(e,o){let i=this.authentication.securityToken.value;if(wb(e.url,this.apiUrl)&&i){let r=e.clone({headers:e.headers.set(`Authorization`,`Bearer ${i.token}`)});return o.handle(r)}return o.handle(e)}static{this.ɵfac=function(o){return new(o||t)}}static{this.ɵprov=ce$3({token:t,factory:t.ɵfac,providedIn:`root`})}}return t})();function $p(){return Nn$1([{provide:$e$1,useClass:Kp,multi:!0}])}function Jp(){return Nn$1([md$1(()=>{T$9(I$1),T$9(w$3),T$9(S$3)})])}var bf={datetime:S$8.DATETIME_MED_WITH_SECONDS,millisecond:`h:mm:ss.SSS a`,second:S$8.TIME_WITH_SECONDS,minute:S$8.TIME_SIMPLE,hour:{hour:`numeric`},day:{day:`numeric`,month:`short`},week:`DD`,month:{month:`short`,year:`numeric`},quarter:`'Q'q - yyyy`,year:{year:`numeric`}};Lr._date.override({_id:`luxon`,_create:function(t){return S$8.fromMillis(t,this.options)},init(t){this.options.locale||(this.options.locale=t.locale)},formats:function(){return bf},parse:function(t,n){let e=this.options,o=typeof t;return t===null||o===`undefined`?null:(o===`number`?t=this._create(t):o===`string`?typeof n==`string`?t=S$8.fromFormat(t,n,e):t=S$8.fromISO(t,e):t instanceof Date?t=S$8.fromJSDate(t,e):o===`object`&&!(t instanceof S$8)&&(t=S$8.fromObject(t,e)),t.isValid?t.valueOf():null)},format:function(t,n){let e=this._create(t);
1827return typeof n==`string`?e.toFormat(n):e.toLocaleString(n)},add:function(t,n,e){let o={};return o[e]=n,this._create(t).plus(o).valueOf()},diff:function(t,n,e){return this._create(t).diff(this._create(n)).as(e).valueOf()},startOf:function(t,n,e){if(n===`isoWeek`){e=Math.trunc(Math.min(Math.max(0,e),6));let o=this._create(t);return o.minus({days:(o.weekday-e+7)%7}).startOf(`day`).valueOf()}return n?this._create(t).startOf(n).valueOf():t},endOf:function(t,n){return this._create(t).endOf(n).valueOf()}});var Zp={modes:{point(t,n){return Ei(t,n,{intersect:!0})},nearest(t,n,e){return yf(t,n,e)},x(t,n,e){return Ei(t,n,{intersect:e.intersect,axis:`x`})},y(t,n,e){return Ei(t,n,{intersect:e.intersect,axis:`y`})}}};function da(t,n,e){return(Zp.modes[e.mode]||Zp.modes.nearest)(t,n,e)}function xf(t,n,e){return e!==`x`&&e!==`y`?t.inRange(n.x,n.y,`x`,!0)||t.inRange(n.x,n.y,`y`,!0):t.inRange(n.x,n.y,e,!0)}function Pf(t,n,e){return e===`x`?{x:t.x,y:n.y}:e===`y`?{x:n.x,y:t.y}:n}function Ei(t,n,e){return t.filter(o=>e.intersect?o.inRange(n.x,n.y):xf(o,n,e.axis))}function yf(t,n,e){let o=Number.POSITIVE_INFINITY;return Ei(t,n,e).reduce((i,r)=>{let p=ze$1(n,Pf(n,r.getCenterPoint(),e.axis));return p<o?(i=[r],o=p):p===o&&i.push(r),i},[]).sort((i,r)=>i._index-r._index).slice(0,1)}function nn(t,n,e){let o=Math.cos(e),i=Math.sin(e),r=n.x,a=n.y;return{x:r+o*(t.x-r)-i*(t.y-a),y:a+i*(t.x-r)+o*(t.y-a)}}var Cf=(t,n)=>n>t||t.length>n.length&&t.slice(0,n.length)===n;var Qe=.001;var wi=(t,n,e)=>Math.min(e,Math.max(n,t));var Sd=(t,n)=>t.value>=t.start-n&&t.value<=t.end+n;function _f(t,n,e){for(let o of Object.keys(t))t[o]=wi(t[o],n,e);return t}function Nf(t,n,e,o){return!t||!n||e<=0?!1:Math.pow(t.x-n.x,2)+Math.pow(t.y-n.y,2)<=Math.pow(e+o,2)}function bd(t,{x:n,y:e,x2:o,y2:i},r,{borderWidth:a,hitTolerance:s}){let p=(a+s)/2,d=t.x>=n-p-Qe&&t.x<=o+p+Qe,m=t.y>=e-p-Qe&&t.y<=i+p+Qe;return r===`x`?d:(r===`y`||d)&&m}function xd(t,{rect:n,center:e},o,{rotation:i,borderWidth:r,hitTolerance:a}){return bd(nn(t,e,it$2(-i)),n,o,{borderWidth:r,hitTolerance:a})}function on(t,n){let{centerX:e,centerY:o}=t.getProps([`centerX`,`centerY`],n);return{x:e,y:o}}function Mf(t,n,e,o=!0){let i=e.split(`.`),r=0;for(let a of n.split(`.`)){let s=i[r++];if(parseInt(a,10)<parseInt(s,10))break;
1827if(Cf(s,a)){if(o)throw new Error(`${t} v${e} is not supported. v${n} or newer is required.`);return!1}}return!0}var Pd=t=>typeof t==`string`&&t.endsWith(`%`);var yd=t=>parseFloat(t)/100;var Cd=t=>wi(yd(t),0,1);var eo=(t,n)=>({x:t,y:n,x2:t,y2:n,width:0,height:0});var Of={box:t=>eo(t.centerX,t.centerY),doughnutLabel:t=>eo(t.centerX,t.centerY),ellipse:t=>({centerX:t.centerX,centerY:t.centerX,radius:0,width:0,height:0}),label:t=>eo(t.centerX,t.centerY),line:t=>eo(t.x,t.y),point:t=>({centerX:t.centerX,centerY:t.centerY,radius:0,width:0,height:0}),polygon:t=>eo(t.centerX,t.centerY)};function ua(t,n){return n===`start`?0:n===`end`?t:Pd(n)?Cd(n)*t:t/2}function Ve(t,n,e=!0){return typeof n==`number`?n:Pd(n)?(e?Cd(n):yd(n))*t:t}function Ef(t,n){let{x:e,width:o}=t,i=n.textAlign;return i===`center`?e+o/2:i===`end`||i===`right`?e+o:e}function _d(t,n,{borderWidth:e,position:o,xAdjust:i,yAdjust:r},a){let s=A$8(a),p=n.width+(s?a.width:0)+e,d=n.height+(s?a.height:0)+e,m=fa(o),h=Qp(t.x,p,i,m.x),b=Qp(t.y,d,r,m.y);return{x:h,y:b,x2:h+p,y2:b+d,width:p,height:d,centerX:h+p/2,centerY:b+d/2}}function fa(t,n=`center`){return A$8(t)?{x:P$5(t.x,n),y:P$5(t.y,n)}:(t=P$5(t,n),{x:t,y:t})}var Nd=(t,n)=>t&&t.autoFit&&n<1;function Md(t,n){let e=t.font,o=F$5(e)?e:[e];return Nd(t,n)?o.map(function(i){let r=j$3(i);return r.size=Math.floor(i.size*n),r.lineHeight=i.lineHeight,j$3(r)}):o.map(i=>j$3(i))}function Od(t){return t&&(Xt$1(t.xValue)||Xt$1(t.yValue))}function Qp(t,n,e=0,o){return t-ua(n,o)+e}function En(t,n,e){let o=e.init;if(o){if(o===!0)return Id(n,e)}else return;return If(t,n,e)}function Ed(t,n,e){let o=!1;return n.forEach(i=>{ut$2(t[i])?(o=!0,e[i]=t[i]):Xt$1(e[i])&&delete e[i]}),o}function Id(t,n){return Of[n.type||`line`](t)}function If(t,n,e){let o=I$8(e.init,[{chart:t,properties:n,options:e}]);if(o===!0)return Id(n,e);if(A$8(o))return o}var oa=new Map;var wf=t=>isNaN(t)||t<=0;var Tf=t=>t.reduce(function(n,e){return n+=e.string,n},``);function Ti(t){if(t&&typeof t==`object`){let n=t.toString();return n===`[object HTMLImageElement]`||n===`[object HTMLCanvasElement]`}}function Ai(t,{x:n,y:e},o){o&&(t.translate(n,e),t.rotate(it$2(o)),t.translate(-n,-e))}function Me(t,n){if(n&&n.borderWidth)return t.lineCap=n.borderCapStyle||`butt`,t.setLineDash(n.borderDash),t.lineDashOffset=n.borderDashOffset,t.lineJoin=n.borderJoinStyle||`miter`,t.lineWidth=n.borderWidth,t.strokeStyle=n.borderColor,!0}function In(t,n){t.shadowColor=n.backgroundShadowColor,t.shadowBlur=n.shadowBlur,t.shadowOffsetX=n.shadowOffsetX,t.shadowOffsetY=n.shadowOffsetY}function ki(t,n){let e=n.content;if(Ti(e))return{width:Ve(e.width,n.width),height:Ve(e.height,n.height)};let o=Md(n),i=n.textStrokeWidth,r=F$5(e)?e:[e],a=r.join()+Tf(o)+i+(t._measureText?`-spriting`:``);return oa.has(a)||oa.set(a,Df(t,r,o,i)),oa.get(a)}function wd(t,n,e){let{x:o,y:i,width:r,height:a}=n;t.save(),In(t,e);let s=Me(t,e);t.fillStyle=e.backgroundColor,t.beginPath(),Jt$3(t,{x:o,y:i,w:r,h:a,radius:_f(Pt$3(e.borderRadius),0,Math.min(r,a)/2)}),t.closePath(),t.fill(),s&&(t.shadowColor=e.borderShadowColor,t.stroke()),t.restore()}function Td(t,n,e,o){let i=e.content;if(Ti(i)){t.save(),t.globalAlpha=jf(e.opacity,i.style.opacity),t.drawImage(i,n.x,n.y,n.width,n.height),t.restore();return}let r=F$5(i)?i:[i],a=Md(e,o),s=e.color,p=F$5(s)?s:[s],d=Ef(n,e),m=n.y+e.textStrokeWidth/2;t.save(),t.textBaseline=`middle`,t.textAlign=e.textAlign,Af(t,e)&&zf(t,{x:d,y:m},r,a),Lf(t,{x:d,y:m},r,{fonts:a,colors:p}),t.restore()}function Af(t,n){if(n.textStrokeWidth>0)return t.lineJoin=`round`,t.miterLimit=2,t.lineWidth=n.textStrokeWidth,t.strokeStyle=n.textStrokeColor,!0}function kf(t,n,e,o){let{radius:i,options:r}=n,a=r.pointStyle,s=r.rotation,p=(s||0)*ha$1;if(Ti(a)){t.save(),t.translate(e,o),t.rotate(p),t.drawImage(a,-a.width/2,-a.height/2,a.width,a.height),t.restore();return}wf(i)||Rf(t,{x:e,y:o,radius:i,rotation:s,style:a,rad:p})}function Rf(t,{x:n,y:e,radius:o,rotation:i,style:r,rad:a}){let s,p,d,m;switch(t.beginPath(),r){default:t.arc(n,e,o,0,z$4),t.closePath();break;case`triangle`:t.moveTo(n+Math.sin(a)*o,e-Math.cos(a)*o),a+=Ts,t.lineTo(n+Math.sin(a)*o,e-Math.cos(a)*o),a+=Ts,t.lineTo(n+Math.sin(a)*o,e-Math.cos(a)*o),t.closePath();break;
1827case`rectRounded`:m=o*.516,d=o-m,s=Math.cos(a+Lt$2)*d,p=Math.sin(a+Lt$2)*d,t.arc(n-s,e-p,m,a-L$3,a-N$5),t.arc(n+p,e-s,m,a-N$5,a),t.arc(n+s,e+p,m,a,a+N$5),t.arc(n-p,e+s,m,a+N$5,a+L$3),t.closePath();break;case`rect`:if(!i){d=Math.SQRT1_2*o,t.rect(n-d,e-d,2*d,2*d);break}a+=Lt$2;case`rectRot`:s=Math.cos(a)*o,p=Math.sin(a)*o,t.moveTo(n-s,e-p),t.lineTo(n+p,e-s),t.lineTo(n+s,e+p),t.lineTo(n-p,e+s),t.closePath();break;case`crossRot`:a+=Lt$2;case`cross`:s=Math.cos(a)*o,p=Math.sin(a)*o,t.moveTo(n-s,e-p),t.lineTo(n+s,e+p),t.moveTo(n+p,e-s),t.lineTo(n-p,e+s);break;case`star`:s=Math.cos(a)*o,p=Math.sin(a)*o,t.moveTo(n-s,e-p),t.lineTo(n+s,e+p),t.moveTo(n+p,e-s),t.lineTo(n-p,e+s),a+=Lt$2,s=Math.cos(a)*o,p=Math.sin(a)*o,t.moveTo(n-s,e-p),t.lineTo(n+s,e+p),t.moveTo(n+p,e-s),t.lineTo(n-p,e+s);break;case`line`:s=Math.cos(a)*o,p=Math.sin(a)*o,t.moveTo(n-s,e-p),t.lineTo(n+s,e+p);break;case`dash`:t.moveTo(n,e),t.lineTo(n+Math.cos(a)*o,e+Math.sin(a)*o);break}t.fill()}function Df(t,n,e,o){t.save();let i=n.length,r=0,a=o;for(let s=0;s<i;s++){let p=e[Math.min(s,e.length-1)];t.font=p.string;let d=n[s];r=Math.max(r,t.measureText(d).width+o),a+=p.lineHeight}return t.restore(),{width:r,height:a}}function zf(t,{x:n,y:e},o,i){t.beginPath();let r=0;o.forEach(function(a,s){let p=i[Math.min(s,i.length-1)],d=p.lineHeight;t.font=p.string,t.strokeText(a,n,e+d/2+r),r+=d}),t.stroke()}function Lf(t,{x:n,y:e},o,{fonts:i,colors:r}){let a=0;o.forEach(function(s,p){let d=r[Math.min(p,r.length-1)],m=i[Math.min(p,i.length-1)],h=m.lineHeight;t.beginPath(),t.font=m.string,t.fillStyle=d,t.fillText(s,n,e+h/2+a),a+=h,t.fill()})}function jf(t,n){let e=It(t)?t:n;return It(e)?wi(e,0,1):1}var Ad=[`left`,`bottom`,`top`,`right`];function Vf(t,n){let{pointX:e,pointY:o,options:i}=n,r=i.callout,a=r&&r.display&&Bf(n,r);if(!a||Yf(n,r,a))return;if(t.save(),t.beginPath(),!Me(t,r))return t.restore();let{separatorStart:p,separatorEnd:d}=Uf(n,a),{sideStart:m,sideEnd:h}=Ff(n,a,p);(r.margin>0||i.borderWidth===0)&&(t.moveTo(p.x,p.y),t.lineTo(d.x,d.y)),t.moveTo(m.x,m.y),t.lineTo(h.x,h.y);let b=nn({x:e,y:o},n.getCenterPoint(),it$2(-n.rotation));t.lineTo(b.x,b.y),t.stroke(),t.restore()}function Uf(t,n){let{x:e,y:o,x2:i,y2:r}=t,a=Hf(t,n),s,p;return n===`left`||n===`right`?(s={x:e+a,y:o},p={x:s.x,y:r}):(s={x:e,y:o+a},p={x:i,y:s.y}),{separatorStart:s,separatorEnd:p}}function Hf(t,n){let{width:e,height:o,options:i}=t,r=i.callout.margin+i.borderWidth/2;return n===`right`?e+r:n===`bottom`?o+r:-r}function Ff(t,n,e){let{y:o,width:i,height:r,options:a}=t,s=a.callout.start,p=Wf(n,a.callout),d,m;return n===`left`||n===`right`?(d={x:e.x,y:o+Ve(r,s)},m={x:d.x+p,y:d.y}):(d={x:e.x+Ve(i,s),y:e.y},m={x:d.x,y:d.y+p}),{sideStart:d,sideEnd:m}}function Wf(t,n){let e=n.side;return t===`left`||t===`top`?-e:e}function Bf(t,n){let e=n.position;return Ad.includes(e)?e:Gf(t,n)}function Gf(t,n){let{x:e,y:o,x2:i,y2:r,width:a,height:s,pointX:p,pointY:d,centerX:m,centerY:h,rotation:b}=t,N={x:m,y:h},w=n.start,Y=Ve(a,w),mt=Ve(s,w),z=[e,e+Y,e+Y,i],W=[o+mt,r,o,r],y=[];for(let M=0;M<4;M++){let _=nn({x:z[M],y:W[M]},N,it$2(b));y.push({position:Ad[M],distance:ze$1(_,{x:p,y:d})})}return y.sort((M,_)=>M.distance-_.distance)[0].position}function Yf(t,n,e){let{pointX:o,pointY:i}=t,r=n.margin,a=o,s=i;return e===`left`?a+=r:e===`right`?a-=r:e===`top`?s+=r:e===`bottom`&&(s-=r),t.inRange(a,s)}var td={xScaleID:{min:`xMin`,max:`xMax`,start:`left`,end:`right`,startProp:`x`,endProp:`x2`},yScaleID:{min:`yMin`,max:`yMax`,start:`bottom`,end:`top`,startProp:`y`,endProp:`y2`}};function On(t,n,e){return n=typeof n==`number`?n:t.parse(n),W$2(n)?t.getPixelForValue(n):e}function tn(t,n,e){let o=n[e];if(o||e===`scaleID`)return o;let i=e.charAt(0),r=Object.values(t).filter(a=>a.axis&&a.axis===i);return r.length?r[0].id:i}function kd(t,n){if(t){let e=t.options.reverse;return{start:On(t,n.min,e?n.end:n.start),end:On(t,n.max,e?n.start:n.end)}}}function Rd(t,n){let{chartArea:e,scales:o}=t,i=o[tn(o,n,`xScaleID`)],r=o[tn(o,n,`yScaleID`)],a=e.width/2,s=e.height/2;return i&&(a=On(i,n.xValue,i.left+i.width/2)),r&&(s=On(r,n.yValue,r.top+r.height/2)),{x:a,y:s}}function ma(t,n){let e=t.scales,o=e[tn(e,n,`xScaleID`)],i=e[tn(e,n,`yScaleID`)];if(!o&&!i)return{};let{left:r,right:a}=o||t.chartArea,{top:s,bottom:p}=i||t.chartArea,d=ed(o,{min:n.xMin,max:n.xMax,start:r,end:a});r=d.start,a=d.end;let m=ed(i,{min:n.yMin,max:n.yMax,start:p,end:s});return s=m.start,p=m.end,{x:r,y:s,x2:a,y2:p,width:a-r,height:p-s,centerX:r+(a-r)/2,centerY:s+(p-s)/2}}
1827function Dd(t,n){if(!Od(n)){let e=ma(t,n),o=n.radius;(!o||isNaN(o))&&(o=Math.min(e.width,e.height)/2,n.radius=o);let i=o*2,r=e.centerX+n.xAdjust,a=e.centerY+n.yAdjust;return{x:r-o,y:a-o,x2:r+o,y2:a+o,centerX:r,centerY:a,width:i,height:i,radius:o}}return qf(t,n)}function Xf(t,n){let{scales:e,chartArea:o}=t,i=e[n.scaleID],r={x:o.left,y:o.top,x2:o.right,y2:o.bottom};return i?Kf(i,r,n):$f(e,r,n),r}function zd(t,n){let e=ma(t,n);return e.initProperties=En(t,e,n),e.elements=[{type:`label`,optionScope:`label`,properties:Qf(t,e,n),initProperties:e.initProperties}],e}function qf(t,n){let e=Rd(t,n),o=n.radius*2;return{x:e.x-n.radius+n.xAdjust,y:e.y-n.radius+n.yAdjust,x2:e.x+n.radius+n.xAdjust,y2:e.y+n.radius+n.yAdjust,centerX:e.x+n.xAdjust,centerY:e.y+n.yAdjust,radius:n.radius,width:o,height:o}}function ed(t,n){let e=kd(t,n)||n;return{start:Math.min(e.start,e.end),end:Math.max(e.start,e.end)}}function Kf(t,n,e){let o=On(t,e.value,NaN),i=On(t,e.endValue,o);t.isHorizontal()?(n.x=o,n.x2=i):(n.y=o,n.y2=i)}function $f(t,n,e){for(let o of Object.keys(td)){let i=t[tn(t,e,o)];if(i){let{min:r,max:a,start:s,end:p,startProp:d,endProp:m}=td[o],h=kd(i,{min:e[r],max:e[a],start:i[s],end:i[p]});n[d]=h.start,n[m]=h.end}}}function Jf({properties:t,options:n},e,o,i){let{x:r,x2:a,width:s}=t;return Ld({start:r,end:a,size:s,borderWidth:n.borderWidth},{position:o.x,padding:{start:i.left,end:i.right},adjust:n.label.xAdjust,size:e.width})}function Zf({properties:t,options:n},e,o,i){let{y:r,y2:a,height:s}=t;return Ld({start:r,end:a,size:s,borderWidth:n.borderWidth},{position:o.y,padding:{start:i.top,end:i.bottom},adjust:n.label.yAdjust,size:e.height})}function Ld(t,n){let{start:e,end:o,borderWidth:i}=t,{position:r,padding:{start:a,end:s},adjust:p}=n,d=o-i-e-a-s-n.size;return e+i/2+p+ua(d,r)}function Qf(t,n,e){let o=e.label;o.backgroundColor=`transparent`,o.callout.display=!1;let i=fa(o.position),r=K$3(o.padding),a=ki(t.ctx,o),s=Jf({properties:n,options:e},a,i,r),p=Zf({properties:n,options:e},a,i,r),d=a.width+r.width,m=a.height+r.height;return{x:s,y:p,x2:s+d,y2:p+m,width:d,height:m,centerX:s+d/2,centerY:p+m/2,rotation:o.rotation}}var ia=[`enter`,`leave`];var ga=ia.concat(`click`);function tm(t,n,e){n.listened=Ed(e,ga,n.listeners),n.moveListened=!1,ia.forEach(o=>{ut$2(e[o])&&(n.moveListened=!0)}),(!n.listened||!n.moveListened)&&n.annotations.forEach(o=>{!n.listened&&ut$2(o.click)&&(n.listened=!0),n.moveListened||ia.forEach(i=>{ut$2(o[i])&&(n.listened=!0,n.moveListened=!0)})})}function em(t,n,e){if(t.listened)switch(n.type){case`mousemove`:case`mouseout`:return nm(t,n,e);case`click`:return om(t,n,e)}}function nm(t,n,e){if(!t.moveListened)return;let o;n.type===`mousemove`?o=da(t.visibleElements,n,e.interaction):o=[];let i=t.hovered;t.hovered=o;let r={state:t,event:n},a=nd(r,`leave`,i,o);return nd(r,`enter`,o,i)||a}function nd({state:t,event:n},e,o,i){let r;for(let a of o)i.indexOf(a)<0&&(r=jd(a.options[e]||t.listeners[e],a,n)||r);return r}function om(t,n,e){let o=t.listeners,i=da(t.visibleElements,n,e.interaction),r;for(let a of i)r=jd(a.options.click||o.click,a,n)||r;return r}function jd(t,n,e){return I$8(t,[n.$context,e])===!0}var Ii=[`afterDraw`,`beforeDraw`];function im(t,n,e){let o=n.visibleElements;n.hooked=Ed(e,Ii,n.hooks),n.hooked||o.forEach(i=>{n.hooked||Ii.forEach(r=>{ut$2(i.options[r])&&(n.hooked=!0)})})}function od(t,n,e){if(t.hooked)return I$8(n.options[e]||t.hooks[e],[n.$context])}function rm(t,n,e){let o=pm(t.scales,n,e),i=id(n,o,`min`,`suggestedMin`);i=id(n,o,`max`,`suggestedMax`)||i,i&&ut$2(n.handleTickRangeOptions)&&n.handleTickRangeOptions()}function am(t,n){for(let e of t)lm(e,n)}function id(t,n,e,o){if(W$2(n[e])&&!sm(t.options,e,o)){let i=t[e]!==n[e];return t[e]=n[e],i}}function sm(t,n,e){return Xt$1(t[n])||Xt$1(t[e])}function lm(t,n){for(let e of[`scaleID`,`xScaleID`,`yScaleID`]){let o=tn(n,t,e);o&&!n[o]&&cm(t,e)&&console.warn(`No scale found with id '${o}' for annotation '${t.id}'`)}}function cm(t,n){if(n===`scaleID`)return!0;let e=n.charAt(0);for(let o of[`Min`,`Max`,`Value`])if(Xt$1(t[e+o]))return!0;return!1}function pm(t,n,e){let o=n.axis,i=n.id,r=o+`ScaleID`,a={min:P$5(n.min,Number.NEGATIVE_INFINITY),max:P$5(n.max,Number.POSITIVE_INFINITY)};for(let s of e)s.scaleID===i?rd(s,n,[`value`,`endValue`],a):tn(t,s,r)===i&&rd(s,n,[o+`Min`,o+`Max`,o+`Value`],a);return a}function rd(t,n,e,o){for(let i of e){let r=t[i];if(Xt$1(r)){let a=n.parse(r);o.min=Math.min(o.min,a),o.max=Math.max(o.max,a)}}}var Vd=(()=>{class t extends xt$1{inRange(e,o,i,r){let{x:a,y:s}=nn({x:e,y:o},this.getCenterPoint(r),it$2(-this.options.rotation));return bd({x:a,y:s},this.getProps([`x`,`y`,`x2`,`y2`],r),i,this.options)}getCenterPoint(e){return on(this,e)}draw(e){e.save(),Ai(e,this.getCenterPoint(),this.options.rotation),wd(e,this,this.options),e.restore(
1827)}get label(){return this.elements&&this.elements[0]}resolveElementProperties(e,o){return zd(e,o)}}return t.id=`boxAnnotation`,t.defaults={adjustScaleRange:!0,backgroundShadowColor:`transparent`,borderCapStyle:`butt`,borderDash:[],borderDashOffset:0,borderJoinStyle:`miter`,borderRadius:0,borderShadowColor:`transparent`,borderWidth:1,display:!0,init:void 0,hitTolerance:0,label:{backgroundColor:`transparent`,borderWidth:0,callout:{display:!1},color:`black`,content:null,display:!1,drawTime:void 0,font:{family:void 0,lineHeight:void 0,size:void 0,style:void 0,weight:`bold`},height:void 0,hitTolerance:void 0,opacity:void 0,padding:6,position:`center`,rotation:void 0,textAlign:`start`,textStrokeColor:void 0,textStrokeWidth:0,width:void 0,xAdjust:0,yAdjust:0,z:void 0},rotation:0,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,xMax:void 0,xMin:void 0,xScaleID:void 0,yMax:void 0,yMin:void 0,yScaleID:void 0,z:0},t.defaultRoutes={borderColor:`color`,backgroundColor:`color`},t.descriptors={label:{_fallback:!0}},t})();var dm=(()=>{class t extends xt$1{inRange(e,o,i,r){return xd({x:e,y:o},{rect:this.getProps([`x`,`y`,`x2`,`y2`],r),center:this.getCenterPoint(r)},i,{rotation:this.rotation,borderWidth:0,hitTolerance:this.options.hitTolerance})}getCenterPoint(e){return on(this,e)}draw(e){let o=this.options;!o.display||!o.content||(vm(e,this),e.save(),Ai(e,this.getCenterPoint(),this.rotation),Td(e,this,o,this._fitRatio),e.restore())}resolveElementProperties(e,o){let i=um(e,o);if(!i)return{};let{controllerMeta:r,point:a,radius:s}=mm(e,o,i),p=ki(e.ctx,o),d=gm(p,s);Nd(o,d)&&(p={width:p.width*d,height:p.height*d});let{position:m,xAdjust:h,yAdjust:b}=o,N=_d(a,p,{borderWidth:0,position:m,xAdjust:h,yAdjust:b});return s$6(r$4(r$4({initProperties:En(e,N,o)},N),r),{rotation:o.rotation,_fitRatio:d})}}return t.id=`doughnutLabelAnnotation`,t.defaults={autoFit:!0,autoHide:!0,backgroundColor:`transparent`,backgroundShadowColor:`transparent`,borderColor:`transparent`,borderDash:[],borderDashOffset:0,borderJoinStyle:`miter`,borderShadowColor:`transparent`,borderWidth:0,color:`black`,content:null,display:!0,font:{family:void 0,lineHeight:void 0,size:void 0,style:void 0,weight:void 0},height:void 0,hitTolerance:0,init:void 0,opacity:void 0,position:`center`,rotation:0,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,spacing:1,textAlign:`center`,textStrokeColor:void 0,textStrokeWidth:0,width:void 0,xAdjust:0,yAdjust:0},t.defaultRoutes={},t})();function um(t,n){return t.getSortedVisibleDatasetMetas().reduce(function(e,o){let i=o.controller;return i instanceof ve$4&&fm(t,n,o.data)&&(!e||i.innerRadius<e.controller.innerRadius)&&i.options.circumference>=90?o:e},void 0)}function fm(t,n,e){if(!n.autoHide)return!0;for(let o=0;o<e.length;o++)if(!e[o].hidden&&t.getDataVisibility(o))return!0}function mm({chartArea:t},n,e){let{left:o,top:i,right:r,bottom:a}=t,{innerRadius:s,offsetX:p,offsetY:d}=e.controller,m=(o+r)/2+p,h=(i+a)/2+d,b={left:Math.max(m-s,o),right:Math.min(m+s,r),top:Math.max(h-s,i),bottom:Math.min(h+s,a)},N={x:(b.left+b.right)/2,y:(b.top+b.bottom)/2},w=n.spacing+n.borderWidth/2,Y=s-w,mt=N.y>h,W=hm(mt?i+w:a-w,m,h,Y);return{controllerMeta:r$4({_centerX:m,_centerY:h,_radius:Y,_counterclockwise:mt},W),point:N,radius:Math.min(s,Math.min(b.right-b.left,b.bottom-b.top)/2)}}function gm({width:t,height:n},e){let o=Math.sqrt(Math.pow(t,2)+Math.pow(n,2));return e*2/o}function hm(t,n,e,o){let i=Math.pow(e-t,2),r=Math.pow(o,2),a=n*-2,s=Math.pow(n,2)+i-r,p=Math.pow(a,2)-4*s;if(p<=0)return{_startAngle:0,_endAngle:z$4};let d=(-a-Math.sqrt(p))/2,m=(-a+Math.sqrt(p))/2;return{_startAngle:Pi({x:n,y:e},{x:d,y:t}).angle,_endAngle:Pi({x:n,y:e},{x:m,y:t}).angle}}function vm(t,n){let{_centerX:e,_centerY:o,_radius:i,_startAngle:r,_endAngle:a,_counterclockwise:s,options:p}=n;t.save();let d=Me(t,p);t.fillStyle=p.backgroundColor,t.beginPath(),t.arc(e,o,i,r,a,s),t.closePath(),t.fill(),d&&t.stroke(),t.restore()}var Ud=(()=>{class t extends xt$1{inRange(e,o,i,r){return xd({x:e,y:o},{rect:this.getProps([`x`,`y`,`x2`,`y2`],r),center:this.getCenterPoint(r)},i,{rotation:this.rotation,borderWidth:this.options.borderWidth,hitTolerance:this.options.hitTolerance})}getCenterPoint(e){return on(this,e)}draw(e){let o=this.options,i=!Xt$1(this._visible)||this._visible;!o.display||!o.content||!i||(e.save(),Ai(e,this.getCenterPoint(),this.rotation),Vf(e,this),wd(e,this,o),Td(e,Sm(this),o),e.restore(
1827))}resolveElementProperties(e,o){let i;if(Od(o))i=Rd(e,o);else{let{centerX:p,centerY:d}=ma(e,o);i={x:p,y:d}}let r=K$3(o.padding),a=ki(e.ctx,o),s=_d(i,a,o,r);return s$6(r$4({initProperties:En(e,s,o),pointX:i.x,pointY:i.y},s),{rotation:o.rotation})}}return t.id=`labelAnnotation`,t.defaults={adjustScaleRange:!0,backgroundColor:`transparent`,backgroundShadowColor:`transparent`,borderCapStyle:`butt`,borderDash:[],borderDashOffset:0,borderJoinStyle:`miter`,borderRadius:0,borderShadowColor:`transparent`,borderWidth:0,callout:{borderCapStyle:`butt`,borderColor:void 0,borderDash:[],borderDashOffset:0,borderJoinStyle:`miter`,borderWidth:1,display:!1,margin:5,position:`auto`,side:5,start:`50%`},color:`black`,content:null,display:!0,font:{family:void 0,lineHeight:void 0,size:void 0,style:void 0,weight:void 0},height:void 0,hitTolerance:0,init:void 0,opacity:void 0,padding:6,position:`center`,rotation:0,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,textAlign:`center`,textStrokeColor:void 0,textStrokeWidth:0,width:void 0,xAdjust:0,xMax:void 0,xMin:void 0,xScaleID:void 0,xValue:void 0,yAdjust:0,yMax:void 0,yMin:void 0,yScaleID:void 0,yValue:void 0,z:0},t.defaultRoutes={borderColor:`color`},t})();function Sm({x:t,y:n,width:e,height:o,options:i}){let r=i.borderWidth/2,a=K$3(i.padding);return{x:t+a.left+r,y:n+a.top+r,width:e-a.left-a.right-i.borderWidth,height:o-a.top-a.bottom-i.borderWidth}}var ha=(t,n,e)=>({x:t.x+e*(n.x-t.x),y:t.y+e*(n.y-t.y)});var ra=(t,n,e)=>ha(n,e,Math.abs((t-n.y)/(e.y-n.y))).x;var ad=(t,n,e)=>ha(n,e,Math.abs((t-n.x)/(e.x-n.x))).y;var oo=t=>t*t;var bm=(t,n,{x:e,y:o,x2:i,y2:r},a)=>a===`y`?{start:Math.min(o,r),end:Math.max(o,r),value:n}:{start:Math.min(e,i),end:Math.max(e,i),value:t};var sd=(t,n,e,o)=>(1-o)*(1-o)*t+2*(1-o)*o*n+o*o*e;var aa=(t,n,e,o)=>({x:sd(t.x,n.x,e.x,o),y:sd(t.y,n.y,e.y,o)});var ld=(t,n,e,o)=>2*(1-o)*(n-t)+2*o*(e-n);var cd=(t,n,e,o)=>-Math.atan2(ld(t.x,n.x,e.x,o),ld(t.y,n.y,e.y,o))+.5*L$3;var Ri=(()=>{class t extends xt$1{inRange(e,o,i,r){let a=(this.options.borderWidth+this.options.hitTolerance)/2;if(i!==`x`&&i!==`y`){let s={mouseX:e,mouseY:o},{path:p,ctx:d}=this;if(p){Me(d,this.options),d.lineWidth+=this.options.hitTolerance;let{chart:h}=this.$context,b=e*h.currentDevicePixelRatio,N=o*h.currentDevicePixelRatio,w=d.isPointInStroke(p,b,N)||sa(this,s,r);
1827return d.restore(),w}let m=oo(a);return Cm(this,s,m,r)||sa(this,s,r)}return xm(this,{mouseX:e,mouseY:o},i,{hitSize:a,useFinalPosition:r})}getCenterPoint(e){return on(this,e)}draw(e){let{x:o,y:i,x2:r,y2:a,cp:s,options:p}=this;if(e.save(),!Me(e,p))return e.restore();In(e,p);let d=Math.sqrt(Math.pow(r-o,2)+Math.pow(a-i,2));if(p.curve&&s)return Tm(e,this,s,d),e.restore();let{startOpts:m,endOpts:h,startAdjust:b,endAdjust:N}=Hd(this),w=Math.atan2(a-i,r-o);e.translate(o,i),e.rotate(w),e.beginPath(),e.moveTo(0+b,0),e.lineTo(d-N,0),e.shadowColor=p.borderShadowColor,e.stroke(),la(e,0,b,m),la(e,d,-N,h),e.restore()}get label(){return this.elements&&this.elements[0]}resolveElementProperties(e,o){let i=Xf(e,o),{x:r,y:a,x2:s,y2:p}=i,d=Pm(i,e.chartArea),m=d?ym({x:r,y:a},{x:s,y:p},e.chartArea):{x:r,y:a,x2:s,y2:p,width:Math.abs(s-r),height:Math.abs(p-a)};if(m.centerX=(s+r)/2,m.centerY=(p+a)/2,m.initProperties=En(e,m,o),o.curve)m.cp=wm(m,o,ze$1({x:m.x,y:m.y},{x:m.x2,y:m.y2}));let h=_m(e,m,o.label);return h._visible=d,m.elements=[{type:`label`,optionScope:`label`,properties:h,initProperties:m.initProperties}],m}}return t.id=`lineAnnotation`,t})();var pd={backgroundColor:void 0,backgroundShadowColor:void 0,borderColor:void 0,borderDash:void 0,borderDashOffset:void 0,borderShadowColor:void 0,borderWidth:void 0,display:void 0,fill:void 0,length:void 0,shadowBlur:void 0,shadowOffsetX:void 0,shadowOffsetY:void 0,width:void 0};Ri.defaults={adjustScaleRange:!0,arrowHeads:{display:!1,end:Object.assign({},pd),fill:!1,length:12,start:Object.assign({},pd),width:6},borderDash:[],borderDashOffset:0,borderShadowColor:`transparent`,borderWidth:2,curve:!1,controlPoint:{y:`-50%`},display:!0,endValue:void 0,init:void 0,hitTolerance:0,label:{backgroundColor:`rgba(0,0,0,0.8)`,backgroundShadowColor:`transparent`,borderCapStyle:`butt`,borderColor:`black`,borderDash:[],borderDashOffset:0,borderJoinStyle:`miter`,borderRadius:6,borderShadowColor:`transparent`,borderWidth:0,callout:Object.assign({},Ud.defaults.callout),color:`#fff`,content:null,display:!1,drawTime:void 0,font:{family:void 0,lineHeight:void 0,size:void 0,style:void 0,weight:`bold`},height:void 0,hitTolerance:void 0,opacity:void 0,padding:6,position:`center`,rotation:0,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,textAlign:`center`,textStrokeColor:void 0,textStrokeWidth:0,width:void 0,xAdjust:0,yAdjust:0,z:void 0},scaleID:void 0,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,value:void 0,xMax:void 0,xMin:void 0,xScaleID:void 0,yMax:void 0,yMin:void 0,yScaleID:void 0,z:0};Ri.descriptors={arrowHeads:{start:{_fallback:!0},end:{_fallback:!0},_fallback:!0}};Ri.defaultRoutes={borderColor:`color`};function xm(t,{mouseX:n,mouseY:e},o,{hitSize:i,useFinalPosition:r}){return Sd(bm(n,e,t.getProps([`x`,`y`,`x2`,`y2`],r),o),i)||sa(t,{mouseX:n,mouseY:e},r,o)}function Pm({x:t,y:n,x2:e,y2:o},{top:i,right:r,bottom:a,left:s}){return!(t<s&&e<s||t>r&&e>r||n<i&&o<i||n>a&&o>a)}function dd({x:t,y:n},e,{top:o,right:i,bottom:r,left:a}){return t<a&&(n=ad(a,{x:t,y:n},e),t=a),t>i&&(n=ad(i,{x:t,y:n},e),t=i),n<o&&(t=ra(o,{x:t,y:n},e),n=o),n>r&&(t=ra(r,{x:t,y:n},e),n=r),{x:t,y:n}}function ym(t,n,e){let{x:o,y:i}=dd(t,n,e),{x:r,y:a}=dd(n,t,e);return{x:o,y:i,x2:r,y2:a,width:Math.abs(r-o),height:Math.abs(a-i)}}function Cm(t,{mouseX:n,mouseY:e},o=Qe,i){let{x:r,y:a,x2:s,y2:p}=t.getProps([`x`,`y`,`x2`,`y2`],i),d=s-r,m=p-a,h=oo(d)+oo(m),b=h===0?-1:((n-r)*d+(e-a)*m)/h,N,w;return b<0?(N=r,w=a):b>1?(N=s,w=p):(N=r+b*d,w=a+b*m),oo(n-N)+oo(e-w)<=o}function sa(t,{mouseX:n,mouseY:e},o,i){let r=t.label;return r.options.display&&r.inRange(n,e,i,o)}function _m(t,n,e){let o=e.borderWidth,i=K$3(e.padding),r=ki(t.ctx,e);return Mm(n,e,{width:r.width+i.width+o,height:r.height+i.height+o,padding:i},t.chartArea)}function Nm(t){let{x:n,y:e,x2:o,y2:i}=t,r=Math.atan2(i-e,o-n);return r>L$3/2?r-L$3:r<L$3/-2?r+L$3:r}function Mm(t,n,e,o){let{width:i,height:r,padding:a}=e,{xAdjust:s,yAdjust:p}=n,d={x:t.x,y:t.y},m={x:t.x2,y:t.y2},h=n.rotation===`auto`?Nm(t):it$2(n.rotation),b=Om(i,r,h),N=Em(t,n,{labelSize:b,padding:a},o),w=t.cp?aa(d,t.cp,m,N):ha(d,m,N),Y={size:b.w,min:o.left,max:o.right,padding:a.left},mt={size:b.h,min:o.top,max:o.bottom,padding:a.top},z=fd(w.x,Y)+s,W=fd(w.y,mt)+p;return{x:z-i/2,y:W-r/2,x2:z+i/2,y2:W+r/2,centerX:z,centerY:W,pointX:w.x,pointY:w.y,width:i,height:r,rotation:We(h)}}
1827function Om(t,n,e){let o=Math.cos(e),i=Math.sin(e);return{w:Math.abs(t*o)+Math.abs(n*i),h:Math.abs(t*i)+Math.abs(n*o)}}function Em(t,n,e,o){let i,r=Im(t,o);return n.position===`start`?i=ud({w:t.x2-t.x,h:t.y2-t.y},e,n,r):n.position===`end`?i=1-ud({w:t.x-t.x2,h:t.y-t.y2},e,n,r):i=ua(1,n.position),i}function ud(t,n,e,o){let{labelSize:i,padding:r}=n,a=t.w*o.dx,s=t.h*o.dy,p=a>0&&(i.w/2+r.left-o.x)/a,d=s>0&&(i.h/2+r.top-o.y)/s;return wi(Math.max(p,d),0,.25)}function Im(t,n){let{x:e,x2:o,y:i,y2:r}=t,a=Math.min(i,r)-n.top,s=Math.min(e,o)-n.left,p=n.bottom-Math.max(i,r),d=n.right-Math.max(e,o);return{x:Math.min(s,d),y:Math.min(a,p),dx:s<=d?1:-1,dy:a<=p?1:-1}}function fd(t,n){let{size:e,min:o,max:i,padding:r}=n,a=e/2;return e>i-o?(i+o)/2:(o>=t-r-a&&(t=o+r+a),i<=t+r+a&&(t=i-r-a),t)}function Hd(t){let n=t.options,e=n.arrowHeads&&n.arrowHeads.start,o=n.arrowHeads&&n.arrowHeads.end;return{startOpts:e,endOpts:o,startAdjust:md(t,e),endAdjust:md(t,o)}}function md(t,n){if(!n||!n.display)return 0;let{length:e,width:o}=n,i=t.options.borderWidth/2,r={x:e,y:o+i};return Math.abs(ra(0,r,{x:0,y:i}))}function la(t,n,e,o){if(!o||!o.display)return;let{length:i,width:r,fill:a,backgroundColor:s,borderColor:p}=o,d=Math.abs(n-i)+e;t.beginPath(),In(t,o),Me(t,o),t.moveTo(d,-r),t.lineTo(n+e,0),t.lineTo(d,r),a===!0?(t.fillStyle=s||p,t.closePath(),t.fill(),t.shadowColor=`transparent`):t.shadowColor=o.borderShadowColor,t.stroke()}function wm(t,n,e){let{x:o,y:i,x2:r,y2:a,centerX:s,centerY:p}=t,d=Math.atan2(a-i,r-o),m=fa(n.controlPoint,0);return nn({x:s+Ve(e,m.x,!1),y:p+Ve(e,m.y,!1)},{x:s,y:p},d)}function gd(t,{x:n,y:e},{angle:o,adjust:i},r){!r||!r.display||(t.save(),t.translate(n,e),t.rotate(o),la(t,0,-i,r),t.restore())}function Tm(t,n,e,o){let{x:i,y:r,x2:a,y2:s,options:p}=n,{startOpts:d,endOpts:m,startAdjust:h,endAdjust:b}=Hd(n),N={x:i,y:r},w={x:a,y:s},Y=cd(N,e,w,0),mt=cd(N,e,w,1)-L$3,z=aa(N,e,w,h/o),W=aa(N,e,w,1-b/o),y=new Path2D;t.beginPath(),y.moveTo(z.x,z.y),y.quadraticCurveTo(e.x,e.y,W.x,W.y),t.shadowColor=p.borderShadowColor,t.stroke(y),n.path=y,n.ctx=t,gd(t,z,{angle:Y,adjust:h},d),gd(t,W,{angle:mt,adjust:b},m)}var en=class extends xt$1{inRange(n,e,o,i){let r=this.options.rotation,a=(this.options.borderWidth+this.options.hitTolerance)/2;if(o!==`x`&&o!==`y`)return Am({x:n,y:e},this.getProps([`width`,`height`,`centerX`,`centerY`],i),r,a);let{x:s,y:p,x2:d,y2:m}=this.getProps([`x`,`y`,`x2`,`y2`],i),h=o===`y`?{start:p,end:m}:{start:s,end:d},b=nn({x:n,y:e},this.getCenterPoint(i),it$2(-r));return b[o]>=h.start-a-Qe&&b[o]<=h.end+a+Qe}getCenterPoint(n){return on(this,n)}draw(n){let{width:e,height:o,centerX:i,centerY:r,options:a}=this;n.save(),Ai(n,this.getCenterPoint(),a.rotation),In(n,this.options),n.beginPath(),n.fillStyle=a.backgroundColor;let s=Me(n,a);n.ellipse(i,r,o/2,e/2,L$3/2,0,2*L$3),n.fill(),s&&(n.shadowColor=a.borderShadowColor,n.stroke()),n.restore()}get label(){return this.elements&&this.elements[0]}resolveElementProperties(n,e){return zd(n,e)}};en.id=`ellipseAnnotation`;en.defaults={adjustScaleRange:!0,backgroundShadowColor:`transparent`,borderDash:[],borderDashOffset:0,borderShadowColor:`transparent`,borderWidth:1,display:!0,hitTolerance:0,init:void 0,label:Object.assign({},Vd.defaults.label),rotation:0,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,xMax:void 0,xMin:void 0,xScaleID:void 0,yMax:void 0,yMin:void 0,yScaleID:void 0,z:0};en.defaultRoutes={borderColor:`color`,backgroundColor:`color`};en.descriptors={label:{_fallback:!0}};function Am(t,n,e,o){let{width:i,height:r,centerX:a,centerY:s}=n,p=i/2,d=r/2;if(p<=0||d<=0)return!1;let m=it$2(e||0),h=Math.cos(m),b=Math.sin(m),N=Math.pow(h*(t.x-a)+b*(t.y-s),2),w=Math.pow(b*(t.x-a)-h*(t.y-s),2);return N/Math.pow(p+o,2)+w/Math.pow(d+o,2)<=1.0001}var km=(()=>{class t extends xt$1{inRange(e,o,i,r){let{x:a,y:s,x2:p,y2:d,width:m}=this.getProps([`x`,`y`,`x2`,`y2`,`width`],r),h=(this.options.borderWidth+this.options.hitTolerance)/2;return i!==`x`&&i!==`y`?Nf({x:e,y:o},this.getCenterPoint(r),m/2,h):Sd(i===`y`?{start:s,end:d,value:o}:{start:a,end:p,value:e},h)}getCenterPoint(e){return on(this,e)}draw(e){let o=this.options,i=o.borderWidth;if(o.radius<.1)return;e.save(),e.fillStyle=o.backgroundColor,In(e,o);let r=Me(e,o);kf(e,this,this.centerX,this.centerY),r&&!Ti(o.pointStyle)&&(e.shadowColor=o.borderShadowColor,e.stroke()),e.restore(
1827),o.borderWidth=i}resolveElementProperties(e,o){let i=Dd(e,o);return i.initProperties=En(e,i,o),i}}return t.id=`pointAnnotation`,t.defaults={adjustScaleRange:!0,backgroundShadowColor:`transparent`,borderDash:[],borderDashOffset:0,borderShadowColor:`transparent`,borderWidth:1,display:!0,hitTolerance:0,init:void 0,pointStyle:`circle`,radius:10,rotation:0,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,xAdjust:0,xMax:void 0,xMin:void 0,xScaleID:void 0,xValue:void 0,yAdjust:0,yMax:void 0,yMin:void 0,yScaleID:void 0,yValue:void 0,z:0},t.defaultRoutes={borderColor:`color`,backgroundColor:`color`},t})();var Rm=(()=>{class t extends xt$1{inRange(e,o,i,r){if(i!==`x`&&i!==`y`)return this.options.radius>=.1&&this.elements.length>1&&zm(this.elements,e,o,r);let a=nn({x:e,y:o},this.getCenterPoint(r),it$2(-this.options.rotation)),s=this.elements.map(m=>i===`y`?m.bY:m.bX),p=Math.min(...s),d=Math.max(...s);return a[i]>=p&&a[i]<=d}getCenterPoint(e){return on(this,e)}draw(e){let{elements:o,options:i}=this;e.save(),e.beginPath(),e.fillStyle=i.backgroundColor,In(e,i);let r=Me(e,i),a=!0;for(let s of o)a?(e.moveTo(s.x,s.y),a=!1):e.lineTo(s.x,s.y);e.closePath(),e.fill(),r&&(e.shadowColor=i.borderShadowColor,e.stroke()),e.restore()}resolveElementProperties(e,o){let i=Dd(e,o),{sides:r,rotation:a}=o,s=[],p=2*L$3/r,d=a*ha$1;for(let m=0;m<r;m++,d+=p){let h=Dm(i,o,d);h.initProperties=En(e,i,o),s.push(h)}return i.elements=s,i}}return t.id=`polygonAnnotation`,t.defaults={adjustScaleRange:!0,backgroundShadowColor:`transparent`,borderCapStyle:`butt`,borderDash:[],borderDashOffset:0,borderJoinStyle:`miter`,borderShadowColor:`transparent`,borderWidth:1,display:!0,hitTolerance:0,init:void 0,point:{radius:0},radius:10,rotation:0,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,sides:3,xAdjust:0,xMax:void 0,xMin:void 0,xScaleID:void 0,xValue:void 0,yAdjust:0,yMax:void 0,yMin:void 0,yScaleID:void 0,yValue:void 0,z:0},t.defaultRoutes={borderColor:`color`,backgroundColor:`color`},t})();function Dm({centerX:t,centerY:n},{radius:e,borderWidth:o,hitTolerance:i},r){let a=(o+i)/2,s=Math.sin(r),p=Math.cos(r),d={x:t+s*e,y:n-p*e};return{type:`point`,optionScope:`point`,properties:{x:d.x,y:d.y,centerX:d.x,centerY:d.y,bX:t+s*(e+a),bY:n-p*(e+a)}}}function zm(t,n,e,o){let i=!1,r=t[t.length-1].getProps([`bX`,`bY`],o);for(let a of t){let s=a.getProps([`bX`,`bY`],o);s.bY>e!=r.bY>e&&n<(r.bX-s.bX)*(e-s.bY)/(r.bY-s.bY)+s.bX&&(i=!i),r=s}return i}var je={box:Vd,doughnutLabel:dm,ellipse:en,label:Ud,line:Ri,point:km,polygon:Rm};Object.keys(je).forEach(t=>{B$3.describe(`elements.${je[t].id}`,{_fallback:`plugins.annotation.common`})});var Lm={update:Object.assign};var jm=ga.concat(Ii);var hd=(t,n)=>A$8(n)?pa(t,n):t;var ca=t=>t===`color`||t===`font`;function va(t=`line`){return je[t]?t:(console.warn(`Unknown annotation type: '${t}', defaulting to 'line'`),`line`)}function Vm(t,n,e,o){let i=Hm(t,e.animations,o),r=n.annotations,a=Bm(n.elements,r);for(let s=0;s<r.length;s++){let p=r[s],d=Fd(a,s,p.type),m=p.setContext(Wm(t,d,a,p)),h=d.resolveElementProperties(t,m);h.skip=Um(h),`elements`in h&&(Fm(d,h.elements,m,i),delete h.elements),Xt$1(d.x)||Object.assign(d,h),Object.assign(d,h.initProperties),h.options=Wd(m),i.update(d,h)}}function Um(t){return isNaN(t.x)||isNaN(t.y)}function Hm(t,n,e){return e===`reset`||e===`none`||e===`resize`?Lm:new ni(t,n)}function Fm(t,n,e,o){let i=t.elements||(t.elements=[]);i.length=n.length;for(let r=0;r<n.length;r++){let a=n[r],s=a.properties,p=Fd(i,r,a.type,a.initProperties);s.options=Wd(e[a.optionScope].override(a)),o.update(p,s)}}function Fd(t,n,e,o){let i=je[va(e)],r=t[n];return(!r||!(r instanceof i))&&(r=t[n]=new i,Object.assign(r,o)),r}function Wd(t){let n=je[va(t.type)],e={};e.id=t.id,e.type=t.type,e.drawTime=t.drawTime,Object.assign(e,pa(t,n.defaults),pa(t,n.defaultRoutes));for(let o of jm)e[o]=t[o];return e}function pa(t,n){let e={};for(let o of Object.keys(n)){let i=n[o],r=t[o];ca(o)&&F$5(r)?e[o]=r.map(a=>hd(a,i)):e[o]=hd(r,i)}return e}function Wm(t,n,e,o){return n.$context||(n.$context=Object.assign(Object.create(t.getContext()),{element:n,get elements(){return e.filter(i=>i&&i.options)},id:o.id,type:`annotation`}))}function Bm(t,n){let e=n.length,o=t.length;if(o<e){let i=e-o;t.splice(o,0,...new Array(i))}else o>e&&t.splice(e,o-e);return t}var Gm=`3.1.0`;var Le=new Map;var vd=t=>t.type!==`doughnutLabel`;var Ym=ga.concat(Ii);var Bd={id:`annotation`,version:Gm,beforeRegister(){Mf(`chart.js`,`4.0`,Fl.version)},afterRegister(){Fl.register(je)},afterUnregister(){Fl.unregister(je)},beforeInit(t){Le.set(t,{annotations:[],elements:[],visibleElements:[],listeners:{},listened:!1,moveListened:!1,hooks:{},hooked:!1,hovered:[]})},beforeUpdate(t,n,e){let o=Le.get(t),i=o.annotations=[],r=e.annotations;A$8(r)?Object.keys(r).forEach(a=>{let s=r[a];A$8(s)&&(s.id=a,i.push(s))}):F$5(r)&&i.push(...r),am(i.filter(vd),t.scales)},afterDataLimits(t,n){let e=Le.get(t);rm(t,n.scale,e.annotations.filter(vd).filter(o=>o.display&&o.adjustScaleRange))},afterUpdate(t,n,e){let o=Le.get(t);tm(t,o,e),Vm(t,o,e,n.mode),o.visibleElements=o.elements.filter(i=>!i.skip&&i.options.display),im(t,o,e)},beforeDatasetsDraw(t,n,e){no(t,`beforeDatasetsDraw`,e.clip)},afterDatasetsDraw(t,n,e){no(t,`afterDatasetsDraw`,e.clip)},beforeDatasetDraw(t,n,e){no(t,n.index,e.clip)},beforeDraw(t,n,e){no(t,`beforeDraw`,e.clip)},afterDraw(t,n,e){no(t,`afterDraw`,e.clip)},beforeEvent(t,n,e){em(Le.get(t),n.event,e)&&(n.changed=!0)},afterDestroy(t){Le.delete(t)},getAnnotations(t){let n=Le.get(t);return n?n.elements:[]},_getAnnotationElementsAtEventForMode(t,n,e){return da(t,n,e)},defaults:{animations:{numbers:{properties:[`x`,`y`,`x2`,`y2`,`width`,`height`,`centerX`,`centerY`,`pointX`,`pointY`,`radius`],type:`number`},colors:{properties:[`backgroundColor`,`borderColor`],type:`color`}},clip:!0,interaction:{mode:void 0,axis:void 0,intersect:void 0},common:{drawTime:`afterDatasetsDraw`,init:!1,label:{}}},descriptors:{_indexable:!1,_scriptable:t=>!Ym.includes(t)&&t!==`init`,annotations:{_allKeys:!1,_fallback:(t,n)=>`elements.${je[va(n.type)].id}`},interaction:{_fallback:!0},common:{label:{_indexable:ca,_fallback:!0},_indexable:ca}},additionalOptionScopes:[``]};function no(t,n,e){let{ctx:o,chartArea:i}=t,r=Le.get(t);e&&ue$2(o,i);let a=Xm(r.visibleElements,n).sort((s,p)=>s.element.options.z-p.element.options.z);for(let s of a)qm(o,i,r,s);e&&fe$3(o)}function Xm(t,n){let e=[];
vendor: 5,233 bytes, lines 1827-1828
1827for(let o of t)if(o.options.drawTime===n&&e.push({element:o,main:!0}),o.elements&&o.elements.length)for(let i of o.elements)i.options.display&&i.options.drawTime===n&&e.push({element:i});return e}function qm(t,n,e,o){let i=o.element;o.main?(od(e,i,`beforeDraw`),i.draw(t,n),od(e,i,`afterDraw`)):i.draw(t,n)}var Gd=(function(){if(typeof window<`u`){if(window.devicePixelRatio)return window.devicePixelRatio;var t=window.screen;if(t)return(t.deviceXDPI||1)/(t.logicalXDPI||1)}return 1})();var ro={toTextLines:function(t){var n=[],e;for(t=[].concat(t);t.length;)e=t.pop(),typeof e==`string`?n.unshift.apply(n,e.split(`
1828`)):Array.isArray(e)?t.push.apply(t,e):O$6(t)||n.unshift(``+e);return n},textSize:function(t,n,e){var o=[].concat(n),i=o.length,r=t.font,a=0,s;for(t.font=e.string,s=0;s<i;++s)a=Math.max(t.measureText(o[s]).width,a);return t.font=r,{height:i*e.lineHeight,width:a}},bound:function(t,n,e){return Math.max(t,Math.min(n,e))},arrayDiff:function(t,n){var e=t.slice(),o=[],i,r,a,s;for(i=0,a=n.length;i<a;++i)s=n[i],r=e.indexOf(s),r===-1?o.push([s,1]):e.splice(r,1);for(i=0,a=e.length;i<a;++i)o.push([e[i],-1]);return o},rasterize:function(t){return Math.round(t*Gd)/Gd}};function Sa(t,n){var e=n.x,o=n.y;if(e===null)return{x:0,y:-1};if(o===null)return{x:1,y:0};var i=t.x-e,r=t.y-o,a=Math.sqrt(i*i+r*r);return{x:a?i/a:0,y:a?r/a:-1}}function Km(t,n,e,o,i){switch(i){case`center`:e=o=0;break;case`bottom`:e=0,o=1;break;case`right`:e=1,o=0;break;case`left`:e=-1,o=0;break;case`top`:e=0,o=-1;break;case`start`:e=-e,o=-o;break;case`end`:break;default:i*=Math.PI/180,e=Math.cos(i),o=Math.sin(i);break}return{x:t,y:n,vx:e,vy:o}}var $m=0;var Xd=1;var qd=2;var Kd=4;var $d=8;function Di(t,n,e){var o=$m;return t<e.left?o|=Xd:t>e.right&&(o|=qd),n<e.top?o|=$d:n>e.bottom&&(o|=Kd),o}function Jm(t,n){for(var e=t.x0,o=t.y0,i=t.x1,r=t.y1,a=Di(e,o,n),s=Di(i,r,n),p,d,m;!(!(a|s)||a&s);)p=a||s,p&$d?(d=e+(i-e)*(n.top-o)/(r-o),m=n.top):p&Kd?(d=e+(i-e)*(n.bottom-o)/(r-o),m=n.bottom):p&qd?(m=o+(r-o)*(n.right-e)/(i-e),d=n.right):p&Xd&&(m=o+(r-o)*(n.left-e)/(i-e),d=n.left),p===a?(e=d,o=m,a=Di(e,o,n)):(i=d,r=m,s=Di(i,r,n));return{x0:e,x1:i,y0:o,y1:r}}function zi(t,n){var e=n.anchor,o=t,i,r;return n.clamp&&(o=Jm(o,n.area)),e===`start`?(i=o.x0,r=o.y0):e===`end`?(i=o.x1,r=o.y1):(i=(o.x0+o.x1)/2,r=(o.y0+o.y1)/2),Km(i,r,t.vx,t.vy,n.align)}var Li={arc:function(t,n){var e=(t.startAngle+t.endAngle)/2,o=Math.cos(e),i=Math.sin(e),r=t.innerRadius,a=t.outerRadius;return zi({x0:t.x+o*r,y0:t.y+i*r,x1:t.x+o*a,y1:t.y+i*a,vx:o,vy:i},n)},point:function(t,n){var e=Sa(t,n.origin),o=e.x*t.options.radius,i=e.y*t.options.radius;return zi({x0:t.x-o,y0:t.y-i,x1:t.x+o,y1:t.y+i,vx:e.x,vy:e.y},n)},bar:function(t,n){var e=Sa(t,n.origin),o=t.x,i=t.y,r=0,a=0;return t.horizontal?(o=Math.min(t.x,t.base),r=Math.abs(t.base-t.x)):(i=Math.min(t.y,t.base),a=Math.abs(t.base-t.y)),zi({x0:o,y0:i+a,x1:o+r,y1:i,vx:e.x,vy:e.y},n)},fallback:function(t,n){var e=Sa(t,n.origin);return zi({x0:t.x,y0:t.y,x1:t.x+(t.width||0),y1:t.y+(t.height||0),vx:e.x,vy:e.y},n)}};var Oe=ro.rasterize;function Zm(t){var n=t.borderWidth||0,e=t.padding,o=t.size.height,i=t.size.width,r=-i/2,a=-o/2;return{frame:{x:r-e.left-n,y:a-e.top-n,w:i+e.width+n*2,h:o+e.height+n*2},text:{x:r,y:a,w:i,h:o}}}function Qm(t,n){var e=n.chart.getDatasetMeta(n.datasetIndex).vScale;if(!e)return null;if(e.xCenter!==void 0&&e.yCenter!==void 0)return{x:e.xCenter,y:e.yCenter};var o=e.getBasePixel();return t.horizontal?{x:o,y:null}:{x:null,y:o}}function tg(t){return t instanceof ms?Li.arc:t instanceof Zl?Li.point:t instanceof nc?Li.bar:Li.fallback}function eg(t,n,e,o,i,r){var a=Math.PI/2;if(r){var s=Math.min(r,i/2,o/2),p=n+s,d=e+s,m=n+o-s,h=e+i-s;t.moveTo(n,d),p<m&&d<h?(t.arc(p,d,s,-Math.PI,-a),t.arc(m,d,s,-a,0),t.arc(m,h,s,0,a),t.arc(p,h,s,a,Math.PI)):p<m?(t.moveTo(p,e),t.arc(m,d,s,-a,a),t.arc(p,d,s,a,Math.PI+a)):d<h?(t.arc(p,d,s,-Math.PI,0),t.arc(p,h,s,0,Math.PI)):t.arc(p,d,s,-Math.PI,Math.PI),t.closePath(),t.moveTo(n,e)}else t.rect(n,e,o,i)}function ng(t,n,e){var o=e.backgroundColor,i=e.borderColor,r=e.borderWidth;!o&&(!i||!r)||(t.beginPath(),eg(t,Oe(n.x)+r/2,Oe(n.y)+r/2,Oe(n.w)-r,Oe(n.h)-r,e.borderRadius),t.closePath(),o&&(t.fillStyle=o,t.fill()),i&&r&&(t.strokeStyle=i,t.lineWidth=r,t.lineJoin=`miter`,t.stroke()))}function og(t,n,e){var o=e.lineHeight,i=t.w,r=t.x,a=t.y+o/2;return n===`center`?r+=i/2:(n===`end`||n===`right`)&&(r+=i),{h:o,w:i,x:r,y:a}}function ig(t,n,e){var o=t.shadowBlur,i=e.stroked,r=Oe(e.x),a=Oe(e.y),s=Oe(e.w);i&&t.strokeText(n,r,a,s),e.filled&&(o&&i&&(t.shadowBlur=0),t.fillText(n,r,a,s),o&&i&&(t.shadowBlur=o))}function rg(t,n,e,o){var i=o.textAlign,r=o.color,a=!!r,s=o.font,p=n.length,d=o.textStrokeColor,m=o.textStrokeWidth,h=d&&m,b;if(!(!p||!a&&!h))for(e=og(e,i,s),t.font=s.string,t.textAlign=i,t.textBaseline=`middle`,t.shadowBlur=o.textShadowBlur,t.shadowColor=o.textShadowColor,a&&(t.fillStyle=r),h&&(t.lineJoin=`round`,t.lineWidth=m,t.strokeStyle=d),b=0,p=n.length;b<p;++b)ig(t,n[b],{stroked:h,filled:a,w:e.w,x:e.x,y:e.y+e.h*b})}var Jd=function(t,n,e,o){var i=this;i._config=t,i._index=o,i._model=null,i._rects=null,i._ctx=n,i._el=e};Yt$1(Jd.prototype,{_modelize:function(t,n,e,o){var i=this,r=i._index,a=j$3(Zt$2([e.font,{}],o,r)),s=Zt$2([e.color,B$3.color],o,r);
vendor: 4,299 bytes, line 1828
1828return{align:Zt$2([e.align,`center`],o,r),anchor:Zt$2([e.anchor,`center`],o,r),area:o.chart.chartArea,backgroundColor:Zt$2([e.backgroundColor,null],o,r),borderColor:Zt$2([e.borderColor,null],o,r),borderRadius:Zt$2([e.borderRadius,0],o,r),borderWidth:Zt$2([e.borderWidth,0],o,r),clamp:Zt$2([e.clamp,!1],o,r),clip:Zt$2([e.clip,!1],o,r),color:s,display:t,font:a,lines:n,offset:Zt$2([e.offset,4],o,r),opacity:Zt$2([e.opacity,1],o,r),origin:Qm(i._el,o),padding:K$3(Zt$2([e.padding,4],o,r)),positioner:tg(i._el),rotation:Zt$2([e.rotation,0],o,r)*(Math.PI/180),size:ro.textSize(i._ctx,n,a),textAlign:Zt$2([e.textAlign,`start`],o,r),textShadowBlur:Zt$2([e.textShadowBlur,0],o,r),textShadowColor:Zt$2([e.textShadowColor,s],o,r),textStrokeColor:Zt$2([e.textStrokeColor,s],o,r),textStrokeWidth:Zt$2([e.textStrokeWidth,0],o,r)}},update:function(t){var n=this,e=null,o=null,i=n._index,r=n._config,a,s,p,d=Zt$2([r.display,!0],t,i);d&&(a=t.dataset.data[i],s=P$5(I$8(r.formatter,[a,t]),a),p=O$6(s)?[]:ro.toTextLines(s),p.length&&(e=n._modelize(d,p,r,t),o=Zm(e))),n._model=e,n._rects=o},geometry:function(){return this._rects?this._rects.frame:{}},rotation:function(){return this._model?this._model.rotation:0},visible:function(){return this._model&&this._model.opacity},model:function(){return this._model},draw:function(t,n){var e=this,o=t.ctx,i=e._model,r=e._rects,a;this.visible()&&(o.save(),i.clip&&(a=i.area,o.beginPath(),o.rect(a.left,a.top,a.right-a.left,a.bottom-a.top),o.clip()),o.globalAlpha=ro.bound(0,i.opacity,1),o.translate(Oe(n.x),Oe(n.y)),o.rotate(i.rotation),ng(o,r.frame,i),rg(o,i.lines,r.text,i),o.restore())}});var ag=Number.MIN_SAFE_INTEGER||-9007199254740991;var sg=Number.MAX_SAFE_INTEGER||9007199254740991;function io(t,n,e){var o=Math.cos(e),i=Math.sin(e),r=n.x,a=n.y;return{x:r+o*(t.x-r)-i*(t.y-a),y:a+i*(t.x-r)+o*(t.y-a)}}function Yd(t,n){var e=sg,o=ag,i=n.origin,r,a,s,p,d;for(r=0;r<t.length;++r)a=t[r],s=a.x-i.x,p=a.y-i.y,d=n.vx*s+n.vy*p,e=Math.min(e,d),o=Math.max(o,d);return{min:e,max:o}}function ji(t,n){var e=n.x-t.x,o=n.y-t.y,i=Math.sqrt(e*e+o*o);return{vx:(n.x-t.x)/i,vy:(n.y-t.y)/i,origin:t,ln:i}}var Zd=function(){this._rotation=0,this._rect={x:0,y:0,w:0,h:0}};Yt$1(Zd.prototype,{center:function(){var t=this._rect;return{x:t.x+t.w/2,y:t.y+t.h/2}},update:function(t,n,e){this._rotation=e,this._rect={x:n.x+t.x,y:n.y+t.y,w:n.w,h:n.h}},contains:function(t){var n=this,e=1,o=n._rect;return t=io(t,n.center(),-n._rotation),!(t.x<o.x-e||t.y<o.y-e||t.x>o.x+o.w+e*2||t.y>o.y+o.h+e*2)},intersects:function(t){var n=this._points(),e=t._points(),o=[ji(n[0],n[1]),ji(n[0],n[3])],i,r,a;for(this._rotation!==t._rotation&&o.push(ji(e[0],e[1]),ji(e[0],e[3])),i=0;i<o.length;++i)if(r=Yd(n,o[i]),a=Yd(e,o[i]),r.max<a.min||a.max<r.min)return!1;return!0},_points:function(){var t=this,n=t._rect,e=t._rotation,o=t.center();return[io({x:n.x,y:n.y},o,e),io({x:n.x+n.w,y:n.y},o,e),io({x:n.x+n.w,y:n.y+n.h},o,e),io({x:n.x,y:n.y+n.h},o,e)]}});function Qd(t,n,e){var o=n.positioner(t,n),i=o.vx,r=o.vy;if(!i&&!r)return{x:o.x,y:o.y};var a=e.w,s=e.h,p=n.rotation,d=Math.abs(a/2*Math.cos(p))+Math.abs(s/2*Math.sin(p)),m=Math.abs(a/2*Math.sin(p))+Math.abs(s/2*Math.cos(p)),h=1/Math.max(Math.abs(i),Math.abs(r));return d*=i*h,m*=r*h,d+=n.offset*i,m+=n.offset*r,{x:o.x+d,y:o.y+m}}function lg(t,n){var e,o,i,r;for(e=t.length-1;e>=0;--e)for(i=t[e].$layout,o=e-1;o>=0&&i._visible;--o)r=t[o].$layout,r._visible&&i._box.intersects(r._box)&&n(i,r);return t}function cg(t){var n,e,o,i,r,a,s;for(n=0,e=t.length;n<e;++n)o=t[n],i=o.$layout,i._visible&&(s=new Proxy(o._el,{get:(p,d)=>p.getProps([d],!0)[d]}),r=o.geometry(),a=Qd(s,o.model(),r),i._box.update(a,r,o.rotation()));return lg(t,function(p,d){var m=p._hidable,h=d._hidable;m&&h||h?d._visible=!1:m&&(p._visible=!1)})}var ao={prepare:function(t){var n=[],e,o,i,r,a;for(e=0,i=t.length;e<i;++e)for(o=0,r=t[e].length;o<r;++o)a=t[e][o],n.push(a),a.$layout={_box:new Zd,_hidable:!1,_visible:!0,_set:e,_idx:a._index};return n.sort(function(s,p){var d=s.$layout,m=p.$layout;return d._idx===m._idx?m._set-d._set:m._idx-d._idx}),this.update(n),n},update:function(t){var n=!1,e,o,i,r,a;for(e=0,o=t.length;e<o;++e)i=t[e],r=i.model(),a=i.$layout,a._hidable=r&&r.display===`auto`,a._visible=i.visible(),n|=a._hidable;n&&cg(t)},lookup:function(t,n){var e,o;for(e=t.length-1;e>=0;
1828--e)if(o=t[e].$layout,o&&o._visible&&o._box.contains(n))return t[e];return null},draw:function(t,n){var e,o,i,r,a,s;for(e=0,o=n.length;e<o;++e)i=n[e],r=i.$layout,r._visible&&(a=i.geometry(),s=Qd(i._el,i.model(),a),r._box.update(s,a,i.rotation()),i.draw(t,s))}};var pg=function(t){if(O$6(t))return null;var n=t,e,o,i;if(A$8(t))if(!O$6(t.label))n=t.label;else if(!O$6(t.r))n=t.r;else for(n=``,e=Object.keys(t),i=0,o=e.length;i<o;++i)n+=(i!==0?`, `:``)+e[i]+`: `+t[e[i]];return``+n};var dg={align:`center`,anchor:`center`,backgroundColor:null,borderColor:null,borderRadius:0,borderWidth:0,clamp:!1,clip:!1,color:void 0,display:!0,font:{family:void 0,lineHeight:1.2,size:void 0,style:void 0,weight:null},formatter:pg,labels:void 0,listeners:{},offset:4,opacity:1,padding:{top:4,right:4,bottom:4,left:4},rotation:0,textAlign:`start`,textStrokeColor:void 0,textStrokeWidth:0,textShadowBlur:0,textShadowColor:void 0};var At=`$datalabels`;var tu=`$default`;function ug(t,n){var e=t.datalabels,o={},i=[],r,a;return e===!1?null:(e===!0&&(e={}),n=Yt$1({},[n,e]),r=n.labels||{},a=Object.keys(r),delete n.labels,a.length?a.forEach(function(s){r[s]&&i.push(Yt$1({},[n,r[s],{_key:s}]))}):i.push(n),o=i.reduce(function(s,p){return R$5(p.listeners||{},function(d,m){s[m]=s[m]||{},s[m][p._key||tu]=d}),delete p.listeners,s},{}),{labels:i,listeners:o})}function ba(t,n,e,o){if(n){var i=e.$context,r=e.$groups,a;n[r._set]&&(a=n[r._set][r._key],a&&I$8(a,[i,o])===!0&&(t[At]._dirty=!0,e.update(i)))}}function fg(t,n,e,o,i){var r,a;!e&&!o||(e?o?e!==o&&(a=r=!0):a=!0:r=!0,a&&ba(t,n.leave,e,i),r&&ba(t,n.enter,o,i))}function mg(t,n){var e=t[At],o=e._listeners,i,r;if(!(!o.enter&&!o.leave)){if(n.type===`mousemove`)r=ao.lookup(e._labels,n);else if(n.type!==`mouseout`)return;i=e._hovered,e._hovered=r,fg(t,o,i,r,n)}}function gg(t,n){var e=t[At],o=e._listeners.click,i=o&&ao.lookup(e._labels,n);i&&ba(t,o,i,n)}var eu={id:`datalabels`,defaults:dg,beforeInit:function(t){t[At]={_actives:[]}},beforeUpdate:function(t){var n=t[At];n._listened=!1,n._listeners={},n._datasets=[],n._labels=[]},afterDatasetUpdate:function(t,n,e){var o=n.index,i=t[At],r=i._datasets[o]=[],a=t.isDatasetVisible(o),s=t.data.datasets[o],p=ug(s,e),d=n.meta.data||[],m=t.ctx,h,b,N,w,Y,mt,z,W;for(m.save(),h=0,N=d.length;h<N;++h)if(z=d[h],z[At]=[],a&&z&&t.getDataVisibility(h)&&!z.skip)for(b=0,w=p.labels.length;b<w;++b)Y=p.labels[b],mt=Y._key,W=new Jd(Y,m,z,h),W.$groups={_set:o,_key:mt||tu},W.$context={active:!1,chart:t,dataIndex:h,dataset:s,datasetIndex:o},W.update(W.$context),z[At].push(W),r.push(W);m.restore(),Yt$1(i._listeners,p.listeners,{merger:function(y,M,_){M[y]=M[y]||{},M[y][n.index]=_[y],i._listened=!0}})},afterUpdate:function(t){t[At]._labels=ao.prepare(t[At]._datasets)},afterDatasetsDraw:function(t){ao.draw(t,t[At]._labels)},beforeEvent:function(t,n){if(t[At]._listened){var e=n.event;switch(e.type){case`mousemove`:case`mouseout`:mg(t,e);break;case`click`:gg(t,e);break}}},afterEvent:function(t){var n=t[At],e=n._actives,o=n._actives=t.getActiveElements(),i=ro.arrayDiff(e,o),r,a,s,p,d,m,h;for(r=0,a=i.length;r<a;++r)if(d=i[r],d[1])for(h=d[0].element[At]||[],s=0,p=h.length;s<p;++s)m=h[s],m.$context.active=d[1]===1,m.update(m.$context);(n._dirty||i.length)&&(ao.update(n._labels),t.render()),delete n._dirty}};var wn=w$6(nu());var lo=t=>t&&t.enabled&&t.modifierKey;var gu=(t,n)=>t&&n[t+`Key`];var Oa=(t,n)=>t&&!n[t+`Key`];function Ue(t,n,e){return t===void 0?!0:typeof t==`string`?t.indexOf(n)!==-1:typeof t==`function`?t({chart:e}).indexOf(n)!==-1:!1}function xa(t,n){return typeof t==`function`&&(t=t({chart:n})),typeof t==`string`?{x:t.indexOf(`x`)!==-1,y:t.indexOf(`y`)!==-1}:{x:!1,y:!1}}function hg(t,n){let e;return function(){return clearTimeout(e),e=setTimeout(t,n),n}}function vg({x:t,y:n},e){let o=e.scales,i=Object.keys(o);for(let r=0;r<i.length;r++){let a=o[i[r]];if(n>=a.top&&n<=a.bottom&&t>=a.left&&t<=a.right)return a}return null}function hu(t,n,e){let{mode:o=`xy`,scaleMode:i,overScaleMode:r}=t||{},a=vg(n,e),s=xa(o,e),p=xa(i,e);if(r){let m=xa(r,e);for(let h of[`x`,`y`])m[h]&&(p[h]=s[h],s[h]=!1)}if(a&&p[a.axis])return[a];let d=[];return R$5(e.scales,function(m){s[m.axis]&&d.push(m)}),d}var Pa=new WeakMap;function $(t){let n=Pa.get(t);return n||(n={originalScaleLimits:{},updatedScaleLimits:{},handlers:{},panDelta:{},dragging:!1,panning:!1},Pa.set(t,n)),n}function Sg(t){Pa.delete(t)}function vu(t,n,e,o){let i=Math.max(0,Math.min(1,(t-n)/e||0)),r=1-i;return{min:o*i,max:o*r}}function Su(t,n){let e=t.isHorizontal()?n.x:n.y;return t.getValueForPixel(e)}function bu(t,n,e){let o=t.max-t.min,i=o*(n-1);return vu(Su(t,e),t.min,o,i)}function bg(t,n,e){let o=Su(t,e);if(o===void 0)return{min:t.min,max:t.max};
1828let i=Math.log10(t.min),r=Math.log10(t.max),a=Math.log10(o),s=r-i,d=vu(a,i,s,s*(n-1));return{min:Math.pow(10,i+d.min),max:Math.pow(10,r-d.max)}}function xg(t,n){return n&&(n[t.id]||n[t.axis])||{}}function ou(t,n,e,o,i){let r=e[o];if(r===`original`){let a=t.originalScaleLimits[n.id][o];r=P$5(a.options,a.scale)}return P$5(r,i)}function Pg(t,n,e){let o=t.getValueForPixel(n),i=t.getValueForPixel(e);return{min:Math.min(o,i),max:Math.max(o,i)}}function yg(t,{min:n,max:e,minLimit:o,maxLimit:i},r){let a=(t-e+n)/2;n-=a,e+=a;let s=r.min.options??r.min.scale,p=r.max.options??r.max.scale,d=t/1e6;return Kt$2(n,s,d)&&(n=s),Kt$2(e,p,d)&&(e=p),n<o?(n=o,e=Math.min(o+t,i)):e>i&&(e=i,n=Math.max(i-t,o)),{min:n,max:e}}function rn(t,{min:n,max:e},o,i=!1){let r=$(t.chart),{options:a}=t,s=xg(t,o),{minRange:p=0}=s,d=ou(r,t,s,`min`,-Infinity),m=ou(r,t,s,`max`,Infinity);if(i===`pan`&&(n<d||e>m))return!0;let h=t.max-t.min,b=i?Math.max(e-n,p):h;if(i&&b===p&&h<=p)return!0;let N=yg(b,{min:n,max:e,minLimit:d,maxLimit:m},r.originalScaleLimits[t.id]);return a.min=N.min,a.max=N.max,r.updatedScaleLimits[t.id]=N,t.parse(N.min)!==t.min||t.parse(N.max)!==t.max}function Cg(t,n,e,o){let i=bu(t,n,e);return rn(t,{min:t.min+i.min,max:t.max-i.max},o,!0)}function _g(t,n,e,o){return rn(t,bg(t,n,e),o,!0)}function Ng(t,n,e,o){rn(t,Pg(t,n,e),o,!0)}var iu=t=>t===0||isNaN(t)?0:t<0?Math.min(Math.round(t),-1):Math.max(Math.round(t),1);function Mg(t){let e=t.getLabels().length-1;t.min>0&&(t.min-=1),t.max<e&&(t.max+=1)}function Og(t,n,e,o){let i=bu(t,n,e);t.min===t.max&&n<1&&Mg(t);return rn(t,{min:t.min+iu(i.min),max:t.max-iu(i.max)},o,!0)}function Eg(t){return t.isHorizontal()?t.width:t.height}function Ig(t,n,e){let i=t.getLabels().length-1,{min:r,max:a}=t,s=Math.max(a-r,1),p=Math.round(Eg(t)/Math.max(s,10)),d=Math.round(Math.abs(n/p)),m;return n<-p?(a=Math.min(a+d,i),r=s===1?a:a-s,m=a===i):n>p&&(r=Math.max(0,r-d),a=s===1?r:r+s,m=r===0),rn(t,{min:r,max:a},e)||m}var wg={second:500,minute:30*1e3,hour:1800*1e3,day:720*60*1e3,week:3.5*24*60*60*1e3,month:360*60*60*1e3,quarter:1440*60*60*1e3,year:4368*60*60*1e3};function xu(t,n,e,o=!1){let{min:i,max:r,options:a}=t,p=wg[a.time&&a.time.round]||0,d=t.getValueForPixel(t.getPixelForValue(i+p)-n),m=t.getValueForPixel(t.getPixelForValue(r+p)-n);return isNaN(d)||isNaN(m)?!0:rn(t,{min:d,max:m},e,o?`pan`:!1)}function ru(t,n,e){return xu(t,n,e,!0)}var ya={category:Og,default:Cg,logarithmic:_g};var Ca={default:Ng};var _a={category:Ig,default:xu,logarithmic:ru,timeseries:ru};function Tg(t,n,e){let{id:o,options:{min:i,max:r}}=t;if(!n[o]||!e[o])return!0;let a=e[o];return a.min!==i||a.max!==r}function au(t,n){R$5(t,(e,o)=>{n[o]||delete t[o]})}function Tn(t,n){let{scales:e}=t,{originalScaleLimits:o,updatedScaleLimits:i}=n;return R$5(e,function(r){Tg(r,o,i)&&(o[r.id]={min:{scale:r.min,options:r.options.min},max:{scale:r.max,options:r.options.max}})}),au(o,e),au(i,e),o}function su(t,n,e,o){I$8(ya[t.type]||ya.default,[t,n,e,o])}function lu(t,n,e,o){I$8(Ca[t.type]||Ca.default,[t,n,e,o])}function Ag(t){let n=t.chartArea;return{x:(n.left+n.right)/2,y:(n.top+n.bottom)/2}}function Ea(t,n,e=`none`,o=`api`){let{x:i=1,y:r=1,focalPoint:a=Ag(t)}=typeof n==`number`?{x:n,y:n}:n,s=$(t),{options:{limits:p,zoom:d}}=s;Tn(t,s);let m=i!==1,h=r!==1;R$5(hu(d,a,t)||t.scales,function(N){N.isHorizontal()&&m?su(N,i,a,p):!N.isHorizontal()&&h&&su(N,r,a,p)}),t.update(e),I$8(d.onZoom,[{chart:t,trigger:o}])}function Pu(t,n,e,o=`none`,i=`api`){let r=$(t),{options:{limits:a,zoom:s}}=r,{mode:p=`xy`}=s;Tn(t,r);let d=Ue(p,`x`,t),m=Ue(p,`y`,t);R$5(t.scales,function(h){h.isHorizontal()&&d?lu(h,n.x,e.x,a):!h.isHorizontal()&&m&&lu(h,n.y,e.y,a)}),t.update(o),I$8(s.onZoom,[{chart:t,trigger:i}])}function kg(t,n,e,o=`none`,i=`api`){let r=$(t);Tn(t,r);let a=t.scales[n];rn(a,e,void 0,!0),t.update(o),I$8(r.options.zoom?.onZoom,[{chart:t,trigger:i}])}function Rg(t,n=`default`){let e=$(t),o=Tn(t,e);R$5(t.scales,function(i){let r=i.options;o[i.id]?(r.min=o[i.id].min.options,r.max=o[i.id].max.options):(delete r.min,delete r.max),delete e.updatedScaleLimits[i.id]}),t.update(n),I$8(e.options.zoom.onZoomComplete,[{chart:t}])}function Dg(t,n){let e=t.originalScaleLimits[n];if(!e)return;let{min:o,max:i}=e;return P$5(i.options,i.scale)-P$5(o.options,o.scale)}function zg(t){let n=$(t),e=1,o=1;return R$5(t.scales,function(i){let r=Dg(n,i.id);if(r){let a=Math.round(r/(i.max-i.min)*100)/100;e=Math.min(e,a),o=Math.max(o,a)}}),e<1?e:o}function cu(t,n,e,o){let{panDelta:i}=o,r=i[t.id]||0;nt$1(r)===nt$1(n)&&(n+=r);I$8(_a[t.type]||_a.default,[t,n,e])?i[t.id]=0:i[t.id]=n}function yu(t,n,e,o=`none`){let{x:i=0,y:r=0}
1828=typeof n==`number`?{x:n,y:n}:n,a=$(t),{options:{pan:s,limits:p}}=a,{onPan:d}=s||{};Tn(t,a);let m=i!==0,h=r!==0;R$5(e||t.scales,function(b){b.isHorizontal()&&m?cu(b,i,p,a):!b.isHorizontal()&&h&&cu(b,r,p,a)}),t.update(o),I$8(d,[{chart:t}])}function Cu(t){let n=$(t);Tn(t,n);let e={};for(let o of Object.keys(t.scales)){let{min:i,max:r}=n.originalScaleLimits[o]||{min:{},max:{}};e[o]={min:i.scale,max:r.scale}}return e}function Lg(t){let n=$(t),e={};for(let o of Object.keys(t.scales))e[o]=n.updatedScaleLimits[o];return e}function jg(t){let n=Cu(t);for(let e of Object.keys(t.scales)){let{min:o,max:i}=n[e];if(o!==void 0&&t.scales[e].min!==o||i!==void 0&&t.scales[e].max!==i)return!0}return!1}function pu(t){let n=$(t);return n.panning||n.dragging}var du=(t,n,e)=>Math.min(e,Math.max(n,t));function kt(t,n){let{handlers:e}=$(t),o=e[n];o&&o.target&&(o.target.removeEventListener(n,o),delete e[n])}function so(t,n,e,o){let{handlers:i,options:r}=$(t),a=i[e];if(a&&a.target===n)return;kt(t,e),i[e]=p=>o(t,p,r),i[e].target=n;let s=e===`wheel`?!1:void 0;n.addEventListener(e,i[e],{passive:s})}function Vg(t,n){let e=$(t);e.dragStart&&(e.dragging=!0,e.dragEnd=n,t.update(`none`))}function Ug(t,n){let e=$(t);!e.dragStart||n.key!==`Escape`||(kt(t,`keydown`),e.dragging=!1,e.dragStart=e.dragEnd=null,t.update(`none`))}function Na(t,n){if(t.target!==n.canvas){let e=n.canvas.getBoundingClientRect();return{x:t.clientX-e.left,y:t.clientY-e.top}}return Ct$3(t,n)}function _u(t,n,e){let{onZoomStart:o,onZoomRejected:i}=e;if(o){if(I$8(o,[{chart:t,event:n,point:Na(n,t)}])===!1)return I$8(i,[{chart:t,event:n}]),!1}}function Hg(t,n){if(t.legend){if(at$3(Ct$3(n,t),t.legend))return}let e=$(t),{pan:o,zoom:i={}}=e.options;if(n.button!==0||gu(lo(o),n)||Oa(lo(i.drag),n))return I$8(i.onZoomRejected,[{chart:t,event:n}]);_u(t,n,i)!==!1&&(e.dragStart=n,so(t,t.canvas.ownerDocument,`mousemove`,Vg),so(t,window.document,`keydown`,Ug))}function Fg({begin:t,end:n},e){let o=n.x-t.x,i=n.y-t.y,r=Math.abs(o/i);r>e?o=Math.sign(o)*Math.abs(i*e):r<e&&(i=Math.sign(i)*Math.abs(o/e)),n.x=t.x+o,n.y=t.y+i}function uu(t,n,e,{min:o,max:i,prop:r}){t[o]=du(Math.min(e.begin[r],e.end[r]),n[o],n[i]),t[i]=du(Math.max(e.begin[r],e.end[r]),n[o],n[i])}function Wg(t,n,e){let o={begin:Na(n.dragStart,t),end:Na(n.dragEnd,t)};if(e)Fg(o,t.chartArea.width/t.chartArea.height);return o}function Nu(t,n,e,o){let i=Ue(n,`x`,t),r=Ue(n,`y`,t),{top:a,left:s,right:p,bottom:d,width:m,height:h}=t.chartArea,b={top:a,left:s,right:p,bottom:d},N=Wg(t,e,o&&i&&r);i&&uu(b,t.chartArea,N,{min:`left`,max:`right`,prop:`x`}),r&&uu(b,t.chartArea,N,{min:`top`,max:`bottom`,prop:`y`});let w=b.right-b.left,Y=b.bottom-b.top;return s$6(r$4({},b),{width:w,height:Y,zoomX:i&&w?1+(m-w)/m:1,zoomY:r&&Y?1+(h-Y)/h:1})}function Bg(t,n){let e=$(t);if(!e.dragStart)return;kt(t,`mousemove`);let{mode:o,onZoomComplete:i,drag:{threshold:r=0,maintainAspectRatio:a}}=e.options.zoom,s=Nu(t,o,{dragStart:e.dragStart,dragEnd:n},a),p=Ue(o,`x`,t)?s.width:0,d=Ue(o,`y`,t)?s.height:0,m=Math.sqrt(p*p+d*d);if(e.dragStart=e.dragEnd=null,m<=r){e.dragging=!1,t.update(`none`);return}Pu(t,{x:s.left,y:s.top},{x:s.right,y:s.bottom},`zoom`,`drag`),e.dragging=!1,e.filterNextClick=!0,I$8(i,[{chart:t}])}function Gg(t,n,e){if(Oa(lo(e.wheel),n)){I$8(e.onZoomRejected,[{chart:t,event:n}]);return}if(_u(t,n,e)!==!1&&(n.cancelable&&n.preventDefault(),n.deltaY!==void 0))return!0}function Yg(t,n){let{handlers:{onZoomComplete:e},options:{zoom:o}}=$(t);if(!Gg(t,n,o))return;let i=n.target.getBoundingClientRect(),r=o.wheel.speed,a=n.deltaY>=0?2-1/(1-r):1+r;Ea(t,{x:a,y:a,focalPoint:{x:n.clientX-i.left,y:n.clientY-i.top}},`zoom`,`wheel`),I$8(e,[{chart:t}])}function Xg(t,n,e,o){e&&($(t).handlers[n]=hg(()=>I$8(e,[{chart:t}]),o))}function qg(t,n){let e=t.canvas,{wheel:o,drag:i,onZoomComplete:r}=n.zoom;o.enabled?(so(t,e,`wheel`,Yg),Xg(t,`onZoomComplete`,r,250)):kt(t,`wheel`),i.enabled?(so(t,e,`mousedown`,Hg),so(t,e.ownerDocument,`mouseup`,Bg)):(kt(t,`mousedown`),kt(t,`mousemove`),kt(t,`mouseup`),kt(t,`keydown`))}function Kg(t){kt(t,`mousedown`),kt(t,`mousemove`),kt(t,`mouseup`),kt(t,`wheel`),kt(t,`click`),kt(t,`keydown`)}function $g(t,n){return function(e,o){let{pan:i,zoom:r={}}=n.options;if(!i||!i.enabled)return!1;let a=o&&o.srcEvent;return a&&!n.panning&&o.pointerType===`mouse`&&(Oa(lo(i),a)||gu(lo(r.drag),a))?(I$8(i.onPanRejected,[{chart:t,event:o}]),!1):!0}}function Jg(t,n){let e=Math.abs(t.clientX-n.clientX),o=Math.abs(t.clientY-n.clientY),i=e/o,r,a;return i>.3&&i<1.7?r=a=!0:e>o?r=!0:a=!0,{x:r,y:a}}function Mu(t,n,e){if(n.scale){let{center:o,pointers:i}=e,r=1/n.scale*e.scale,a=e.target.getBoundingClientRect(),s=Jg(i[0],i[1]),p=n.options.zoom.mode;Ea(t,{x:s.x&&Ue(p,`x`,t)?r:1,y:s.y&&Ue(p,`y`,t)?r:1,focalPoint:{x:o.x-a.left,y:o.y-a.top}},`zoom`,`pinch`),n.scale=e.scale}}function Zg(t,n,e){if(n.options.zoom.pinch.enabled){let o=Ct$3(e,t);I$8(n.options.zoom.onZoomStart,[{chart:t,event:e,point:o}])===!1?(n.scale=null,I$8(n.options.zoom.onZoomRejected,[{chart:t,event:e}])):n.scale=1}}function Qg(t,n,e){n.scale&&(Mu(t,n,e),n.scale=null,I$8(n.options.zoom.onZoomComplete,[{chart:t}]))}function Ou(t,n,e){let o=n.delta;o&&(n.panning=!0,yu(t,{x:e.deltaX-o.x,y:e.deltaY-o.y},n.panScales),n.delta={x:e.deltaX,y:e.deltaY})}function th(t,n,e){let{enabled:o,onPanStart:i,onPanRejected:r}=n.options.pan;if(!o)return;let a=e.target.getBoundingClientRect(),s={x:e.center.x-a.left,y:e.center.y-a.top};if(I$8(i,[{chart:t,event:e,point:s}])===!1)return I$8(r,[{chart:t,event:e}]);n.panScales=hu(n.options.pan,s,t),n.delta={x:0,y:0},Ou(t,n,e)}function eh(t,n){n.delta=null,n.panning&&(n.panning=!1,n.filterNextClick=!0,I$8(n.options.pan.onPanComplete,[{chart:t}]))}var Ma=new WeakMap;function fu(t,n){let e=$(t),o=t.canvas,{pan:i,zoom:r}=n,a=new wn.default.Manager(o);r&&r.pinch.enabled&&(a.add(new wn.default.Pinch),a.on(`pinchstart`,s=>Zg(t,e,s)),a.on(`pinch`,s=>Mu(t,e,s)),a.on(`pinchend`,s=>Qg(t,e,s))),i&&i.enabled&&(a.add(new wn.default.Pan({threshold:i.threshold,enable:$g(t,e)})),a.on(`panstart`,s=>th(t,e,s)),a.on(`panmove`,s=>Ou(t,e,s)),a.on(`panend`,()=>eh(t,e))),Ma.set(t,a)}function mu(t){let n=Ma.get(t);n&&(n.remove(`pinchstart`),n.remove(`pinch`),n.remove(`pinchend`),n.remove(`panstart`),n.remove(`pan`),n.remove(`panend`),n.destroy(),Ma.delete(t))}function nh(t,n){let{pan:e,zoom:o}=t,{pan:i,zoom:r}=n;return o?.zoom?.pinch?.enabled!==r?.zoom?.pinch?.enabled||e?.enabled!==i?.enabled||e?.threshold!==i?.threshold}var oh=`2.2.0`;function Ui(t,n,e){let o=e.zoom.drag,{dragStart:i,dragEnd:r}=$(t);if(o.drawTime!==n||!r)return;let{left:a,top:s,width:p,height:d}=Nu(t,e.zoom.mode,{dragStart:i,dragEnd:r},o.maintainAspectRatio),m=t.ctx;m.save(),m.beginPath(),m.fillStyle=o.backgroundColor||`rgba(225,225,225,0.3)`,m.fillRect(a,s,p,d),o.borderWidth>0&&(m.lineWidth=o.borderWidth,m.strokeStyle=o.borderColor||`rgba(225,225,225)`,m.strokeRect(a,s,p,d)),m.restore(
1828)}var Eu={id:`zoom`,version:oh,defaults:{pan:{enabled:!1,mode:`xy`,threshold:10,modifierKey:null},zoom:{wheel:{enabled:!1,speed:.1,modifierKey:null},drag:{enabled:!1,drawTime:`beforeDatasetsDraw`,modifierKey:null},pinch:{enabled:!1},mode:`xy`}},start:function(t,n,e){let o=$(t);o.options=e,Object.prototype.hasOwnProperty.call(e.zoom,`enabled`)&&console.warn("The option `zoom.enabled` is no longer supported. Please use `zoom.wheel.enabled`, `zoom.drag.enabled`, or `zoom.pinch.enabled`."),(Object.prototype.hasOwnProperty.call(e.zoom,`overScaleMode`)||Object.prototype.hasOwnProperty.call(e.pan,`overScaleMode`))&&console.warn("The option `overScaleMode` is deprecated. Please use `scaleMode` instead (and update `mode` as desired)."),wn.default&&fu(t,e),t.pan=(i,r,a)=>yu(t,i,r,a),t.zoom=(i,r)=>Ea(t,i,r),t.zoomRect=(i,r,a)=>Pu(t,i,r,a),t.zoomScale=(i,r,a)=>kg(t,i,r,a),t.resetZoom=i=>Rg(t,i),t.getZoomLevel=()=>zg(t),t.getInitialScaleBounds=()=>Cu(t),t.getZoomedScaleBounds=()=>Lg(t),t.isZoomedOrPanned=()=>jg(t),t.isZoomingOrPanning=()=>pu(t)},beforeEvent(t,{event:n}){if(pu(t))return!1;if(n.type===`click`||n.type===`mouseup`){let e=$(t);if(e.filterNextClick)return e.filterNextClick=!1,!1}},beforeUpdate:function(t,n,e){let o=$(t),i=o.options;o.options=e,nh(i,e)&&(mu(t),fu(t,e)),qg(t,e)},beforeDatasetsDraw(t,n,e){Ui(t,`beforeDatasetsDraw`,e)},afterDatasetsDraw(t,n,e){Ui(t,`afterDatasetsDraw`,e)},beforeDraw(t,n,e){Ui(t,`beforeDraw`,e)},afterDraw(t,n,e){Ui(t,`afterDraw`,e)},stop:function(t){Kg(t),wn.default&&mu(t),Sg(t)},panFunctions:_a,zoomFunctions:ya,zoomRectFunctions:Ca};var wu=w$6(Iu());var ih=[`x`,`y`];var Fi=class{newPlugin(){let n=this._onMouseMoveFactory.bind(this),e=this._onClickFactory.bind(this);return{id:`clickableLineArea`,afterInit(o,i,r){if(!r.enabled||!r.onClick)return;let a=r.onClick;o.canvas.addEventListener(`mousemove`,n(o)),o.canvas.addEventListener(`click`,e(o,a))}}}_onMouseMoveFactory(n){return e=>{let o=this._getDatasetIndexAt(n,e);n.canvas.style.cursor=o===void 0?`default`:`pointer`}}_onClickFactory(n,e){return o=>{let i=this._getDatasetIndexAt(n,o);i!==void 0&&e(o,i,0)}}_getDatasetIndexAt(n,e){let o=n.canvas.getBoundingClientRect(),i=e.clientX-o.left,r=e.clientY-o.top,a=n.ctx;return n.data.datasets.map((s,p)=>{let d=n.getDatasetMeta(p);if(d.hidden)return;let m=d.data.map(N=>N.getProps(ih,!0));if(!m.length)return;let h=Vc$1(n.scales).find(N=>N?.axis===`y`);if(!h)return;let b=h.getPixelForValue(0);if(a.beginPath(),a.moveTo(m[0].x,b),m.forEach(N=>a.lineTo(N.x,N.y)),a.lineTo(m[m.length-1].x,b),a.closePath(),a.isPointInPath(i,r))return p}).find(s=>s!==void 0)}};function rh(){Fl.register(Bd),Fl.register(eu),Fl.register(Eu),Fl.register(wu.default),Fl.unregister(R$4),Fl.register(new Fi().newPlugin())}function Tu(){return Nn$1([md$1(()=>rh())])}function Au(){return Nn$1([Tu(),G(_$1()),md$1(()=>{T$9(L$1)})])}var co=(()=>{class t{constructor(){this.authenticationService=T$9(ge$7),this.navigationContext=T$9(Tt),this.router=T$9(Ie$4)}resolve(e,o){return this.authenticationService.loadUser().pipe(Ee$3(()=>this.navigationContext.initialize(e)),Ms$1(i=>this._failApplicationLoad(i,o.url)))}_failApplicationLoad(e,o){let i=new N$11(e),r=qg$1(()=>i);return this.router.navigated?r:this.authenticationService.markApplicationLoadFailed(o,i).pipe(Ee$3(()=>r))}static{this.ɵfac=function(o){return new(o||t)}}static{this.ɵprov=ce$3({token:t,factory:t.ɵfac,providedIn:`root`})}}return t})();var An=(()=>{class t{constructor(){this.router=T$9(Ie$4),this.authentication=T$9(ge$7)}canActivate(e,o){let i=!!this.authentication.securityToken.value;return this.authentication.continueUrl=i?void 0:o.url,i?!0:this.router.createUrlTree([`/`+t$7])}static{this.ɵfac=function(o){return new(o||t)}}static{this.ɵprov=ce$3({token:t,factory:t.ɵfac,providedIn:`root`})}}return t})();var Wi=(()=>{class t{constructor(){this.versionService=T$9(K)}resolve(){return this.versionService.load()}static{this.ɵfac=function(o){return new(o||t)}}static{this.ɵprov=ce$3({token:t,factory:t.ɵfac,providedIn:`root`})}}return t})();var Bi=(()=>{class t{constructor(){this.subscriptions=T$9(v)}resolve(){return this.subscriptions.subscribed()}static{this.ɵfac=function(o){return new(o||t)}}static{this.ɵprov=ce$3({token:t,factory:t.ɵfac,providedIn:`root`})}}return t})();var ku=[{path:``,pathMatch:`full`,redirectTo:`/access`},{path:t$7,loadChildren:()=>import(`./chunk-BAYq_Eoi2.js`).then(t=>t.accessRoutes)},{path:_$13,loadChildren:()=>import(`./chunk-28Y0HwzL2.js`).then(t=>t.containerTimelineRoutes)},{path:``,loadComponent:()=>import(`./chunk-BD1SwrhB2.js`).then(t=>t.BaseLayoutComponent),children:[{path:r,loadComponent:()=>import(`./chunk-B5o7vN6d.js`).then(t=>t.LoadingSectionComponent)},{path:c,canActivate:[An],data:{pageId:E},loadComponent:()=>import(`./chunk-lHFrpA_T.js`).then(t=>t.UnreachablePageComponent)},{path:S,canActivate:[An],resolve:{user:co,version:Wi,subscribed:Bi},loadChildren:()=>import(`./chunk-DmgdgmC_.js`).then(t=>t.accountRoutes)},{path:I$2,canActivate:[An],resolve:{user:co,version:Wi,subscribed:Bi},loadChildren:()=>import(`./chunk-DlxJY9-T.js`).then(t=>t.administrationRoutes)},{path:I$13,canActivate:[An],resolve:{user:co,version:Wi,subscribed:Bi},loadChildren:()=>import(`./chunk-DqpLAkxO.js`).then(t=>t.workspaceRoutes)}]},{path:`${I$13}/:${o$8}/${E$11}/:${T$11}/${E$10}/${t$4}/:${T$10}/${e$5}`,canActivate:[An],resolve:{user:co},loadChildren:()=>import(`./chunk-qIgOALPM2.js`).then(t=>t.reportExportRoutes)},{path:n,data:{pageId:E},loadComponent:()=>import(`./chunk-BDd8Q6QM.js`).then(t=>t.PageNotFoundComponent)},{path:`**`,redirectTo:({url:t})=>T$9(F).landOnUnknownAddress(t)}];var wa={production:!0,configUrl:`assets/config-prod.json`};function sh(t,n){if(t&1&&lm$1(0,`lib-unified-code-diff`,9),t&2){let e=gw();cm$1(`diff`,e.diff)(`isInDialog`,!0)(`leftAndRightTheSame`,e.leftAndRightTheSame)(`mode`,e.codeMode)}}function lh(t,n){if(t&1&&lm$1(0,`lib-split-code-diff`,10),t&2){let e=gw();cm$1(`diff`,e.diff)(`isInDialog`,!0)(`isVisible`,!0)(`leftAndRightTheSame`,e.leftAndRightTheSame)(`mode`,e.codeMode)}}var Ru=(()=>{class t extends l$8{constructor(){super(),this.dialogRef=T$9(v$9),this.data=T$9(S$10),this.eventBus=T$9(l$10),this.changeDetectorRef=T$9(GH),this.diff=this.data.diff,this.co
1828deMode=this.data.codeMode,this.title=this.data.title,this.subtitle=this.data.subtitle,this.color=this.data.color,this.icon=this.data.icon,this.splitCodeDiff=this.data.splitCodeDiff,this.leftAndRightTheSame=this.data.leftAndRightTheSame,this.eventBus.of(tn$1.CHANNEL).pipe(Vg$1(this.destroyed)).subscribe(e=>{this.leftAndRightTheSame||(this.splitCodeDiff=e.mode===`split`,this.changeDetectorRef.markForCheck())})}close(){this.dialogRef.close()}static{this.ɵfac=function(o){return new(o||t)}}static{this.ɵcmp=bb({type:t,selectors:[[`lib-code-diff-dialog`]],features:[Xh],decls:13,vars:5,consts:[[3,`closeClicked`],[`label`,``],[1,`header-label-container`],[1,`header-title-container`],[1,`font-line-xl`,`m-r-xs`,3,`icon`,`libStringColorToText`],[1,`header-label-text`],[1,`header-label-text`,`p-l-xl`,`p-t-sm`],[`mat-dialog-content`,``],[`appearance`,`outline`,`height`,`full`],[3,`diff`,`isInDialog`,`leftAndRightTheSame`,`mode`],[3,`diff`,`isInDialog`,`isVisible`,`leftAndRightTheSame`,`mode`]],template:function(o,i){o&1&&(Zi$1(0,`lib-dialog-header`,0),mm$1(`closeClicked`,function(){return i.close()}),Rl$1(1,1),Zi$1(2,`div`,2)(3,`div`,3),lm$1(4,`lib-icon`,4),Zi$1(5,`span`,5),Zw(6),xl$1()(),Zi$1(7,`span`,6),Zw(8),xl$1()(),kl$1(),xl$1(),Zi$1(9,`div`,7)(10,`lib-form-field-group`,8),Jb(11,sh,1,4,`lib-unified-code-diff`,9)(12,lh,1,5,`lib-split-code-diff`,10),xl$1()()),o&2&&(zE(4),cm$1(`icon`,i.icon)(`libStringColorToText`,i.color),zE(2),Pm$1(i.title),zE(2),Pm$1(i.subtitle),zE(3),Xb(i.splitCodeDiff?12:11))},dependencies:()=>[z$5,Af$1,H$4,D$11,ja$1,it$1,At$1],styles:[`[_ngcontent-%COMP%]:root{--%NS%app-font-family: OctoPerf;--%NS%app-size-ratio: .9;--%NS%app-font-size-2xs: calc(8px * var(--%NS%app-size-ratio));--%NS%app-font-size-xs: calc(10px * var(--%NS%app-size-ratio));--%NS%app-font-size-sm: calc(12px * var(--%NS%app-size-ratio));--%NS%app-font-size: calc(14px * var(--%NS%app-size-ratio));--%NS%app-font-size-lg: calc(16px * var(--%NS%app-size-ratio));--%NS%app-font-size-xl: calc(20px * var(--%NS%app-size-ratio));--%NS%app-font-size-2xl: calc(24px * var(--%NS%app-size-ratio));--%NS%app-font-size-3xl: calc(34px * var(--%NS%app-size-ratio));--%NS%app-font-size-4xl: calc(48px * var(--%NS%app-size-ratio));--%NS%app-font-size-5xl: calc(60px * var(--%NS%app-size-ratio));--%NS%app-font-size-6xl: calc(96px * var(--%NS%app-size-ratio));--%NS%app-line-height-2xs: calc(8px * var(--%NS%app-size-ratio));--%NS%app-line-height-xs: calc(10px * var(--%NS%app-size-ratio));--%NS%app-line-height-sm: calc(12px * var(--%NS%app-size-ratio));--%NS%app-line-height: calc(20px * var(--%NS%app-size-ratio));--%NS%app-line-height-lg: calc(22px * var(--%NS%app-size-ratio));--%NS%app-line-height-xl: calc(28px * var(--%NS%app-size-ratio));--%NS%app-line-height-2xl: calc(32px * var(--%NS%app-size-ratio));--%NS%app-line-height-3xl: calc(40px * var(--%NS%app-size-ratio));--%NS%app-line-height-4xl: calc(50px * var(--%NS%app-size-ratio));--%NS%app-line-height-5xl: calc(60px * var(--%NS%app-size-ratio));--%NS%app-line-height-6xl: calc(96px * var(--%NS%app-size-ratio));--%NS%app-margin-x-2xs: calc(4px * var(--%NS%app-size-ratio));--%NS%app-margin-y-2xs: calc(3px * var(--%NS%app-size-ratio));--%NS%app-margin-x-xs: calc(6px * var(--%NS%app-size-ratio));--%NS%app-margin-y-xs: calc(4px * var(--%NS%app-size-ratio));--%NS%app-margin-x-sm: calc(12px * var(--%NS%app-size-ratio));--%NS%app-margin-y-sm: calc(6px * var(--%NS%app-size-ratio));--%NS%app-margin-x-md: calc(20px * var(--%NS%app-size-ratio));--%NS%app-margin-y-md: calc(12px * var(--%NS%app-size-ratio));--%NS%app-margin-x-lg: calc(28px * var(--%NS%app-size-ratio));--%NS%app-margin-y-lg: calc(20px * var(--%NS%app-size-ratio));--%NS%app-margin-x-xl: calc(34px * var(--%NS%app-size-ratio));--%NS%app-margin-y-xl: calc(28px * var(--%NS%app-size-ratio));--%NS%app-margin-x-2xl: calc(40px * var(--%NS%app-size-ratio));--%NS%app-margin-y-2xl: calc(34px * var(--%NS%app-size-ratio));--%NS%app-margin-x-3xl: calc(48px * var(--%NS%app-size-ratio));--%NS%app-margin-y-3xl: calc(42px * var(--%NS%app-size-ratio));--%NS%app-padding-x-2xs: calc(4px * var(--%NS%app-size-ratio));--%NS%app-padding-y-2xs: calc(3px * var(--%NS%app-size-ratio));--%NS%app-padding-x-xs: calc(6px * var(--%NS%app-size-ratio));--%NS%app-padding-y-xs: calc(4px * var(--%NS%app-size-ratio));--%NS%app-padding-x-sm: calc(12px * var(--%NS%app-size-ratio));--%NS%app-padding-y-sm: calc(6px * var(--%NS%app-size-ratio));--%NS%app-padding-x-md: calc(20px * var(--%NS%app-size-ratio));--%NS%app-padding-y-md: calc(12px * var(--%NS%app-size-ratio));--%NS%app-padding-x-lg: calc(28px * var(--%NS%app-size-ratio));--%NS%app-padding-y-lg: calc(20px * var(--%NS%app-size-ratio));--%NS%app-padding-x-xl: calc(34px * var(--%NS%app-size-ratio));--%NS%app-padding-y-xl: calc(28px * var(--%NS%app-size-ratio));--%NS%app-padding-x-2xl: calc(40px * var(--%NS%app-size-ratio));--%NS%app-padding-y-2xl: calc(34px * var(--%NS%app-size-ratio));--%NS%app-padding-x-3xl: calc(48px * var(--%NS%app-size-ratio));--%NS%app-padding-y-3xl: calc(42px * var(--%NS%app-size-ratio));--%NS%app-font-weight: 400;--%NS%app-font-weight-bold: bold;--%NS%app-font-weight-thin: 300;--%NS%app-border-width: 1px;--%NS%app-border: 1px solid var(--%NS%app-border-color);--%NS%app-border-highlight: 1px solid var(--%NS%app-border-highlight-color);--%NS%app-border-radius: 4px;--%NS%app-sort-header-arrow-width: calc(18px * var(--%NS%app-size-ratio));--%NS%app-icon-button-size: calc(28px * var(--%NS%app-size-ratio));--%NS%app-icon-button-font-size: calc(18px * var(--%NS%app-size-ratio));--%NS%app-tabs-header-default-height: calc(32px * var(--%NS%app-size-ratio));--%NS%app-button-default-height: calc(24px * var(--%NS%app-size-ratio));--%NS%app-input-default-height: calc(24px * var(--%NS%app-size-ratio));
1828--%NS%app-lib-form-field-height: calc(36px * var(--%NS%app-size-ratio));--%NS%app-tile-opacity: .7}.flex-gap[_ngcontent-%COMP%]{gap:calc(20px * var(--%NS%app-size-ratio))}.flex-align-center[_ngcontent-%COMP%]{align-items:center;justify-content:center}.flex-container-row[_ngcontent-%COMP%]{display:flex;flex-direction:row;box-sizing:border-box}.flex-container-column[_ngcontent-%COMP%]{display:flex;flex-direction:column;box-sizing:border-box}.flex-item-grow[_ngcontent-%COMP%]{flex:1 0 auto}.flex-item-initial[_ngcontent-%COMP%]{flex:0 1 auto}.flex-item-available-height[_ngcontent-%COMP%]{flex:1 0 auto;height:1%}.absolute-filler[_ngcontent-%COMP%]{position:absolute;inset:0}.block-filler[_ngcontent-%COMP%]{display:block;width:100%;height:100%;box-sizing:border-box}.block-filler-x[_ngcontent-%COMP%]{display:block;width:100%}.block-filler-y[_ngcontent-%COMP%]{display:block;height:100%}.full-height[_ngcontent-%COMP%]{height:100%}.full-width[_ngcontent-%COMP%]{width:100%}.p-2xs[_ngcontent-%COMP%]{padding-top:var(--%NS%app-padding-y-2xs);padding-bottom:var(--%NS%app-padding-y-2xs);padding-left:var(--%NS%app-padding-x-2xs);padding-right:var(--%NS%app-padding-x-2xs)}.p-v-2xs[_ngcontent-%COMP%]{padding-top:var(--%NS%app-padding-y-2xs);padding-bottom:var(--%NS%app-padding-y-2xs)}.p-h-2xs[_ngcontent-%COMP%]{padding-left:var(--%NS%app-padding-x-2xs);padding-right:var(--%NS%app-padding-x-2xs)}.p-t-2xs[_ngcontent-%COMP%]{padding-top:var(--%NS%app-padding-y-2xs)}.p-b-2xs[_ngcontent-%COMP%]{padding-bottom:var(--%NS%app-padding-y-2xs)}.p-l-2xs[_ngcontent-%COMP%]{padding-left:var(--%NS%app-padding-x-2xs)}.p-r-2xs[_ngcontent-%COMP%]{padding-right:var(--%NS%app-padding-x-2xs)}.p-xs[_ngcontent-%COMP%]{padding-top:var(--%NS%app-padding-y-xs);padding-bottom:var(--%NS%app-padding-y-xs);padding-left:var(--%NS%app-padding-x-xs);padding-right:var(--%NS%app-padding-x-xs)}.p-v-xs[_ngcontent-%COMP%]{padding-top:var(--%NS%app-padding-y-xs);padding-bottom:var(--%NS%app-padding-y-xs)}.p-h-xs[_ngcontent-%COMP%]{padding-left:var(--%NS%app-padding-x-xs);padding-right:var(--%NS%app-padding-x-xs)}.p-t-xs[_ngcontent-%COMP%]{padding-top:var(--%NS%app-padding-y-xs)}.p-b-xs[_ngcontent-%COMP%]{padding-bottom:var(--%NS%app-padding-y-xs)}.p-l-xs[_ngcontent-%COMP%]{padding-left:var(--%NS%app-padding-x-xs)}.p-r-xs[_ngcontent-%COMP%]{padding-right:var(--%NS%app-padding-x-xs)}.p-sm[_ngcontent-%COMP%]{padding-top:var(--%NS%app-padding-y-sm);padding-bottom:var(--%NS%app-padding-y-sm);padding-left:var(--%NS%app-padding-x-sm);padding-right:var(--%NS%app-padding-x-sm)}.p-v-sm[_ngcontent-%COMP%]{padding-top:var(--%NS%app-padding-y-sm);padding-bottom:var(--%NS%app-padding-y-sm)}.p-h-sm[_ngcontent-%COMP%]{padding-left:var(--%NS%app-padding-x-sm);padding-right:var(--%NS%app-padding-x-sm)}.p-t-sm[_ngcontent-%COMP%]{padding-top:var(--%NS%app-padding-y-sm)}.p-b-sm[_ngcontent-%COMP%]{padding-bottom:var(--%NS%app-padding-y-sm)}.p-l-sm[_ngcontent-%COMP%]{padding-left:var(--%NS%app-padding-x-sm)}.p-r-sm[_ngcontent-%COMP%]{padding-right:var(--%NS%app-padding-x-sm)}.p-md[_ngcontent-%COMP%]{padding-top:var(--%NS%app-padding-y-md);padding-bottom:var(--%NS%app-padding-y-md);padding-left:var(--%NS%app-padding-x-md);padding-right:var(--%NS%app-padding-x-md)}.p-v-md[_ngcontent-%COMP%]{padding-top:var(--%NS%app-padding-y-md);padding-bottom:var(--%NS%app-padding-y-md)}.p-h-md[_ngcontent-%COMP%]{padding-left:var(--%NS%app-padding-x-md);padding-right:var(--%NS%app-padding-x-md)}.p-t-md[_ngcontent-%COMP%]{padding-top:var(--%NS%app-padding-y-md)}.p-b-md[_ngcontent-%COMP%]{padding-bottom:var(--%NS%app-padding-y-md)}.p-l-md[_ngcontent-%COMP%]{padding-left:var(--%NS%app-padding-x-md)}.p-r-md[_ngcontent-%COMP%]{padding-right:var(--%NS%app-padding-x-md)}.p-lg[_ngcontent-%COMP%]{padding-top:var(--%NS%app-padding-y-lg);padding-bottom:var(--%NS%app-padding-y-lg);padding-left:var(--%NS%app-padding-x-lg);padding-right:var(--%NS%app-padding-x-lg)}.p-v-lg[_ngcontent-%COMP%]{padding-top:var(--%NS%app-padding-y-lg);padding-bottom:var(--%NS%app-padding-y-lg)}.p-h-lg[_ngcontent-%COMP%]{padding-left:var(--%NS%app-padding-x-lg);padding-right:var(--%NS%app-padding-x-lg)}.p-t-lg[_ngcontent-%COMP%]{padding-top:var(--%NS%app-padding-y-lg)}.p-b-lg[_ngcontent-%COMP%]{padding-bottom:var(--%NS%app-padding-y-lg)}.p-l-lg[_ngcontent-%COMP%]{padding-left:var(--%NS%app-padding-x-lg)}.p-r-lg[_ngcontent-%COMP%]{padding-right:var(--%NS%app-padding-x-lg)}.p-xl[_ngcontent-%COMP%]{padding-top:var(--%NS%app-padding-y-xl);padding-bottom:var(--%NS%app-padding-y-xl);padding-left:var(--%NS%app-padding-x-xl);padding-right:var(--%NS%app-padding-x-xl)}.p-v-xl[_ngcontent-%COMP%]{padding-top:var(--%NS%app-padding-y-xl);padding-bottom:var(--%NS%app-padding-y-xl)}.p-h-xl[_ngcontent-%COMP%]{padding-left:var(--%NS%app-padding-x-xl);padding-right:var(--%NS%app-padding-x-xl)}.p-t-xl[_ngcontent-%COMP%]{padding-top:var(--%NS%app-padding-y-xl)}.p-b-xl[_ngcontent-%COMP%]{padding-bottom:var(--%NS%app-padding-y-xl)}.p-l-xl[_ngcontent-%COMP%]{padding-left:var(--%NS%app-padding-x-xl)}.p-r-xl[_ngcontent-%COMP%]{padding-right:var(--%NS%app-padding-x-xl)}.p-2xl[_ngcontent-%COMP%]{padding-top:var(--%NS%app-padding-y-2xl);padding-bottom:var(--%NS%app-padding-y-2xl);padding-left:var(--%NS%app-padding-x-2xl);padding-right:var(--%NS%app-padding-x-2xl)}.p-v-2xl[_ngcontent-%COMP%]{padding-top:var(--%NS%app-padding-y-2xl);padding-bottom:var(--%NS%app-padding-y-2xl)}.p-h-2xl[_ngcontent-%COMP%]{padding-left:var(--%NS%app-padding-x-2xl);padding-right:var(--%NS%app-padding-x-2xl)}.p-t-2xl[_ngcontent-%COMP%]{padding-top:var(--%NS%app-padding-y-2xl)}.p-b-2xl[_ngcontent-%COMP%]{padding-bottom:var(--%NS%app-padding-y-2xl)}.p-l-2xl[_ngcontent-%COMP%]{padding-left:var(--%NS%app-padding-x-2xl)}.p-r-2xl[_ngcontent-%COMP%]{padding-right:var(--%NS%app-padding-x-2xl)}.p-3xl[_ngcontent-%COMP%]{padding-top:var(--%NS%app-padding-y-3xl);padding-bottom:var(--%NS%app-padding-y-3xl);padding-left:var(--%NS%app-padding-x-3xl);padding-right:var(--%NS%app-padding-x-3xl)}.p-v-3xl[_ngcontent-%COMP%]{padding-top:var(--%NS%app-padding-y-3xl);padding-bottom:var(--%NS%app-padding-y-3xl)}.p-h-3xl[_ngcontent-%COMP%]{padding-left:var(--%NS%app-padding-x-3xl);padding-right:var(--%NS%app-padding-x-3xl)}.p-t-3xl[_ngcontent-%COMP%]{padding-top:var(--%NS%app-padding-y-3xl)}.p-b-3xl[_ngcontent-%COMP%]{padding-bottom:var(--%NS%app-padding-y-3xl)}.p-l-3xl[_ngcontent-%COMP%]{padding-left:var(--%NS%app-padding-x-3xl)}.p-r-3xl[_ngcontent-%COMP%]{padding-right:var(--%NS%app-padding-x-3xl)}.p-n[_ngcontent-%COMP%]{padding:0!important}.p-v-n[_ngcontent-%COMP%]{padding-top:0!important;padding-bottom:0!important}.p-h-n[_ngcontent-%COMP%]{padding-left:0!important;padding-right:0!important}.p-t-n[_ngcontent-%COMP%]{padding-top:0!important}.p-b-n[_ngcontent-%COMP%]{padding-bottom:0!important}.p-l-n[_ngcontent-%COMP%]{padding-left:0!important}.p-r-n[_ngcontent-%COMP%]{padding-right:0!important}.p-unset[_ngcontent-%COMP%]{padding-top:unset;padding-bottom:unset;padding-left:unset;padding-right:unset}.p-v-unset[_ngcontent-%COMP%]{padding-top:unset;padding-bottom:unset}.p-h-unset[_ngcontent-%COMP%]{padding-left:unset;padding-right:unset}.p-t-unset[_ngcontent-%COMP%]{padding-top:unset}.p-b-unset[_ngcontent-%COMP%]{padding-bottom:unset}.p-l-unset[_ngcontent-%COMP%]{padding-left:unset}.p-r-unset[_ngcontent-%COMP%]{padding-right:unset}.dialog-internal-container-full-height[_ngcontent-%COMP%]   .internal-container[_ngcontent-%COMP%]{height:60vh}.dialog-internal-container-full-height[_ngcontent-%COMP%]   .mat-mdc-dialog-content[_ngcontent-%COMP%]{overflow:hidden!important}.dialog-min-width-750[_ngcontent-%COMP%]   .mat-mdc-dialog-content[_ngcontent-%COMP%]{min-width:750px}
1828.dialog-code-editor[_ngcontent-%COMP%]   lib-code-editor[_ngcontent-%COMP%]{height:60vh}.dialog-code-editor[_ngcontent-%COMP%]   .mat-mdc-dialog-content[_ngcontent-%COMP%]{overflow:hidden!important}.dialog-margin-right[_ngcontent-%COMP%]   .cdk-overlay-container[_ngcontent-%COMP%], .dialog-margin-left[_ngcontent-%COMP%]   .cdk-overlay-container[_ngcontent-%COMP%]{width:calc(100vw - var(--%NS%dialog-margin))}.dialog-margin-right[_ngcontent-%COMP%]   .cdk-overlay-container[_ngcontent-%COMP%]   .cdk-overlay-backdrop[_ngcontent-%COMP%], .dialog-margin-left[_ngcontent-%COMP%]   .cdk-overlay-container[_ngcontent-%COMP%]   .cdk-overlay-backdrop[_ngcontent-%COMP%]{width:calc(100vw + var(--%NS%dialog-margin))}.dialog-margin-left[_ngcontent-%COMP%]   .cdk-overlay-container[_ngcontent-%COMP%]{margin-left:var(--%NS%dialog-margin)}.filter-dialog[_ngcontent-%COMP%]   .mat-mdc-dialog-title[_ngcontent-%COMP%]{padding-top:var(--%NS%app-padding-y-md)}.cdk-overlay-backdrop[_ngcontent-%COMP%]{-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.fill-base[_ngcontent-%COMP%]{fill:var(--%NS%app-background-color-base)}.background-base[_ngcontent-%COMP%]{background-color:var(--%NS%app-background-color-base)}.fill-forced-base[_ngcontent-%COMP%]{fill:var(--%NS%app-background-color-base)!important}.background-forced-base[_ngcontent-%COMP%]{background-color:var(--%NS%app-background-color-base)!important}.fill-white[_ngcontent-%COMP%]{fill:#fff}.background-white[_ngcontent-%COMP%]{background-color:#fff}.fill-forced-white[_ngcontent-%COMP%]{fill:#fff!important}.background-forced-white[_ngcontent-%COMP%]{background-color:#fff!important}.fill-form[_ngcontent-%COMP%]{fill:var(--%NS%app-background-color-form)}.background-form[_ngcontent-%COMP%]{background-color:var(--%NS%app-background-color-form)}.fill-forced-form[_ngcontent-%COMP%]{fill:var(--%NS%app-background-color-form)!important}.background-forced-form[_ngcontent-%COMP%]{background-color:var(--%NS%app-background-color-form)!important}.fill-hover[_ngcontent-%COMP%]{fill:var(--%NS%app-background-color-hover)}.background-hover[_ngcontent-%COMP%]{background-color:var(--%NS%app-background-color-hover)}.fill-forced-hover[_ngcontent-%COMP%]{fill:var(--%NS%app-background-color-hover)!important}.background-forced-hover[_ngcontent-%COMP%]{background-color:var(--%NS%app-background-color-hover)!important}.fill-unset[_ngcontent-%COMP%]{fill:unset}.background-unset[_ngcontent-%COMP%]{background-color:unset}.fill-forced-unset[_ngcontent-%COMP%]{fill:unset!important}.background-forced-unset[_ngcontent-%COMP%]{background-color:unset!important}.fill-inherit[_ngcontent-%COMP%]{fill:inherit}.background-inherit[_ngcontent-%COMP%]{background-color:inherit}.fill-forced-inherit[_ngcontent-%COMP%]{fill:inherit!important}.background-forced-inherit[_ngcontent-%COMP%]{background-color:inherit!important}.fill-foreground[_ngcontent-%COMP%]{fill:var(--%NS%app-foreground-color-base)}.background-foreground[_ngcontent-%COMP%]{background-color:var(--%NS%app-foreground-color-base)}.fill-forced-foreground[_ngcontent-%COMP%]{fill:var(--%NS%app-foreground-color-base)!important}.background-forced-foreground[_ngcontent-%COMP%]{background-color:var(--%NS%app-foreground-color-base)!important}.fill-bis[_ngcontent-%COMP%]{fill:var(--%NS%app-background-color-bis)}.background-bis[_ngcontent-%COMP%]{background-color:var(--%NS%app-background-color-bis)}.fill-forced-bis[_ngcontent-%COMP%]{fill:var(--%NS%app-background-color-bis)!important}.background-forced-bis[_ngcontent-%COMP%]{background-color:var(--%NS%app-background-color-bis)!important}.fill-ter[_ngcontent-%COMP%]{fill:var(--%NS%app-background-color-ter)}.background-ter[_ngcontent-%COMP%]{background-color:var(--%NS%app-background-color-ter)}.fill-forced-ter[_ngcontent-%COMP%]{fill:var(--%NS%app-background-color-ter)!important}.background-forced-ter[_ngcontent-%COMP%]{background-color:var(--%NS%app-background-color-ter)!important}.fill-table-even[_ngcontent-%COMP%]{fill:var(--%NS%app-background-color-table-even)}.background-table-even[_ngcontent-%COMP%]{background-color:var(--%NS%app-background-color-table-even)}
1828.fill-forced-table-even[_ngcontent-%COMP%]{fill:var(--%NS%app-background-color-table-even)!important}.background-forced-table-even[_ngcontent-%COMP%]{background-color:var(--%NS%app-background-color-table-even)!important}.fill-selected[_ngcontent-%COMP%]{fill:var(--%NS%app-background-color-selected)}.background-selected[_ngcontent-%COMP%]{background-color:var(--%NS%app-background-color-selected)}.fill-forced-selected[_ngcontent-%COMP%]{fill:var(--%NS%app-background-color-selected)!important}.background-forced-selected[_ngcontent-%COMP%]{background-color:var(--%NS%app-background-color-selected)!important}.fill-selected-darker[_ngcontent-%COMP%]{fill:var(--%NS%app-background-color-selected-darker)}.background-selected-darker[_ngcontent-%COMP%]{background-color:var(--%NS%app-background-color-selected-darker)}.fill-forced-selected-darker[_ngcontent-%COMP%]{fill:var(--%NS%app-background-color-selected-darker)!important}.background-forced-selected-darker[_ngcontent-%COMP%]{background-color:var(--%NS%app-background-color-selected-darker)!important}.fill-info[_ngcontent-%COMP%]{fill:var(--%NS%app-color-info)}.background-info[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-info)}.fill-forced-info[_ngcontent-%COMP%]{fill:var(--%NS%app-color-info)!important}.background-forced-info[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-info)!important}.fill-warn[_ngcontent-%COMP%]{fill:var(--%NS%app-color-warn)}.background-warn[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-warn)}.fill-forced-warn[_ngcontent-%COMP%]{fill:var(--%NS%app-color-warn)!important}.background-forced-warn[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-warn)!important}.fill-error[_ngcontent-%COMP%]{fill:var(--%NS%app-color-error)}.background-error[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-error)}.fill-forced-error[_ngcontent-%COMP%]{fill:var(--%NS%app-color-error)!important}.background-forced-error[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-error)!important}.fill-primary[_ngcontent-%COMP%]{fill:var(--%NS%app-color-primary)}.background-primary[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-primary)}.fill-forced-primary[_ngcontent-%COMP%]{fill:var(--%NS%app-color-primary)!important}.background-forced-primary[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-primary)!important}.fill-secondary[_ngcontent-%COMP%]{fill:var(--%NS%app-color-secondary)}.background-secondary[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-secondary)}.fill-forced-secondary[_ngcontent-%COMP%]{fill:var(--%NS%app-color-secondary)!important}.background-forced-secondary[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-secondary)!important}.fill-success[_ngcontent-%COMP%]{fill:var(--%NS%app-color-success)}.background-success[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-success)}.fill-forced-success[_ngcontent-%COMP%]{fill:var(--%NS%app-color-success)!important}.background-forced-success[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-success)!important}.fill-accent[_ngcontent-%COMP%]{fill:var(--%NS%app-color-accent)}.background-accent[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-accent)}.fill-forced-accent[_ngcontent-%COMP%]{fill:var(--%NS%app-color-accent)!important}.background-forced-accent[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-accent)!important}.fill-info-alpha[_ngcontent-%COMP%]{fill:var(--%NS%app-color-info-alpha)}.background-info-alpha[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-info-alpha)}.fill-forced-info-alpha[_ngcontent-%COMP%]{fill:var(--%NS%app-color-info-alpha)!important}.background-forced-info-alpha[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-info-alpha)!important}.fill-warn-alpha[_ngcontent-%COMP%]{fill:var(--%NS%app-color-warn-alpha)}.background-warn-alpha[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-warn-alpha)}.fill-forced-warn-alpha[_ngcontent-%COMP%]{fill:var(--%NS%app-color-warn-alpha)!important}.background-forced-warn-alpha[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-warn-alpha)!important}
1828.fill-error-alpha[_ngcontent-%COMP%]{fill:var(--%NS%app-color-error-alpha)}.background-error-alpha[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-error-alpha)}.fill-forced-error-alpha[_ngcontent-%COMP%]{fill:var(--%NS%app-color-error-alpha)!important}.background-forced-error-alpha[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-error-alpha)!important}.fill-primary-alpha[_ngcontent-%COMP%]{fill:var(--%NS%app-color-primary-alpha)}.background-primary-alpha[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-primary-alpha)}.fill-forced-primary-alpha[_ngcontent-%COMP%]{fill:var(--%NS%app-color-primary-alpha)!important}.background-forced-primary-alpha[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-primary-alpha)!important}.fill-secondary-alpha[_ngcontent-%COMP%]{fill:var(--%NS%app-color-secondary-alpha)}.background-secondary-alpha[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-secondary-alpha)}.fill-forced-secondary-alpha[_ngcontent-%COMP%]{fill:var(--%NS%app-color-secondary-alpha)!important}.background-forced-secondary-alpha[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-secondary-alpha)!important}.fill-success-alpha[_ngcontent-%COMP%]{fill:var(--%NS%app-color-success-alpha)}.background-success-alpha[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-success-alpha)}.fill-forced-success-alpha[_ngcontent-%COMP%]{fill:var(--%NS%app-color-success-alpha)!important}.background-forced-success-alpha[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-success-alpha)!important}.fill-accent-alpha[_ngcontent-%COMP%]{fill:var(--%NS%app-color-accent-alpha)}.background-accent-alpha[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-accent-alpha)}.fill-forced-accent-alpha[_ngcontent-%COMP%]{fill:var(--%NS%app-color-accent-alpha)!important}.background-forced-accent-alpha[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-accent-alpha)!important}.fill-administration[_ngcontent-%COMP%]{fill:var(--%NS%app-color-administration)}.background-administration[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-administration)}.fill-forced-administration[_ngcontent-%COMP%]{fill:var(--%NS%app-color-administration)!important}.background-forced-administration[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-administration)!important}.fill-workspace[_ngcontent-%COMP%]{fill:var(--%NS%app-color-workspace)}.background-workspace[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-workspace)}.fill-forced-workspace[_ngcontent-%COMP%]{fill:var(--%NS%app-color-workspace)!important}.background-forced-workspace[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-workspace)!important}.fill-project[_ngcontent-%COMP%]{fill:var(--%NS%app-color-project)}.background-project[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-project)}.fill-forced-project[_ngcontent-%COMP%]{fill:var(--%NS%app-color-project)!important}.background-forced-project[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-project)!important}.fill-design[_ngcontent-%COMP%]{fill:var(--%NS%app-color-design)}.background-design[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-design)}.fill-forced-design[_ngcontent-%COMP%]{fill:var(--%NS%app-color-design)!important}.background-forced-design[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-design)!important}.fill-runtime[_ngcontent-%COMP%]{fill:var(--%NS%app-color-runtime)}.background-runtime[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-runtime)}.fill-forced-runtime[_ngcontent-%COMP%]{fill:var(--%NS%app-color-runtime)!important}.background-forced-runtime[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-runtime)!important}.fill-analysis[_ngcontent-%COMP%]{fill:var(--%NS%app-color-analysis)}.background-analysis[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-analysis)}.fill-forced-analysis[_ngcontent-%COMP%]{fill:var(--%NS%app-color-analysis)!important}.background-forced-analysis[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-analysis)!important}.fill-context[_ngcontent-%COMP%]{fill:var(--%NS%app-color-context)}.background-context[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-context)}
1828.fill-forced-context[_ngcontent-%COMP%]{fill:var(--%NS%app-color-context)!important}.background-forced-context[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-context)!important}.fill-administration-alpha[_ngcontent-%COMP%]{fill:var(--%NS%app-color-administration-alpha)}.background-administration-alpha[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-administration-alpha)}.fill-forced-administration-alpha[_ngcontent-%COMP%]{fill:var(--%NS%app-color-administration-alpha)!important}.background-forced-administration-alpha[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-administration-alpha)!important}.fill-workspace-alpha[_ngcontent-%COMP%]{fill:var(--%NS%app-color-workspace-alpha)}.background-workspace-alpha[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-workspace-alpha)}.fill-forced-workspace-alpha[_ngcontent-%COMP%]{fill:var(--%NS%app-color-workspace-alpha)!important}.background-forced-workspace-alpha[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-workspace-alpha)!important}.fill-project-alpha[_ngcontent-%COMP%]{fill:var(--%NS%app-color-project-alpha)}.background-project-alpha[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-project-alpha)}.fill-forced-project-alpha[_ngcontent-%COMP%]{fill:var(--%NS%app-color-project-alpha)!important}.background-forced-project-alpha[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-project-alpha)!important}.fill-design-alpha[_ngcontent-%COMP%]{fill:var(--%NS%app-color-design-alpha)}.background-design-alpha[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-design-alpha)}.fill-forced-design-alpha[_ngcontent-%COMP%]{fill:var(--%NS%app-color-design-alpha)!important}.background-forced-design-alpha[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-design-alpha)!important}.fill-runtime-alpha[_ngcontent-%COMP%]{fill:var(--%NS%app-color-runtime-alpha)}.background-runtime-alpha[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-runtime-alpha)}.fill-forced-runtime-alpha[_ngcontent-%COMP%]{fill:var(--%NS%app-color-runtime-alpha)!important}.background-forced-runtime-alpha[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-runtime-alpha)!important}.fill-analysis-alpha[_ngcontent-%COMP%]{fill:var(--%NS%app-color-analysis-alpha)}.background-analysis-alpha[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-analysis-alpha)}.fill-forced-analysis-alpha[_ngcontent-%COMP%]{fill:var(--%NS%app-color-analysis-alpha)!important}.background-forced-analysis-alpha[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-analysis-alpha)!important}.fill-context-alpha[_ngcontent-%COMP%]{fill:var(--%NS%app-color-context-alpha)}.background-context-alpha[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-context-alpha)}.fill-forced-context-alpha[_ngcontent-%COMP%]{fill:var(--%NS%app-color-context-alpha)!important}.background-forced-context-alpha[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-context-alpha)!important}.color-base[_ngcontent-%COMP%]{color:var(--%NS%app-foreground-color-base)}.color-forced-base[_ngcontent-%COMP%]{color:var(--%NS%app-foreground-color-base)!important}.color-white[_ngcontent-%COMP%]{color:#fff}.color-forced-white[_ngcontent-%COMP%]{color:#fff!important}.color-form[_ngcontent-%COMP%]{color:var(--%NS%app-foregrounf-color-form)}.color-forced-form[_ngcontent-%COMP%]{color:var(--%NS%app-foregrounf-color-form)!important}.color-hover[_ngcontent-%COMP%]{color:var(--%NS%app-foreground-color-muted)}.color-forced-hover[_ngcontent-%COMP%]{color:var(--%NS%app-foreground-color-muted)!important}.color-soft[_ngcontent-%COMP%]{color:var(--%NS%app-foreground-color-soft)}.color-forced-soft[_ngcontent-%COMP%]{color:var(--%NS%app-foreground-color-soft)!important}.color-muted[_ngcontent-%COMP%]{color:var(--%NS%app-foreground-color-muted)}.color-forced-muted[_ngcontent-%COMP%]{color:var(--%NS%app-foreground-color-muted)!important}.color-background[_ngcontent-%COMP%]{color:var(--%NS%app-background-color-base)}.color-forced-background[_ngcontent-%COMP%]{color:var(--%NS%app-background-color-base)!important}.color-unset[_ngcontent-%COMP%]{color:unset}.color-forced-unset[_ngcontent-%COMP%]{color:unset!important}.color-info[_ngcontent-%COMP%]{color:var(--%NS%app-color-info)}.color-forced-info[_ngcontent-%COMP%]{color:var(--%NS%app-color-info)!important}.color-warn[_ngcontent-%COMP%]{color:var(--%NS%app-color-warn)}.color-forced-warn[_ngcontent-%COMP%]{color:var(--%NS%app-color-warn)!important}.color-error[_ngcontent-%COMP%]{color:var(--%NS%app-color-error)}.color-forced-error[_ngcontent-%COMP%]{color:var(--%NS%app-color-error)!important}.color-primary[_ngcontent-%COMP%]{color:var(--%NS%app-color-primary)}.color-forced-primary[_ngcontent-%COMP%]{color:var(--%NS%app-color-primary)!important}.color-secondary[_ngcontent-%COMP%]{color:var(--%NS%app-color-secondary)}.color-forced-secondary[_ngcontent-%COMP%]{color:var(--%NS%app-color-secondary)!important}.color-success[_ngcontent-%COMP%]{color:var(--%NS%app-color-success)}.color-forced-success[_ngcontent-%COMP%]{color:var(--%NS%app-color-success)!important}
1828.color-accent[_ngcontent-%COMP%]{color:var(--%NS%app-color-accent)}.color-forced-accent[_ngcontent-%COMP%]{color:var(--%NS%app-color-accent)!important}.color-info-alpha[_ngcontent-%COMP%]{color:var(--%NS%app-color-info-alpha)}.color-forced-info-alpha[_ngcontent-%COMP%]{color:var(--%NS%app-color-info-alpha)!important}.color-warn-alpha[_ngcontent-%COMP%]{color:var(--%NS%app-color-warn-alpha)}.color-forced-warn-alpha[_ngcontent-%COMP%]{color:var(--%NS%app-color-warn-alpha)!important}.color-error-alpha[_ngcontent-%COMP%]{color:var(--%NS%app-color-error-alpha)}.color-forced-error-alpha[_ngcontent-%COMP%]{color:var(--%NS%app-color-error-alpha)!important}.color-primary-alpha[_ngcontent-%COMP%]{color:var(--%NS%app-color-primary-alpha)}.color-forced-primary-alpha[_ngcontent-%COMP%]{color:var(--%NS%app-color-primary-alpha)!important}.color-secondary-alpha[_ngcontent-%COMP%]{color:var(--%NS%app-color-secondary-alpha)}.color-forced-secondary-alpha[_ngcontent-%COMP%]{color:var(--%NS%app-color-secondary-alpha)!important}.color-success-alpha[_ngcontent-%COMP%]{color:var(--%NS%app-color-success-alpha)}.color-forced-success-alpha[_ngcontent-%COMP%]{color:var(--%NS%app-color-success-alpha)!important}.color-accent-alpha[_ngcontent-%COMP%]{color:var(--%NS%app-color-accent-alpha)}.color-forced-accent-alpha[_ngcontent-%COMP%]{color:var(--%NS%app-color-accent-alpha)!important}.color-administration[_ngcontent-%COMP%]{color:var(--%NS%app-color-administration)}.color-forced-administration[_ngcontent-%COMP%]{color:var(--%NS%app-color-administration)!important}.color-workspace[_ngcontent-%COMP%]{color:var(--%NS%app-color-workspace)}.color-forced-workspace[_ngcontent-%COMP%]{color:var(--%NS%app-color-workspace)!important}.color-project[_ngcontent-%COMP%]{color:var(--%NS%app-color-project)}.color-forced-project[_ngcontent-%COMP%]{color:var(--%NS%app-color-project)!important}.color-design[_ngcontent-%COMP%]{color:var(--%NS%app-color-design)}.color-forced-design[_ngcontent-%COMP%]{color:var(--%NS%app-color-design)!important}.color-runtime[_ngcontent-%COMP%]{color:var(--%NS%app-color-runtime)}.color-forced-runtime[_ngcontent-%COMP%]{color:var(--%NS%app-color-runtime)!important}.color-analysis[_ngcontent-%COMP%]{color:var(--%NS%app-color-analysis)}.color-forced-analysis[_ngcontent-%COMP%]{color:var(--%NS%app-color-analysis)!important}.color-context[_ngcontent-%COMP%]{color:var(--%NS%app-color-context)}.color-forced-context[_ngcontent-%COMP%]{color:var(--%NS%app-color-context)!important}.color-administration-alpha[_ngcontent-%COMP%]{color:var(--%NS%app-color-administration-alpha)}.color-forced-administration-alpha[_ngcontent-%COMP%]{color:var(--%NS%app-color-administration-alpha)!important}.color-workspace-alpha[_ngcontent-%COMP%]{color:var(--%NS%app-color-workspace-alpha)}.color-forced-workspace-alpha[_ngcontent-%COMP%]{color:var(--%NS%app-color-workspace-alpha)!important}.color-project-alpha[_ngcontent-%COMP%]{color:var(--%NS%app-color-project-alpha)}.color-forced-project-alpha[_ngcontent-%COMP%]{color:var(--%NS%app-color-project-alpha)!important}.color-design-alpha[_ngcontent-%COMP%]{color:var(--%NS%app-color-design-alpha)}.color-forced-design-alpha[_ngcontent-%COMP%]{color:var(--%NS%app-color-design-alpha)!important}.color-runtime-alpha[_ngcontent-%COMP%]{color:var(--%NS%app-color-runtime-alpha)}.color-forced-runtime-alpha[_ngcontent-%COMP%]{color:var(--%NS%app-color-runtime-alpha)!important}.color-analysis-alpha[_ngcontent-%COMP%]{color:var(--%NS%app-color-analysis-alpha)}.color-forced-analysis-alpha[_ngcontent-%COMP%]{color:var(--%NS%app-color-analysis-alpha)!important}.color-context-alpha[_ngcontent-%COMP%]{color:var(--%NS%app-color-context-alpha)}.color-forced-context-alpha[_ngcontent-%COMP%]{color:var(--%NS%app-color-context-alpha)!important}.background-hover[_ngcontent-%COMP%]:not(.background-selected){background:var(--%NS%app-background-color-hover)}@keyframes _ngcontent-%COMP%_shimmer-animation{0%{background-position:-1000px 0}to{background-position:1000px 0}}.text-line-through[_ngcontent-%COMP%]{text-decoration:line-through}.text-highlight[_ngcontent-%COMP%]{color:var(--%NS%app-color-primary);font-weight:700;cursor:pointer}.font-line-2xs[_ngcontent-%COMP%]{font-size:var(--%NS%app-font-size-2xs);line-height:var(--%NS%app-line-height-2xs)}.font-2xs[_ngcontent-%COMP%]{font-size:var(--%NS%app-font-size-2xs)}.font-line-xs[_ngcontent-%COMP%]{font-size:var(--%NS%app-font-size-xs);line-height:var(--%NS%app-line-height-xs)}.font-xs[_ngcontent-%COMP%]{font-size:var(--%NS%app-font-size-xs)}.font-line-sm[_ngcontent-%COMP%]{font-size:var(--%NS%app-font-size-sm);line-height:var(--%NS%app-line-height-sm)}.font-sm[_ngcontent-%COMP%]{font-size:var(--%NS%app-font-size-sm)}.font-line-md[_ngcontent-%COMP%]{font-size:var(--%NS%app-font-size);line-height:var(--%NS%app-line-height)}.font-md[_ngcontent-%COMP%]{font-size:var(--%NS%app-font-size)}.font-line-lg[_ngcontent-%COMP%]{font-size:var(--%NS%app-font-size-lg);line-height:var(--%NS%app-line-height-lg)}.font-lg[_ngcontent-%COMP%]{font-size:var(--%NS%app-font-size-lg)}.font-line-xl[_ngcontent-%COMP%]{font-size:var(--%NS%app-font-size-xl);line-height:var(--%NS%app-line-height-xl)}.font-xl[_ngcontent-%COMP%]{font-size:var(--%NS%app-font-size-xl)}.font-line-2xl[_ngcontent-%COMP%]{font-size:var(--%NS%app-font-size-2xl);line-height:var(--%NS%app-line-height-2xl)}.font-2xl[_ngcontent-%COMP%]{font-size:var(--%NS%app-font-size-2xl)}.font-line-3xl[_ngcontent-%COMP%]{font-size:var(--%NS%app-font-size-3xl);line-height:var(--%NS%app-line-height-3xl)}.font-3xl[_ngcontent-%COMP%]{font-size:var(--%NS%app-font-size-3xl)}.font-line-4xl[_ngcontent-%COMP%]{font-size:var(--%NS%app-font-size-4xl);line-height:var(--%NS%app-line-height-4xl)}.font-4xl[_ngcontent-%COMP%]{font-size:var(--%NS%app-font-size-4xl)}.font-line-5xl[_ngcontent-%COMP%]{font-size:var(--%NS%app-font-size-5xl);line-height:var(--%NS%app-line-height-5xl)}.font-5xl[_ngcontent-%COMP%]{font-size:var(--%NS%app-font-size-5xl)}.font-line-6xl[_ngcontent-%COMP%]{font-size:var(--%NS%app-font-size-6xl);line-height:var(--%NS%app-line-height-6xl)}.font-6xl[_ngcontent-%COMP%]{font-size:var(--%NS%app-font-size-6xl)}.font-weight-thin[_ngcontent-%COMP%]{font-weight:300!important}.font-weight-normal[_ngcontent-%COMP%]{font-weight:400!important}
1828.font-weight-medium[_ngcontent-%COMP%]{font-weight:500!important}.font-weight-bold[_ngcontent-%COMP%]{font-weight:700!important}.monospace[_ngcontent-%COMP%]{font-family:monospace}.text-ellipsis[_ngcontent-%COMP%]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.text-center[_ngcontent-%COMP%]{text-align:center}.page-break[_ngcontent-%COMP%]{break-before:page}.page-break[_ngcontent-%COMP%]:before{display:block;width:100%!important;text-align:center!important;font-style:normal!important;text-decoration:none!important;line-height:0!important;font-weight:300!important;border-bottom:1px solid var(--%NS%app-foreground-color-soft)!important;content:"page break";font-size:var(--%NS%app-font-size-sm);line-height:var(--%NS%app-line-height-sm);color:var(--%NS%app-foreground-color-muted);padding:0!important;margin-bottom:20px}@media print{.page-break[_ngcontent-%COMP%]:before{display:none!important}}[_nghost-%COMP%]{display:flex;flex-direction:column;box-sizing:border-box;height:100%;width:100%}[_nghost-%COMP%]   mat-dialog-content[_ngcontent-%COMP%]{flex:1 0 auto;height:1%}[_nghost-%COMP%]   .header-label-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;box-sizing:border-box;width:100%}[_nghost-%COMP%]   .header-label-container[_ngcontent-%COMP%]   .header-title-container[_ngcontent-%COMP%]{display:flex;flex-direction:row;box-sizing:border-box;align-items:center;justify-content:flex-start;width:100%}[_nghost-%COMP%]   .header-label-container[_ngcontent-%COMP%]   .header-label-text[_ngcontent-%COMP%]{font-size:var(--%NS%app-font-size);line-height:var(--%NS%app-line-height);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}`]})}}return t})();function Du(){return{provide:nn$1,useValue:Ru}}var zu={providers:[Eo$1(ku,Mo$2({anchorScrolling:`enabled`}),Uo$1(t=>T$9(F).land(t))),Yp(),Xp(),qp(wa),$p(),Jp(),Au(),gd$1(sr$1,oe.register(`ngsw-worker.js`,{enabled:wa.production,registrationStrategy:`registerWhenStable:30000`})),gv(),wT(),_t$4({fullLibraryLoader:()=>import(`./chunk-1IJ0zDrr2.js`)}),{provide:Nt$1,useValue:{showDelay:300,hideDelay:0,touchendHideDelay:0}},xb(()=>((n,e,o,i,r,a,s,p,d,m,h,b,N,w)=>()=>{n.initialize(),e.initialize(),o.initialize(),i.initialize(),r.initialize(),a.initialize(),s.initialize(),p.initialize(),d.initialize(),m.initialize(),h.initialize(),b.initialize(),N.initialize(),w.initialize()})(T$9(Ct$4),T$9(g),T$9(yp),T$9(I$1),T$9(Cp),T$9(A$3),T$9(_p),T$9(Te$3),T$9(Bp),T$9(Oi),T$9(U$3),T$9(g$3),T$9(Gp),T$9(E$3))()),{provide:qn$1,useClass:U$4},Du(),{provide:x$6,useExisting:V}]};function ch(t,n){if(t&1&&(Zi$1(0,`div`,9)(1,`div`,10),Zw(2,` It is `),Zi$1(3,`b`),Zw(4,`highly discouraged to defer the update`),xl$1(),Zw(5,`; this option is for saving pending changes only. `),lm$1(6,`br`)(7,`br`),Zw(8,` Click `),lm$1(9,`lib-icon`,11),Zw(10,` on the header's right side to reopen this dialog. `),xl$1()()),t&2){let e=gw();zE(9),cm$1(`icon`,e.newVersionButtonIcon)}}function ph(t,n){if(t&1){let e=lw();Zi$1(0,`button`,12),mm$1(`click`,function(){xd$1(e);return Ad$1(gw().dialogRef.close())}),Zi$1(1,`span`,13),Zw(2,`Update later`),xl$1()()}if(t&2){gw();let e=Tw(16);zE(),cm$1(`hasHelpStyle`,!1)(`libTooltipHtml`,e)}}var Lu=(()=>{class t{constructor(){this.dialogRef=T$9(v$9),this.routerHelper=T$9(Y$5),this.versionChecker=T$9(fe),this.newVersionIcon=gi$1,this.newVersionButtonIcon=Bi$2,this.isAccessPage=Ze$1(!1),this.routerHelper.urlObservable().pipe($$4()).subscribe(e=>this.isAccessPage.set(e.includes(`/`+t$7+`/`)))}update(){this.versionChecker.applyUpdate().subscribe()}static{this.ɵfac=function(o){return new(o||t)}}static{this.ɵcmp=bb({type:t,selectors:[[`app-new-version-available-dialog`]],decls:18,vars:2,consts:[[`updateLaterTooltip`,``],[`label`,``],[`mat-dialog-content`,``,1,`new-version-container`],[1,`text`],[1,`image`],[1,`font-line-4xl`,3,`icon`],[`align`,`center`,`mat-dialog-actions`,``],[`color`,`primary`,`mat-flat-button`,``,`type`,`button`,3,`click`],[`mat-button`,``,`type`,`button`],[1,`update-later-tooltip`],[1,`update-later-tooltip-content`],[1,`font-line-lg`,3,`icon`],[`mat-button`,``,`type`,`button`,3,`click`],[3,`hasHelpStyle`,`libTooltipHtml`]],template:function(o,i){o&1&&(Zi$1(0,`lib-dialog-header`),Rl$1(1,1),Zw(2,` New OctoPerf version `),kl$1(),xl$1(),Zi$1(3,`div`,2)(4,`div`,3)(5,`b`),Zw(6,`A new version is available, requiring an update browser side.`),xl$1(),lm$1(7,`br`)(8,`br`),Zw(9,` This update is necessary to ensure that your browser's stored information aligns seamlessly with the new OctoPerf version. `),xl$1(),Zi$1(10,`div`,4),lm$1(11,`lib-icon`,5),xl$1()(),Zi$1(12,`div`,6)(13,`button`,7),mm$1(`click`,function(){return i.update()}
1828),Zw(14,` Update now `),xl$1(),tm$1(15,ch,11,1,`ng-template`,null,0,bT),Jb(17,ph,3,2,`button`,8),xl$1()),o&2&&(zE(11),cm$1(`icon`,i.newVersionIcon),zE(6),Xb(i.isAccessPage()?-1:17))},dependencies:[z$5,D$11,Af$1,w$11,Ln$1,d$2],styles:[`[_ngcontent-%COMP%]:root{--%NS%app-font-family: OctoPerf;--%NS%app-size-ratio: .9;--%NS%app-font-size-2xs: calc(8px * var(--%NS%app-size-ratio));--%NS%app-font-size-xs: calc(10px * var(--%NS%app-size-ratio));--%NS%app-font-size-sm: calc(12px * var(--%NS%app-size-ratio));--%NS%app-font-size: calc(14px * var(--%NS%app-size-ratio));--%NS%app-font-size-lg: calc(16px * var(--%NS%app-size-ratio));--%NS%app-font-size-xl: calc(20px * var(--%NS%app-size-ratio));--%NS%app-font-size-2xl: calc(24px * var(--%NS%app-size-ratio));--%NS%app-font-size-3xl: calc(34px * var(--%NS%app-size-ratio));--%NS%app-font-size-4xl: calc(48px * var(--%NS%app-size-ratio));--%NS%app-font-size-5xl: calc(60px * var(--%NS%app-size-ratio));--%NS%app-font-size-6xl: calc(96px * var(--%NS%app-size-ratio));--%NS%app-line-height-2xs: calc(8px * var(--%NS%app-size-ratio));--%NS%app-line-height-xs: calc(10px * var(--%NS%app-size-ratio));--%NS%app-line-height-sm: calc(12px * var(--%NS%app-size-ratio));--%NS%app-line-height: calc(20px * var(--%NS%app-size-ratio));--%NS%app-line-height-lg: calc(22px * var(--%NS%app-size-ratio));--%NS%app-line-height-xl: calc(28px * var(--%NS%app-size-ratio));--%NS%app-line-height-2xl: calc(32px * var(--%NS%app-size-ratio));--%NS%app-line-height-3xl: calc(40px * var(--%NS%app-size-ratio));--%NS%app-line-height-4xl: calc(50px * var(--%NS%app-size-ratio));--%NS%app-line-height-5xl: calc(60px * var(--%NS%app-size-ratio));--%NS%app-line-height-6xl: calc(96px * var(--%NS%app-size-ratio));--%NS%app-margin-x-2xs: calc(4px * var(--%NS%app-size-ratio));--%NS%app-margin-y-2xs: calc(3px * var(--%NS%app-size-ratio));--%NS%app-margin-x-xs: calc(6px * var(--%NS%app-size-ratio));--%NS%app-margin-y-xs: calc(4px * var(--%NS%app-size-ratio));--%NS%app-margin-x-sm: calc(12px * var(--%NS%app-size-ratio));--%NS%app-margin-y-sm: calc(6px * var(--%NS%app-size-ratio));--%NS%app-margin-x-md: calc(20px * var(--%NS%app-size-ratio));--%NS%app-margin-y-md: calc(12px * var(--%NS%app-size-ratio));--%NS%app-margin-x-lg: calc(28px * var(--%NS%app-size-ratio));--%NS%app-margin-y-lg: calc(20px * var(--%NS%app-size-ratio));--%NS%app-margin-x-xl: calc(34px * var(--%NS%app-size-ratio));--%NS%app-margin-y-xl: calc(28px * var(--%NS%app-size-ratio));--%NS%app-margin-x-2xl: calc(40px * var(--%NS%app-size-ratio));--%NS%app-margin-y-2xl: calc(34px * var(--%NS%app-size-ratio));--%NS%app-margin-x-3xl: calc(48px * var(--%NS%app-size-ratio));--%NS%app-margin-y-3xl: calc(42px * var(--%NS%app-size-ratio));--%NS%app-padding-x-2xs: calc(4px * var(--%NS%app-size-ratio));--%NS%app-padding-y-2xs: calc(3px * var(--%NS%app-size-ratio));--%NS%app-padding-x-xs: calc(6px * var(--%NS%app-size-ratio));--%NS%app-padding-y-xs: calc(4px * var(--%NS%app-size-ratio));--%NS%app-padding-x-sm: calc(12px * var(--%NS%app-size-ratio));--%NS%app-padding-y-sm: calc(6px * var(--%NS%app-size-ratio));--%NS%app-padding-x-md: calc(20px * var(--%NS%app-size-ratio));--%NS%app-padding-y-md: calc(12px * var(--%NS%app-size-ratio));--%NS%app-padding-x-lg: calc(28px * var(--%NS%app-size-ratio));--%NS%app-padding-y-lg: calc(20px * var(--%NS%app-size-ratio));--%NS%app-padding-x-xl: calc(34px * var(--%NS%app-size-ratio));--%NS%app-padding-y-xl: calc(28px * var(--%NS%app-size-ratio));--%NS%app-padding-x-2xl: calc(40px * var(--%NS%app-size-ratio));--%NS%app-padding-y-2xl: calc(34px * var(--%NS%app-size-ratio));--%NS%app-padding-x-3xl: calc(48px * var(--%NS%app-size-ratio));--%NS%app-padding-y-3xl: calc(42px * var(--%NS%app-size-ratio));--%NS%app-font-weight: 400;--%NS%app-font-weight-bold: bold;--%NS%app-font-weight-thin: 300;--%NS%app-border-width: 1px;--%NS%app-border: 1px solid var(--%NS%app-border-color);--%NS%app-border-highlight: 1px solid var(--%NS%app-border-highlight-color);--%NS%app-border-radius: 4px;--%NS%app-sort-header-arrow-width: calc(18px * var(--%NS%app-size-ratio));--%NS%app-icon-button-size: calc(28px * var(--%NS%app-size-ratio));--%NS%app-icon-button-font-size: calc(18px * var(--%NS%app-size-ratio));--%NS%app-tabs-header-default-height: calc(32px * var(--%NS%app-size-ratio));--%NS%app-button-default-height: calc(24px * var(--%NS%app-size-ratio));--%NS%app-input-default-height: calc(24px * var(--%NS%app-size-ratio));
1828--%NS%app-lib-form-field-height: calc(36px * var(--%NS%app-size-ratio));--%NS%app-tile-opacity: .7}.flex-gap[_ngcontent-%COMP%]{gap:calc(20px * var(--%NS%app-size-ratio))}.flex-align-center[_ngcontent-%COMP%]{align-items:center;justify-content:center}.flex-container-row[_ngcontent-%COMP%]{display:flex;flex-direction:row;box-sizing:border-box}.flex-container-column[_ngcontent-%COMP%]{display:flex;flex-direction:column;box-sizing:border-box}.flex-item-grow[_ngcontent-%COMP%]{flex:1 0 auto}.flex-item-initial[_ngcontent-%COMP%]{flex:0 1 auto}.flex-item-available-height[_ngcontent-%COMP%]{flex:1 0 auto;height:1%}.p-2xs[_ngcontent-%COMP%]{padding-top:var(--%NS%app-padding-y-2xs);padding-bottom:var(--%NS%app-padding-y-2xs);padding-left:var(--%NS%app-padding-x-2xs);padding-right:var(--%NS%app-padding-x-2xs)}.p-v-2xs[_ngcontent-%COMP%]{padding-top:var(--%NS%app-padding-y-2xs);padding-bottom:var(--%NS%app-padding-y-2xs)}.p-h-2xs[_ngcontent-%COMP%]{padding-left:var(--%NS%app-padding-x-2xs);padding-right:var(--%NS%app-padding-x-2xs)}.p-t-2xs[_ngcontent-%COMP%]{padding-top:var(--%NS%app-padding-y-2xs)}.p-b-2xs[_ngcontent-%COMP%]{padding-bottom:var(--%NS%app-padding-y-2xs)}.p-l-2xs[_ngcontent-%COMP%]{padding-left:var(--%NS%app-padding-x-2xs)}.p-r-2xs[_ngcontent-%COMP%]{padding-right:var(--%NS%app-padding-x-2xs)}.p-xs[_ngcontent-%COMP%]{padding-top:var(--%NS%app-padding-y-xs);padding-bottom:var(--%NS%app-padding-y-xs);padding-left:var(--%NS%app-padding-x-xs);padding-right:var(--%NS%app-padding-x-xs)}.p-v-xs[_ngcontent-%COMP%]{padding-top:var(--%NS%app-padding-y-xs);padding-bottom:var(--%NS%app-padding-y-xs)}.p-h-xs[_ngcontent-%COMP%]{padding-left:var(--%NS%app-padding-x-xs);padding-right:var(--%NS%app-padding-x-xs)}.p-t-xs[_ngcontent-%COMP%]{padding-top:var(--%NS%app-padding-y-xs)}.p-b-xs[_ngcontent-%COMP%]{padding-bottom:var(--%NS%app-padding-y-xs)}.p-l-xs[_ngcontent-%COMP%]{padding-left:var(--%NS%app-padding-x-xs)}.p-r-xs[_ngcontent-%COMP%]{padding-right:var(--%NS%app-padding-x-xs)}.p-sm[_ngcontent-%COMP%]{padding-top:var(--%NS%app-padding-y-sm);padding-bottom:var(--%NS%app-padding-y-sm);padding-left:var(--%NS%app-padding-x-sm);padding-right:var(--%NS%app-padding-x-sm)}.p-v-sm[_ngcontent-%COMP%]{padding-top:var(--%NS%app-padding-y-sm);padding-bottom:var(--%NS%app-padding-y-sm)}.p-h-sm[_ngcontent-%COMP%]{padding-left:var(--%NS%app-padding-x-sm);padding-right:var(--%NS%app-padding-x-sm)}.p-t-sm[_ngcontent-%COMP%]{padding-top:var(--%NS%app-padding-y-sm)}.p-b-sm[_ngcontent-%COMP%]{padding-bottom:var(--%NS%app-padding-y-sm)}.p-l-sm[_ngcontent-%COMP%]{padding-left:var(--%NS%app-padding-x-sm)}.p-r-sm[_ngcontent-%COMP%]{padding-right:var(--%NS%app-padding-x-sm)}.p-md[_ngcontent-%COMP%]{padding-top:var(--%NS%app-padding-y-md);padding-bottom:var(--%NS%app-padding-y-md);padding-left:var(--%NS%app-padding-x-md);padding-right:var(--%NS%app-padding-x-md)}.p-v-md[_ngcontent-%COMP%]{padding-top:var(--%NS%app-padding-y-md);padding-bottom:var(--%NS%app-padding-y-md)}.p-h-md[_ngcontent-%COMP%]{padding-left:var(--%NS%app-padding-x-md);padding-right:var(--%NS%app-padding-x-md)}.p-t-md[_ngcontent-%COMP%]{padding-top:var(--%NS%app-padding-y-md)}.p-b-md[_ngcontent-%COMP%]{padding-bottom:var(--%NS%app-padding-y-md)}.p-l-md[_ngcontent-%COMP%]{padding-left:var(--%NS%app-padding-x-md)}.p-r-md[_ngcontent-%COMP%]{padding-right:var(--%NS%app-padding-x-md)}.p-lg[_ngcontent-%COMP%]{padding-top:var(--%NS%app-padding-y-lg);padding-bottom:var(--%NS%app-padding-y-lg);padding-left:var(--%NS%app-padding-x-lg);padding-right:var(--%NS%app-padding-x-lg)}.p-v-lg[_ngcontent-%COMP%]{padding-top:var(--%NS%app-padding-y-lg);padding-bottom:var(--%NS%app-padding-y-lg)}.p-h-lg[_ngcontent-%COMP%]{padding-left:var(--%NS%app-padding-x-lg);padding-right:var(--%NS%app-padding-x-lg)}.p-t-lg[_ngcontent-%COMP%]{padding-top:var(--%NS%app-padding-y-lg)}.p-b-lg[_ngcontent-%COMP%]{padding-bottom:var(--%NS%app-padding-y-lg)}.p-l-lg[_ngcontent-%COMP%]{padding-left:var(--%NS%app-padding-x-lg)}.p-r-lg[_ngcontent-%COMP%]{padding-right:var(--%NS%app-padding-x-lg)}.p-xl[_ngcontent-%COMP%]{padding-top:var(--%NS%app-padding-y-xl);padding-bottom:var(--%NS%app-padding-y-xl);padding-left:var(--%NS%app-padding-x-xl);padding-right:var(--%NS%app-padding-x-xl)}.p-v-xl[_ngcontent-%COMP%]{padding-top:var(--%NS%app-padding-y-xl);padding-bottom:var(--%NS%app-padding-y-xl)}.p-h-xl[_ngcontent-%COMP%]{padding-left:var(--%NS%app-padding-x-xl);padding-right:var(--%NS%app-padding-x-xl)}.p-t-xl[_ngcontent-%COMP%]{padding-top:var(--%NS%app-padding-y-xl)}.p-b-xl[_ngcontent-%COMP%]{padding-bottom:var(--%NS%app-padding-y-xl)}.p-l-xl[_ngcontent-%COMP%]{padding-left:var(--%NS%app-padding-x-xl)}.p-r-xl[_ngcontent-%COMP%]{padding-right:var(--%NS%app-padding-x-xl)}.p-2xl[_ngcontent-%COMP%]{padding-top:var(--%NS%app-padding-y-2xl);padding-bottom:var(--%NS%app-padding-y-2xl);padding-left:var(--%NS%app-padding-x-2xl);padding-right:var(--%NS%app-padding-x-2xl)}.p-v-2xl[_ngcontent-%COMP%]{padding-top:var(--%NS%app-padding-y-2xl);padding-bottom:var(--%NS%app-padding-y-2xl)}.p-h-2xl[_ngcontent-%COMP%]{padding-left:var(--%NS%app-padding-x-2xl);padding-right:var(--%NS%app-padding-x-2xl)}.p-t-2xl[_ngcontent-%COMP%]{padding-top:var(--%NS%app-padding-y-2xl)}.p-b-2xl[_ngcontent-%COMP%]{padding-bottom:var(--%NS%app-padding-y-2xl)}.p-l-2xl[_ngcontent-%COMP%]{padding-left:var(--%NS%app-padding-x-2xl)}.p-r-2xl[_ngcontent-%COMP%]{padding-right:var(--%NS%app-padding-x-2xl)}.p-3xl[_ngcontent-%COMP%]{padding-top:var(--%NS%app-padding-y-3xl);padding-bottom:var(--%NS%app-padding-y-3xl);padding-left:var(--%NS%app-padding-x-3xl);padding-right:var(--%NS%app-padding-x-3xl)}.p-v-3xl[_ngcontent-%COMP%]{padding-top:var(--%NS%app-padding-y-3xl);padding-bottom:var(--%NS%app-padding-y-3xl)}.p-h-3xl[_ngcontent-%COMP%]{padding-left:var(--%NS%app-padding-x-3xl);padding-right:var(--%NS%app-padding-x-3xl)}.p-t-3xl[_ngcontent-%COMP%]{padding-top:var(--%NS%app-padding-y-3xl)}.p-b-3xl[_ngcontent-%COMP%]{padding-bottom:var(--%NS%app-padding-y-3xl)}.p-l-3xl[_ngcontent-%COMP%]{padding-left:var(--%NS%app-padding-x-3xl)}.p-r-3xl[_ngcontent-%COMP%]{padding-right:var(--%NS%app-padding-x-3xl)}.p-n[_ngcontent-%COMP%]{padding:0!important}.p-v-n[_ngcontent-%COMP%]{padding-top:0!important;padding-bottom:0!important}.p-h-n[_ngcontent-%COMP%]{padding-left:0!important;padding-right:0!important}.p-t-n[_ngcontent-%COMP%]{padding-top:0!important}.p-b-n[_ngcontent-%COMP%]{padding-bottom:0!important}.p-l-n[_ngcontent-%COMP%]{padding-left:0!important}.p-r-n[_ngcontent-%COMP%]{padding-right:0!important}.p-unset[_ngcontent-%COMP%]{padding-top:unset;padding-bottom:unset;padding-left:unset;padding-right:unset}.p-v-unset[_ngcontent-%COMP%]{padding-top:unset;padding-bottom:unset}.p-h-unset[_ngcontent-%COMP%]{padding-left:unset;padding-right:unset}.p-t-unset[_ngcontent-%COMP%]{padding-top:unset}.p-b-unset[_ngcontent-%COMP%]{padding-bottom:unset}.p-l-unset[_ngcontent-%COMP%]{padding-left:unset}.p-r-unset[_ngcontent-%COMP%]{padding-right:unset}.new-version-container[_ngcontent-%COMP%]{display:flex;flex-direction:row;box-sizing:border-box;align-items:center;justify-content:center;padding-top:var(--%NS%app-padding-y-md);padding-bottom:var(--%NS%app-padding-y-md)}.new-version-container[_ngcontent-%COMP%]   .text[_ngcontent-%COMP%]{padding-right:var(--%NS%app-padding-x-lg)}.new-version-container[_ngcontent-%COMP%]   .image[_ngcontent-%COMP%]{width:120px}.update-later-tooltip[_ngcontent-%COMP%]{width:300px}`]})}}return t})();function dh(t,n){t&1&&(Zi$1(0,`mat-progress-bar`,0),Ni$1(`routerProgressLeave`),Si$1(`routerProgressEnter`),xl$1())}var ju=(()=>{class t extends l$8{constructor(){let e=T$9(Y$5);super(),this.document=T$9(Fn$1),this.loading=Ze$1(!1),e.of(L$5.CHANNEL).pipe(Vg$1(this.destroyed)).subscribe(()=>this.loading.set(!0)),e.of(x$4.CHANNEL).pipe(Vg$1(this.destroyed)).subscribe(()=>{this.loading.set(!1);let o=this.document.getElementById(`background-logo`);o&&(o.setAttribute(`class`,`fade-out`),_g$1(void 0).pipe(jg$1(200),Vg$1(this.destroyed)).subscribe(()=>{o.parentElement&&(o.outerHTML=``)}))})}static{this.ɵfac=function(o){return new(o||t)}}static{this.ɵcmp=bb({type:t,selectors:[[`lib-router-progress`]],features:[Xh],decls:1,vars:1,consts:[[`mode`,`indeterminate`]],template:function(o,i){o&1&&Jb(0,dh,1,0,`mat-progress-bar`,0),o&2&&Xb(i.loading()?0:-1)},dependencies:[ha$2],styles:[`[_nghost-%COMP%]{position:fixed;top:0;right:0;left:0;z-index:9999}.routerProgressEnter[_ngcontent-%COMP%]{animation:none;top:0;opacity:1}.routerProgressLeave[_ngcontent-%COMP%]{top:-5px;opacity:0;transition:top .5s,opacity .5s}`]})}}return t})();var uh=[`downloadLink`];var Vu=(()=>{class t extends l$8{static{this.DEFAULT_OPTIONS={maintainAspectRatio:!1,responsive:!1,animation:!1}}constructor(){super(),this.optionsHelper=T$9(_$4),this.injector=T$9(be$3),this.plugins=[{id:`customCanvasBackgroun
1828dColor`,beforeDraw:(e,o,i)=>{let{ctx:r}=e;r.save(),r.globalCompositeOperation=`destination-over`,r.fillStyle=i.color,r.fillRect(0,0,e.width,e.height),r.restore()}}],this.chartOptions=Ze$1(t.DEFAULT_OPTIONS),this.type=VH.required(),this.configuration=VH.required(),this.options=VH.required(),this.data=VH.required(),this.exported=jH(),this.chart=BH.required(L),this.link=BH.required(`downloadLink`),this.linkHref=Ze$1(``),this.linkFileName=Ze$1(``)}ngOnInit(){this.chartOptions.set(this.optionsHelper.mergeOptions(t.DEFAULT_OPTIONS,{plugins:{customCanvasBackgroundColor:{color:this.configuration().backgroundColor},title:{display:this.configuration().displayTitle,text:this.configuration().title},legend:{display:this.configuration().displayLegend,labels:{filter(e){return!W.isLabelPartialFill(e.text)}}}}},this.options())),Kp$1(()=>{this._download()},{injector:this.injector})}_formatToExtension(e){return e===`image/png`?`.png`:`.jpg`}_download(){this.linkHref.set(this.chart().chart?.toBase64Image(this.configuration().format)??``),this.linkFileName.set(this.configuration().filename+this._formatToExtension(this.configuration().format)),Kp$1(this._clickAndExport.bind(this),{injector:this.injector})}_clickAndExport(){this.link().nativeElement.click(),this.exported.emit()}static{this.ɵfac=function(o){return new(o||t)}}static{this.ɵcmp=bb({type:t,selectors:[[`lib-chart-export`]],viewQuery:function(o,i){o&1&&Dm$1(i.chart,L,5)(i.link,uh,5),o&2&&ww(2)},inputs:{type:[1,`type`],configuration:[1,`configuration`],options:[1,`options`],data:[1,`data`]},outputs:{exported:`exported`},features:[Xh],decls:4,vars:8,consts:[[`downloadLink`,``],[`baseChart`,``,3,`data`,`height`,`options`,`plugins`,`type`,`width`],[3,`download`,`href`]],template:function(o,i){o&1&&(lm$1(0,`canvas`,1),Zi$1(1,`a`,2,0),Zw(3,`\xA0`),xl$1()),o&2&&(cm$1(`data`,i.data())(`height`,i.configuration().height)(`options`,i.chartOptions())(`plugins`,i.plugins)(`type`,i.type())(`width`,i.configuration().width),zE(),cm$1(`download`,i.linkFileName())(`href`,i.linkHref(),Pp))},dependencies:[L],styles:[`[_nghost-%COMP%]{display:block}`]})}}return t})();function fh(t,n){if(t&1){let e=lw();Zi$1(0,`lib-chart-export`,1),mm$1(`exported`,function(){xd$1(e);return Ad$1(gw().exported())}),xl$1()}if(t&2){let e=n,o=gw();cm$1(`configuration`,e.configuration)(`data`,o.data())(`options`,o.options())(`type`,e.type)}}var Uu=(()=>{class t extends l$8{constructor(){super(),this.eventBus=T$9(l$10),this.csvService=T$9(Ae),this.event=Ze$1(void 0),this.options=Ze$1({}),this.data=Ze$1({datasets:[]})}ngOnInit(){this.eventBus.of(z$1.CHANNEL).pipe(Vg$1(this.destroyed)).subscribe(e=>this.exportChart(e))}exported(){this.event.set(void 0)}exportChart(e){e.configuration.format===`application/octet-stream`?this.csvService.downloadAsCSV(e.configuration.filename+`.csv`,e.toValues(),e.toColumns()):(this.event.set(e),this.options.set(e.options()),this.data.set(e.data()))}static{this.ɵfac=function(o){return new(o||t)}}static{this.ɵcmp=bb({type:t,selectors:[[`lib-charts-export-anchor`]],features:[Xh],decls:1,vars:1,consts:[[3,`configuration`,`data`,`options`,`type`],[3,`exported`,`configuration`,`data`,`options`,`type`]],template:function(o,i){if(o&1&&Jb(0,fh,1,4,`lib-chart-export`,0),o&2){let r;Xb((r=i.event())?0:-1,r)}},dependencies:[Vu],styles:[`[_nghost-%COMP%]{display:block}lib-chart-export[_ngcontent-%COMP%]{position:absolute!important;top:0;left:0;display:none!important}`]})}}return t})();var mh=[`templateRef`];function gh(t,n){t&1&&Zw(0,`Empty`)}function hh(t,n){if(t&1&&(Zi$1(0,`div`,1),fm$1(1,2),xl$1()),t&2){let e=gw();zE(),cm$1(`cdkPortalOutlet`,e.portal())}}var Hu=(()=>{class t extends l$8{constructor(){let e=T$9(l$10);super(),this.templateRef=BH(`templateRef`),this.viewContainerRef=T$9(ds$1),this.dialogMargin=T$9(a$2),this.opened=Ze$1(!1),this.side=Ze$1(`right`),this.size=`25vw`,this.portal=Ze$1(void 0),e.of(p$5.CHANNEL).pipe(Vg$1(this.destroyed)).subscribe(this.close.bind(this)),e.of(n$7.CHANNEL).pipe(Vg$1(this.destroyed)).subscribe(this.open.bind(this))}ngAfterViewInit(){let e=this.templateRef();e&&this.portal.set(new I$12(e,this.viewContainerRef))}open(e){this.side.set(e.side),this.size=e.size,this.portal.set(e.portal),this.dialogMargin.setMargin(e.side,e.size),this.opened.set(!0)}close(){this.dialogMargin.removeMargins(),this.opened.set(!1)}static{this.ɵfac=function(o){return new(o||t)}}static{this.ɵcmp=bb({type:t,selectors:[[`lib-side-sheet`]],viewQuery:function(o,i){o&1&&Dm$1(i.templateRef,mh,5),o&2&&ww()},hostVars:2,hostBindings:function(o,i){o&2&&Vw(i.side())},features:[Xh],decls:3,vars:1,consts:[[`templateRef`,``],[1,`side-sheet`],[3,`cdkPortalOutlet`]],template:function(o,i){o&1&&(tm$1(0,gh,1,0,`ng-template`,null,0,bT),Jb(2,hh,2,1,`div`,1)),o&2&&(zE(2),Xb(i.opened()?2:-1))},dependencies:[Xi$1],styles:[`[_nghost-%COMP%]   .side-sheet[_ngcontent-%COMP%]{display:block;background-color:#2d97d4;position:fixed;z-index:1002;top:0;bottom:0;height:100%;width:var(--%NS%dialog-margin)}.left[_nghost-%COMP%]   .side-sheet[_ngcontent-%COMP%]{left:0}.right[_nghost-%COMP%]   .side-sheet[_ngcontent-%COMP%]{right:0}`]})}}return t})();In$2((()=>{class t extends l$8{static{this.MIN_WIDTH=1280}constructor(){let e=T$9(z$6);super(),this.newVersionChecker=T$9(fe),this.dialogs=T$9(fi$1),this.eventBus=T$9(l$10),this.logger=T$9(G$4),this.meta=T$9(bs$1),this.document=T$9(Fn$1),this.noticeHeight=`0px`,e.initDataFormatters(),this._updateMetaViewPortIfNeeded(),this.newVersionChecker.start(),this.eventBus.of(we.CHANNEL).pipe(Vg$1(this.destroyed)).subscribe(()=>this._openNewVersionDialog()),this._listenNewVersion().subscribe()}_updateMetaViewPortIfNeeded(){let e=this._getBrowserWidth();if(e&&e<t.MIN_WIDTH){let o=e/t.MIN_WIDTH;this.meta.updateTag({name:`viewport`,content:`width=device-width, initial-scale=${o}`})}}_getBrowserWidth(){return this.document.defaultView?.innerWidth}_listenNewVersion(){return this.newVersionChecker.isNewVersionAvailable.pipe(Nu$1(e=>this.logger.debug(`AppComponent`,`hasNewVersion`,e)),lt$3(e=>e),yn$1(1),Nu$1(()=>this._openNewVersionDialog()))}_openNewVersionDialog(){this.logger.debug(`AppComponent`,`_openNewVersionDialog`),this.dialogs.open(Lu,{},{width:`650px`,disableClose:!0}).subscribe()}static{this.ɵfac=function(o){return new(o||t)}}static{this.ɵcmp=bb({type:t,selectors:[[`app-root`]],hostVars:2,hostBindings:function(o,i){o&2&&_m$1(`--%NS%notice-height`,i.noticeHeight)},features:[cT([S$1(),{provide:d$4,useFactory:e=>e.locale,deps:[z$6]}]),Xh],decls:4,vars:0,template:function(o,i){o&1&&lm$1(0,`lib-router-progress`)(1,`lib-charts-export-anchor`)(2,`router-outlet`)(3,`lib-side-sheet`)},dependencies:[ju,Uu,sr$1,Hu],encapsulation:2})}}return t})(),zu).catch(t=>console.error(t));export{r$2 as $,i$5 as $n,it as $t,d$2 as A,u$3 as An,Lh as Ar,V$2 as At,z$1 as B,T$7 as Bn,U$3 as Br,l$1 as Bt,_$3 as C,et as Cn,l$7 as Cr,N$1 as Ct,o$1 as D,I$4 as Dn,E$8 as Dr,S$2 as Dt,n$1 as E,v$2 as En,s$5 as Er,R$2 as Et,K as F,m$7 as Fn,I$9 as Fr,d$6 as Ft,Ct$1 as G,tn$1 as Gn,r$3 as Gt,v as H,At$1 as Hn,p$5 as Hr,n$2 as Ht,c$2 as I,w$2 as In,e$4 as Ir,e$2 as It,Tt$1 as J,ks as Jn,u$1 as Jt,M as K,Ye as Kn,s$2 as Kt,L$1 as 
1828L,S$3 as Ln,n$6 as Lr,g$1 as Lt,fe as M,l$3 as Mn,E$9 as Mr,_$6 as Mt,we as N,FE as Nn,t$3 as Nr,a$4 as Nt,s$1 as O,P$1 as On,R$4 as Or,T$3 as Ot,E$3 as P,D$5 as Pn,u$8 as Pr,c$4 as Pt,i$1 as Q,h$6 as Qn,Pt as Qt,W as R,w$3 as Rn,j$4 as Rr,h$3 as Rt,T$1 as S,U$1 as Sn,d$12 as Sr,M$2 as St,e$1 as T,T$6 as Tn,e$3 as Tr,P as Tt,d$3 as U,it$1 as Un,o$3 as Ut,A$3 as V,n$4 as Vn,n$7 as Vr,m$3 as Vt,$$1 as W,oo$1 as Wn,p$3 as Wt,tt as X,O$4 as Xn,$$2 as Xt,Z$1 as Y,D$6 as Yn,x$1 as Yt,wt as Z,T$8 as Zn,d$7 as Zt,A$2 as _,w$1 as _n,S$4 as _r,F$2 as _t,g as a,I$3 as an,I$6 as ar,h$2 as at,I as b,F$3 as bn,M$5 as br,K$1 as bt,F as c,T$4 as cn,d$11 as cr,fe$1 as ct,Tt as d,tr as dn,s$4 as dr,F$1 as dt,j$1 as en,v$3 as er,I$1 as et,p$1 as f,u$2 as fn,u$5 as fr,A$4 as ft,t as g,v$1 as gn,yt$1 as gr,E$4 as gt,p$2 as h,h$4 as hn,Z$2 as hr,D$1 as ht,u as i,D$2 as in,C$5 as ir,d$4 as it,V$1 as j,Y$1 as jn,ae$4 as jr,W$1 as jt,t$1 as k,g$2 as kn,Fl as kr,U as kt,V as l,_$7 as ln,l$5 as lr,ge as lt,o as m,s$3 as mn,A$7 as mr,C$2 as mt,_ as n,O$2 as nn,P$3 as nr,S$1 as nt,l as o,N$3 as on,O$5 as or,Ae as ot,e as p,w as pn,_$9 as pr,B as pt,Mt as q,he$2 as qn,t$2 as qt,m as r,A$5 as rn,C$4 as rr,a$3 as rt,L as s,O$3 as sn,R$3 as sr,dn as st,R as t,b$1 as tn,w$4 as tr,a$2 as tt,p as u,c$5 as un,m$8 as ur,z$2 as ut,C$1 as v,N$4 as vn,I$7 as vr,G$1 as vt,c$1 as w,y$2 as wn,u$6 as wr,O$1 as wt,N as x,J$2 as xn,X$1 as xr,L$2 as xt,E$1 as y,_$8 as yn,J$4 as yr,H as yt,_$4 as z,g$3 as zn,P$6 as zr,i$3 as zt};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.